Null Some Status Data
Jump to navigation
Jump to search
Parameter : r4 = Target Current Action data pointer Returns nothing ------------------------------------------------------------------------------------ 0018bdd4: 00001821 addu r3,r0,r0 |Counter = 0 0018bdd8: 00831021 addu r2,r4,r3 @LOOP r2 = Target Current Action (TCA) data pointer 0018bddc: 3c018019 lui r1,0x8019 | 0018bde0: 00230821 addu r1,r1,r3 |r1 = 0x80190000 + counter 0018bde4: a0203860 sb r0,0x3860(r1) |Store Status pre-removal = 0 0018bde8: 24630001 addiu r3,r3,0x0001 |Counter ++ 0018bdec: a040001b sb r0,0x001b(r2) |Store Status Infliction = 0 0018bdf0: a0400020 sb r0,0x0020(r2) |Store Status Removal = 0 0018bdf4: 28620005 slti r2,r3,0x0005 |check loop's limit 0018bdf8: 1440fff7 bne r2,r0,0x0018bdd8 Λ Loop 5 times (each status set) 0018bdfc: 00000000 nop | 0018be00: 03e00008 jr r31 END 0018be04: 00000000 nop
Return Locations
Battle.bin 0018ba44: Set some data for current attack 0018bdc0: Current_Action_Data_Nulling 0018c2c8: Attack_Finalisation_&_Reaction_Flagging