00073638 - 000736d0
Jump to navigation
Jump to search
00073638: 27bdffe8 addiu r29,r29,0xffe8 0007363c: afbf0014 sw r31,0x0014(r29) 00073640: 0c01e886 jal 0x0007a218 Get Casting units Misc Data 00073644: afb00010 sw r16,0x0010(r29) 00073648: 0c01caa2 jal 0x00072a88 Check if Facing Needs Changed? 0007364c: 00408021 addu r16,r2,r0 r16 = Misc Unit Data Pointer? 00073650: 1200000f beq r16,r0,0x00073690 Branch if Misc Unit Data Pointer? = 0 00073654: 00000000 nop 00073658: 8e020134 lw r2,0x0134(r16) Load Unit's Data Pointer 0007365c: 00000000 nop 00073660: 1040000b beq r2,r0,0x00073690 Branch if Pointer = 0 00073664: 00000000 nop 00073668: 9044018a lbu r4,0x018a(r2) Load Unit's ID 0007366c: 0c05f9f9 jal 0x0017e7e4 Award EXP and JP for actions 00073670: 260501b0 addiu r5,r16,0x01b0 Misc Unit Data Pointer? += 1b0 00073674: 2403ffff addiu r3,r0,0xffff r3 = FFFF 00073678: 14430005 bne r2,r3,0x00073690 Branch if Unit could run the Exp calcs 0007367c: 00000000 nop 00073680: a20001b3 sb r0,0x01b3(r16) Earned Job Level = 0 00073684: a20001b2 sb r0,0x01b2(r16) Earned Level = 0 00073688: a20001b1 sb r0,0x01b1(r16) Earned JP = 0 0007368c: a20001b0 sb r0,0x01b0(r16) Earned Experience = 0 00073690: 0c0203d1 jal 0x00080f44 Prep for Displaying Earned Exp/JP 00073694: 02002021 addu r4,r16,r0 r4 = Misc Unit Data Pointer? 00073698: 3c018009 lui r1,0x8009 0007369c: ac206204 sw r0,0x6204(r1) Set ? = 0 000736a0: 0c01a0f9 jal 0x000683e4 Transfer Unit's X/Y/Map Level 000736a4: 02002021 addu r4,r16,r0 r4 = Misc Unit Data Pointer? 000736a8: 0c01cd33 jal 0x000734cc 000734cc - 00073634 000736ac: 00000000 nop 000736b0: 3c01800a lui r1,0x800a 000736b4: ac208db8 sw r0,-0x7248(r1) 000736b8: 3c018009 lui r1,0x8009 000736bc: ac20612c sw r0,0x612c(r1) Initialize animation complete flag 000736c0: 8fbf0014 lw r31,0x0014(r29) 000736c4: 8fb00010 lw r16,0x0010(r29) 000736c8: 27bd0018 addiu r29,r29,0x0018 000736cc: 03e00008 jr r31 000736d0: 00000000 nop