Difference between revisions of "Store Current Statuses"
Jump to navigation
Jump to search
(Created page with " Store Current Statuses 0005e744: 00803021 addu r6,r4,r0 r6 = Unit's Data Pointer 0005e748: 00002821 addu r5,r0,r0 r5 = Counter 0005e74c: 00c51821 addu r3,r6,r5 r3 = Uni...") |
|||
Line 13: | Line 13: | ||
0005e770: 03e00008 jr r31 | 0005e770: 03e00008 jr r31 | ||
0005e774: 00000000 nop | 0005e774: 00000000 nop | ||
+ | |||
+ | |||
+ | |||
+ | == Return Locations == | ||
+ | |||
+ | 0005d650: [[Status Setting/Checking + Equip/R/S/M Stats]] | ||
+ | 0005d774: | ||
+ | 0005d7c8: | ||
+ | 001836bc: | ||
+ | 0018e2ec: | ||
+ | 0018e5b0: |
Revision as of 03:11, 2 March 2012
Store Current Statuses 0005e744: 00803021 addu r6,r4,r0 r6 = Unit's Data Pointer 0005e748: 00002821 addu r5,r0,r0 r5 = Counter 0005e74c: 00c51821 addu r3,r6,r5 r3 = Unit's Data Pointer += Counter 0005e750: 9062004e lbu r2,0x004e(r3) Load Unit's X set of Innate Statuses 0005e754: 906401bb lbu r4,0x01bb(r3) Load Unit's X set of Inflicted Statuses 0005e758: 24a50001 addiu r5,r5,0x0001 Counter += 1 0005e75c: 00441025 or r2,r2,r4 Combine Innate and Inflicted Statuses 0005e760: a0620058 sb r2,0x0058(r3) Store Current Statuses into set X 0005e764: 28a20005 slti r2,r5,0x0005 0005e768: 1440fff8 bne r2,r0,0x0005e74c Branch if all statuses haven't been altered 0005e76c: 00000000 nop 0005e770: 03e00008 jr r31 0005e774: 00000000 nop
Return Locations
0005d650: Status Setting/Checking + Equip/R/S/M Stats 0005d774: 0005d7c8: 001836bc: 0018e2ec: 0018e5b0: