Reflect "Reaction"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Reflect Reaction?  --This is not the reflect reaction, this is the reflect status code!
0018cfe8: 3c038019 lui r3,0x8019            |
0018cfec: 906338d4 lbu r3,0x38d4(r3)        |r3 = current ability used skillset
0018cff0: 34020015 ori r2,r0,0x0015         |r2 = 0x15 (math skill ID)
0018cff4: 10620014 beq r3,r2,0x0018d048     #If skillset is not Math skill /Else branch to End
0018cff8: 00000000 nop                           |
0018cffc: 3c028019 lui r2,0x8019                 |
0018d000: 904238f5 lbu r2,0x38f5(r2)             |r2 = Current ability flag 3
0018d004: 00000000 nop                           |
0018d008: 30420080 andi r2,r2,0x0080             |r2 = 0x80 if ability is reflectable - Else 0x00
0018d00c: 1040000e beq r2,r0,0x0018d048          #If ability is reflectable /Else branch to End
0018d010: 340201b8 ori r2,r0,0x01b8                  |r2 = 0x01b8 (reflect ability ID)
0018d014: 3c038019 lui r3,0x8019                     |
0018d018: 8c632d90 lw r3,0x2d90(r3)                  |r3 = Target current action data pointer
0018d01c: 00000000 nop                               |
0018d020: a462000e sh r2,0x000e(r3)                  |Store Reflect as target current action reaction ID
0018d024: 3c028019 lui r2,0x8019                     |
0018d028: 944238d6 lhu r2,0x38d6(r2)                 |r2 = Current ability used ability ID
0018d02c: a460002a sh r0,0x002a(r3)                  |Store target current action hit% = 0
0018d030: a0600000 sb r0,0x0000(r3)                  |Store target current action hit flag as missed
0018d034: a4620026 sh r2,0x0026(r3)                  |Store current used ability  ID as Target current action last attack recieved ID
0018d038: 3c038019 lui r3,0x8019                     |
0018d03c: 8c632d90 lw r3,0x2d90(r3)                  |r3 = Target current action data pointer
0018d040: 34020009 ori r2,r0,0x0009                  |r2 = 0x09
0018d044: a0620002 sb r2,0x0002(r3)                  |Store Target current action Evade type as 0x09 (reflected)
0018d048: 03e00008 jr r31                            
0018d04c: 00000000 nop                               

Return location

0018ca64: 'Reflect',_Blade_Grasp,_and_Arrow_Guard