FANDOM


I was working on FE4A and came to a point where I couldn't keep procrastinating on Beowulf's recruitment. I spent the last half an hour figuring out how these pay-to-recruit events worked. I figured I'd share my findings in case anyone else wanted an event like this.

(CH: 25H Events Disassembled)
label123:
CODE 0x87 0x0 0x0 0x0
MUSI
TEX1 0xCC4
IFAF 0x3 0x7D3F9
CODE 0x1D 0x0 0x0 0x0 0xB9 0xA3 0x7 0x8 0xC6 0xC 0x0 0x0 0xC5 0xC 0x0 0x0
CODE 0x1E 0x0 0x0 0x0
STAL 60
IFYN 0x4
ELSE 0x5
ENIF 0x3
TEX4 0xCC8
REMA
ELSE 0x9
ENIF 0x4
CODE 0x5A 0x0 0x1 0x0 0xB9 0xA3 0x7 0x8
TEX4 0xCC7
TEX4 0xCC9
REMA
ELSE 0x9
ENIF 0x5
CODE 0x5A 0x0 0x1 0x0 0xB9 0xA3 0x7 0x8
TEX4 0xCC7
MUS2 0x42
TEX4 0xCCC
CODE 0x7A 0x0 0x6 0x0
REMA
CUSI 0x1F $00
ASMC 0x7D415
ENIF 0x9
MUNO
CODE 0x89 0x0 0x0 0x0
ENDA


This is the event disassembled from Chapter 25H (with some edits done by me) which recruits Farina. Farina is the game's Pay-to-recruit character.

At 0007D410 the first two bytes should be 1F 4E, that means 19999 in hex.

At 0007D420 the first two bytes should be 20 4E, 20000 in hex.

Farina wants 20000 gold for her recruitment. You can keep this amount if you so desire, but you can also change the amount of gold required to recruit the unit. The 1F 4E is one below the amount required. The ASM condition is checking for the amount of gold you have. If you have 19999 gold or below the game won't give you the Yes/No option on recruiting Farina. Change 20 4E to the amount it will require to recruit and 1F 4E to 1 gold below that. This ASM condition also takes care of subtracting the gold (the game subtracts 20 4E or whatever you replace it with). To get the hex values for whatever amount of gold you want you can use MS Calculator.

In the original event Farina joined when you ended your turn, one of my edits is that the unit will now join right after you hire them. The unit you use for this event can be any unit, just change the value 0x1F next to the CUSI command.

Copy the above event into your events file and customize it to your heart's content. For the sake of convenience I left the text commands from the original event (personally I'd just edit those text slots, less of a hassle that way).

Author: ArchsageX

Game: FE7

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.