Nullify Action

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
#   ROUTINE: NULLIFY ACTION                         Alternative Notes here : Elemental_Nullification
#   Nullify the current action.

80184e40: 3c028019 lui r2,0x8019
80184e44: 8c422d90 lw r2,0x2d90(r2)                 #   Action
80184e48: 27bdffe8 addiu r29,r29,-0x0018
80184e4c: afbf0010 sw r31,0x0010(r29)
80184e50: a0400000 sb r0,0x0000(r2)                 #   Action.HitStatus = MISS
80184e54: 3c038019 lui r3,0x8019
80184e58: 8c632d90 lw r3,0x2d90(r3)                 #   Action
80184e5c: 34020005 ori r2,r0,0x0005
80184e60: a0620002 sb r2,0x0002(r3)                 #   Action.EvadeType = EvadeType.Nullified
80184e64: 3c028019 lui r2,0x8019
80184e68: 8c422d90 lw r2,0x2d90(r2)                 #   Action
80184e6c: a4600004 sh r0,0x0004(r3)                 #   Action.HPDamage = 0
80184e70: a460002a sh r0,0x002a(r3)                 #   Action.HitPercent = 0
80184e74: a4600010 sh r0,0x0010(r3)                 #   Action.SpecialFlags = 0
80184e78: 0c062f3c jal 0x8018bcf0                   #   Called by Nullify Action ();    // Clear reaction data?
80184e7c: a0400025 sb r0,0x0025(r2)                 #   Action.DisplayFlags = 0
80184e80: 0c062f4d jal 0x8018bd34                   #   Remove Knockback Flag ();
80184e84: 00000000 nop
80184e88: 8fbf0010 lw r31,0x0010(r29)
80184e8c: 27bd0018 addiu r29,r29,0x0018
80184e90: 03e00008 jr r31
80184e94: 00000000 nop

Return Locations

Battle.bin
00184f00: Elemental_Damage_Modification
001870d0: Ability_Elemental?
001897b4: 26_Equipped:_Steal_Hit_(SP+X)%
00189bc4: 2E_Equipped:Break_Dmg_(PA*WP)
0018ad34: Apply_Status_and_Check_Undead