Final Fantasy I & II: Dawn of Souls/Tutorials

From Data Crystal
< Final Fantasy I & II: Dawn of Souls
Revision as of 14:20, 24 January 2024 by Hawk (talk | contribs) (→‎(FF1) Consolidating the Monster Data Tables)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Chip tiny.png The following article is a Tutorial for Final Fantasy I & II: Dawn of Souls.

(FF1) Consolidating the Monster Data Tables

There are four identical copies of the main monster data table in FF1:

0x1DE044 - Used by the Bestiary
0x223F4C - Updating monster stats during battle
0x227054 - Initializing monster stats at start of battle
0x22A880 - Checking if a monster is Regenerating; PC Flee calculations; Awarding XP/Gil on death; Awarding drops on death

Needless to say, it would be much more convenient if these all used one table. To do so, update the pointers at the following offsets to point to just one of the data tables above:

0x405EC
0x72170
0x7670C
0x7AEF0
0x7C91C
0x7CB2C

Now, in addition to making edits to monster data easier, you'll have freed up 18,720 bytes of data in total.