Difference between revisions of "Determine if Status Flags can be Enabled"
Jump to navigation
Jump to search
m (return link) |
|||
Line 1: | Line 1: | ||
+ | '''NOTE''': This routine actually updates status flags on an action if the action state == 0 (real action)! It is not only a determination. | ||
+ | |||
<font face='Courier New'> | <font face='Courier New'> | ||
− | |||
0018e9bc: 3c028019 lui r2,0x8019 | 0018e9bc: 3c028019 lui r2,0x8019 | ||
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> |
Revision as of 22:10, 17 April 2022
NOTE: This routine actually updates status flags on an action if the action state == 0 (real action)! It is not only a determination.
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
Return locations
0005d84c: Status_Setting/Checking_+_Equip/R/S/M_Stats 0005e8b4: Status_infliction/removal? 0018e2dc: Inflicted_status_CT_setting,_xfer_last_used_CT 0018e4b4: Store_status,modified_ENTD_for_current_attack