Difference between revisions of "Apply status (to action) - (Preserve hit status, evade type, hit %)"
Jump to navigation
Jump to search
m |
|||
Line 29: | Line 29: | ||
'''Return Locations''' | '''Return Locations''' | ||
00188b64: Formula [[01 Dmg (Weapon)]] | 00188b64: Formula [[01 Dmg (Weapon)]] | ||
+ | 00188de4: Formula [[08_Dmg_F(MA*Y)]] |
Revision as of 19:20, 26 February 2021
00187eb4: 3c028019 lui r2,0x8019 00187eb8: 8c422d90 lw r2,0x2d90(r2) # Action 00187ebc: 27bdffe0 addiu r29,r29,0xffe0 00187ec0: afbf001c sw r31,0x001c(r29) 00187ec4: afb20018 sw r18,0x0018(r29) 00187ec8: afb10014 sw r17,0x0014(r29) 00187ecc: afb00010 sw r16,0x0010(r29) 00187ed0: 90520002 lbu r18,0x0002(r2) # oldEvadeType = Action.EvadeType 00187ed4: 9451002a lhu r17,0x002a(r2) # oldHitPercent = Action.HitPercent 00187ed8: 90500000 lbu r16,0x0000(r2) # oldHitStatus = Action.HitStatus // Hit or miss 00187edc: 0c061fc9 jal 0x00187f24 # Apply status (to action) 00187ee0: 00000000 nop 00187ee4: 3c028019 lui r2,0x8019 00187ee8: 8c422d90 lw r2,0x2d90(r2) # Action 00187eec: 00000000 nop 00187ef0: a0500000 sb r16,0x0000(r2) # Action.HitStatus = oldHitStatus 00187ef4: 3c028019 lui r2,0x8019 00187ef8: 8c422d90 lw r2,0x2d90(r2) # Action 00187efc: 00000000 nop 00187f00: a451002a sh r17,0x002a(r2) # Action.HitPercent = oldHitPercent 00187f04: a0520002 sb r18,0x0002(r2) # Action.EvadeType = oldEvadeType 00187f08: 8fbf001c lw r31,0x001c(r29) 00187f0c: 8fb20018 lw r18,0x0018(r29) 00187f10: 8fb10014 lw r17,0x0014(r29) 00187f14: 8fb00010 lw r16,0x0010(r29) 00187f18: 27bd0020 addiu r29,r29,0x0020 00187f1c: 03e00008 jr r31 00187f20: 00000000 nop
Return Locations
00188b64: Formula 01 Dmg (Weapon) 00188de4: Formula 08_Dmg_F(MA*Y)