Check for 0x00 status

From Final Fantasy Hacktics Wiki
(Redirected from 00198d80 - 00198dec)
Jump to navigation Jump to search

Check for 0x00 status 198d80: 00198d80 - 00198dec


00198d80: 00801821 addu r3,r4,r0
00198d84: 3c07801a lui r7,0x801a			
00198d88: 24e7f3c4 addiu r7,r7,0xf3c4
00198d8c: 04a10002 bgez r5,0x00198d98
00198d90: 00a01021 addu r2,r5,r0
00198d94: 24a20007 addiu r2,r5,0x0007
00198d98: 000230c3 sra r6,r2,0x03			
00198d9c: 000610c0 sll r2,r6,0x03			
00198da0: 00a21023 subu r2,r5,r2
00198da4: 34040080 ori r4,r0,0x0080			r4 = 0x80 (128)
00198da8: 00662821 addu r5,r3,r6
00198dac: 90a30058 lbu r3,0x0058(r5)			Load status 
00198db0: 00442007 srav r4,r4,r2			
00198db4: 00641824 and r3,r3,r4				
00198db8: 1060000b beq r3,r0,0x00198de8			Branch if has status 0x80
00198dbc: 00001021 addu r2,r0,r0
00198dc0: 90a2004e lbu r2,0x004e(r5)			Load innate status
00198dc4: 00000000 nop
00198dc8: 00441024 and r2,r2,r4				
00198dcc: 14400006 bne r2,r0,0x00198de8			Branch if innate status 0x80
00198dd0: 00001021 addu r2,r0,r0
00198dd4: 00c71021 addu r2,r6,r7
00198dd8: 90420e44 lbu r2,0x0e44(r2)			Load status infliction
00198ddc: 00000000 nop
00198de0: 00441024 and r2,r2,r4				r2 = ?? check
00198de4: 0002102b sltu r2,r0,r2			return r2 = ??
00198de8: 03e00008 jr r31				Jump to Address
00198dec: 00000000 nop