Remove Knockback Flag

From Final Fantasy Hacktics Wiki
Revision as of 21:15, 9 March 2021 by Orkney (talk | contribs)
Jump to navigation Jump to search
# ROUTINE: REMOVE KNOCKBACK FLAG

0018bd34: 3c048019 lui r4,0x8019
0018bd38: 248438ed addiu r4,r4,0x38ed           #   Post-action flags
0018bd3c: 90820000 lbu r2,0x0000(r4)
0018bd40: 00000000 nop
0018bd44: 30420080 andi r2,r2,0x0080            #   Knockback flag
0018bd48: 10400008 beq r2,r0,0x0018bd6c         #   if (Knockback flag is set) {
0018bd4c: 00000000 nop
0018bd50: 3c038019 lui r3,0x8019
0018bd54: 8c632d90 lw r3,0x2d90(r3)             #       Action
0018bd58: a0800000 sb r0,0x0000(r4)             #       [Post-action flags] = 0
0018bd5c: 94620010 lhu r2,0x0010(r3)            #       Action Special Flags (offsets 0x10, 0x11)
0018bd60: 00000000 nop
0018bd64: 3042bfff andi r2,r2,0xbfff            #       Remove Knockback flag from Action Special Flags
0018bd68: a4620010 sh r2,0x0010(r3)             #       Save Action Special Flags
                                                #   }
0018bd6c: 03e00008 jr r31
0018bd70: 00000000 nop


Returns locations

00184e88 Elemental_Nullification
00187720 Store_Reaction/Proc_ID_and_Target
00187dc8 Formula_01_-_06_Aftermath
0018bb3c Set_some_data_for_current_attack

Notes

Older page ?Nullify_steal_item?