00076658 - 00076918
Jump to navigation
Jump to search
Runs when a crystal is obtained
00076658: 27bdffe0 addiu r29,r29,0xffe0 0007665c: afbf001c sw r31,0x001c(r29) 00076660: afb20018 sw r18,0x0018(r29) 00076664: afb10014 sw r17,0x0014(r29) 00076668: 0c01d2eb jal 0x00074bac 00074bac - 00074bf4 0007666c: afb00010 sw r16,0x0010(r29) 00076670: 0c011298 jal 0x00044a60 00044a60 - 00044a78 00076674: 00000000 nop 00076678: 3c058004 lui r5,0x8004 0007667c: 8ca55944 lw r5,0x5944(r5) 00076680: 0c04fd48 jal 0x0013f520 Data setting from menu selections 00076684: 00402021 addu r4,r2,r0 00076688: 0c04fe5e jal 0x0013f978 0013f978 - 0013f984 0007668c: 00000000 nop 00076690: 0c01e886 jal 0x0007a218 Get Casting units Misc Data 00076694: 00408821 addu r17,r2,r0 00076698: 0c01e875 jal 0x0007a1d4 Get casting unit's misc data 0007669c: 00408021 addu r16,r2,r0 000766a0: 00409021 addu r18,r2,r0 000766a4: 8e230000 lw r3,0x0000(r17) 000766a8: 34020004 ori r2,r0,0x0004 000766ac: 10620026 beq r3,r2,0x00076748 000766b0: 28620005 slti r2,r3,0x0005 000766b4: 10400009 beq r2,r0,0x000766dc 000766b8: 00000000 nop 000766bc: 04600029 bltz r3,0x00076764 000766c0: 28620002 slti r2,r3,0x0002 000766c4: 14400020 bne r2,r0,0x00076748 000766c8: 34020002 ori r2,r0,0x0002 000766cc: 1062000d beq r3,r2,0x00076704 000766d0: 00000000 nop 000766d4: 0801d9d9 j 0x00076764 000766d8: 00000000 nop 000766dc: 28620007 slti r2,r3,0x0007 000766e0: 14400020 bne r2,r0,0x00076764 000766e4: 28620009 slti r2,r3,0x0009 000766e8: 1440001c bne r2,r0,0x0007675c 000766ec: 34020001 ori r2,r0,0x0001 000766f0: 340200ff ori r2,r0,0x00ff 000766f4: 10620019 beq r3,r2,0x0007675c 000766f8: 34020001 ori r2,r0,0x0001 000766fc: 0801d9d9 j 0x00076764 00076700: 00000000 nop 00076704: 8e040134 lw r4,0x0134(r16) 00076708: 0c060241 jal 0x00180904 Learn from Crystal 0007670c: 34050002 ori r5,r0,0x0002 00076710: 8e030134 lw r3,0x0134(r16) 00076714: 34020001 ori r2,r0,0x0001 00076718: 3c01800a lui r1,0x800a 0007671c: ac228db8 sw r2,-0x7248(r1) 00076720: 9064018a lbu r4,0x018a(r3) 00076724: 0c062f82 jal 0x0018be08 Main Reaction Routine - performs ability effects 00076728: 00000000 nop 0007672c: 0c0200f9 jal 0x000803e4 Post-Action Display Setup 00076730: 02002021 addu r4,r16,r0 00076734: 92040004 lbu r4,0x0004(r16) 00076738: 0c01a38c jal 0x00068e30 Jump to 68d08 0007673c: 00000000 nop 00076740: 0801d9d9 j 0x00076764 00076744: 00000000 nop 00076748: 8e040134 lw r4,0x0134(r16) 0007674c: 8e250000 lw r5,0x0000(r17) 00076750: 0c060241 jal 0x00180904 Learn from Crystal 00076754: 00000000 nop 00076758: 34020001 ori r2,r0,0x0001 0007675c: 3c01800a lui r1,0x800a 00076760: ac228db8 sw r2,-0x7248(r1) 00076764: 3c02800a lui r2,0x800a 00076768: 8c428db8 lw r2,-0x7248(r2) 0007676c: 00000000 nop 00076770: 10400063 beq r2,r0,0x00076900 00076774: 00000000 nop 00076778: 3c028009 lui r2,0x8009 0007677c: 8c42612c lw r2,0x612c(r2) 00076780: 00000000 nop 00076784: 1440005e bne r2,r0,0x00076900 00076788: 00000000 nop 0007678c: 96420008 lhu r2,0x0008(r18) 00076790: 00000000 nop 00076794: 24430001 addiu r3,r2,0x0001 00076798: 2c42001f sltiu r2,r2,0x001f 0007679c: 14400058 bne r2,r0,0x00076900 000767a0: a6430008 sh r3,0x0008(r18) 000767a4: 920202bc lbu r2,0x02bc(r16) 000767a8: 00000000 nop 000767ac: 14400054 bne r2,r0,0x00076900 000767b0: 00000000 nop 000767b4: 924202bc lbu r2,0x02bc(r18) 000767b8: 00000000 nop 000767bc: 14400050 bne r2,r0,0x00076900 000767c0: 00000000 nop 000767c4: 3c038009 lui r3,0x8009 000767c8: 8c636208 lw r3,0x6208(r3) 000767cc: 00000000 nop 000767d0: 30620001 andi r2,r3,0x0001 000767d4: 10400012 beq r2,r0,0x00076820 000767d8: 30620002 andi r2,r3,0x0002 000767dc: 9204007c lbu r4,0x007c(r16) 000767e0: 9205007d lbu r5,0x007d(r16) 000767e4: 9206007e lbu r6,0x007e(r16) 000767e8: 0c01e8fe jal 0x0007a3f8 000767ec: 00000000 nop 000767f0: 14400043 bne r2,r0,0x00076900 000767f4: 2403fffe addiu r3,r0,0xfffe 000767f8: 3c028009 lui r2,0x8009 000767fc: 8c426208 lw r2,0x6208(r2) 00076800: 00000000 nop 00076804: 00431024 and r2,r2,r3 00076808: 3c018009 lui r1,0x8009 0007680c: ac226208 sw r2,0x6208(r1) 00076810: 0c066b8c jal 0x0019ae30 0019ae30 - 0019ae54 00076814: 00000000 nop 00076818: 0801da3e j 0x000768f8 0007681c: 00000000 nop 00076820: 1040000c beq r2,r0,0x00076854 00076824: 30620004 andi r2,r3,0x0004 00076828: 3c028009 lui r2,0x8009 0007682c: 8c426204 lw r2,0x6204(r2) 00076830: 00000000 nop 00076834: 24420001 addiu r2,r2,0x0001 00076838: 3c018009 lui r1,0x8009 0007683c: ac226204 sw r2,0x6204(r1) 00076840: 28420002 slti r2,r2,0x0002 00076844: 1440002c bne r2,r0,0x000768f8 00076848: 2402fffd addiu r2,r0,0xfffd 0007684c: 0801da3c j 0x000768f0 00076850: 00621024 and r2,r3,r2 00076854: 10400010 beq r2,r0,0x00076898 00076858: 30620008 andi r2,r3,0x0008 0007685c: 960201e2 lhu r2,0x01e2(r16) 00076860: 00000000 nop 00076864: 10400007 beq r2,r0,0x00076884 00076868: 2403fffb addiu r3,r0,0xfffb 0007686c: 960201dc lhu r2,0x01dc(r16) 00076870: 00000000 nop 00076874: 00021042 srl r2,r2,0x01 00076878: 2c42000c sltiu r2,r2,0x000c 0007687c: 10400020 beq r2,r0,0x00076900 00076880: 00000000 nop 00076884: a20002d0 sb r0,0x02d0(r16) 00076888: 3c028009 lui r2,0x8009 0007688c: 8c426208 lw r2,0x6208(r2) 00076890: 0801da3c j 0x000768f0 00076894: 00621024 and r2,r3,r2 00076898: 1040000b beq r2,r0,0x000768c8 0007689c: 2402fff7 addiu r2,r0,0xfff7 000768a0: 00621024 and r2,r3,r2 000768a4: 3c018009 lui r1,0x8009 000768a8: ac226208 sw r2,0x6208(r1) 000768ac: 0c066b8c jal 0x0019ae30 0019ae30 - 0019ae54 000768b0: 00000000 nop 000768b4: 92040004 lbu r4,0x0004(r16) 000768b8: 0c01a38c jal 0x00068e30 Jump to 68d08 000768bc: 00000000 nop 000768c0: 0801da3e j 0x000768f8 000768c4: 00000000 nop 000768c8: 30620010 andi r2,r3,0x0010 000768cc: 14400007 bne r2,r0,0x000768ec 000768d0: 2402ffef addiu r2,r0,0xffef 000768d4: 30620200 andi r2,r3,0x0200 000768d8: 14400004 bne r2,r0,0x000768ec 000768dc: 2402fdff addiu r2,r0,0xfdff 000768e0: 30620400 andi r2,r3,0x0400 000768e4: 10400006 beq r2,r0,0x00076900 000768e8: 2402fbff addiu r2,r0,0xfbff 000768ec: 00621024 and r2,r3,r2 000768f0: 3c018009 lui r1,0x8009 000768f4: ac226208 sw r2,0x6208(r1) 000768f8: 0c01c7ba jal 0x00071ee8 Main Post Movement 000768fc: 00000000 nop 00076900: 8fbf001c lw r31,0x001c(r29) 00076904: 8fb20018 lw r18,0x0018(r29) 00076908: 8fb10014 lw r17,0x0014(r29) 0007690c: 8fb00010 lw r16,0x0010(r29) 00076910: 27bd0020 addiu r29,r29,0x0020 00076914: 03e00008 jr r31 00076918: 00000000 nop