Difference between revisions of "Enable Unit's R/S/M Flags"
Jump to navigation
Jump to search
(Created page with " Enable Unit's R/S/M Flags 0005b7a0: 27bdffe0 addiu r29,r29,0xffe0 0005b7a4: afb10014 sw r17,0x0014(r29) 0005b7a8: 00808821 addu r17,r4,r0 r17 = Unit's Data Pointer 0005b...") |
|||
Line 35: | Line 35: | ||
0005b824: 03e00008 jr r31 | 0005b824: 03e00008 jr r31 | ||
0005b828: 00000000 nop | 0005b828: 00000000 nop | ||
+ | |||
+ | |||
+ | == Return Locations == | ||
+ | |||
+ | 0005a964: [[Initialize Unit's Job Data]] | ||
+ | 0005aa54: [[Unit Battle Initialization]] | ||
+ | 0005d6f0: [[Status Setting/Checking + Equip/R/S/M Stats]] |
Revision as of 14:03, 29 February 2012
Enable Unit's R/S/M Flags 0005b7a0: 27bdffe0 addiu r29,r29,0xffe0 0005b7a4: afb10014 sw r17,0x0014(r29) 0005b7a8: 00808821 addu r17,r4,r0 r17 = Unit's Data Pointer 0005b7ac: 2624008b addiu r4,r17,0x008b r4 = Unit's Data Pointer (Reactions 1) 0005b7b0: 3405000b ori r5,r0,0x000b r5 = b (Reaction -> Movement) 0005b7b4: afbf001c sw r31,0x001c(r29) 0005b7b8: afb20018 sw r18,0x0018(r29) 0005b7bc: 0c017991 jal 0x0005e644 Data Nullifying (Reactions through Movements) 0005b7c0: afb00010 sw r16,0x0010(r29) 0005b7c4: 00009021 addu r18,r0,r0 Counter = 0 0005b7c8: 02208021 addu r16,r17,r0 r16 = Unit's Data Pointer 0005b7cc: 02202021 addu r4,r17,r0 r4 = Unit's Data Pointer 0005b7d0: 9605000a lhu r5,0x000a(r16) Load Innate Ability 1 0005b7d4: 26100002 addiu r16,r16,0x0002 Unit's Data Pointer += 2 0005b7d8: 0c016e0b jal 0x0005b82c R/S/M Flag Setting (Add Innate Abilities) 0005b7dc: 26520001 addiu r18,r18,0x0001 Counter += 1 0005b7e0: 2a420004 slti r2,r18,0x0004 0005b7e4: 1440fffa bne r2,r0,0x0005b7d0 Branch if all Innates haven't been checked 0005b7e8: 02202021 addu r4,r17,r0 r4 = Unit's Data Pointer 0005b7ec: 96250014 lhu r5,0x0014(r17) Load Unit's Reaction Ability 0005b7f0: 0c016e0b jal 0x0005b82c R/S/M Flag Setting (Add Reaction) 0005b7f4: 02202021 addu r4,r17,r0 r4 = Unit's Data Pointer 0005b7f8: 96250016 lhu r5,0x0016(r17) Load Unit's Support Ability 0005b7fc: 0c016e0b jal 0x0005b82c R/S/M Flag Setting (Add Support) 0005b800: 02202021 addu r4,r17,r0 r4 = Unit's Data Pointer 0005b804: 96250018 lhu r5,0x0018(r17) Load Unit's Movement Ability 0005b808: 0c016e0b jal 0x0005b82c R/S/M Flag Setting (Add Movement) 0005b80c: 02202021 addu r4,r17,r0 r4 = Unit's Data Pointer 0005b810: 8fbf001c lw r31,0x001c(r29) 0005b814: 8fb20018 lw r18,0x0018(r29) 0005b818: 8fb10014 lw r17,0x0014(r29) 0005b81c: 8fb00010 lw r16,0x0010(r29) 0005b820: 27bd0020 addiu r29,r29,0x0020 0005b824: 03e00008 jr r31 0005b828: 00000000 nop
Return Locations
0005a964: Initialize Unit's Job Data 0005aa54: Unit Battle Initialization 0005d6f0: Status Setting/Checking + Equip/R/S/M Stats