Jump to content

Obscure Hacking Tips


Crimson Red
 Share

Recommended Posts

FE7 Final Chapter part 1 stuff
Routine at 0x79AB5 Checks how many enemy units are on the map and returns true or false depending on if there is a specific number of them.
The final chapter utilizes it like so:

MiscBasedEvents:
ASME 0x29 label24 0x79AB5  // Execute whatever is at label24 if the routine returns 1 (true)
                           // It gets called whenever an enemy dies.
// Some other misc stuff
END_MAIN

Normally it checks if it's 3 (Nergal and the two generics in his room).
At 79ADE you should see 03. Change this to whatever number you want the routine to check for (in hex of course).

Edited by Primefusion
Link to comment
Share on other sites

  • Replies 78
  • Created
  • Last Reply

Top Posters In This Topic

Fe8 has an enemy counter built in; the command _0x1924 will count the number of enemies alive and store that number to Memory Slot 0xC. You can then check it however you want with one of the conditional commands. There's also _0x1925, which counts the number of NPC's alive.

Edited by Vennobennu
Link to comment
Share on other sites

Fe8 has an enemy counter built in; the command _0x1924 will count the number of enemies alive and store that number to Memory Slot 0xC. You can then check it however you want with one of the conditional commands. There's also _0x1925, which counts the number of NPC's alive.

I have a feeling like fe7 has something similar to display numbers in the status screen but I've never heard or read of any routines that have been found and tested

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...