Check if unit can react

From Final Fantasy Hacktics Wiki
Revision as of 15:35, 8 February 2015 by Choto (talk | contribs) (Created page with "<font face='Courier New'> 0018c968: 3c028019 lui r2,0x8019 0018c96c: 8c42f5f0 lw r2,-0x0a10(r2) load reaction check 0018c970: 27bdffe8 addiu r29,r29,0xffe8 0018c974: 14...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

0018c968: 3c028019 lui r2,0x8019
0018c96c: 8c42f5f0 lw r2,-0x0a10(r2)		load reaction check
0018c970: 27bdffe8 addiu r29,r29,0xffe8
0018c974: 14400005 bne r2,r0,0x0018c98c		branch if reacting
0018c978: afbf0010 sw r31,0x0010(r29)
0018c97c: 0c01786c jal 0x0005e1b0			unable to act checks?
0018c980: 34050004 ori r5,r0,0x0004
0018c984: 08063264 j 0x0018c990				jump to end, return r2= 0 (status not found) or r2=1 (status found)
0018c988: 00000000 nop
0018c98c: 34020001 ori r2,r0,0x0001			return 01 if reacting
0018c990: 8fbf0010 lw r31,0x0010(r29)
0018c994: 27bd0018 addiu r29,r29,0x0018
0018c998: 03e00008 jr r31
0018c99c: 00000000 nop