Final Fantasy IV Research & Development / Re: Grimoire LD's Notes, Patches, and Hacks (Custom Flag Check Event Instruction!)
« on: March 19, 2015, 04:37:54 PM »So let me see if I understand this correctly...
- The instruction in question is the one currently interpreted as "Load Graphic"
- It will now essentially become "If flag XX is [ON/OFF] (based on top bit of XX; 1 = on, 0 = off), do the next YY actions"
- The YY in this description is not a parameter in the usual sense but is read by the next byte following the instruction
- If the specified flag matches the specified value, it will do the next number of bytes worth of actions (not counting the "fake parameter" byte)
- If it does not, it will skip them (also skipping the "fake parameter" byte)
If this is correct, what I can do as far as the editor is concerned is get it to detect the patch on startup and set a flag in the editor which will tell it how to interpret the "Load Graphic" command (which I guess should now default to "Crash Game"?); that way it will be readable for both patched and unpatched roms.
Speaking of which, this could definitely be its own standalone patch, "Grimoire LD's Event Instruction Expansion Patch" or something
We have EVEN MORE themes now, but some old ones are gone...
ACTUALLY!! How about this: