Skip to content
Clément Gallet edited this page Jun 30, 2014 · 11 revisions

During battle startup, the game loads each item a character has equipped to handle stats, status, etc. For a given character and equipment slot, function C2/0F9A loads the corresponding item in memory. In case of a weapon slot, if the other slot is empty or holds a weapon, it will designate the other slot as the attacking slot. That is not what we want so we assume that the other slot is not empty and does not hold a weapon. In this case, function C2/10B2 that is supposed to gather information about where weapons are equipped and fill $11CE accordingly, won't be called. Thus $11CE will be 0 because it was initialized as such in line C2/0E87.

Clone this wiki locally