Difference between revisions of "Inflicted Status Changes"
Jump to navigation
Jump to search
(Created page with " Inflicted Status Changes 0005e6cc: 34020001 ori r2,r0,0x0001 r2 = 1 0005e6d0: 10e20010 beq r7,r2,0x0005e714 Branch if Change Type = 1 (Disable Statuses) 0005e6d4: 00c01...") |
|||
Line 30: | Line 30: | ||
0005e73c: 03e00008 jr r31 | 0005e73c: 03e00008 jr r31 | ||
0005e740: a0620058 sb r2,0x0058(r3) Store new Current Statuses | 0005e740: a0620058 sb r2,0x0058(r3) Store new Current Statuses | ||
+ | |||
+ | |||
+ | |||
+ | == Return Locations == | ||
+ | |||
+ | 0005e85c: | ||
+ | 0005e870: | ||
+ | 0018f26c: |
Revision as of 03:06, 2 March 2012
Inflicted Status Changes 0005e6cc: 34020001 ori r2,r0,0x0001 r2 = 1 0005e6d0: 10e20010 beq r7,r2,0x0005e714 Branch if Change Type = 1 (Disable Statuses) 0005e6d4: 00c01821 addu r3,r6,r0 r3 = Statuses 0005e6d8: 28e20002 slti r2,r7,0x0002 0005e6dc: 10400005 beq r2,r0,0x0005e6f4 Branch if PV >= 2 0005e6e0: 00000000 nop 0005e6e4: 10e00008 beq r7,r0,0x0005e708 Branch if PV = 0 (Enable Statuses) 0005e6e8: 00851021 addu r2,r4,r5 r2 = Unit's Data Pointer + Status Set ID 0005e6ec: 080179cc j 0x0005e730 0005e6f0: 00851821 addu r3,r4,r5 r3 = Unit's Data Pointer + Status Set ID 0005e6f4: 34020002 ori r2,r0,0x0002 r2 = 2 0005e6f8: 10e2000b beq r7,r2,0x0005e728 Branch if PV = 2 (Force-set Statuses) 0005e6fc: 00000000 nop 0005e700: 080179cc j 0x0005e730 (No Inflicted Status Change) 0005e704: 00851821 addu r3,r4,r5 r3 = Unit's Data Pointer + Status Set ID 0005e708: 904201bb lbu r2,0x01bb(r2) Load Unit's Inflicted Statuses 0005e70c: 080179cb j 0x0005e72c 0005e710: 00464025 or r8,r2,r6 Enable Inflicted Statuses 0005e714: 00851021 addu r2,r4,r5 r2 = Unit's Data Pointer + Status Set ID 0005e718: 904301bb lbu r3,0x01bb(r2) Load Inflicted Statuses 0005e71c: 00061027 nor r2,r0,r6 r2 = Statuses to Disable 0005e720: 080179cb j 0x0005e72c 0005e724: 00624024 and r8,r3,r2 Disable Inflicted Statuses 0005e728: 00604021 addu r8,r3,r0 r8 = Statuses 0005e72c: 00851821 addu r3,r4,r5 r3 = Unit's Data Pointer + Status Set ID 0005e730: 9062004e lbu r2,0x004e(r3) Load Unit's Innate Statuses 0005e734: a06801bb sb r8,0x01bb(r3) Store new Inflicted Statuses 0005e738: 01021025 or r2,r8,r2 Enable/Disable Innate Statuses 0005e73c: 03e00008 jr r31 0005e740: a0620058 sb r2,0x0058(r3) Store new Current Statuses
Return Locations
0005e85c: 0005e870: 0018f26c: