Initialize Some Unit Data

From Final Fantasy Hacktics Wiki
Revision as of 19:02, 8 November 2024 by Nyzer (talk | contribs) (More documentation for specific bytes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Initialize Some Unit Data
0005dfac: 340200ff ori r2,r0,0x00ff		r2 = FF
0005dfb0: a08001b8 sb r0,0x01b8(r4)		Store Unit's Auto-Battle Setting = 0
0005dfb4: a08001b9 sb r0,0x01b9(r4)		Store Unit's Main Target ID? = 0
0005dfb8: a0800039 sb r0,0x0039(r4)		Store Unit's CT = 0
0005dfbc: a0800186 sb r0,0x0186(r4)		Store Unit's Active Turn Flag = 0
0005dfc0: a0800189 sb r0,0x0189(r4)		Store Unit's Ability Outcome = 0
0005dfc4: a082015d sb r2,0x015d(r4)		Store Unit's Spell CT? = 0
0005dfc8: a0800182 sb r0,0x0182(r4)		Store Unit's Mount Info = 0
0005dfcc: 03e00008 jr r31
0005dfd0: a080015c sb r0,0x015c(r4)		Store Unit's Number of Times KO'd = 0

Return Locations

0005a944: Initialize Unit's Job Data
0005a9e4: Unit Battle Initialization