Enable Special Status Flags
Jump to navigation
Jump to search
# ROUTINE: ENABLE SPECIAL STATUS FLAGS # Enables special status flags on the action, if the action state is a real action. # Parameters: # r4 = (statusCounter) Status index + 1 # r5 = (updateState) State for inner routine # r6 = (battleUnitIndex) Battle unit index 8018e9bc: 3c028019 lui r2,0x8019 8018e9c0: 8c42f5fc lw r2,-0x0a04(r2) # actionState 8018e9c4: 27bdffe8 addiu r29,r29,-0x0018 8018e9c8: 14400003 bne r2,r0,0x8018e9d8 # if (actionState == 0) { 8018e9cc: afbf0010 sw r31,0x0010(r29) 8018e9d0: 0c01a3a0 jal 0x80068e80 # Special Status Flag Enabling? (statusCounter, updateState, battleUnitIndex); 8018e9d4: 00000000 nop # } 8018e9d8: 8fbf0010 lw r31,0x0010(r29) 8018e9dc: 27bd0018 addiu r29,r29,0x0018 8018e9e0: 03e00008 jr r31 8018e9e4: 00000000 nop