Prep gained exp/jp/level/job level
Jump to navigation
Jump to search
0018df0c: 27bdffd8 addiu r29,r29,0xffd8 0018df10: afb1001c sw r17,0x001c(r29) 0018df14: 00808821 addu r17,r4,r0 0018df18: afb20020 sw r18,0x0020(r29) 0018df1c: afbf0024 sw r31,0x0024(r29) 0018df20: afb00018 sw r16,0x0018(r29) 0018df24: 92230001 lbu r3,0x0001(r17) 0018df28: 340200ff ori r2,r0,0x00ff 0018df2c: 14620003 bne r3,r2,0x0018df3c unit existence 0018df30: 00a09021 addu r18,r5,r0 0018df34: 080637f7 j 0x0018dfdc 0018df38: 2402ffff addiu r2,r0,0xffff 0018df3c: 3c108019 lui r16,0x8019 0018df40: 2610390c addiu r16,r16,0x390c 0018df44: 9223018a lbu r3,0x018a(r17) load ID 0018df48: 34020001 ori r2,r0,0x0001 0018df4c: a2000000 sb r0,0x0000(r16) clear ability type 0018df50: 3c018019 lui r1,0x8019 0018df54: a020390d sb r0,0x390d(r1) clear ability element 0018df58: 3c018019 lui r1,0x8019 0018df5c: ac22f5f0 sw r2,-0x0a10(r1) store ?? = 0x01 0018df60: 3c018019 lui r1,0x8019 0018df64: ac23f8c8 sw r3,-0x0738(r1) store acting unit ID 0018df68: 9224018a lbu r4,0x018a(r17) load ID 0018df6c: 0c062f82 jal 0x0018be08 action hardcoding? 0018df70: 00000000 nop 0018df74: 3c018019 lui r1,0x8019 0018df78: ac20f5f0 sw r0,-0x0a10(r1) clear ?? 0018df7c: 922301b4 lbu r3,0x01b4(r17) load EXP change 0018df80: 00000000 nop 0018df84: a2430000 sb r3,0x0000(r18) store EXP change 0018df88: 922301b5 lbu r3,0x01b5(r17) load JP change 0018df8c: a2400002 sb r0,0x0002(r18) clear ?? 0018df90: a2430001 sb r3,0x0001(r18) store JP change 0018df94: 92030000 lbu r3,0x0000(r16) load attack type 0018df98: 00000000 nop 0018df9c: 10600004 beq r3,r0,0x0018dfb0 branch if not set? 0018dfa0: 00408021 addu r16,r2,r0 0018dfa4: 92220022 lbu r2,0x0022(r17) load level 0018dfa8: 00000000 nop 0018dfac: a2420002 sb r2,0x0002(r18) store level 0018dfb0: a2400003 sb r0,0x0003(r18) clear ?? 0018dfb4: 3c028019 lui r2,0x8019 0018dfb8: 9042390d lbu r2,0x390d(r2) load ability element? 0018dfbc: 00000000 nop 0018dfc0: 10400005 beq r2,r0,0x0018dfd8 branch if no element 0018dfc4: 02202021 addu r4,r17,r0 0018dfc8: 90850003 lbu r5,0x0003(r4) load load job 0018dfcc: 0c05fa8a jal 0x0017ea28 load job level 0018dfd0: 27a60010 addiu r6,r29,0x0010 0018dfd4: a2420003 sb r2,0x0003(r18) store job level 0018dfd8: 02001021 addu r2,r16,r0 0018dfdc: 8fbf0024 lw r31,0x0024(r29) 0018dfe0: 8fb20020 lw r18,0x0020(r29) 0018dfe4: 8fb1001c lw r17,0x001c(r29) 0018dfe8: 8fb00018 lw r16,0x0018(r29) 0018dfec: 27bd0028 addiu r29,r29,0x0028 0018dff0: 03e00008 jr r31 0018dff4: 00000000 nop