This is an old revision of the document!
Random Encounters Menu Option
Patch data
Name | Random Encounters Menu Option 1.0 |
Author | madsiur |
Link | Download |
Rom Data
ROM Name | Final Fantasy III (USA) 1.0 |
ROM SHA-1 | 4F37E4274AC3B2EA1BEDB08AA149D8FC5BB676E7 |
Header | No |
Files
encounters_nh.ips: IPS patch of this hack (no header) encounters_anti_nh.ips: IPS patch to revert the hack (no header) asm/main.asm: Main assembly file, use it to assemble the hack asm/bank_C0.asm: Code that deals with random encounters (used by asm/main.asm) asm/bank_C3.asm: Code that deals with the config menu option (used by asm/main.asm)
Description
This hack simply add a config menu option to set on/off random encounters, in the same manner the Moogle Charm does in the original game. The menu option is on the first screen of configuration at the bottom. The hack use free SRAM $7E1E1F to save the player's choice.
You can now use the Moogle Charm relic for something else, and the new code does no longer checks for that flag ($7E11DF bit 1) when preparing a possible random encounter. You can also now repurpose the “no encounter” item flag.
The hack use 186($BA) bytes of free space at $C3F091 and 17($11) bytes of free space at $C0D613. You can change those free space offsets in the ASM files by modifying the org instructions as long as the new offset are in the same banks. To assemble the hack type an xkas 0.06 command such as “xkas main.asm rom.smc” at the root of the asm folder.