Difference between revisions of "Determine if Status Flags can be Enabled"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
m
Line 4: Line 4:
 
  0018e9c0: 8c42f5fc lw r2,-0x0a04(r2)                  <span style="color:limegreen">r2 = Type of action ?</span>
 
  0018e9c0: 8c42f5fc lw r2,-0x0a04(r2)                  <span style="color:limegreen">r2 = Type of action ?</span>
 
  0018e9c4: 27bdffe8 addiu r29,r29,0xffe8
 
  0018e9c4: 27bdffe8 addiu r29,r29,0xffe8
  0018e9c8: 14400003 bne r2,r0,0x0018e9d8                #If type of action = 0x00 (not reacting) / Else branch to <span style="color:firebrick">END</span>
+
  0018e9c8: 14400003 bne r2,r0,0x0018e9d8                #If type of action = 0x00 (real action) / Else branch to <span style="color:firebrick">END</span>
 
  0018e9cc: afbf0010 sw r31,0x0010(r29)
 
  0018e9cc: afbf0010 sw r31,0x0010(r29)
 
  0018e9d0: 0c01a3a0 jal 0x00068e80 --> [[Special Status Flag Enabling?|<span style="color:blue">Special Status Flag Enabling</span>]]
 
  0018e9d0: 0c01a3a0 jal 0x00068e80 --> [[Special Status Flag Enabling?|<span style="color:blue">Special Status Flag Enabling</span>]]

Revision as of 19:34, 22 June 2021

0018e9bc: 3c028019 lui r2,0x8019
0018e9c0: 8c42f5fc lw r2,-0x0a04(r2)                   r2 = Type of action ?
0018e9c4: 27bdffe8 addiu r29,r29,0xffe8		
0018e9c8: 14400003 bne r2,r0,0x0018e9d8                #If type of action = 0x00 (real action) / Else branch to END		
0018e9cc: afbf0010 sw r31,0x0010(r29)
0018e9d0: 0c01a3a0 jal 0x00068e80			--> Special Status Flag Enabling
0018e9d4: 00000000 nop
0018e9d8: 8fbf0010 lw r31,0x0010(r29)
0018e9dc: 27bd0018 addiu r29,r29,0x0018
0018e9e0: 03e00008 jr r31
0018e9e4: 00000000 nop