Difference between revisions of "Reflect "Reaction""

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (Nyzer moved page Reflect Reaction to Reflect "Reaction")
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  Reflect Reaction?
+
  Reflect Reaction? --This is not the reflect reaction, this is the reflect status code!
  0018cfe8: 3c038019 lui r3,0x8019
+
  0018cfe8: 3c038019 lui r3,0x8019           |
  0018cfec: 906338d4 lbu r3,0x38d4(r3) Skillset check
+
  0018cfec: 906338d4 lbu r3,0x38d4(r3)       |{{f/load|<nowiki>r3 = current ability used skillset</nowiki>}}
  0018cff0: 34020015 ori r2,r0,0x0015
+
  0018cff0: 34020015 ori r2,r0,0x0015         |{{f/std|<nowiki>r2 = 0x15 (math skill ID)</nowiki>}}
  0018cff4: 10620014 beq r3,r2,0x0018d048 Branch to end if attack is in skillset 0x0015 (math skill)
+
  0018cff4: 10620014 beq r3,r2,0x0018d048     {{f/Cond|<nowiki>If skillset is not Math skill</nowiki>}} /Else branch to {{f/loc|<nowiki>End</nowiki>}}
  0018cff8: 00000000 nop
+
  0018cff8: 00000000 nop                           |
  0018cffc: 3c028019 lui r2,0x8019
+
  0018cffc: 3c028019 lui r2,0x8019                 |
  0018d000: 904238f5 lbu r2,0x38f5(r2) Load Ability Flags 3
+
  0018d000: 904238f5 lbu r2,0x38f5(r2)             |{{f/load|<nowiki>r2 = Current ability flag 3</nowiki>}}
  0018d004: 00000000 nop
+
  0018d004: 00000000 nop                           |
  0018d008: 30420080 andi r2,r2,0x0080
+
  0018d008: 30420080 andi r2,r2,0x0080             |{{f/std|<nowiki>r2 = 0x80 if ability is reflectable - Else 0x00</nowiki>}}
  0018d00c: 1040000e beq r2,r0,0x0018d048 Branch if 'Reflectable' isn't marked
+
  0018d00c: 1040000e beq r2,r0,0x0018d048         {{f/Cond|<nowiki>If ability is reflectable</nowiki>}} /Else branch to {{f/loc|<nowiki>End</nowiki>}}
  0018d010: 340201b8 ori r2,r0,0x01b8 r2 = 0x01b8
+
  0018d010: 340201b8 ori r2,r0,0x01b8                 |{{f/std|<nowiki>r2 = 0x01b8 (reflect ability ID)</nowiki>}}
  0018d014: 3c038019 lui r3,0x8019
+
  0018d014: 3c038019 lui r3,0x8019                     |
  0018d018: 8c632d90 lw r3,0x2d90(r3) Load Defender's Currect Action Data
+
  0018d018: 8c632d90 lw r3,0x2d90(r3)                 |{{f/adr|<nowiki>r3 = Target current action data pointer</nowiki>}}
  0018d01c: 00000000 nop
+
  0018d01c: 00000000 nop                               |
  0018d020: a462000e sh r2,0x000e(r3) Store Reaction as Reflect (LOL)
+
  0018d020: a462000e sh r2,0x000e(r3)                 |{{f/store|<nowiki>Store Reflect as target current action reaction ID</nowiki>}}
  0018d024: 3c028019 lui r2,0x8019
+
  0018d024: 3c028019 lui r2,0x8019                     |
  0018d028: 944238d6 lhu r2,0x38d6(r2) Load Used Ability ID
+
  0018d028: 944238d6 lhu r2,0x38d6(r2)                 |{{f/load|<nowiki>r2 = Current ability used ability ID</nowiki>}}
  0018d02c: a460002a sh r0,0x002a(r3) Store hit on self as 0
+
  0018d02c: a460002a sh r0,0x002a(r3)                 |{{f/store|<nowiki>Store target current action hit% = 0</nowiki>}}
  0018d030: a0600000 sb r0,0x0000(r3) Store hit as 0
+
  0018d030: a0600000 sb r0,0x0000(r3)                 |{{f/store|<nowiki>Store target current action hit flag as missed</nowiki>}}
  0018d034: a4620026 sh r2,0x0026(r3) Store Used Ability ID as Last Attack
+
  0018d034: a4620026 sh r2,0x0026(r3)                 |{{f/store|<nowiki>Store current used ability  ID as Target current action last attack recieved ID</nowiki>}}
  0018d038: 3c038019 lui r3,0x8019
+
  0018d038: 3c038019 lui r3,0x8019                     |
  0018d03c: 8c632d90 lw r3,0x2d90(r3) Load Defender's Currect Action Data
+
  0018d03c: 8c632d90 lw r3,0x2d90(r3)                 |{{f/adr|<nowiki>r3 = Target current action data pointer</nowiki>}}
  0018d040: 34020009 ori r2,r0,0x0009
+
  0018d040: 34020009 ori r2,r0,0x0009                 |{{f/std|<nowiki>r2 = 0x09</nowiki>}}
  0018d044: a0620002 sb r2,0x0002(r3) Store Evade type as 0x09
+
  0018d044: a0620002 sb r2,0x0002(r3)                 |{{f/store|<nowiki>Store Target current action Evade type as 0x09 (reflected)</nowiki>}}
  0018d048: 03e00008 jr r31
+
  0018d048: 03e00008 jr r31                          
  0018d04c: 00000000 nop
+
  0018d04c: 00000000 nop                              
 +
 
 +
==Return location==
 +
0018ca64: [[%27Reflect%27,_Blade_Grasp,_and_Arrow_Guard]]

Latest revision as of 22:05, 22 December 2024

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