|Name||Equipment Check Event Command 1.1|
|ROM Name||Final Fantasy III (USA) 1.0|
|ROM Name||Final Fantasy III (USA) 1.1|
Free space is required for the new function in the bank your are implementing the hack.
|Bank $C0 implementation||$C1 bytes (bank $C0)|
|Other bank implementation||$07 bytes (bank $C0), $BD bytes (code bank)|
This event command ($66) allows to check equipment on party member(s).
There are 5 parameters to the command:
Param A: 0x00-0x0F: Check specific character (must be in party otherwise condition fail). 0x10: Check if at least 1 character meet the condition (has the equipment). 0x20: Check if party leader meet the condition (has the equipment). 0x40: Check if all party members meet the condition (have the equipment). anything else: condition may fail or succeed. Use at your own risk. Param B: Equipment piece to check (0x00 to 0xFF) Param C, D, E: Offset EEDDCC where (CA/0000 + EEDDCC) is offset to jump to if condition is met.
66 0C C9 10 EF 02: If gogo has one hero ring (or more) equipped, jump to CC/EF10 otherwise continue.
66 40 C9 B8 48 00: If all party members have 1 hero ring (or more) equipped, jump to CA/48B8 otherwise continue.