Status/unknown Misc ID checks

From Final Fantasy Hacktics Wiki
Revision as of 20:58, 22 December 2024 by Nyzer (talk | contribs) (Nyzer moved page Status/? Misc ID checks to Status/unknown Misc ID checks: Fucking question marks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
00082508: 3c031fff lui r3,0x1fff
0008250c: 8c820140 lw r2,0x0140(r4)		Load Status Flags 1
00082510: 3463c2c4 ori r3,r3,0xc2c4
00082514: 00431024 and r2,r2,r3			Check for Reraise/Darkness/DS/Silence/Charm/Oil/Poison/Protect/Shell/DA/DM/BS/Innocent/Faith/Berserk/Charging/Confusion/Sleep/Dead
00082518: 14400007 bne r2,r0,0x00082538		Branch if a status is present
0008251c: 34020001 ori r2,r0,0x0001		r2 = 1
00082520: 90830004 lbu r3,0x0004(r4)		Load Misc ID
00082524: 3c028009 lui r2,0x8009
00082528: 8c426118 lw r2,0x6118(r2)		Load ?
0008252c: 00000000 nop
00082530: 14620004 bne r3,r2,0x00082544		Branch if Misc ID != ?
00082534: 34020001 ori r2,r0,0x0001		r2 = 1
00082538: a08202dc sb r2,0x02dc(r4)		Store ? = 1
0008253c: 08020952 j 0x00082548
00082540: a48002e0 sh r0,0x02e0(r4)		Store ? = 0
00082544: a08002dc sb r0,0x02dc(r4)		Store ? = 0
00082548: 03e00008 jr r31
0008254c: 00000000 nop