Star spirit ability naming + disasm

This commit is contained in:
Ethan Roseman 2021-02-03 21:28:39 +09:00
parent f7cef0ab6c
commit e5e89e86cf
188 changed files with 9170 additions and 572 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,125 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_724240
/* 724240 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
/* 724244 802A1004 AFB50044 */ sw $s5, 0x44($sp)
/* 724248 802A1008 0080A82D */ daddu $s5, $a0, $zero
/* 72424C 802A100C AFB10034 */ sw $s1, 0x34($sp)
/* 724250 802A1010 0000882D */ daddu $s1, $zero, $zero
/* 724254 802A1014 2405001D */ addiu $a1, $zero, 0x1d
/* 724258 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
/* 72425C 802A101C 4480A000 */ mtc1 $zero, $f20
/* 724260 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 724264 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
/* 724268 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
/* 72426C 802A102C AFB40040 */ sw $s4, 0x40($sp)
/* 724270 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
/* 724274 802A1034 AFB20038 */ sw $s2, 0x38($sp)
/* 724278 802A1038 AFB00030 */ sw $s0, 0x30($sp)
/* 72427C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
/* 724280 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
/* 724284 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
/* 724288 802A1048 8442017A */ lh $v0, 0x17a($v0)
/* 72428C 802A104C 0260202D */ daddu $a0, $s3, $zero
/* 724290 802A1050 00021140 */ sll $v0, $v0, 5
/* 724294 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
/* 724298 802A1058 02429021 */ addu $s2, $s2, $v0
/* 72429C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
/* 7242A0 802A1060 92620191 */ lbu $v0, 0x191($s3)
/* 7242A4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
/* 7242A8 802A1068 44820000 */ mtc1 $v0, $f0
/* 7242AC 802A106C 00000000 */ nop
/* 7242B0 802A1070 46800020 */ cvt.s.w $f0, $f0
/* 7242B4 802A1074 0C099CAB */ jal heroes_is_ability_active
/* 7242B8 802A1078 46001580 */ add.s $f22, $f2, $f0
/* 7242BC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
/* 7242C0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
/* 7242C4 802A1084 1A400045 */ blez $s2, .L802A119C
/* 7242C8 802A1088 3C0451EB */ lui $a0, 0x51eb
/* 7242CC 802A108C 3484851F */ ori $a0, $a0, 0x851f
/* 7242D0 802A1090 00121880 */ sll $v1, $s2, 2
/* 7242D4 802A1094 00721821 */ addu $v1, $v1, $s2
/* 7242D8 802A1098 00031100 */ sll $v0, $v1, 4
/* 7242DC 802A109C 00431023 */ subu $v0, $v0, $v1
/* 7242E0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
/* 7242E4 802A10A4 00440018 */ mult $v0, $a0
/* 7242E8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
/* 7242EC 802A10AC 00004010 */ mfhi $t0
/* 7242F0 802A10B0 00081943 */ sra $v1, $t0, 5
/* 7242F4 802A10B4 00629023 */ subu $s2, $v1, $v0
/* 7242F8 802A10B8 0232102A */ slt $v0, $s1, $s2
/* 7242FC 802A10BC 10400019 */ beqz $v0, .L802A1124
/* 724300 802A10C0 0220802D */ daddu $s0, $s1, $zero
/* 724304 802A10C4 24140017 */ addiu $s4, $zero, 0x17
/* 724308 802A10C8 3C0141F0 */ lui $at, 0x41f0
/* 72430C 802A10CC 4481C000 */ mtc1 $at, $f24
/* 724310 802A10D0 24110001 */ addiu $s1, $zero, 1
.L802A10D4:
/* 724314 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
/* 724318 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
/* 72431C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
/* 724320 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
/* 724324 802A10E4 24040157 */ addiu $a0, $zero, 0x157
/* 724328 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
/* 72432C 802A10EC 26310003 */ addiu $s1, $s1, 3
/* 724330 802A10F0 26100001 */ addiu $s0, $s0, 1
/* 724334 802A10F4 4406B000 */ mfc1 $a2, $f22
/* 724338 802A10F8 44050000 */ mfc1 $a1, $f0
/* 72433C 802A10FC 44071000 */ mfc1 $a3, $f2
/* 724340 802A1100 4618A500 */ add.s $f20, $f20, $f24
/* 724344 802A1104 AFB40010 */ sw $s4, 0x10($sp)
/* 724348 802A1108 0C04C4FD */ jal make_item_entity
/* 72434C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
/* 724350 802A1110 0C03A830 */ jal add_coins
/* 724354 802A1114 24040001 */ addiu $a0, $zero, 1
/* 724358 802A1118 0212102A */ slt $v0, $s0, $s2
/* 72435C 802A111C 1440FFED */ bnez $v0, .L802A10D4
/* 724360 802A1120 00000000 */ nop
.L802A1124:
/* 724364 802A1124 00101040 */ sll $v0, $s0, 1
/* 724368 802A1128 00501021 */ addu $v0, $v0, $s0
/* 72436C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
/* 724370 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
/* 724374 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
/* 724378 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
/* 72437C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
/* 724380 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
/* 724384 802A1144 27A20020 */ addiu $v0, $sp, 0x20
/* 724388 802A1148 AFA20010 */ sw $v0, 0x10($sp)
/* 72438C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
/* 724390 802A1150 AFA20014 */ sw $v0, 0x14($sp)
/* 724394 802A1154 44050000 */ mfc1 $a1, $f0
/* 724398 802A1158 4406B000 */ mfc1 $a2, $f22
/* 72439C 802A115C 44071000 */ mfc1 $a3, $f2
/* 7243A0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
/* 7243A4 802A1164 0C00B94E */ jal get_screen_coords
/* 7243A8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
/* 7243AC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
/* 7243B0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
/* 7243B4 802A1174 0C050529 */ jal create_icon
/* 7243B8 802A1178 00000000 */ nop
/* 7243BC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
/* 7243C0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
/* 7243C4 802A1184 0040202D */ daddu $a0, $v0, $zero
/* 7243C8 802A1188 3C01802A */ lui $at, %hi(D_802A1AA0)
/* 7243CC 802A118C AC241AA0 */ sw $a0, %lo(D_802A1AA0)($at)
/* 7243D0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
/* 7243D4 802A1194 0C051261 */ jal set_icon_render_pos
/* 7243D8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
.L802A119C:
/* 7243DC 802A119C AEB10084 */ sw $s1, 0x84($s5)
.L802A11A0:
/* 7243E0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
/* 7243E4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
/* 7243E8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
/* 7243EC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
/* 7243F0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
/* 7243F4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
/* 7243F8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
/* 7243FC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
/* 724400 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
/* 724404 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
/* 724408 802A11C8 24020002 */ addiu $v0, $zero, 2
/* 72440C 802A11CC 03E00008 */ jr $ra
/* 724410 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -0,0 +1,31 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A11D4_724414
/* 724414 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 724418 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 72441C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 724420 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
/* 724424 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
/* 724428 802A11E8 8462017A */ lh $v0, 0x17a($v1)
/* 72442C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
/* 724430 802A11F0 00021140 */ sll $v0, $v0, 5
/* 724434 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
/* 724438 802A11F8 02028021 */ addu $s0, $s0, $v0
/* 72443C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
/* 724440 802A1200 0C099CAB */ jal heroes_is_ability_active
/* 724444 802A1204 2405001D */ addiu $a1, $zero, 0x1d
/* 724448 802A1208 10400007 */ beqz $v0, .L802A1228
/* 72444C 802A120C 00000000 */ nop
/* 724450 802A1210 1A000005 */ blez $s0, .L802A1228
/* 724454 802A1214 00000000 */ nop
/* 724458 802A1218 3C04802A */ lui $a0, %hi(D_802A1AA0)
/* 72445C 802A121C 8C841AA0 */ lw $a0, %lo(D_802A1AA0)($a0)
/* 724460 802A1220 0C05123D */ jal free_icon
/* 724464 802A1224 00000000 */ nop
.L802A1228:
/* 724468 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
/* 72446C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
/* 724470 802A1230 24020002 */ addiu $v0, $zero, 2
/* 724474 802A1234 03E00008 */ jr $ra
/* 724478 802A1238 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A123C_72447C
/* 72447C 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 724480 802A1240 AFB1001C */ sw $s1, 0x1c($sp)
/* 724484 802A1244 0080882D */ daddu $s1, $a0, $zero
/* 724488 802A1248 AFBF0028 */ sw $ra, 0x28($sp)
/* 72448C 802A124C AFB30024 */ sw $s3, 0x24($sp)
/* 724490 802A1250 AFB20020 */ sw $s2, 0x20($sp)
/* 724494 802A1254 AFB00018 */ sw $s0, 0x18($sp)
/* 724498 802A1258 8E30000C */ lw $s0, 0xc($s1)
/* 72449C 802A125C 8E050000 */ lw $a1, ($s0)
/* 7244A0 802A1260 0C0B1EAF */ jal get_variable
/* 7244A4 802A1264 26100004 */ addiu $s0, $s0, 4
/* 7244A8 802A1268 8E050000 */ lw $a1, ($s0)
/* 7244AC 802A126C 26100004 */ addiu $s0, $s0, 4
/* 7244B0 802A1270 0220202D */ daddu $a0, $s1, $zero
/* 7244B4 802A1274 0C0B1EAF */ jal get_variable
/* 7244B8 802A1278 0040982D */ daddu $s3, $v0, $zero
/* 7244BC 802A127C 8E050000 */ lw $a1, ($s0)
/* 7244C0 802A1280 26100004 */ addiu $s0, $s0, 4
/* 7244C4 802A1284 0220202D */ daddu $a0, $s1, $zero
/* 7244C8 802A1288 0C0B1EAF */ jal get_variable
/* 7244CC 802A128C 0040902D */ daddu $s2, $v0, $zero
/* 7244D0 802A1290 0220202D */ daddu $a0, $s1, $zero
/* 7244D4 802A1294 8E050000 */ lw $a1, ($s0)
/* 7244D8 802A1298 0C0B1EAF */ jal get_variable
/* 7244DC 802A129C 0040802D */ daddu $s0, $v0, $zero
/* 7244E0 802A12A0 44930000 */ mtc1 $s3, $f0
/* 7244E4 802A12A4 00000000 */ nop
/* 7244E8 802A12A8 46800020 */ cvt.s.w $f0, $f0
/* 7244EC 802A12AC 44050000 */ mfc1 $a1, $f0
/* 7244F0 802A12B0 44920000 */ mtc1 $s2, $f0
/* 7244F4 802A12B4 00000000 */ nop
/* 7244F8 802A12B8 46800020 */ cvt.s.w $f0, $f0
/* 7244FC 802A12BC 44060000 */ mfc1 $a2, $f0
/* 724500 802A12C0 44900000 */ mtc1 $s0, $f0
/* 724504 802A12C4 00000000 */ nop
/* 724508 802A12C8 46800020 */ cvt.s.w $f0, $f0
/* 72450C 802A12CC 44070000 */ mfc1 $a3, $f0
/* 724510 802A12D0 0000202D */ daddu $a0, $zero, $zero
/* 724514 802A12D4 0C01C424 */ jal func_80071090
/* 724518 802A12D8 AFA20010 */ sw $v0, 0x10($sp)
/* 72451C 802A12DC 8FBF0028 */ lw $ra, 0x28($sp)
/* 724520 802A12E0 8FB30024 */ lw $s3, 0x24($sp)
/* 724524 802A12E4 8FB20020 */ lw $s2, 0x20($sp)
/* 724528 802A12E8 8FB1001C */ lw $s1, 0x1c($sp)
/* 72452C 802A12EC 8FB00018 */ lw $s0, 0x18($sp)
/* 724530 802A12F0 24020002 */ addiu $v0, $zero, 2
/* 724534 802A12F4 03E00008 */ jr $ra
/* 724538 802A12F8 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,18 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12FC_72453C
/* 72453C 802A12FC 3C048011 */ lui $a0, %hi(gPlayerData)
/* 724540 802A1300 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
/* 724544 802A1304 90820002 */ lbu $v0, 2($a0)
/* 724548 802A1308 80830003 */ lb $v1, 3($a0)
/* 72454C 802A130C 24420014 */ addiu $v0, $v0, 0x14
/* 724550 802A1310 A0820002 */ sb $v0, 2($a0)
/* 724554 802A1314 00021600 */ sll $v0, $v0, 0x18
/* 724558 802A1318 00021603 */ sra $v0, $v0, 0x18
/* 72455C 802A131C 0062182A */ slt $v1, $v1, $v0
/* 724560 802A1320 90820003 */ lbu $v0, 3($a0)
/* 724564 802A1324 54600001 */ bnel $v1, $zero, .L802A132C
/* 724568 802A1328 A0820002 */ sb $v0, 2($a0)
.L802A132C:
/* 72456C 802A132C 03E00008 */ jr $ra

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_7900D0
/* 7900D0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 7900D4 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 7900D8 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 7900DC 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 7900E0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 7900E4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 7900E8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 7900EC 802A101C 8E050000 */ lw $a1, ($s0)
/* 7900F0 802A1020 0C0B1EAF */ jal get_variable
/* 7900F4 802A1024 26100004 */ addiu $s0, $s0, 4
/* 7900F8 802A1028 8E050000 */ lw $a1, ($s0)
/* 7900FC 802A102C 26100004 */ addiu $s0, $s0, 4
/* 790100 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 790104 802A1034 0C0B1EAF */ jal get_variable
/* 790108 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 79010C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 790110 802A1040 8E050000 */ lw $a1, ($s0)
/* 790114 802A1044 0C0B1EAF */ jal get_variable
/* 790118 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 79011C 802A104C 44921000 */ mtc1 $s2, $f2
/* 790120 802A1050 00000000 */ nop
/* 790124 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 790128 802A1058 44051000 */ mfc1 $a1, $f2
/* 79012C 802A105C 44901000 */ mtc1 $s0, $f2
/* 790130 802A1060 00000000 */ nop
/* 790134 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 790138 802A1068 44061000 */ mfc1 $a2, $f2
/* 79013C 802A106C 44821000 */ mtc1 $v0, $f2
/* 790140 802A1070 00000000 */ nop
/* 790144 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 790148 802A1078 3C014220 */ lui $at, 0x4220
/* 79014C 802A107C 44810000 */ mtc1 $at, $f0
/* 790150 802A1080 44071000 */ mfc1 $a3, $f2
/* 790154 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 790158 802A1088 0C01BFBC */ jal func_8006FEF0
/* 79015C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 790160 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 790164 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 790168 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 79016C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 790170 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 790174 802A10A4 03E00008 */ jr $ra
/* 790178 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_79017C
/* 79017C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 790180 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 790184 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 790188 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 79018C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 790190 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 790194 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 790198 802A10C8 8E050000 */ lw $a1, ($s0)
/* 79019C 802A10CC 0C0B1EAF */ jal get_variable
/* 7901A0 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 7901A4 802A10D4 8E050000 */ lw $a1, ($s0)
/* 7901A8 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 7901AC 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 7901B0 802A10E0 0C0B1EAF */ jal get_variable
/* 7901B4 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 7901B8 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 7901BC 802A10EC 8E050000 */ lw $a1, ($s0)
/* 7901C0 802A10F0 0C0B1EAF */ jal get_variable
/* 7901C4 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 7901C8 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 7901CC 802A10FC 44921000 */ mtc1 $s2, $f2
/* 7901D0 802A1100 00000000 */ nop
/* 7901D4 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 7901D8 802A1108 44051000 */ mfc1 $a1, $f2
/* 7901DC 802A110C 44901000 */ mtc1 $s0, $f2
/* 7901E0 802A1110 00000000 */ nop
/* 7901E4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 7901E8 802A1118 44061000 */ mfc1 $a2, $f2
/* 7901EC 802A111C 44821000 */ mtc1 $v0, $f2
/* 7901F0 802A1120 00000000 */ nop
/* 7901F4 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 7901F8 802A1128 3C014248 */ lui $at, 0x4248
/* 7901FC 802A112C 44810000 */ mtc1 $at, $f0
/* 790200 802A1130 44071000 */ mfc1 $a3, $f2
/* 790204 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 790208 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 79020C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 790210 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 790214 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 790218 802A1148 0C01C154 */ jal func_80070550
/* 79021C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 790220 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 790224 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 790228 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 79022C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 790230 802A1160 24020002 */ addiu $v0, $zero, 2
/* 790234 802A1164 03E00008 */ jr $ra
/* 790238 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_79023C
/* 79023C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 790240 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 790244 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 790248 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 79024C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 790250 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 790254 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 790258 802A1188 8E050000 */ lw $a1, ($s0)
/* 79025C 802A118C 0C0B1EAF */ jal get_variable
/* 790260 802A1190 26100004 */ addiu $s0, $s0, 4
/* 790264 802A1194 8E050000 */ lw $a1, ($s0)
/* 790268 802A1198 26100004 */ addiu $s0, $s0, 4
/* 79026C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 790270 802A11A0 0C0B1EAF */ jal get_variable
/* 790274 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 790278 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 79027C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 790280 802A11B0 0C0B1EAF */ jal get_variable
/* 790284 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 790288 802A11B8 44921000 */ mtc1 $s2, $f2
/* 79028C 802A11BC 00000000 */ nop
/* 790290 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 790294 802A11C4 44051000 */ mfc1 $a1, $f2
/* 790298 802A11C8 44901000 */ mtc1 $s0, $f2
/* 79029C 802A11CC 00000000 */ nop
/* 7902A0 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 7902A4 802A11D4 44061000 */ mfc1 $a2, $f2
/* 7902A8 802A11D8 44821000 */ mtc1 $v0, $f2
/* 7902AC 802A11DC 00000000 */ nop
/* 7902B0 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 7902B4 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 7902B8 802A11E8 44810000 */ mtc1 $at, $f0
/* 7902BC 802A11EC 44071000 */ mfc1 $a3, $f2
/* 7902C0 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 7902C4 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 7902C8 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7902CC 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 7902D0 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 7902D4 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 7902D8 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 7902DC 802A120C 24020002 */ addiu $v0, $zero, 2
/* 7902E0 802A1210 03E00008 */ jr $ra
/* 7902E4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_7902E8
/* 7902E8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 7902EC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 7902F0 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 7902F4 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 7902F8 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 7902FC 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 790300 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 790304 802A1234 8E050000 */ lw $a1, ($s0)
/* 790308 802A1238 0C0B1EAF */ jal get_variable
/* 79030C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 790310 802A1240 8E050000 */ lw $a1, ($s0)
/* 790314 802A1244 26100004 */ addiu $s0, $s0, 4
/* 790318 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 79031C 802A124C 0C0B1EAF */ jal get_variable
/* 790320 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 790324 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 790328 802A1258 8E050000 */ lw $a1, ($s0)
/* 79032C 802A125C 0C0B1EAF */ jal get_variable
/* 790330 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 790334 802A1264 24040004 */ addiu $a0, $zero, 4
/* 790338 802A1268 44922000 */ mtc1 $s2, $f4
/* 79033C 802A126C 00000000 */ nop
/* 790340 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 790344 802A1274 44052000 */ mfc1 $a1, $f4
/* 790348 802A1278 44902000 */ mtc1 $s0, $f4
/* 79034C 802A127C 00000000 */ nop
/* 790350 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 790354 802A1284 44062000 */ mfc1 $a2, $f4
/* 790358 802A1288 44822000 */ mtc1 $v0, $f4
/* 79035C 802A128C 00000000 */ nop
/* 790360 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 790364 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 790368 802A1298 44810000 */ mtc1 $at, $f0
/* 79036C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 790370 802A12A0 44811000 */ mtc1 $at, $f2
/* 790374 802A12A4 44072000 */ mfc1 $a3, $f4
/* 790378 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 79037C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 790380 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 790384 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 790388 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79038C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 790390 802A12C0 0C01C8D4 */ jal func_80072350
/* 790394 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 790398 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 79039C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 7903A0 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 7903A4 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 7903A8 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 7903AC 802A12DC 03E00008 */ jr $ra
/* 7903B0 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_7903B4
/* 7903B4 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7903B8 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 7903BC 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 7903C0 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 7903C4 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 7903C8 802A12F8 0C04760B */ jal func_8011D82C
/* 7903CC 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 7903D0 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 7903D4 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 7903D8 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 7903DC 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 7903E0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 7903E4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 7903E8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 7903EC 802A131C 0C046F97 */ jal set_background_color_blend
/* 7903F0 802A1320 A0430000 */ sb $v1, ($v0)
/* 7903F4 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 7903F8 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 7903FC 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 790400 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 790404 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 790408 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 79040C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 790410 802A1340 00431023 */ subu $v0, $v0, $v1
/* 790414 802A1344 00023880 */ sll $a3, $v0, 2
/* 790418 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 79041C 802A134C 00073840 */ sll $a3, $a3, 1
/* 790420 802A1350 0C046F97 */ jal set_background_color_blend
/* 790424 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 790428 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 79042C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 790430 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 790434 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 790438 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 79043C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 790440 802A1370 00021040 */ sll $v0, $v0, 1
/* 790444 802A1374 03E00008 */ jr $ra
/* 790448 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_79044C
/* 79044C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 790450 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 790454 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 790458 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 79045C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 790460 802A1390 0C04760B */ jal func_8011D82C
/* 790464 802A1394 24040001 */ addiu $a0, $zero, 1
/* 790468 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 79046C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 790470 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 790474 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 790478 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 79047C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 790480 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 790484 802A13B4 0C046F97 */ jal set_background_color_blend
/* 790488 802A13B8 A0620000 */ sb $v0, ($v1)
/* 79048C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 790490 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 790494 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 790498 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 79049C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 7904A0 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 7904A4 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 7904A8 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 7904AC 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 7904B0 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 7904B4 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 7904B8 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 7904BC 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 7904C0 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 7904C4 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 7904C8 802A13F8 0C046F97 */ jal set_background_color_blend
/* 7904CC 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 7904D0 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 7904D4 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 7904D8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 7904DC 802A140C 03E00008 */ jr $ra
/* 7904E0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_7904E4
/* 7904E4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7904E8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 7904EC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 7904F0 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 7904F4 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 7904F8 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 7904FC 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 790500 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 790504 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 790508 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 79050C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 790510 802A1440 00023880 */ sll $a3, $v0, 2
/* 790514 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 790518 802A1448 00073840 */ sll $a3, $a3, 1
/* 79051C 802A144C 0C046F97 */ jal set_background_color_blend
/* 790520 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 790524 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 790528 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 79052C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 790530 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 790534 802A1464 080A8521 */ j .L802A1484
/* 790538 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 79053C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 790540 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 790544 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 790548 802A1478 0C046F97 */ jal set_background_color_blend
/* 79054C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 790550 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 790554 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 790558 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 79055C 802A148C 03E00008 */ jr $ra
/* 790560 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_790564
/* 790564 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 790568 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79056C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 790570 802A14A0 0C0B1EAF */ jal get_variable
/* 790574 802A14A4 8C450000 */ lw $a1, ($v0)
/* 790578 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79057C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 790580 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 790584 802A14B4 00051880 */ sll $v1, $a1, 2
/* 790588 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79058C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 790590 802A14C0 00031880 */ sll $v1, $v1, 2
/* 790594 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 790598 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79059C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 7905A0 802A14D0 0C098F3F */ jal set_animation
/* 7905A4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 7905A8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 7905AC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 7905B0 802A14E0 03E00008 */ jr $ra
/* 7905B4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_7905B8
/* 7905B8 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7905BC 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 7905C0 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 7905C4 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 7905C8 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 7905CC 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 7905D0 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 7905D4 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 7905D8 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 7905DC 802A150C 24020002 */ addiu $v0, $zero, 2
/* 7905E0 802A1510 03E00008 */ jr $ra
/* 7905E4 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,8 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_7905E8
/* 7905E8 802A1518 3C01802A */ lui $at, %hi(D_802A2CC0)
/* 7905EC 802A151C AC202CC0 */ sw $zero, %lo(D_802A2CC0)($at)
/* 7905F0 802A1520 03E00008 */ jr $ra
/* 7905F4 802A1524 24020002 */ addiu $v0, $zero, 2

View File

@ -0,0 +1,9 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1528_7905F8
/* 7905F8 802A1528 3C02802A */ lui $v0, %hi(D_802A2CC0)
/* 7905FC 802A152C 8C422CC0 */ lw $v0, %lo(D_802A2CC0)($v0)
/* 790600 802A1530 AC820084 */ sw $v0, 0x84($a0)
/* 790604 802A1534 03E00008 */ jr $ra
/* 790608 802A1538 24020002 */ addiu $v0, $zero, 2

View File

@ -0,0 +1,68 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A153C_79060C
/* 79060C 802A153C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 790610 802A1540 AFBF0018 */ sw $ra, 0x18($sp)
/* 790614 802A1544 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 790618 802A1548 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 79061C 802A154C 0C00A67F */ jal rand_int
/* 790620 802A1550 240400C8 */ addiu $a0, $zero, 0xc8
/* 790624 802A1554 2442FFE7 */ addiu $v0, $v0, -0x19
/* 790628 802A1558 4482B000 */ mtc1 $v0, $f22
/* 79062C 802A155C 00000000 */ nop
/* 790630 802A1560 4680B5A0 */ cvt.s.w $f22, $f22
/* 790634 802A1564 0C00A67F */ jal rand_int
/* 790638 802A1568 24040078 */ addiu $a0, $zero, 0x78
/* 79063C 802A156C 24420007 */ addiu $v0, $v0, 7
/* 790640 802A1570 4482A000 */ mtc1 $v0, $f20
/* 790644 802A1574 00000000 */ nop
/* 790648 802A1578 4680A520 */ cvt.s.w $f20, $f20
/* 79064C 802A157C 0C00A67F */ jal rand_int
/* 790650 802A1580 24040032 */ addiu $a0, $zero, 0x32
/* 790654 802A1584 24040002 */ addiu $a0, $zero, 2
/* 790658 802A1588 2442FFE7 */ addiu $v0, $v0, -0x19
/* 79065C 802A158C 44821000 */ mtc1 $v0, $f2
/* 790660 802A1590 00000000 */ nop
/* 790664 802A1594 468010A0 */ cvt.s.w $f2, $f2
/* 790668 802A1598 44071000 */ mfc1 $a3, $f2
/* 79066C 802A159C 4405B000 */ mfc1 $a1, $f22
/* 790670 802A15A0 4406A000 */ mfc1 $a2, $f20
/* 790674 802A15A4 3C014000 */ lui $at, 0x4000
/* 790678 802A15A8 44810000 */ mtc1 $at, $f0
/* 79067C 802A15AC 24020014 */ addiu $v0, $zero, 0x14
/* 790680 802A15B0 AFA20014 */ sw $v0, 0x14($sp)
/* 790684 802A15B4 0C01C88C */ jal func_80072230
/* 790688 802A15B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79068C 802A15BC 0C00A67F */ jal rand_int
/* 790690 802A15C0 240400C8 */ addiu $a0, $zero, 0xc8
/* 790694 802A15C4 2442FFE7 */ addiu $v0, $v0, -0x19
/* 790698 802A15C8 4482B000 */ mtc1 $v0, $f22
/* 79069C 802A15CC 00000000 */ nop
/* 7906A0 802A15D0 4680B5A0 */ cvt.s.w $f22, $f22
/* 7906A4 802A15D4 0C00A67F */ jal rand_int
/* 7906A8 802A15D8 24040078 */ addiu $a0, $zero, 0x78
/* 7906AC 802A15DC 24420007 */ addiu $v0, $v0, 7
/* 7906B0 802A15E0 4482A000 */ mtc1 $v0, $f20
/* 7906B4 802A15E4 00000000 */ nop
/* 7906B8 802A15E8 4680A520 */ cvt.s.w $f20, $f20
/* 7906BC 802A15EC 0C00A67F */ jal rand_int
/* 7906C0 802A15F0 24040032 */ addiu $a0, $zero, 0x32
/* 7906C4 802A15F4 2442FFE7 */ addiu $v0, $v0, -0x19
/* 7906C8 802A15F8 44821000 */ mtc1 $v0, $f2
/* 7906CC 802A15FC 00000000 */ nop
/* 7906D0 802A1600 468010A0 */ cvt.s.w $f2, $f2
/* 7906D4 802A1604 4405B000 */ mfc1 $a1, $f22
/* 7906D8 802A1608 4406A000 */ mfc1 $a2, $f20
/* 7906DC 802A160C 3C014220 */ lui $at, 0x4220
/* 7906E0 802A1610 44810000 */ mtc1 $at, $f0
/* 7906E4 802A1614 44071000 */ mfc1 $a3, $f2
/* 7906E8 802A1618 24040004 */ addiu $a0, $zero, 4
/* 7906EC 802A161C 0C01BFBC */ jal func_8006FEF0
/* 7906F0 802A1620 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7906F4 802A1624 8FBF0018 */ lw $ra, 0x18($sp)
/* 7906F8 802A1628 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 7906FC 802A162C D7B40020 */ ldc1 $f20, 0x20($sp)
/* 790700 802A1630 24020002 */ addiu $v0, $zero, 2
/* 790704 802A1634 03E00008 */ jr $ra
/* 790708 802A1638 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,51 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A163C_79070C
/* 79070C 802A163C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 790710 802A1640 AFB20018 */ sw $s2, 0x18($sp)
/* 790714 802A1644 0080902D */ daddu $s2, $a0, $zero
/* 790718 802A1648 AFBF001C */ sw $ra, 0x1c($sp)
/* 79071C 802A164C AFB10014 */ sw $s1, 0x14($sp)
/* 790720 802A1650 AFB00010 */ sw $s0, 0x10($sp)
/* 790724 802A1654 0C09A75B */ jal get_actor
/* 790728 802A1658 8E440148 */ lw $a0, 0x148($s2)
/* 79072C 802A165C 0040802D */ daddu $s0, $v0, $zero
/* 790730 802A1660 0C09A75B */ jal get_actor
/* 790734 802A1664 86040428 */ lh $a0, 0x428($s0)
/* 790738 802A1668 0040882D */ daddu $s1, $v0, $zero
/* 79073C 802A166C 82050426 */ lb $a1, 0x426($s0)
/* 790740 802A1670 0C099117 */ jal get_actor_part
/* 790744 802A1674 0220202D */ daddu $a0, $s1, $zero
/* 790748 802A1678 AE400084 */ sw $zero, 0x84($s2)
/* 79074C 802A167C 8E310000 */ lw $s1, ($s1)
/* 790750 802A1680 0040182D */ daddu $v1, $v0, $zero
/* 790754 802A1684 32224000 */ andi $v0, $s1, 0x4000
/* 790758 802A1688 14400014 */ bnez $v0, .L802A16DC
/* 79075C 802A168C 24020002 */ addiu $v0, $zero, 2
/* 790760 802A1690 3C020040 */ lui $v0, 0x40
/* 790764 802A1694 02221024 */ and $v0, $s1, $v0
/* 790768 802A1698 14400010 */ bnez $v0, .L802A16DC
/* 79076C 802A169C 24020002 */ addiu $v0, $zero, 2
/* 790770 802A16A0 32222000 */ andi $v0, $s1, 0x2000
/* 790774 802A16A4 1440000D */ bnez $v0, .L802A16DC
/* 790778 802A16A8 24020002 */ addiu $v0, $zero, 2
/* 79077C 802A16AC 8C63007C */ lw $v1, 0x7c($v1)
/* 790780 802A16B0 3C020004 */ lui $v0, 4
/* 790784 802A16B4 00621024 */ and $v0, $v1, $v0
/* 790788 802A16B8 14400008 */ bnez $v0, .L802A16DC
/* 79078C 802A16BC 24020002 */ addiu $v0, $zero, 2
/* 790790 802A16C0 3C020008 */ lui $v0, 8
/* 790794 802A16C4 00621024 */ and $v0, $v1, $v0
/* 790798 802A16C8 14400004 */ bnez $v0, .L802A16DC
/* 79079C 802A16CC 24020002 */ addiu $v0, $zero, 2
/* 7907A0 802A16D0 24020001 */ addiu $v0, $zero, 1
/* 7907A4 802A16D4 AE420084 */ sw $v0, 0x84($s2)
/* 7907A8 802A16D8 24020002 */ addiu $v0, $zero, 2
.L802A16DC:
/* 7907AC 802A16DC 8FBF001C */ lw $ra, 0x1c($sp)
/* 7907B0 802A16E0 8FB20018 */ lw $s2, 0x18($sp)
/* 7907B4 802A16E4 8FB10014 */ lw $s1, 0x14($sp)
/* 7907B8 802A16E8 8FB00010 */ lw $s0, 0x10($sp)
/* 7907BC 802A16EC 03E00008 */ jr $ra
/* 7907C0 802A16F0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,136 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A16F4_7907C4
/* 7907C4 802A16F4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7907C8 802A16F8 AFBF001C */ sw $ra, 0x1c($sp)
/* 7907CC 802A16FC AFB00018 */ sw $s0, 0x18($sp)
/* 7907D0 802A1700 0C09A75B */ jal get_actor
/* 7907D4 802A1704 8C840148 */ lw $a0, 0x148($a0)
/* 7907D8 802A1708 0040802D */ daddu $s0, $v0, $zero
/* 7907DC 802A170C 0C09A75B */ jal get_actor
/* 7907E0 802A1710 86040428 */ lh $a0, 0x428($s0)
/* 7907E4 802A1714 82050426 */ lb $a1, 0x426($s0)
/* 7907E8 802A1718 0040802D */ daddu $s0, $v0, $zero
/* 7907EC 802A171C 0C099117 */ jal get_actor_part
/* 7907F0 802A1720 0200202D */ daddu $a0, $s0, $zero
/* 7907F4 802A1724 8E030000 */ lw $v1, ($s0)
/* 7907F8 802A1728 0040202D */ daddu $a0, $v0, $zero
/* 7907FC 802A172C 30624000 */ andi $v0, $v1, 0x4000
/* 790800 802A1730 14400069 */ bnez $v0, .L802A18D8
/* 790804 802A1734 24020002 */ addiu $v0, $zero, 2
/* 790808 802A1738 3C020040 */ lui $v0, 0x40
/* 79080C 802A173C 00621024 */ and $v0, $v1, $v0
/* 790810 802A1740 10400003 */ beqz $v0, .L802A1750
/* 790814 802A1744 30622000 */ andi $v0, $v1, 0x2000
/* 790818 802A1748 080A8636 */ j .L802A18D8
/* 79081C 802A174C 24020002 */ addiu $v0, $zero, 2
.L802A1750:
/* 790820 802A1750 14400061 */ bnez $v0, .L802A18D8
/* 790824 802A1754 24020002 */ addiu $v0, $zero, 2
/* 790828 802A1758 8C83007C */ lw $v1, 0x7c($a0)
/* 79082C 802A175C 3C020004 */ lui $v0, 4
/* 790830 802A1760 00621024 */ and $v0, $v1, $v0
/* 790834 802A1764 1440005C */ bnez $v0, .L802A18D8
/* 790838 802A1768 24020002 */ addiu $v0, $zero, 2
/* 79083C 802A176C 3C020008 */ lui $v0, 8
/* 790840 802A1770 00621024 */ and $v0, $v1, $v0
/* 790844 802A1774 14400058 */ bnez $v0, .L802A18D8
/* 790848 802A1778 24020002 */ addiu $v0, $zero, 2
/* 79084C 802A177C 0200202D */ daddu $a0, $s0, $zero
/* 790850 802A1780 0000282D */ daddu $a1, $zero, $zero
/* 790854 802A1784 2406000A */ addiu $a2, $zero, 0xa
/* 790858 802A1788 24020004 */ addiu $v0, $zero, 4
/* 79085C 802A178C A2020224 */ sb $v0, 0x224($s0)
/* 790860 802A1790 24020003 */ addiu $v0, $zero, 3
/* 790864 802A1794 0C09E23E */ jal dispatch_damage_event_actor_0
/* 790868 802A1798 A2020223 */ sb $v0, 0x223($s0)
/* 79086C 802A179C 86020150 */ lh $v0, 0x150($s0)
/* 790870 802A17A0 C6000144 */ lwc1 $f0, 0x144($s0)
/* 790874 802A17A4 8E030000 */ lw $v1, ($s0)
/* 790878 802A17A8 44821000 */ mtc1 $v0, $f2
/* 79087C 802A17AC 00000000 */ nop
/* 790880 802A17B0 468010A0 */ cvt.s.w $f2, $f2
/* 790884 802A17B4 92020190 */ lbu $v0, 0x190($s0)
/* 790888 802A17B8 46020000 */ add.s $f0, $f0, $f2
/* 79088C 802A17BC 00021042 */ srl $v0, $v0, 1
/* 790890 802A17C0 44821000 */ mtc1 $v0, $f2
/* 790894 802A17C4 00000000 */ nop
/* 790898 802A17C8 468010A0 */ cvt.s.w $f2, $f2
/* 79089C 802A17CC 30620800 */ andi $v0, $v1, 0x800
/* 7908A0 802A17D0 1040000D */ beqz $v0, .L802A1808
/* 7908A4 802A17D4 46020100 */ add.s $f4, $f0, $f2
/* 7908A8 802A17D8 86020152 */ lh $v0, 0x152($s0)
/* 7908AC 802A17DC C6000148 */ lwc1 $f0, 0x148($s0)
/* 7908B0 802A17E0 44821000 */ mtc1 $v0, $f2
/* 7908B4 802A17E4 00000000 */ nop
/* 7908B8 802A17E8 468010A0 */ cvt.s.w $f2, $f2
/* 7908BC 802A17EC 92020191 */ lbu $v0, 0x191($s0)
/* 7908C0 802A17F0 46020000 */ add.s $f0, $f0, $f2
/* 7908C4 802A17F4 44821000 */ mtc1 $v0, $f2
/* 7908C8 802A17F8 00000000 */ nop
/* 7908CC 802A17FC 468010A0 */ cvt.s.w $f2, $f2
/* 7908D0 802A1800 080A861D */ j .L802A1874
/* 7908D4 802A1804 46020001 */ sub.s $f0, $f0, $f2
.L802A1808:
/* 7908D8 802A1808 30628000 */ andi $v0, $v1, 0x8000
/* 7908DC 802A180C 1440000D */ bnez $v0, .L802A1844
/* 7908E0 802A1810 00000000 */ nop
/* 7908E4 802A1814 86020152 */ lh $v0, 0x152($s0)
/* 7908E8 802A1818 C6000148 */ lwc1 $f0, 0x148($s0)
/* 7908EC 802A181C 44821000 */ mtc1 $v0, $f2
/* 7908F0 802A1820 00000000 */ nop
/* 7908F4 802A1824 468010A0 */ cvt.s.w $f2, $f2
/* 7908F8 802A1828 92020191 */ lbu $v0, 0x191($s0)
/* 7908FC 802A182C 46020000 */ add.s $f0, $f0, $f2
/* 790900 802A1830 44821000 */ mtc1 $v0, $f2
/* 790904 802A1834 00000000 */ nop
/* 790908 802A1838 468010A0 */ cvt.s.w $f2, $f2
/* 79090C 802A183C 080A861D */ j .L802A1874
/* 790910 802A1840 46001000 */ add.s $f0, $f2, $f0
.L802A1844:
/* 790914 802A1844 86020152 */ lh $v0, 0x152($s0)
/* 790918 802A1848 C6020148 */ lwc1 $f2, 0x148($s0)
/* 79091C 802A184C 44820000 */ mtc1 $v0, $f0
/* 790920 802A1850 00000000 */ nop
/* 790924 802A1854 46800020 */ cvt.s.w $f0, $f0
/* 790928 802A1858 92020191 */ lbu $v0, 0x191($s0)
/* 79092C 802A185C 46001080 */ add.s $f2, $f2, $f0
/* 790930 802A1860 00021040 */ sll $v0, $v0, 1
/* 790934 802A1864 44820000 */ mtc1 $v0, $f0
/* 790938 802A1868 00000000 */ nop
/* 79093C 802A186C 46800020 */ cvt.s.w $f0, $f0
/* 790940 802A1870 46001000 */ add.s $f0, $f2, $f0
.L802A1874:
/* 790944 802A1874 86020154 */ lh $v0, 0x154($s0)
/* 790948 802A1878 44060000 */ mfc1 $a2, $f0
/* 79094C 802A187C C600014C */ lwc1 $f0, 0x14c($s0)
/* 790950 802A1880 44821000 */ mtc1 $v0, $f2
/* 790954 802A1884 00000000 */ nop
/* 790958 802A1888 468010A0 */ cvt.s.w $f2, $f2
/* 79095C 802A188C 46020000 */ add.s $f0, $f0, $f2
/* 790960 802A1890 3C0140A0 */ lui $at, 0x40a0
/* 790964 802A1894 44811000 */ mtc1 $at, $f2
/* 790968 802A1898 24040005 */ addiu $a0, $zero, 5
/* 79096C 802A189C 46020000 */ add.s $f0, $f0, $f2
/* 790970 802A18A0 44052000 */ mfc1 $a1, $f4
/* 790974 802A18A4 3C013F80 */ lui $at, 0x3f80
/* 790978 802A18A8 44812000 */ mtc1 $at, $f4
/* 79097C 802A18AC 44070000 */ mfc1 $a3, $f0
/* 790980 802A18B0 2402003C */ addiu $v0, $zero, 0x3c
/* 790984 802A18B4 AFA20014 */ sw $v0, 0x14($sp)
/* 790988 802A18B8 0C01C634 */ jal func_800718D0
/* 79098C 802A18BC E7A40010 */ swc1 $f4, 0x10($sp)
/* 790990 802A18C0 0C05272D */ jal play_sound
/* 790994 802A18C4 24042106 */ addiu $a0, $zero, 0x2106
/* 790998 802A18C8 24020002 */ addiu $v0, $zero, 2
/* 79099C 802A18CC 24030001 */ addiu $v1, $zero, 1
/* 7909A0 802A18D0 3C01802A */ lui $at, %hi(D_802A2CC0)
/* 7909A4 802A18D4 AC232CC0 */ sw $v1, %lo(D_802A2CC0)($at)
.L802A18D8:
/* 7909A8 802A18D8 8FBF001C */ lw $ra, 0x1c($sp)
/* 7909AC 802A18DC 8FB00018 */ lw $s0, 0x18($sp)
/* 7909B0 802A18E0 03E00008 */ jr $ra
/* 7909B4 802A18E4 27BD0020 */ addiu $sp, $sp, 0x20
/* 7909B8 802A18E8 00000000 */ nop
/* 7909BC 802A18EC 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_789E60
/* 789E60 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 789E64 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 789E68 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 789E6C 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 789E70 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 789E74 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 789E78 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 789E7C 802A101C 8E050000 */ lw $a1, ($s0)
/* 789E80 802A1020 0C0B1EAF */ jal get_variable
/* 789E84 802A1024 26100004 */ addiu $s0, $s0, 4
/* 789E88 802A1028 8E050000 */ lw $a1, ($s0)
/* 789E8C 802A102C 26100004 */ addiu $s0, $s0, 4
/* 789E90 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 789E94 802A1034 0C0B1EAF */ jal get_variable
/* 789E98 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 789E9C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 789EA0 802A1040 8E050000 */ lw $a1, ($s0)
/* 789EA4 802A1044 0C0B1EAF */ jal get_variable
/* 789EA8 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 789EAC 802A104C 44921000 */ mtc1 $s2, $f2
/* 789EB0 802A1050 00000000 */ nop
/* 789EB4 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 789EB8 802A1058 44051000 */ mfc1 $a1, $f2
/* 789EBC 802A105C 44901000 */ mtc1 $s0, $f2
/* 789EC0 802A1060 00000000 */ nop
/* 789EC4 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 789EC8 802A1068 44061000 */ mfc1 $a2, $f2
/* 789ECC 802A106C 44821000 */ mtc1 $v0, $f2
/* 789ED0 802A1070 00000000 */ nop
/* 789ED4 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 789ED8 802A1078 3C014220 */ lui $at, 0x4220
/* 789EDC 802A107C 44810000 */ mtc1 $at, $f0
/* 789EE0 802A1080 44071000 */ mfc1 $a3, $f2
/* 789EE4 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 789EE8 802A1088 0C01BFBC */ jal func_8006FEF0
/* 789EEC 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 789EF0 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 789EF4 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 789EF8 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 789EFC 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 789F00 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 789F04 802A10A4 03E00008 */ jr $ra
/* 789F08 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_789F0C
/* 789F0C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 789F10 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 789F14 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 789F18 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 789F1C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 789F20 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 789F24 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 789F28 802A10C8 8E050000 */ lw $a1, ($s0)
/* 789F2C 802A10CC 0C0B1EAF */ jal get_variable
/* 789F30 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 789F34 802A10D4 8E050000 */ lw $a1, ($s0)
/* 789F38 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 789F3C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 789F40 802A10E0 0C0B1EAF */ jal get_variable
/* 789F44 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 789F48 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 789F4C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 789F50 802A10F0 0C0B1EAF */ jal get_variable
/* 789F54 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 789F58 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 789F5C 802A10FC 44921000 */ mtc1 $s2, $f2
/* 789F60 802A1100 00000000 */ nop
/* 789F64 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 789F68 802A1108 44051000 */ mfc1 $a1, $f2
/* 789F6C 802A110C 44901000 */ mtc1 $s0, $f2
/* 789F70 802A1110 00000000 */ nop
/* 789F74 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 789F78 802A1118 44061000 */ mfc1 $a2, $f2
/* 789F7C 802A111C 44821000 */ mtc1 $v0, $f2
/* 789F80 802A1120 00000000 */ nop
/* 789F84 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 789F88 802A1128 3C014248 */ lui $at, 0x4248
/* 789F8C 802A112C 44810000 */ mtc1 $at, $f0
/* 789F90 802A1130 44071000 */ mfc1 $a3, $f2
/* 789F94 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 789F98 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 789F9C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 789FA0 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 789FA4 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 789FA8 802A1148 0C01C154 */ jal func_80070550
/* 789FAC 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 789FB0 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 789FB4 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 789FB8 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 789FBC 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 789FC0 802A1160 24020002 */ addiu $v0, $zero, 2
/* 789FC4 802A1164 03E00008 */ jr $ra
/* 789FC8 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_789FCC
/* 789FCC 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 789FD0 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 789FD4 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 789FD8 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 789FDC 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 789FE0 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 789FE4 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 789FE8 802A1188 8E050000 */ lw $a1, ($s0)
/* 789FEC 802A118C 0C0B1EAF */ jal get_variable
/* 789FF0 802A1190 26100004 */ addiu $s0, $s0, 4
/* 789FF4 802A1194 8E050000 */ lw $a1, ($s0)
/* 789FF8 802A1198 26100004 */ addiu $s0, $s0, 4
/* 789FFC 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 78A000 802A11A0 0C0B1EAF */ jal get_variable
/* 78A004 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 78A008 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 78A00C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 78A010 802A11B0 0C0B1EAF */ jal get_variable
/* 78A014 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 78A018 802A11B8 44921000 */ mtc1 $s2, $f2
/* 78A01C 802A11BC 00000000 */ nop
/* 78A020 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 78A024 802A11C4 44051000 */ mfc1 $a1, $f2
/* 78A028 802A11C8 44901000 */ mtc1 $s0, $f2
/* 78A02C 802A11CC 00000000 */ nop
/* 78A030 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 78A034 802A11D4 44061000 */ mfc1 $a2, $f2
/* 78A038 802A11D8 44821000 */ mtc1 $v0, $f2
/* 78A03C 802A11DC 00000000 */ nop
/* 78A040 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 78A044 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 78A048 802A11E8 44810000 */ mtc1 $at, $f0
/* 78A04C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 78A050 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 78A054 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 78A058 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78A05C 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78A060 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 78A064 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 78A068 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 78A06C 802A120C 24020002 */ addiu $v0, $zero, 2
/* 78A070 802A1210 03E00008 */ jr $ra
/* 78A074 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_78A078
/* 78A078 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78A07C 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 78A080 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 78A084 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 78A088 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 78A08C 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 78A090 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 78A094 802A1234 8E050000 */ lw $a1, ($s0)
/* 78A098 802A1238 0C0B1EAF */ jal get_variable
/* 78A09C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 78A0A0 802A1240 8E050000 */ lw $a1, ($s0)
/* 78A0A4 802A1244 26100004 */ addiu $s0, $s0, 4
/* 78A0A8 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 78A0AC 802A124C 0C0B1EAF */ jal get_variable
/* 78A0B0 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 78A0B4 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 78A0B8 802A1258 8E050000 */ lw $a1, ($s0)
/* 78A0BC 802A125C 0C0B1EAF */ jal get_variable
/* 78A0C0 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 78A0C4 802A1264 24040004 */ addiu $a0, $zero, 4
/* 78A0C8 802A1268 44922000 */ mtc1 $s2, $f4
/* 78A0CC 802A126C 00000000 */ nop
/* 78A0D0 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 78A0D4 802A1274 44052000 */ mfc1 $a1, $f4
/* 78A0D8 802A1278 44902000 */ mtc1 $s0, $f4
/* 78A0DC 802A127C 00000000 */ nop
/* 78A0E0 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 78A0E4 802A1284 44062000 */ mfc1 $a2, $f4
/* 78A0E8 802A1288 44822000 */ mtc1 $v0, $f4
/* 78A0EC 802A128C 00000000 */ nop
/* 78A0F0 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 78A0F4 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 78A0F8 802A1298 44810000 */ mtc1 $at, $f0
/* 78A0FC 802A129C 3C013F80 */ lui $at, 0x3f80
/* 78A100 802A12A0 44811000 */ mtc1 $at, $f2
/* 78A104 802A12A4 44072000 */ mfc1 $a3, $f4
/* 78A108 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 78A10C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 78A110 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 78A114 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 78A118 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78A11C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 78A120 802A12C0 0C01C8D4 */ jal func_80072350
/* 78A124 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 78A128 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 78A12C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 78A130 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 78A134 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 78A138 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 78A13C 802A12DC 03E00008 */ jr $ra
/* 78A140 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_78A144
/* 78A144 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A148 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 78A14C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 78A150 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 78A154 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78A158 802A12F8 0C04760B */ jal func_8011D82C
/* 78A15C 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 78A160 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 78A164 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 78A168 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 78A16C 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 78A170 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 78A174 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 78A178 802A1318 24030001 */ addiu $v1, $zero, 1
/* 78A17C 802A131C 0C046F97 */ jal set_background_color_blend
/* 78A180 802A1320 A0430000 */ sb $v1, ($v0)
/* 78A184 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 78A188 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 78A18C 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 78A190 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 78A194 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 78A198 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 78A19C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 78A1A0 802A1340 00431023 */ subu $v0, $v0, $v1
/* 78A1A4 802A1344 00023880 */ sll $a3, $v0, 2
/* 78A1A8 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 78A1AC 802A134C 00073840 */ sll $a3, $a3, 1
/* 78A1B0 802A1350 0C046F97 */ jal set_background_color_blend
/* 78A1B4 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 78A1B8 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 78A1BC 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 78A1C0 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 78A1C4 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 78A1C8 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 78A1CC 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 78A1D0 802A1370 00021040 */ sll $v0, $v0, 1
/* 78A1D4 802A1374 03E00008 */ jr $ra
/* 78A1D8 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_78A1DC
/* 78A1DC 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A1E0 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 78A1E4 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 78A1E8 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 78A1EC 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 78A1F0 802A1390 0C04760B */ jal func_8011D82C
/* 78A1F4 802A1394 24040001 */ addiu $a0, $zero, 1
/* 78A1F8 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 78A1FC 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 78A200 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 78A204 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 78A208 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 78A20C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 78A210 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 78A214 802A13B4 0C046F97 */ jal set_background_color_blend
/* 78A218 802A13B8 A0620000 */ sb $v0, ($v1)
/* 78A21C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 78A220 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 78A224 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 78A228 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 78A22C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 78A230 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 78A234 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 78A238 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 78A23C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 78A240 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 78A244 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 78A248 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 78A24C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 78A250 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 78A254 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 78A258 802A13F8 0C046F97 */ jal set_background_color_blend
/* 78A25C 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 78A260 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 78A264 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 78A268 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 78A26C 802A140C 03E00008 */ jr $ra
/* 78A270 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_78A274
/* 78A274 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A278 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 78A27C 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 78A280 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 78A284 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 78A288 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 78A28C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 78A290 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 78A294 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 78A298 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 78A29C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 78A2A0 802A1440 00023880 */ sll $a3, $v0, 2
/* 78A2A4 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 78A2A8 802A1448 00073840 */ sll $a3, $a3, 1
/* 78A2AC 802A144C 0C046F97 */ jal set_background_color_blend
/* 78A2B0 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 78A2B4 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 78A2B8 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 78A2BC 802A145C 10400003 */ beqz $v0, .L802A146C
/* 78A2C0 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 78A2C4 802A1464 080A8521 */ j .L802A1484
/* 78A2C8 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 78A2CC 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 78A2D0 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 78A2D4 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 78A2D8 802A1478 0C046F97 */ jal set_background_color_blend
/* 78A2DC 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 78A2E0 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 78A2E4 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 78A2E8 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 78A2EC 802A148C 03E00008 */ jr $ra
/* 78A2F0 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78A2F4
/* 78A2F4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A2F8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78A2FC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78A300 802A14A0 0C0B1EAF */ jal get_variable
/* 78A304 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78A308 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78A30C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78A310 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78A314 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78A318 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78A31C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78A320 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78A324 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78A328 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78A32C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78A330 802A14D0 0C098F3F */ jal set_animation
/* 78A334 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78A338 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78A33C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78A340 802A14E0 03E00008 */ jr $ra
/* 78A344 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_78A348
/* 78A348 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A34C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 78A350 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 78A354 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 78A358 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 78A35C 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 78A360 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 78A364 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 78A368 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 78A36C 802A150C 24020002 */ addiu $v0, $zero, 2
/* 78A370 802A1510 03E00008 */ jr $ra
/* 78A374 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_78A378
/* 78A378 802A1518 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 78A37C 802A151C AFB20018 */ sw $s2, 0x18($sp)
/* 78A380 802A1520 0080902D */ daddu $s2, $a0, $zero
/* 78A384 802A1524 3C028011 */ lui $v0, %hi(gPlayerData)
/* 78A388 802A1528 2442F290 */ addiu $v0, $v0, %lo(gPlayerData)
/* 78A38C 802A152C AFB10014 */ sw $s1, 0x14($sp)
/* 78A390 802A1530 0040882D */ daddu $s1, $v0, $zero
/* 78A394 802A1534 AFBF001C */ sw $ra, 0x1c($sp)
/* 78A398 802A1538 AFB00010 */ sw $s0, 0x10($sp)
/* 78A39C 802A153C AE400084 */ sw $zero, 0x84($s2)
/* 78A3A0 802A1540 8222028E */ lb $v0, 0x28e($s1)
/* 78A3A4 802A1544 86230290 */ lh $v1, 0x290($s1)
/* 78A3A8 802A1548 00021200 */ sll $v0, $v0, 8
/* 78A3AC 802A154C 0062182A */ slt $v1, $v1, $v0
/* 78A3B0 802A1550 1060000F */ beqz $v1, .L802A1590
/* 78A3B4 802A1554 24020001 */ addiu $v0, $zero, 1
/* 78A3B8 802A1558 0C03A752 */ jal is_ability_active
/* 78A3BC 802A155C 24040030 */ addiu $a0, $zero, 0x30
/* 78A3C0 802A1560 24040031 */ addiu $a0, $zero, 0x31
/* 78A3C4 802A1564 0C03A752 */ jal is_ability_active
/* 78A3C8 802A1568 00028180 */ sll $s0, $v0, 6
/* 78A3CC 802A156C 000211C0 */ sll $v0, $v0, 7
/* 78A3D0 802A1570 02028021 */ addu $s0, $s0, $v0
/* 78A3D4 802A1574 0C03A87D */ jal add_SP
/* 78A3D8 802A1578 26040080 */ addiu $a0, $s0, 0x80
/* 78A3DC 802A157C 8222028E */ lb $v0, 0x28e($s1)
/* 78A3E0 802A1580 86230290 */ lh $v1, 0x290($s1)
/* 78A3E4 802A1584 00021200 */ sll $v0, $v0, 8
/* 78A3E8 802A1588 14620003 */ bne $v1, $v0, .L802A1598
/* 78A3EC 802A158C 24020002 */ addiu $v0, $zero, 2
.L802A1590:
/* 78A3F0 802A1590 AE420084 */ sw $v0, 0x84($s2)
/* 78A3F4 802A1594 24020002 */ addiu $v0, $zero, 2
.L802A1598:
/* 78A3F8 802A1598 8FBF001C */ lw $ra, 0x1c($sp)
/* 78A3FC 802A159C 8FB20018 */ lw $s2, 0x18($sp)
/* 78A400 802A15A0 8FB10014 */ lw $s1, 0x14($sp)
/* 78A404 802A15A4 8FB00010 */ lw $s0, 0x10($sp)
/* 78A408 802A15A8 03E00008 */ jr $ra
/* 78A40C 802A15AC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,34 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A15B0_78A410
/* 78A410 802A15B0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 78A414 802A15B4 AFB10014 */ sw $s1, 0x14($sp)
/* 78A418 802A15B8 0080882D */ daddu $s1, $a0, $zero
/* 78A41C 802A15BC 3C028011 */ lui $v0, %hi(gPlayerData)
/* 78A420 802A15C0 2442F290 */ addiu $v0, $v0, %lo(gPlayerData)
/* 78A424 802A15C4 AFB00010 */ sw $s0, 0x10($sp)
/* 78A428 802A15C8 0040802D */ daddu $s0, $v0, $zero
/* 78A42C 802A15CC AFBF0018 */ sw $ra, 0x18($sp)
/* 78A430 802A15D0 AE200084 */ sw $zero, 0x84($s1)
/* 78A434 802A15D4 8202028E */ lb $v0, 0x28e($s0)
/* 78A438 802A15D8 86030290 */ lh $v1, 0x290($s0)
/* 78A43C 802A15DC 00021200 */ sll $v0, $v0, 8
/* 78A440 802A15E0 0062182A */ slt $v1, $v1, $v0
/* 78A444 802A15E4 10600008 */ beqz $v1, .L802A1608
/* 78A448 802A15E8 24020001 */ addiu $v0, $zero, 1
/* 78A44C 802A15EC 0C03A87D */ jal add_SP
/* 78A450 802A15F0 24040080 */ addiu $a0, $zero, 0x80
/* 78A454 802A15F4 8202028E */ lb $v0, 0x28e($s0)
/* 78A458 802A15F8 86030290 */ lh $v1, 0x290($s0)
/* 78A45C 802A15FC 00021200 */ sll $v0, $v0, 8
/* 78A460 802A1600 14620003 */ bne $v1, $v0, .L802A1610
/* 78A464 802A1604 24020002 */ addiu $v0, $zero, 2
.L802A1608:
/* 78A468 802A1608 AE220084 */ sw $v0, 0x84($s1)
/* 78A46C 802A160C 24020002 */ addiu $v0, $zero, 2
.L802A1610:
/* 78A470 802A1610 8FBF0018 */ lw $ra, 0x18($sp)
/* 78A474 802A1614 8FB10014 */ lw $s1, 0x14($sp)
/* 78A478 802A1618 8FB00010 */ lw $s0, 0x10($sp)
/* 78A47C 802A161C 03E00008 */ jr $ra

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_78D150
/* 78D150 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78D154 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 78D158 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 78D15C 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 78D160 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 78D164 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 78D168 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 78D16C 802A101C 8E050000 */ lw $a1, ($s0)
/* 78D170 802A1020 0C0B1EAF */ jal get_variable
/* 78D174 802A1024 26100004 */ addiu $s0, $s0, 4
/* 78D178 802A1028 8E050000 */ lw $a1, ($s0)
/* 78D17C 802A102C 26100004 */ addiu $s0, $s0, 4
/* 78D180 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 78D184 802A1034 0C0B1EAF */ jal get_variable
/* 78D188 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 78D18C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 78D190 802A1040 8E050000 */ lw $a1, ($s0)
/* 78D194 802A1044 0C0B1EAF */ jal get_variable
/* 78D198 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 78D19C 802A104C 44921000 */ mtc1 $s2, $f2
/* 78D1A0 802A1050 00000000 */ nop
/* 78D1A4 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 78D1A8 802A1058 44051000 */ mfc1 $a1, $f2
/* 78D1AC 802A105C 44901000 */ mtc1 $s0, $f2
/* 78D1B0 802A1060 00000000 */ nop
/* 78D1B4 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 78D1B8 802A1068 44061000 */ mfc1 $a2, $f2
/* 78D1BC 802A106C 44821000 */ mtc1 $v0, $f2
/* 78D1C0 802A1070 00000000 */ nop
/* 78D1C4 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 78D1C8 802A1078 3C014220 */ lui $at, 0x4220
/* 78D1CC 802A107C 44810000 */ mtc1 $at, $f0
/* 78D1D0 802A1080 44071000 */ mfc1 $a3, $f2
/* 78D1D4 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 78D1D8 802A1088 0C01BFBC */ jal func_8006FEF0
/* 78D1DC 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 78D1E0 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 78D1E4 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 78D1E8 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 78D1EC 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 78D1F0 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 78D1F4 802A10A4 03E00008 */ jr $ra
/* 78D1F8 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_78D1FC
/* 78D1FC 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78D200 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 78D204 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 78D208 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 78D20C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 78D210 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 78D214 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 78D218 802A10C8 8E050000 */ lw $a1, ($s0)
/* 78D21C 802A10CC 0C0B1EAF */ jal get_variable
/* 78D220 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 78D224 802A10D4 8E050000 */ lw $a1, ($s0)
/* 78D228 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 78D22C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 78D230 802A10E0 0C0B1EAF */ jal get_variable
/* 78D234 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 78D238 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 78D23C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 78D240 802A10F0 0C0B1EAF */ jal get_variable
/* 78D244 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 78D248 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 78D24C 802A10FC 44921000 */ mtc1 $s2, $f2
/* 78D250 802A1100 00000000 */ nop
/* 78D254 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 78D258 802A1108 44051000 */ mfc1 $a1, $f2
/* 78D25C 802A110C 44901000 */ mtc1 $s0, $f2
/* 78D260 802A1110 00000000 */ nop
/* 78D264 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 78D268 802A1118 44061000 */ mfc1 $a2, $f2
/* 78D26C 802A111C 44821000 */ mtc1 $v0, $f2
/* 78D270 802A1120 00000000 */ nop
/* 78D274 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 78D278 802A1128 3C014248 */ lui $at, 0x4248
/* 78D27C 802A112C 44810000 */ mtc1 $at, $f0
/* 78D280 802A1130 44071000 */ mfc1 $a3, $f2
/* 78D284 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 78D288 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 78D28C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 78D290 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 78D294 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78D298 802A1148 0C01C154 */ jal func_80070550
/* 78D29C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 78D2A0 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 78D2A4 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 78D2A8 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 78D2AC 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 78D2B0 802A1160 24020002 */ addiu $v0, $zero, 2
/* 78D2B4 802A1164 03E00008 */ jr $ra
/* 78D2B8 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_78D2BC
/* 78D2BC 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78D2C0 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 78D2C4 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 78D2C8 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 78D2CC 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 78D2D0 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 78D2D4 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 78D2D8 802A1188 8E050000 */ lw $a1, ($s0)
/* 78D2DC 802A118C 0C0B1EAF */ jal get_variable
/* 78D2E0 802A1190 26100004 */ addiu $s0, $s0, 4
/* 78D2E4 802A1194 8E050000 */ lw $a1, ($s0)
/* 78D2E8 802A1198 26100004 */ addiu $s0, $s0, 4
/* 78D2EC 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 78D2F0 802A11A0 0C0B1EAF */ jal get_variable
/* 78D2F4 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 78D2F8 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 78D2FC 802A11AC 8E050000 */ lw $a1, ($s0)
/* 78D300 802A11B0 0C0B1EAF */ jal get_variable
/* 78D304 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 78D308 802A11B8 44921000 */ mtc1 $s2, $f2
/* 78D30C 802A11BC 00000000 */ nop
/* 78D310 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 78D314 802A11C4 44051000 */ mfc1 $a1, $f2
/* 78D318 802A11C8 44901000 */ mtc1 $s0, $f2
/* 78D31C 802A11CC 00000000 */ nop
/* 78D320 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 78D324 802A11D4 44061000 */ mfc1 $a2, $f2
/* 78D328 802A11D8 44821000 */ mtc1 $v0, $f2
/* 78D32C 802A11DC 00000000 */ nop
/* 78D330 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 78D334 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 78D338 802A11E8 44810000 */ mtc1 $at, $f0
/* 78D33C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 78D340 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 78D344 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 78D348 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78D34C 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78D350 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 78D354 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 78D358 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 78D35C 802A120C 24020002 */ addiu $v0, $zero, 2
/* 78D360 802A1210 03E00008 */ jr $ra
/* 78D364 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_78D368
/* 78D368 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78D36C 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 78D370 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 78D374 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 78D378 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 78D37C 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 78D380 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 78D384 802A1234 8E050000 */ lw $a1, ($s0)
/* 78D388 802A1238 0C0B1EAF */ jal get_variable
/* 78D38C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 78D390 802A1240 8E050000 */ lw $a1, ($s0)
/* 78D394 802A1244 26100004 */ addiu $s0, $s0, 4
/* 78D398 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 78D39C 802A124C 0C0B1EAF */ jal get_variable
/* 78D3A0 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 78D3A4 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 78D3A8 802A1258 8E050000 */ lw $a1, ($s0)
/* 78D3AC 802A125C 0C0B1EAF */ jal get_variable
/* 78D3B0 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 78D3B4 802A1264 24040004 */ addiu $a0, $zero, 4
/* 78D3B8 802A1268 44922000 */ mtc1 $s2, $f4
/* 78D3BC 802A126C 00000000 */ nop
/* 78D3C0 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 78D3C4 802A1274 44052000 */ mfc1 $a1, $f4
/* 78D3C8 802A1278 44902000 */ mtc1 $s0, $f4
/* 78D3CC 802A127C 00000000 */ nop
/* 78D3D0 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 78D3D4 802A1284 44062000 */ mfc1 $a2, $f4
/* 78D3D8 802A1288 44822000 */ mtc1 $v0, $f4
/* 78D3DC 802A128C 00000000 */ nop
/* 78D3E0 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 78D3E4 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 78D3E8 802A1298 44810000 */ mtc1 $at, $f0
/* 78D3EC 802A129C 3C013F80 */ lui $at, 0x3f80
/* 78D3F0 802A12A0 44811000 */ mtc1 $at, $f2
/* 78D3F4 802A12A4 44072000 */ mfc1 $a3, $f4
/* 78D3F8 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 78D3FC 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 78D400 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 78D404 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 78D408 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78D40C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 78D410 802A12C0 0C01C8D4 */ jal func_80072350
/* 78D414 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 78D418 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 78D41C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 78D420 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 78D424 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 78D428 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 78D42C 802A12DC 03E00008 */ jr $ra
/* 78D430 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_78D434
/* 78D434 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D438 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 78D43C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 78D440 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 78D444 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78D448 802A12F8 0C04760B */ jal func_8011D82C
/* 78D44C 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 78D450 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 78D454 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 78D458 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 78D45C 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 78D460 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 78D464 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 78D468 802A1318 24030001 */ addiu $v1, $zero, 1
/* 78D46C 802A131C 0C046F97 */ jal set_background_color_blend
/* 78D470 802A1320 A0430000 */ sb $v1, ($v0)
/* 78D474 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 78D478 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 78D47C 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 78D480 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 78D484 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 78D488 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 78D48C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 78D490 802A1340 00431023 */ subu $v0, $v0, $v1
/* 78D494 802A1344 00023880 */ sll $a3, $v0, 2
/* 78D498 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 78D49C 802A134C 00073840 */ sll $a3, $a3, 1
/* 78D4A0 802A1350 0C046F97 */ jal set_background_color_blend
/* 78D4A4 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 78D4A8 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 78D4AC 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 78D4B0 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 78D4B4 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 78D4B8 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 78D4BC 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 78D4C0 802A1370 00021040 */ sll $v0, $v0, 1
/* 78D4C4 802A1374 03E00008 */ jr $ra
/* 78D4C8 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_78D4CC
/* 78D4CC 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D4D0 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 78D4D4 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 78D4D8 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 78D4DC 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 78D4E0 802A1390 0C04760B */ jal func_8011D82C
/* 78D4E4 802A1394 24040001 */ addiu $a0, $zero, 1
/* 78D4E8 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 78D4EC 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 78D4F0 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 78D4F4 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 78D4F8 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 78D4FC 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 78D500 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 78D504 802A13B4 0C046F97 */ jal set_background_color_blend
/* 78D508 802A13B8 A0620000 */ sb $v0, ($v1)
/* 78D50C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 78D510 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 78D514 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 78D518 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 78D51C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 78D520 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 78D524 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 78D528 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 78D52C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 78D530 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 78D534 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 78D538 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 78D53C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 78D540 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 78D544 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 78D548 802A13F8 0C046F97 */ jal set_background_color_blend
/* 78D54C 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 78D550 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 78D554 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 78D558 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 78D55C 802A140C 03E00008 */ jr $ra
/* 78D560 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_78D564
/* 78D564 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D568 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 78D56C 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 78D570 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 78D574 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 78D578 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 78D57C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 78D580 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 78D584 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 78D588 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 78D58C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 78D590 802A1440 00023880 */ sll $a3, $v0, 2
/* 78D594 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 78D598 802A1448 00073840 */ sll $a3, $a3, 1
/* 78D59C 802A144C 0C046F97 */ jal set_background_color_blend
/* 78D5A0 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 78D5A4 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 78D5A8 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 78D5AC 802A145C 10400003 */ beqz $v0, .L802A146C
/* 78D5B0 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 78D5B4 802A1464 080A8521 */ j .L802A1484
/* 78D5B8 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 78D5BC 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 78D5C0 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 78D5C4 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 78D5C8 802A1478 0C046F97 */ jal set_background_color_blend
/* 78D5CC 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 78D5D0 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 78D5D4 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 78D5D8 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 78D5DC 802A148C 03E00008 */ jr $ra
/* 78D5E0 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78D5E4
/* 78D5E4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D5E8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78D5EC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78D5F0 802A14A0 0C0B1EAF */ jal get_variable
/* 78D5F4 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78D5F8 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78D5FC 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78D600 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78D604 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78D608 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78D60C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78D610 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78D614 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78D618 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78D61C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78D620 802A14D0 0C098F3F */ jal set_animation
/* 78D624 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78D628 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78D62C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78D630 802A14E0 03E00008 */ jr $ra
/* 78D634 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_78D638
/* 78D638 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D63C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 78D640 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 78D644 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 78D648 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 78D64C 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 78D650 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 78D654 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 78D658 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 78D65C 802A150C 24020002 */ addiu $v0, $zero, 2
/* 78D660 802A1510 03E00008 */ jr $ra
/* 78D664 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,74 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_78D668
/* 78D668 802A1518 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 78D66C 802A151C AFB10014 */ sw $s1, 0x14($sp)
/* 78D670 802A1520 0080882D */ daddu $s1, $a0, $zero
/* 78D674 802A1524 AFBF0018 */ sw $ra, 0x18($sp)
/* 78D678 802A1528 10A00002 */ beqz $a1, .L802A1534
/* 78D67C 802A152C AFB00010 */ sw $s0, 0x10($sp)
/* 78D680 802A1530 AE200070 */ sw $zero, 0x70($s1)
.L802A1534:
/* 78D684 802A1534 8E230070 */ lw $v1, 0x70($s1)
/* 78D688 802A1538 10600005 */ beqz $v1, .L802A1550
/* 78D68C 802A153C 24020001 */ addiu $v0, $zero, 1
/* 78D690 802A1540 10620008 */ beq $v1, $v0, .L802A1564
/* 78D694 802A1544 0000102D */ daddu $v0, $zero, $zero
/* 78D698 802A1548 080A8582 */ j .L802A1608
/* 78D69C 802A154C 00000000 */ nop
.L802A1550:
/* 78D6A0 802A1550 2402FFB0 */ addiu $v0, $zero, -0x50
/* 78D6A4 802A1554 AE220078 */ sw $v0, 0x78($s1)
/* 78D6A8 802A1558 24020001 */ addiu $v0, $zero, 1
/* 78D6AC 802A155C AE200074 */ sw $zero, 0x74($s1)
/* 78D6B0 802A1560 AE220070 */ sw $v0, 0x70($s1)
.L802A1564:
/* 78D6B4 802A1564 3C0140C9 */ lui $at, 0x40c9
/* 78D6B8 802A1568 34210FD0 */ ori $at, $at, 0xfd0
/* 78D6BC 802A156C 44810000 */ mtc1 $at, $f0
/* 78D6C0 802A1570 C62C0074 */ lwc1 $f12, 0x74($s1)
/* 78D6C4 802A1574 46806320 */ cvt.s.w $f12, $f12
/* 78D6C8 802A1578 46006302 */ mul.s $f12, $f12, $f0
/* 78D6CC 802A157C 00000000 */ nop
/* 78D6D0 802A1580 3C0143B4 */ lui $at, 0x43b4
/* 78D6D4 802A1584 44810000 */ mtc1 $at, $f0
/* 78D6D8 802A1588 8E300078 */ lw $s0, 0x78($s1)
/* 78D6DC 802A158C 0C00A85B */ jal sin_rad
/* 78D6E0 802A1590 46006303 */ div.s $f12, $f12, $f0
/* 78D6E4 802A1594 3C0141F0 */ lui $at, 0x41f0
/* 78D6E8 802A1598 44811000 */ mtc1 $at, $f2
/* 78D6EC 802A159C 00000000 */ nop
/* 78D6F0 802A15A0 46020002 */ mul.s $f0, $f0, $f2
/* 78D6F4 802A15A4 00000000 */ nop
/* 78D6F8 802A15A8 46020000 */ add.s $f0, $f0, $f2
/* 78D6FC 802A15AC 3C074248 */ lui $a3, 0x4248
/* 78D700 802A15B0 4600010D */ trunc.w.s $f4, $f0
/* 78D704 802A15B4 44022000 */ mfc1 $v0, $f4
/* 78D708 802A15B8 44902000 */ mtc1 $s0, $f4
/* 78D70C 802A15BC 00000000 */ nop
/* 78D710 802A15C0 46802120 */ cvt.s.w $f4, $f4
/* 78D714 802A15C4 44052000 */ mfc1 $a1, $f4
/* 78D718 802A15C8 44822000 */ mtc1 $v0, $f4
/* 78D71C 802A15CC 00000000 */ nop
/* 78D720 802A15D0 46802120 */ cvt.s.w $f4, $f4
/* 78D724 802A15D4 44062000 */ mfc1 $a2, $f4
/* 78D728 802A15D8 0C01C1B4 */ jal func_800706D0
/* 78D72C 802A15DC 0000202D */ daddu $a0, $zero, $zero
/* 78D730 802A15E0 24020002 */ addiu $v0, $zero, 2
/* 78D734 802A15E4 8E230078 */ lw $v1, 0x78($s1)
/* 78D738 802A15E8 8E240074 */ lw $a0, 0x74($s1)
/* 78D73C 802A15EC 2463000E */ addiu $v1, $v1, 0xe
/* 78D740 802A15F0 24840014 */ addiu $a0, $a0, 0x14
/* 78D744 802A15F4 AE240074 */ sw $a0, 0x74($s1)
/* 78D748 802A15F8 28840168 */ slti $a0, $a0, 0x168
/* 78D74C 802A15FC 10800002 */ beqz $a0, .L802A1608
/* 78D750 802A1600 AE230078 */ sw $v1, 0x78($s1)
/* 78D754 802A1604 0000102D */ daddu $v0, $zero, $zero
.L802A1608:
/* 78D758 802A1608 8FBF0018 */ lw $ra, 0x18($sp)
/* 78D75C 802A160C 8FB10014 */ lw $s1, 0x14($sp)
/* 78D760 802A1610 8FB00010 */ lw $s0, 0x10($sp)
/* 78D764 802A1614 03E00008 */ jr $ra
/* 78D768 802A1618 27BD0020 */ addiu $sp, $sp, 0x20
/* 78D76C 802A161C 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_7997B0
/* 7997B0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 7997B4 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 7997B8 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 7997BC 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 7997C0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 7997C4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 7997C8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 7997CC 802A101C 8E050000 */ lw $a1, ($s0)
/* 7997D0 802A1020 0C0B1EAF */ jal get_variable
/* 7997D4 802A1024 26100004 */ addiu $s0, $s0, 4
/* 7997D8 802A1028 8E050000 */ lw $a1, ($s0)
/* 7997DC 802A102C 26100004 */ addiu $s0, $s0, 4
/* 7997E0 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 7997E4 802A1034 0C0B1EAF */ jal get_variable
/* 7997E8 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 7997EC 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 7997F0 802A1040 8E050000 */ lw $a1, ($s0)
/* 7997F4 802A1044 0C0B1EAF */ jal get_variable
/* 7997F8 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 7997FC 802A104C 44921000 */ mtc1 $s2, $f2
/* 799800 802A1050 00000000 */ nop
/* 799804 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 799808 802A1058 44051000 */ mfc1 $a1, $f2
/* 79980C 802A105C 44901000 */ mtc1 $s0, $f2
/* 799810 802A1060 00000000 */ nop
/* 799814 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 799818 802A1068 44061000 */ mfc1 $a2, $f2
/* 79981C 802A106C 44821000 */ mtc1 $v0, $f2
/* 799820 802A1070 00000000 */ nop
/* 799824 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 799828 802A1078 3C014220 */ lui $at, 0x4220
/* 79982C 802A107C 44810000 */ mtc1 $at, $f0
/* 799830 802A1080 44071000 */ mfc1 $a3, $f2
/* 799834 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 799838 802A1088 0C01BFBC */ jal func_8006FEF0
/* 79983C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 799840 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 799844 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 799848 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 79984C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 799850 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 799854 802A10A4 03E00008 */ jr $ra
/* 799858 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_79985C
/* 79985C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 799860 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 799864 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 799868 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 79986C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 799870 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 799874 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 799878 802A10C8 8E050000 */ lw $a1, ($s0)
/* 79987C 802A10CC 0C0B1EAF */ jal get_variable
/* 799880 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 799884 802A10D4 8E050000 */ lw $a1, ($s0)
/* 799888 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 79988C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 799890 802A10E0 0C0B1EAF */ jal get_variable
/* 799894 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 799898 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 79989C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 7998A0 802A10F0 0C0B1EAF */ jal get_variable
/* 7998A4 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 7998A8 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 7998AC 802A10FC 44921000 */ mtc1 $s2, $f2
/* 7998B0 802A1100 00000000 */ nop
/* 7998B4 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 7998B8 802A1108 44051000 */ mfc1 $a1, $f2
/* 7998BC 802A110C 44901000 */ mtc1 $s0, $f2
/* 7998C0 802A1110 00000000 */ nop
/* 7998C4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 7998C8 802A1118 44061000 */ mfc1 $a2, $f2
/* 7998CC 802A111C 44821000 */ mtc1 $v0, $f2
/* 7998D0 802A1120 00000000 */ nop
/* 7998D4 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 7998D8 802A1128 3C014248 */ lui $at, 0x4248
/* 7998DC 802A112C 44810000 */ mtc1 $at, $f0
/* 7998E0 802A1130 44071000 */ mfc1 $a3, $f2
/* 7998E4 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 7998E8 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 7998EC 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 7998F0 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 7998F4 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7998F8 802A1148 0C01C154 */ jal func_80070550
/* 7998FC 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 799900 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 799904 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 799908 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 79990C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 799910 802A1160 24020002 */ addiu $v0, $zero, 2
/* 799914 802A1164 03E00008 */ jr $ra
/* 799918 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_79991C
/* 79991C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 799920 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 799924 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 799928 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 79992C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 799930 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 799934 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 799938 802A1188 8E050000 */ lw $a1, ($s0)
/* 79993C 802A118C 0C0B1EAF */ jal get_variable
/* 799940 802A1190 26100004 */ addiu $s0, $s0, 4
/* 799944 802A1194 8E050000 */ lw $a1, ($s0)
/* 799948 802A1198 26100004 */ addiu $s0, $s0, 4
/* 79994C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 799950 802A11A0 0C0B1EAF */ jal get_variable
/* 799954 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 799958 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 79995C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 799960 802A11B0 0C0B1EAF */ jal get_variable
/* 799964 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 799968 802A11B8 44921000 */ mtc1 $s2, $f2
/* 79996C 802A11BC 00000000 */ nop
/* 799970 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 799974 802A11C4 44051000 */ mfc1 $a1, $f2
/* 799978 802A11C8 44901000 */ mtc1 $s0, $f2
/* 79997C 802A11CC 00000000 */ nop
/* 799980 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 799984 802A11D4 44061000 */ mfc1 $a2, $f2
/* 799988 802A11D8 44821000 */ mtc1 $v0, $f2
/* 79998C 802A11DC 00000000 */ nop
/* 799990 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 799994 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 799998 802A11E8 44810000 */ mtc1 $at, $f0
/* 79999C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 7999A0 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 7999A4 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 7999A8 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7999AC 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 7999B0 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 7999B4 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 7999B8 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 7999BC 802A120C 24020002 */ addiu $v0, $zero, 2
/* 7999C0 802A1210 03E00008 */ jr $ra
/* 7999C4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_7999C8
/* 7999C8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 7999CC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 7999D0 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 7999D4 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 7999D8 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 7999DC 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 7999E0 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 7999E4 802A1234 8E050000 */ lw $a1, ($s0)
/* 7999E8 802A1238 0C0B1EAF */ jal get_variable
/* 7999EC 802A123C 26100004 */ addiu $s0, $s0, 4
/* 7999F0 802A1240 8E050000 */ lw $a1, ($s0)
/* 7999F4 802A1244 26100004 */ addiu $s0, $s0, 4
/* 7999F8 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 7999FC 802A124C 0C0B1EAF */ jal get_variable
/* 799A00 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 799A04 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 799A08 802A1258 8E050000 */ lw $a1, ($s0)
/* 799A0C 802A125C 0C0B1EAF */ jal get_variable
/* 799A10 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 799A14 802A1264 24040004 */ addiu $a0, $zero, 4
/* 799A18 802A1268 44922000 */ mtc1 $s2, $f4
/* 799A1C 802A126C 00000000 */ nop
/* 799A20 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 799A24 802A1274 44052000 */ mfc1 $a1, $f4
/* 799A28 802A1278 44902000 */ mtc1 $s0, $f4
/* 799A2C 802A127C 00000000 */ nop
/* 799A30 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 799A34 802A1284 44062000 */ mfc1 $a2, $f4
/* 799A38 802A1288 44822000 */ mtc1 $v0, $f4
/* 799A3C 802A128C 00000000 */ nop
/* 799A40 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 799A44 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 799A48 802A1298 44810000 */ mtc1 $at, $f0
/* 799A4C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 799A50 802A12A0 44811000 */ mtc1 $at, $f2
/* 799A54 802A12A4 44072000 */ mfc1 $a3, $f4
/* 799A58 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 799A5C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 799A60 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 799A64 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 799A68 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 799A6C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 799A70 802A12C0 0C01C8D4 */ jal func_80072350
/* 799A74 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 799A78 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 799A7C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 799A80 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 799A84 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 799A88 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 799A8C 802A12DC 03E00008 */ jr $ra
/* 799A90 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_799A94
/* 799A94 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 799A98 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 799A9C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 799AA0 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 799AA4 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 799AA8 802A12F8 0C04760B */ jal func_8011D82C
/* 799AAC 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 799AB0 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 799AB4 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 799AB8 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 799ABC 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 799AC0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 799AC4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 799AC8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 799ACC 802A131C 0C046F97 */ jal set_background_color_blend
/* 799AD0 802A1320 A0430000 */ sb $v1, ($v0)
/* 799AD4 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 799AD8 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 799ADC 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 799AE0 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 799AE4 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 799AE8 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 799AEC 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 799AF0 802A1340 00431023 */ subu $v0, $v0, $v1
/* 799AF4 802A1344 00023880 */ sll $a3, $v0, 2
/* 799AF8 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 799AFC 802A134C 00073840 */ sll $a3, $a3, 1
/* 799B00 802A1350 0C046F97 */ jal set_background_color_blend
/* 799B04 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 799B08 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 799B0C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 799B10 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 799B14 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 799B18 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 799B1C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 799B20 802A1370 00021040 */ sll $v0, $v0, 1
/* 799B24 802A1374 03E00008 */ jr $ra
/* 799B28 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_799B2C
/* 799B2C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 799B30 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 799B34 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 799B38 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 799B3C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 799B40 802A1390 0C04760B */ jal func_8011D82C
/* 799B44 802A1394 24040001 */ addiu $a0, $zero, 1
/* 799B48 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 799B4C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 799B50 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 799B54 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 799B58 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 799B5C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 799B60 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 799B64 802A13B4 0C046F97 */ jal set_background_color_blend
/* 799B68 802A13B8 A0620000 */ sb $v0, ($v1)
/* 799B6C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 799B70 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 799B74 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 799B78 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 799B7C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 799B80 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 799B84 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 799B88 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 799B8C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 799B90 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 799B94 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 799B98 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 799B9C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 799BA0 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 799BA4 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 799BA8 802A13F8 0C046F97 */ jal set_background_color_blend
/* 799BAC 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 799BB0 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 799BB4 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 799BB8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 799BBC 802A140C 03E00008 */ jr $ra
/* 799BC0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_799BC4
/* 799BC4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 799BC8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 799BCC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 799BD0 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 799BD4 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 799BD8 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 799BDC 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 799BE0 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 799BE4 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 799BE8 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 799BEC 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 799BF0 802A1440 00023880 */ sll $a3, $v0, 2
/* 799BF4 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 799BF8 802A1448 00073840 */ sll $a3, $a3, 1
/* 799BFC 802A144C 0C046F97 */ jal set_background_color_blend
/* 799C00 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 799C04 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 799C08 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 799C0C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 799C10 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 799C14 802A1464 080A8521 */ j .L802A1484
/* 799C18 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 799C1C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 799C20 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 799C24 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 799C28 802A1478 0C046F97 */ jal set_background_color_blend
/* 799C2C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 799C30 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 799C34 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 799C38 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 799C3C 802A148C 03E00008 */ jr $ra
/* 799C40 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_799C44
/* 799C44 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 799C48 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 799C4C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 799C50 802A14A0 0C0B1EAF */ jal get_variable
/* 799C54 802A14A4 8C450000 */ lw $a1, ($v0)
/* 799C58 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 799C5C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 799C60 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 799C64 802A14B4 00051880 */ sll $v1, $a1, 2
/* 799C68 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 799C6C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 799C70 802A14C0 00031880 */ sll $v1, $v1, 2
/* 799C74 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 799C78 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 799C7C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 799C80 802A14D0 0C098F3F */ jal set_animation
/* 799C84 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 799C88 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 799C8C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 799C90 802A14E0 03E00008 */ jr $ra
/* 799C94 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_799C98
/* 799C98 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 799C9C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 799CA0 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 799CA4 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 799CA8 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 799CAC 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 799CB0 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 799CB4 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 799CB8 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 799CBC 802A150C 24020002 */ addiu $v0, $zero, 2
/* 799CC0 802A1510 03E00008 */ jr $ra
/* 799CC4 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,9 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A2468_79AC18
/* 79AC18 802A2468 3C02802A */ lui $v0, %hi(D_802A3838)
/* 79AC1C 802A246C 8C423838 */ lw $v0, %lo(D_802A3838)($v0)
/* 79AC20 802A2470 AC820084 */ sw $v0, 0x84($a0)
/* 79AC24 802A2474 03E00008 */ jr $ra
/* 79AC28 802A2478 24020002 */ addiu $v0, $zero, 2

View File

@ -0,0 +1,36 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A247C_79AC2C
/* 79AC2C 802A247C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79AC30 802A2480 AFB00010 */ sw $s0, 0x10($sp)
/* 79AC34 802A2484 0080802D */ daddu $s0, $a0, $zero
/* 79AC38 802A2488 10A00003 */ beqz $a1, .L802A2498
/* 79AC3C 802A248C AFBF0014 */ sw $ra, 0x14($sp)
/* 79AC40 802A2490 240200E6 */ addiu $v0, $zero, 0xe6
/* 79AC44 802A2494 AE020070 */ sw $v0, 0x70($s0)
.L802A2498:
/* 79AC48 802A2498 0000202D */ daddu $a0, $zero, $zero
/* 79AC4C 802A249C 0080282D */ daddu $a1, $a0, $zero
/* 79AC50 802A24A0 92070073 */ lbu $a3, 0x73($s0)
/* 79AC54 802A24A4 0C046F97 */ jal set_background_color_blend
/* 79AC58 802A24A8 0080302D */ daddu $a2, $a0, $zero
/* 79AC5C 802A24AC 8E020070 */ lw $v0, 0x70($s0)
/* 79AC60 802A24B0 2442FFFB */ addiu $v0, $v0, -5
/* 79AC64 802A24B4 AE020070 */ sw $v0, 0x70($s0)
/* 79AC68 802A24B8 284200C9 */ slti $v0, $v0, 0xc9
/* 79AC6C 802A24BC 14400003 */ bnez $v0, .L802A24CC
/* 79AC70 802A24C0 0000202D */ daddu $a0, $zero, $zero
/* 79AC74 802A24C4 080A8938 */ j .L802A24E0
/* 79AC78 802A24C8 0000102D */ daddu $v0, $zero, $zero
.L802A24CC:
/* 79AC7C 802A24CC 0080282D */ daddu $a1, $a0, $zero
/* 79AC80 802A24D0 0080302D */ daddu $a2, $a0, $zero
/* 79AC84 802A24D4 0C046F97 */ jal set_background_color_blend
/* 79AC88 802A24D8 240700C8 */ addiu $a3, $zero, 0xc8
/* 79AC8C 802A24DC 24020002 */ addiu $v0, $zero, 2
.L802A24E0:
/* 79AC90 802A24E0 8FBF0014 */ lw $ra, 0x14($sp)
/* 79AC94 802A24E4 8FB00010 */ lw $s0, 0x10($sp)
/* 79AC98 802A24E8 03E00008 */ jr $ra
/* 79AC9C 802A24EC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_79D8A0
/* 79D8A0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 79D8A4 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 79D8A8 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 79D8AC 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 79D8B0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 79D8B4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 79D8B8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 79D8BC 802A101C 8E050000 */ lw $a1, ($s0)
/* 79D8C0 802A1020 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79D8C4 802A1024 26100004 */ addiu $s0, $s0, 4
/* 79D8C8 802A1028 8E050000 */ lw $a1, ($s0)
/* 79D8CC 802A102C 26100004 */ addiu $s0, $s0, 4
/* 79D8D0 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 79D8D4 802A1034 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79D8D8 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 79D8DC 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 79D8E0 802A1040 8E050000 */ lw $a1, ($s0)
/* 79D8E4 802A1044 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79D8E8 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 79D8EC 802A104C 44921000 */ mtc1 $s2, $f2
/* 79D8F0 802A1050 00000000 */ nop
/* 79D8F4 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 79D8F8 802A1058 44051000 */ mfc1 $a1, $f2
/* 79D8FC 802A105C 44901000 */ mtc1 $s0, $f2
/* 79D900 802A1060 00000000 */ nop
/* 79D904 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 79D908 802A1068 44061000 */ mfc1 $a2, $f2
/* 79D90C 802A106C 44821000 */ mtc1 $v0, $f2
/* 79D910 802A1070 00000000 */ nop
/* 79D914 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 79D918 802A1078 3C014220 */ lui $at, 0x4220
/* 79D91C 802A107C 44810000 */ mtc1 $at, $f0
/* 79D920 802A1080 44071000 */ mfc1 $a3, $f2
/* 79D924 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 79D928 802A1088 0C01BFBC */ jal func_8006FEF0
/* 79D92C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 79D930 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 79D934 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 79D938 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 79D93C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 79D940 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 79D944 802A10A4 03E00008 */ jr $ra
/* 79D948 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_79D94C
/* 79D94C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 79D950 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 79D954 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 79D958 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 79D95C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 79D960 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 79D964 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 79D968 802A10C8 8E050000 */ lw $a1, ($s0)
/* 79D96C 802A10CC 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79D970 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 79D974 802A10D4 8E050000 */ lw $a1, ($s0)
/* 79D978 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 79D97C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 79D980 802A10E0 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79D984 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 79D988 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 79D98C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 79D990 802A10F0 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79D994 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 79D998 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 79D99C 802A10FC 44921000 */ mtc1 $s2, $f2
/* 79D9A0 802A1100 00000000 */ nop
/* 79D9A4 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 79D9A8 802A1108 44051000 */ mfc1 $a1, $f2
/* 79D9AC 802A110C 44901000 */ mtc1 $s0, $f2
/* 79D9B0 802A1110 00000000 */ nop
/* 79D9B4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 79D9B8 802A1118 44061000 */ mfc1 $a2, $f2
/* 79D9BC 802A111C 44821000 */ mtc1 $v0, $f2
/* 79D9C0 802A1120 00000000 */ nop
/* 79D9C4 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 79D9C8 802A1128 3C014248 */ lui $at, 0x4248
/* 79D9CC 802A112C 44810000 */ mtc1 $at, $f0
/* 79D9D0 802A1130 44071000 */ mfc1 $a3, $f2
/* 79D9D4 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 79D9D8 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 79D9DC 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 79D9E0 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 79D9E4 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79D9E8 802A1148 0C01C154 */ jal func_80070550
/* 79D9EC 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 79D9F0 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 79D9F4 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 79D9F8 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 79D9FC 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 79DA00 802A1160 24020002 */ addiu $v0, $zero, 2
/* 79DA04 802A1164 03E00008 */ jr $ra
/* 79DA08 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_79DA0C
/* 79DA0C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 79DA10 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 79DA14 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 79DA18 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 79DA1C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 79DA20 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 79DA24 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 79DA28 802A1188 8E050000 */ lw $a1, ($s0)
/* 79DA2C 802A118C 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79DA30 802A1190 26100004 */ addiu $s0, $s0, 4
/* 79DA34 802A1194 8E050000 */ lw $a1, ($s0)
/* 79DA38 802A1198 26100004 */ addiu $s0, $s0, 4
/* 79DA3C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 79DA40 802A11A0 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79DA44 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 79DA48 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 79DA4C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 79DA50 802A11B0 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79DA54 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 79DA58 802A11B8 44921000 */ mtc1 $s2, $f2
/* 79DA5C 802A11BC 00000000 */ nop
/* 79DA60 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 79DA64 802A11C4 44051000 */ mfc1 $a1, $f2
/* 79DA68 802A11C8 44901000 */ mtc1 $s0, $f2
/* 79DA6C 802A11CC 00000000 */ nop
/* 79DA70 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 79DA74 802A11D4 44061000 */ mfc1 $a2, $f2
/* 79DA78 802A11D8 44821000 */ mtc1 $v0, $f2
/* 79DA7C 802A11DC 00000000 */ nop
/* 79DA80 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 79DA84 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 79DA88 802A11E8 44810000 */ mtc1 $at, $f0
/* 79DA8C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 79DA90 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 79DA94 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 79DA98 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79DA9C 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 79DAA0 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 79DAA4 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 79DAA8 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 79DAAC 802A120C 24020002 */ addiu $v0, $zero, 2
/* 79DAB0 802A1210 03E00008 */ jr $ra
/* 79DAB4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_79DAB8
/* 79DAB8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 79DABC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 79DAC0 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 79DAC4 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 79DAC8 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 79DACC 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 79DAD0 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 79DAD4 802A1234 8E050000 */ lw $a1, ($s0)
/* 79DAD8 802A1238 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79DADC 802A123C 26100004 */ addiu $s0, $s0, 4
/* 79DAE0 802A1240 8E050000 */ lw $a1, ($s0)
/* 79DAE4 802A1244 26100004 */ addiu $s0, $s0, 4
/* 79DAE8 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 79DAEC 802A124C 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79DAF0 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 79DAF4 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 79DAF8 802A1258 8E050000 */ lw $a1, ($s0)
/* 79DAFC 802A125C 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79DB00 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 79DB04 802A1264 24040004 */ addiu $a0, $zero, 4
/* 79DB08 802A1268 44922000 */ mtc1 $s2, $f4
/* 79DB0C 802A126C 00000000 */ nop
/* 79DB10 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 79DB14 802A1274 44052000 */ mfc1 $a1, $f4
/* 79DB18 802A1278 44902000 */ mtc1 $s0, $f4
/* 79DB1C 802A127C 00000000 */ nop
/* 79DB20 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 79DB24 802A1284 44062000 */ mfc1 $a2, $f4
/* 79DB28 802A1288 44822000 */ mtc1 $v0, $f4
/* 79DB2C 802A128C 00000000 */ nop
/* 79DB30 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 79DB34 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 79DB38 802A1298 44810000 */ mtc1 $at, $f0
/* 79DB3C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 79DB40 802A12A0 44811000 */ mtc1 $at, $f2
/* 79DB44 802A12A4 44072000 */ mfc1 $a3, $f4
/* 79DB48 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 79DB4C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 79DB50 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 79DB54 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 79DB58 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79DB5C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 79DB60 802A12C0 0C01C8D4 */ jal func_80072350
/* 79DB64 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 79DB68 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 79DB6C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 79DB70 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 79DB74 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 79DB78 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 79DB7C 802A12DC 03E00008 */ jr $ra
/* 79DB80 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_79DB84
/* 79DB84 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79DB88 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 79DB8C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 79DB90 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 79DB94 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 79DB98 802A12F8 0C04760B */ jal func_8011D82C
/* 79DB9C 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 79DBA0 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 79DBA4 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 79DBA8 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 79DBAC 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 79DBB0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 79DBB4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 79DBB8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 79DBBC 802A131C 0C046F97 */ jal set_background_color_blend
/* 79DBC0 802A1320 A0430000 */ sb $v1, ($v0)
/* 79DBC4 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 79DBC8 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 79DBCC 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 79DBD0 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 79DBD4 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 79DBD8 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 79DBDC 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 79DBE0 802A1340 00431023 */ subu $v0, $v0, $v1
/* 79DBE4 802A1344 00023880 */ sll $a3, $v0, 2
/* 79DBE8 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 79DBEC 802A134C 00073840 */ sll $a3, $a3, 1
/* 79DBF0 802A1350 0C046F97 */ jal set_background_color_blend
/* 79DBF4 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 79DBF8 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 79DBFC 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 79DC00 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 79DC04 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 79DC08 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 79DC0C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 79DC10 802A1370 00021040 */ sll $v0, $v0, 1
/* 79DC14 802A1374 03E00008 */ jr $ra
/* 79DC18 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_79DC1C
/* 79DC1C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79DC20 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 79DC24 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 79DC28 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 79DC2C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 79DC30 802A1390 0C04760B */ jal func_8011D82C
/* 79DC34 802A1394 24040001 */ addiu $a0, $zero, 1
/* 79DC38 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 79DC3C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 79DC40 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 79DC44 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 79DC48 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 79DC4C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 79DC50 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 79DC54 802A13B4 0C046F97 */ jal set_background_color_blend
/* 79DC58 802A13B8 A0620000 */ sb $v0, ($v1)
/* 79DC5C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 79DC60 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 79DC64 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 79DC68 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 79DC6C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 79DC70 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 79DC74 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 79DC78 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 79DC7C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 79DC80 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 79DC84 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 79DC88 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 79DC8C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 79DC90 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 79DC94 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 79DC98 802A13F8 0C046F97 */ jal set_background_color_blend
/* 79DC9C 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 79DCA0 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 79DCA4 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 79DCA8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 79DCAC 802A140C 03E00008 */ jr $ra
/* 79DCB0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_79DCB4
/* 79DCB4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79DCB8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 79DCBC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 79DCC0 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 79DCC4 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 79DCC8 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 79DCCC 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 79DCD0 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 79DCD4 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 79DCD8 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 79DCDC 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 79DCE0 802A1440 00023880 */ sll $a3, $v0, 2
/* 79DCE4 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 79DCE8 802A1448 00073840 */ sll $a3, $a3, 1
/* 79DCEC 802A144C 0C046F97 */ jal set_background_color_blend
/* 79DCF0 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 79DCF4 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 79DCF8 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 79DCFC 802A145C 10400003 */ beqz $v0, .L802A146C
/* 79DD00 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 79DD04 802A1464 080A8521 */ j .L802A1484
/* 79DD08 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 79DD0C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 79DD10 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 79DD14 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 79DD18 802A1478 0C046F97 */ jal set_background_color_blend
/* 79DD1C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 79DD20 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 79DD24 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 79DD28 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 79DD2C 802A148C 03E00008 */ jr $ra
/* 79DD30 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_79DD34
/* 79DD34 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79DD38 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79DD3C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 79DD40 802A14A0 0C0B1EAF */ jal func_802C7ABC_7C435C
/* 79DD44 802A14A4 8C450000 */ lw $a1, ($v0)
/* 79DD48 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79DD4C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 79DD50 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 79DD54 802A14B4 00051880 */ sll $v1, $a1, 2
/* 79DD58 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79DD5C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 79DD60 802A14C0 00031880 */ sll $v1, $v1, 2
/* 79DD64 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 79DD68 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79DD6C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 79DD70 802A14D0 0C098F3F */ jal set_animation
/* 79DD74 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 79DD78 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 79DD7C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 79DD80 802A14E0 03E00008 */ jr $ra
/* 79DD84 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_79DD88
/* 79DD88 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79DD8C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 79DD90 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 79DD94 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 79DD98 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 79DD9C 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 79DDA0 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 79DDA4 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 79DDA8 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 79DDAC 802A150C 24020002 */ addiu $v0, $zero, 2
/* 79DDB0 802A1510 03E00008 */ jr $ra
/* 79DDB4 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,45 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_79DDB8
/* 79DDB8 802A1518 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 79DDBC 802A151C 24040030 */ addiu $a0, $zero, 0x30
/* 79DDC0 802A1520 AFB00010 */ sw $s0, 0x10($sp)
/* 79DDC4 802A1524 3C108011 */ lui $s0, %hi(gPlayerData)
/* 79DDC8 802A1528 2610F290 */ addiu $s0, $s0, %lo(gPlayerData)
/* 79DDCC 802A152C AFB10014 */ sw $s1, 0x14($sp)
/* 79DDD0 802A1530 AFBF0018 */ sw $ra, 0x18($sp)
/* 79DDD4 802A1534 0C03A752 */ jal is_ability_active
/* 79DDD8 802A1538 0200882D */ daddu $s1, $s0, $zero
/* 79DDDC 802A153C 10400004 */ beqz $v0, .L802A1550
/* 79DDE0 802A1540 00000000 */ nop
/* 79DDE4 802A1544 96020290 */ lhu $v0, 0x290($s0)
/* 79DDE8 802A1548 24420080 */ addiu $v0, $v0, 0x80
/* 79DDEC 802A154C A6020290 */ sh $v0, 0x290($s0)
.L802A1550:
/* 79DDF0 802A1550 0C03A752 */ jal is_ability_active
/* 79DDF4 802A1554 24040031 */ addiu $a0, $zero, 0x31
/* 79DDF8 802A1558 10400004 */ beqz $v0, .L802A156C
/* 79DDFC 802A155C 00000000 */ nop
/* 79DE00 802A1560 96020290 */ lhu $v0, 0x290($s0)
/* 79DE04 802A1564 24420100 */ addiu $v0, $v0, 0x100
/* 79DE08 802A1568 A6020290 */ sh $v0, 0x290($s0)
.L802A156C:
/* 79DE0C 802A156C 96220290 */ lhu $v0, 0x290($s1)
/* 79DE10 802A1570 8223028E */ lb $v1, 0x28e($s1)
/* 79DE14 802A1574 24420080 */ addiu $v0, $v0, 0x80
/* 79DE18 802A1578 A6220290 */ sh $v0, 0x290($s1)
/* 79DE1C 802A157C 00021400 */ sll $v0, $v0, 0x10
/* 79DE20 802A1580 00021403 */ sra $v0, $v0, 0x10
/* 79DE24 802A1584 00031A00 */ sll $v1, $v1, 8
/* 79DE28 802A1588 0043102A */ slt $v0, $v0, $v1
/* 79DE2C 802A158C 50400001 */ beql $v0, $zero, .L802A1594
/* 79DE30 802A1590 A6230290 */ sh $v1, 0x290($s1)
.L802A1594:
/* 79DE34 802A1594 8FBF0018 */ lw $ra, 0x18($sp)
/* 79DE38 802A1598 8FB10014 */ lw $s1, 0x14($sp)
/* 79DE3C 802A159C 8FB00010 */ lw $s0, 0x10($sp)
/* 79DE40 802A15A0 24020002 */ addiu $v0, $zero, 2
/* 79DE44 802A15A4 03E00008 */ jr $ra
/* 79DE48 802A15A8 27BD0020 */ addiu $sp, $sp, 0x20
/* 79DE4C 802A15AC 00000000 */ nop

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_79BFA0
/* 79BFA0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 79BFA4 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 79BFA8 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 79BFAC 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 79BFB0 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 79BFB4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 79BFB8 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 79BFBC 802A101C 8E050000 */ lw $a1, ($s0)
/* 79BFC0 802A1020 0C0B1EAF */ jal get_variable
/* 79BFC4 802A1024 26100004 */ addiu $s0, $s0, 4
/* 79BFC8 802A1028 8E050000 */ lw $a1, ($s0)
/* 79BFCC 802A102C 26100004 */ addiu $s0, $s0, 4
/* 79BFD0 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 79BFD4 802A1034 0C0B1EAF */ jal get_variable
/* 79BFD8 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 79BFDC 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 79BFE0 802A1040 8E050000 */ lw $a1, ($s0)
/* 79BFE4 802A1044 0C0B1EAF */ jal get_variable
/* 79BFE8 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 79BFEC 802A104C 44921000 */ mtc1 $s2, $f2
/* 79BFF0 802A1050 00000000 */ nop
/* 79BFF4 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 79BFF8 802A1058 44051000 */ mfc1 $a1, $f2
/* 79BFFC 802A105C 44901000 */ mtc1 $s0, $f2
/* 79C000 802A1060 00000000 */ nop
/* 79C004 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 79C008 802A1068 44061000 */ mfc1 $a2, $f2
/* 79C00C 802A106C 44821000 */ mtc1 $v0, $f2
/* 79C010 802A1070 00000000 */ nop
/* 79C014 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 79C018 802A1078 3C014220 */ lui $at, 0x4220
/* 79C01C 802A107C 44810000 */ mtc1 $at, $f0
/* 79C020 802A1080 44071000 */ mfc1 $a3, $f2
/* 79C024 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 79C028 802A1088 0C01BFBC */ jal func_8006FEF0
/* 79C02C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 79C030 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 79C034 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 79C038 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 79C03C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 79C040 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 79C044 802A10A4 03E00008 */ jr $ra
/* 79C048 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_79C04C
/* 79C04C 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 79C050 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 79C054 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 79C058 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 79C05C 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 79C060 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 79C064 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 79C068 802A10C8 8E050000 */ lw $a1, ($s0)
/* 79C06C 802A10CC 0C0B1EAF */ jal get_variable
/* 79C070 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 79C074 802A10D4 8E050000 */ lw $a1, ($s0)
/* 79C078 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 79C07C 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 79C080 802A10E0 0C0B1EAF */ jal get_variable
/* 79C084 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 79C088 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 79C08C 802A10EC 8E050000 */ lw $a1, ($s0)
/* 79C090 802A10F0 0C0B1EAF */ jal get_variable
/* 79C094 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 79C098 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 79C09C 802A10FC 44921000 */ mtc1 $s2, $f2
/* 79C0A0 802A1100 00000000 */ nop
/* 79C0A4 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 79C0A8 802A1108 44051000 */ mfc1 $a1, $f2
/* 79C0AC 802A110C 44901000 */ mtc1 $s0, $f2
/* 79C0B0 802A1110 00000000 */ nop
/* 79C0B4 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 79C0B8 802A1118 44061000 */ mfc1 $a2, $f2
/* 79C0BC 802A111C 44821000 */ mtc1 $v0, $f2
/* 79C0C0 802A1120 00000000 */ nop
/* 79C0C4 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 79C0C8 802A1128 3C014248 */ lui $at, 0x4248
/* 79C0CC 802A112C 44810000 */ mtc1 $at, $f0
/* 79C0D0 802A1130 44071000 */ mfc1 $a3, $f2
/* 79C0D4 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 79C0D8 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 79C0DC 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 79C0E0 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 79C0E4 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79C0E8 802A1148 0C01C154 */ jal func_80070550
/* 79C0EC 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 79C0F0 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 79C0F4 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 79C0F8 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 79C0FC 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 79C100 802A1160 24020002 */ addiu $v0, $zero, 2
/* 79C104 802A1164 03E00008 */ jr $ra
/* 79C108 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_79C10C
/* 79C10C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 79C110 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 79C114 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 79C118 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 79C11C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 79C120 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 79C124 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 79C128 802A1188 8E050000 */ lw $a1, ($s0)
/* 79C12C 802A118C 0C0B1EAF */ jal get_variable
/* 79C130 802A1190 26100004 */ addiu $s0, $s0, 4
/* 79C134 802A1194 8E050000 */ lw $a1, ($s0)
/* 79C138 802A1198 26100004 */ addiu $s0, $s0, 4
/* 79C13C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 79C140 802A11A0 0C0B1EAF */ jal get_variable
/* 79C144 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 79C148 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 79C14C 802A11AC 8E050000 */ lw $a1, ($s0)
/* 79C150 802A11B0 0C0B1EAF */ jal get_variable
/* 79C154 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 79C158 802A11B8 44921000 */ mtc1 $s2, $f2
/* 79C15C 802A11BC 00000000 */ nop
/* 79C160 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 79C164 802A11C4 44051000 */ mfc1 $a1, $f2
/* 79C168 802A11C8 44901000 */ mtc1 $s0, $f2
/* 79C16C 802A11CC 00000000 */ nop
/* 79C170 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 79C174 802A11D4 44061000 */ mfc1 $a2, $f2
/* 79C178 802A11D8 44821000 */ mtc1 $v0, $f2
/* 79C17C 802A11DC 00000000 */ nop
/* 79C180 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 79C184 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 79C188 802A11E8 44810000 */ mtc1 $at, $f0
/* 79C18C 802A11EC 44071000 */ mfc1 $a3, $f2
/* 79C190 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 79C194 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 79C198 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79C19C 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 79C1A0 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 79C1A4 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 79C1A8 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 79C1AC 802A120C 24020002 */ addiu $v0, $zero, 2
/* 79C1B0 802A1210 03E00008 */ jr $ra
/* 79C1B4 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_79C1B8
/* 79C1B8 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 79C1BC 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 79C1C0 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 79C1C4 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 79C1C8 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 79C1CC 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 79C1D0 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 79C1D4 802A1234 8E050000 */ lw $a1, ($s0)
/* 79C1D8 802A1238 0C0B1EAF */ jal get_variable
/* 79C1DC 802A123C 26100004 */ addiu $s0, $s0, 4
/* 79C1E0 802A1240 8E050000 */ lw $a1, ($s0)
/* 79C1E4 802A1244 26100004 */ addiu $s0, $s0, 4
/* 79C1E8 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 79C1EC 802A124C 0C0B1EAF */ jal get_variable
/* 79C1F0 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 79C1F4 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 79C1F8 802A1258 8E050000 */ lw $a1, ($s0)
/* 79C1FC 802A125C 0C0B1EAF */ jal get_variable
/* 79C200 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 79C204 802A1264 24040004 */ addiu $a0, $zero, 4
/* 79C208 802A1268 44922000 */ mtc1 $s2, $f4
/* 79C20C 802A126C 00000000 */ nop
/* 79C210 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 79C214 802A1274 44052000 */ mfc1 $a1, $f4
/* 79C218 802A1278 44902000 */ mtc1 $s0, $f4
/* 79C21C 802A127C 00000000 */ nop
/* 79C220 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 79C224 802A1284 44062000 */ mfc1 $a2, $f4
/* 79C228 802A1288 44822000 */ mtc1 $v0, $f4
/* 79C22C 802A128C 00000000 */ nop
/* 79C230 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 79C234 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 79C238 802A1298 44810000 */ mtc1 $at, $f0
/* 79C23C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 79C240 802A12A0 44811000 */ mtc1 $at, $f2
/* 79C244 802A12A4 44072000 */ mfc1 $a3, $f4
/* 79C248 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 79C24C 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 79C250 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 79C254 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 79C258 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79C25C 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 79C260 802A12C0 0C01C8D4 */ jal func_80072350
/* 79C264 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 79C268 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 79C26C 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 79C270 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 79C274 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 79C278 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 79C27C 802A12DC 03E00008 */ jr $ra
/* 79C280 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_79C284
/* 79C284 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79C288 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 79C28C 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 79C290 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 79C294 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 79C298 802A12F8 0C04760B */ jal func_8011D82C
/* 79C29C 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 79C2A0 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 79C2A4 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 79C2A8 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 79C2AC 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 79C2B0 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 79C2B4 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 79C2B8 802A1318 24030001 */ addiu $v1, $zero, 1
/* 79C2BC 802A131C 0C046F97 */ jal set_background_color_blend
/* 79C2C0 802A1320 A0430000 */ sb $v1, ($v0)
/* 79C2C4 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 79C2C8 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 79C2CC 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 79C2D0 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 79C2D4 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 79C2D8 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 79C2DC 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 79C2E0 802A1340 00431023 */ subu $v0, $v0, $v1
/* 79C2E4 802A1344 00023880 */ sll $a3, $v0, 2
/* 79C2E8 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 79C2EC 802A134C 00073840 */ sll $a3, $a3, 1
/* 79C2F0 802A1350 0C046F97 */ jal set_background_color_blend
/* 79C2F4 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 79C2F8 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 79C2FC 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 79C300 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 79C304 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 79C308 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 79C30C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 79C310 802A1370 00021040 */ sll $v0, $v0, 1
/* 79C314 802A1374 03E00008 */ jr $ra
/* 79C318 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_79C31C
/* 79C31C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79C320 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 79C324 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 79C328 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 79C32C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 79C330 802A1390 0C04760B */ jal func_8011D82C
/* 79C334 802A1394 24040001 */ addiu $a0, $zero, 1
/* 79C338 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 79C33C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 79C340 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 79C344 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 79C348 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 79C34C 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 79C350 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 79C354 802A13B4 0C046F97 */ jal set_background_color_blend
/* 79C358 802A13B8 A0620000 */ sb $v0, ($v1)
/* 79C35C 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 79C360 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 79C364 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 79C368 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 79C36C 802A13CC 0C046F97 */ jal set_background_color_blend
/* 79C370 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 79C374 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 79C378 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 79C37C 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 79C380 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 79C384 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 79C388 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 79C38C 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 79C390 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 79C394 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 79C398 802A13F8 0C046F97 */ jal set_background_color_blend
/* 79C39C 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 79C3A0 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 79C3A4 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 79C3A8 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 79C3AC 802A140C 03E00008 */ jr $ra
/* 79C3B0 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_79C3B4
/* 79C3B4 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79C3B8 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 79C3BC 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 79C3C0 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 79C3C4 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 79C3C8 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 79C3CC 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 79C3D0 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 79C3D4 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 79C3D8 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 79C3DC 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 79C3E0 802A1440 00023880 */ sll $a3, $v0, 2
/* 79C3E4 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 79C3E8 802A1448 00073840 */ sll $a3, $a3, 1
/* 79C3EC 802A144C 0C046F97 */ jal set_background_color_blend
/* 79C3F0 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 79C3F4 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 79C3F8 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 79C3FC 802A145C 10400003 */ beqz $v0, .L802A146C
/* 79C400 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 79C404 802A1464 080A8521 */ j .L802A1484
/* 79C408 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 79C40C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 79C410 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 79C414 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 79C418 802A1478 0C046F97 */ jal set_background_color_blend
/* 79C41C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 79C420 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 79C424 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 79C428 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 79C42C 802A148C 03E00008 */ jr $ra
/* 79C430 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_79C434
/* 79C434 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79C438 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79C43C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 79C440 802A14A0 0C0B1EAF */ jal get_variable
/* 79C444 802A14A4 8C450000 */ lw $a1, ($v0)
/* 79C448 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79C44C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 79C450 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 79C454 802A14B4 00051880 */ sll $v1, $a1, 2
/* 79C458 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79C45C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 79C460 802A14C0 00031880 */ sll $v1, $v1, 2
/* 79C464 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 79C468 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79C46C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 79C470 802A14D0 0C098F3F */ jal set_animation
/* 79C474 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 79C478 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 79C47C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 79C480 802A14E0 03E00008 */ jr $ra
/* 79C484 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_79C488
/* 79C488 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79C48C 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 79C490 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 79C494 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 79C498 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 79C49C 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 79C4A0 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 79C4A4 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 79C4A8 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 79C4AC 802A150C 24020002 */ addiu $v0, $zero, 2
/* 79C4B0 802A1510 03E00008 */ jr $ra
/* 79C4B4 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,10 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_79C4B8
/* 79C4B8 802A1518 8C830084 */ lw $v1, 0x84($a0)
/* 79C4BC 802A151C 8C620004 */ lw $v0, 4($v1)
/* 79C4C0 802A1520 24420001 */ addiu $v0, $v0, 1
/* 79C4C4 802A1524 AC620004 */ sw $v0, 4($v1)
/* 79C4C8 802A1528 03E00008 */ jr $ra
/* 79C4CC 802A152C 24020002 */ addiu $v0, $zero, 2

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1000_78B600
/* 78B600 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78B604 802A1004 AFB1001C */ sw $s1, 0x1c($sp)
/* 78B608 802A1008 0080882D */ daddu $s1, $a0, $zero
/* 78B60C 802A100C AFBF0024 */ sw $ra, 0x24($sp)
/* 78B610 802A1010 AFB20020 */ sw $s2, 0x20($sp)
/* 78B614 802A1014 AFB00018 */ sw $s0, 0x18($sp)
/* 78B618 802A1018 8E30000C */ lw $s0, 0xc($s1)
/* 78B61C 802A101C 8E050000 */ lw $a1, ($s0)
/* 78B620 802A1020 0C0B1EAF */ jal get_variable
/* 78B624 802A1024 26100004 */ addiu $s0, $s0, 4
/* 78B628 802A1028 8E050000 */ lw $a1, ($s0)
/* 78B62C 802A102C 26100004 */ addiu $s0, $s0, 4
/* 78B630 802A1030 0220202D */ daddu $a0, $s1, $zero
/* 78B634 802A1034 0C0B1EAF */ jal get_variable
/* 78B638 802A1038 0040902D */ daddu $s2, $v0, $zero
/* 78B63C 802A103C 0220202D */ daddu $a0, $s1, $zero
/* 78B640 802A1040 8E050000 */ lw $a1, ($s0)
/* 78B644 802A1044 0C0B1EAF */ jal get_variable
/* 78B648 802A1048 0040802D */ daddu $s0, $v0, $zero
/* 78B64C 802A104C 44921000 */ mtc1 $s2, $f2
/* 78B650 802A1050 00000000 */ nop
/* 78B654 802A1054 468010A0 */ cvt.s.w $f2, $f2
/* 78B658 802A1058 44051000 */ mfc1 $a1, $f2
/* 78B65C 802A105C 44901000 */ mtc1 $s0, $f2
/* 78B660 802A1060 00000000 */ nop
/* 78B664 802A1064 468010A0 */ cvt.s.w $f2, $f2
/* 78B668 802A1068 44061000 */ mfc1 $a2, $f2
/* 78B66C 802A106C 44821000 */ mtc1 $v0, $f2
/* 78B670 802A1070 00000000 */ nop
/* 78B674 802A1074 468010A0 */ cvt.s.w $f2, $f2
/* 78B678 802A1078 3C014220 */ lui $at, 0x4220
/* 78B67C 802A107C 44810000 */ mtc1 $at, $f0
/* 78B680 802A1080 44071000 */ mfc1 $a3, $f2
/* 78B684 802A1084 0000202D */ daddu $a0, $zero, $zero
/* 78B688 802A1088 0C01BFBC */ jal func_8006FEF0
/* 78B68C 802A108C E7A00010 */ swc1 $f0, 0x10($sp)
/* 78B690 802A1090 8FBF0024 */ lw $ra, 0x24($sp)
/* 78B694 802A1094 8FB20020 */ lw $s2, 0x20($sp)
/* 78B698 802A1098 8FB1001C */ lw $s1, 0x1c($sp)
/* 78B69C 802A109C 8FB00018 */ lw $s0, 0x18($sp)
/* 78B6A0 802A10A0 24020002 */ addiu $v0, $zero, 2
/* 78B6A4 802A10A4 03E00008 */ jr $ra
/* 78B6A8 802A10A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10AC_78B6AC
/* 78B6AC 802A10AC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78B6B0 802A10B0 AFB10024 */ sw $s1, 0x24($sp)
/* 78B6B4 802A10B4 0080882D */ daddu $s1, $a0, $zero
/* 78B6B8 802A10B8 AFBF002C */ sw $ra, 0x2c($sp)
/* 78B6BC 802A10BC AFB20028 */ sw $s2, 0x28($sp)
/* 78B6C0 802A10C0 AFB00020 */ sw $s0, 0x20($sp)
/* 78B6C4 802A10C4 8E30000C */ lw $s0, 0xc($s1)
/* 78B6C8 802A10C8 8E050000 */ lw $a1, ($s0)
/* 78B6CC 802A10CC 0C0B1EAF */ jal get_variable
/* 78B6D0 802A10D0 26100004 */ addiu $s0, $s0, 4
/* 78B6D4 802A10D4 8E050000 */ lw $a1, ($s0)
/* 78B6D8 802A10D8 26100004 */ addiu $s0, $s0, 4
/* 78B6DC 802A10DC 0220202D */ daddu $a0, $s1, $zero
/* 78B6E0 802A10E0 0C0B1EAF */ jal get_variable
/* 78B6E4 802A10E4 0040902D */ daddu $s2, $v0, $zero
/* 78B6E8 802A10E8 0220202D */ daddu $a0, $s1, $zero
/* 78B6EC 802A10EC 8E050000 */ lw $a1, ($s0)
/* 78B6F0 802A10F0 0C0B1EAF */ jal get_variable
/* 78B6F4 802A10F4 0040802D */ daddu $s0, $v0, $zero
/* 78B6F8 802A10F8 24040005 */ addiu $a0, $zero, 5
/* 78B6FC 802A10FC 44921000 */ mtc1 $s2, $f2
/* 78B700 802A1100 00000000 */ nop
/* 78B704 802A1104 468010A0 */ cvt.s.w $f2, $f2
/* 78B708 802A1108 44051000 */ mfc1 $a1, $f2
/* 78B70C 802A110C 44901000 */ mtc1 $s0, $f2
/* 78B710 802A1110 00000000 */ nop
/* 78B714 802A1114 468010A0 */ cvt.s.w $f2, $f2
/* 78B718 802A1118 44061000 */ mfc1 $a2, $f2
/* 78B71C 802A111C 44821000 */ mtc1 $v0, $f2
/* 78B720 802A1120 00000000 */ nop
/* 78B724 802A1124 468010A0 */ cvt.s.w $f2, $f2
/* 78B728 802A1128 3C014248 */ lui $at, 0x4248
/* 78B72C 802A112C 44810000 */ mtc1 $at, $f0
/* 78B730 802A1130 44071000 */ mfc1 $a3, $f2
/* 78B734 802A1134 24030028 */ addiu $v1, $zero, 0x28
/* 78B738 802A1138 AFA30018 */ sw $v1, 0x18($sp)
/* 78B73C 802A113C 2403001E */ addiu $v1, $zero, 0x1e
/* 78B740 802A1140 AFA3001C */ sw $v1, 0x1c($sp)
/* 78B744 802A1144 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78B748 802A1148 0C01C154 */ jal func_80070550
/* 78B74C 802A114C E7A00014 */ swc1 $f0, 0x14($sp)
/* 78B750 802A1150 8FBF002C */ lw $ra, 0x2c($sp)
/* 78B754 802A1154 8FB20028 */ lw $s2, 0x28($sp)
/* 78B758 802A1158 8FB10024 */ lw $s1, 0x24($sp)
/* 78B75C 802A115C 8FB00020 */ lw $s0, 0x20($sp)
/* 78B760 802A1160 24020002 */ addiu $v0, $zero, 2
/* 78B764 802A1164 03E00008 */ jr $ra
/* 78B768 802A1168 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A116C_78B76C
/* 78B76C 802A116C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78B770 802A1170 AFB1001C */ sw $s1, 0x1c($sp)
/* 78B774 802A1174 0080882D */ daddu $s1, $a0, $zero
/* 78B778 802A1178 AFBF0024 */ sw $ra, 0x24($sp)
/* 78B77C 802A117C AFB20020 */ sw $s2, 0x20($sp)
/* 78B780 802A1180 AFB00018 */ sw $s0, 0x18($sp)
/* 78B784 802A1184 8E30000C */ lw $s0, 0xc($s1)
/* 78B788 802A1188 8E050000 */ lw $a1, ($s0)
/* 78B78C 802A118C 0C0B1EAF */ jal get_variable
/* 78B790 802A1190 26100004 */ addiu $s0, $s0, 4
/* 78B794 802A1194 8E050000 */ lw $a1, ($s0)
/* 78B798 802A1198 26100004 */ addiu $s0, $s0, 4
/* 78B79C 802A119C 0220202D */ daddu $a0, $s1, $zero
/* 78B7A0 802A11A0 0C0B1EAF */ jal get_variable
/* 78B7A4 802A11A4 0040902D */ daddu $s2, $v0, $zero
/* 78B7A8 802A11A8 0220202D */ daddu $a0, $s1, $zero
/* 78B7AC 802A11AC 8E050000 */ lw $a1, ($s0)
/* 78B7B0 802A11B0 0C0B1EAF */ jal get_variable
/* 78B7B4 802A11B4 0040802D */ daddu $s0, $v0, $zero
/* 78B7B8 802A11B8 44921000 */ mtc1 $s2, $f2
/* 78B7BC 802A11BC 00000000 */ nop
/* 78B7C0 802A11C0 468010A0 */ cvt.s.w $f2, $f2
/* 78B7C4 802A11C4 44051000 */ mfc1 $a1, $f2
/* 78B7C8 802A11C8 44901000 */ mtc1 $s0, $f2
/* 78B7CC 802A11CC 00000000 */ nop
/* 78B7D0 802A11D0 468010A0 */ cvt.s.w $f2, $f2
/* 78B7D4 802A11D4 44061000 */ mfc1 $a2, $f2
/* 78B7D8 802A11D8 44821000 */ mtc1 $v0, $f2
/* 78B7DC 802A11DC 00000000 */ nop
/* 78B7E0 802A11E0 468010A0 */ cvt.s.w $f2, $f2
/* 78B7E4 802A11E4 3C0141F0 */ lui $at, 0x41f0
/* 78B7E8 802A11E8 44810000 */ mtc1 $at, $f0
/* 78B7EC 802A11EC 44071000 */ mfc1 $a3, $f2
/* 78B7F0 802A11F0 0000202D */ daddu $a0, $zero, $zero
/* 78B7F4 802A11F4 0C01BFBC */ jal func_8006FEF0
/* 78B7F8 802A11F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78B7FC 802A11FC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78B800 802A1200 8FB20020 */ lw $s2, 0x20($sp)
/* 78B804 802A1204 8FB1001C */ lw $s1, 0x1c($sp)
/* 78B808 802A1208 8FB00018 */ lw $s0, 0x18($sp)
/* 78B80C 802A120C 24020002 */ addiu $v0, $zero, 2
/* 78B810 802A1210 03E00008 */ jr $ra
/* 78B814 802A1214 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,55 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1218_78B818
/* 78B818 802A1218 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78B81C 802A121C AFB1002C */ sw $s1, 0x2c($sp)
/* 78B820 802A1220 0080882D */ daddu $s1, $a0, $zero
/* 78B824 802A1224 AFBF0034 */ sw $ra, 0x34($sp)
/* 78B828 802A1228 AFB20030 */ sw $s2, 0x30($sp)
/* 78B82C 802A122C AFB00028 */ sw $s0, 0x28($sp)
/* 78B830 802A1230 8E30000C */ lw $s0, 0xc($s1)
/* 78B834 802A1234 8E050000 */ lw $a1, ($s0)
/* 78B838 802A1238 0C0B1EAF */ jal get_variable
/* 78B83C 802A123C 26100004 */ addiu $s0, $s0, 4
/* 78B840 802A1240 8E050000 */ lw $a1, ($s0)
/* 78B844 802A1244 26100004 */ addiu $s0, $s0, 4
/* 78B848 802A1248 0220202D */ daddu $a0, $s1, $zero
/* 78B84C 802A124C 0C0B1EAF */ jal get_variable
/* 78B850 802A1250 0040902D */ daddu $s2, $v0, $zero
/* 78B854 802A1254 0220202D */ daddu $a0, $s1, $zero
/* 78B858 802A1258 8E050000 */ lw $a1, ($s0)
/* 78B85C 802A125C 0C0B1EAF */ jal get_variable
/* 78B860 802A1260 0040802D */ daddu $s0, $v0, $zero
/* 78B864 802A1264 24040004 */ addiu $a0, $zero, 4
/* 78B868 802A1268 44922000 */ mtc1 $s2, $f4
/* 78B86C 802A126C 00000000 */ nop
/* 78B870 802A1270 46802120 */ cvt.s.w $f4, $f4
/* 78B874 802A1274 44052000 */ mfc1 $a1, $f4
/* 78B878 802A1278 44902000 */ mtc1 $s0, $f4
/* 78B87C 802A127C 00000000 */ nop
/* 78B880 802A1280 46802120 */ cvt.s.w $f4, $f4
/* 78B884 802A1284 44062000 */ mfc1 $a2, $f4
/* 78B888 802A1288 44822000 */ mtc1 $v0, $f4
/* 78B88C 802A128C 00000000 */ nop
/* 78B890 802A1290 46802120 */ cvt.s.w $f4, $f4
/* 78B894 802A1294 3C0141A0 */ lui $at, 0x41a0
/* 78B898 802A1298 44810000 */ mtc1 $at, $f0
/* 78B89C 802A129C 3C013F80 */ lui $at, 0x3f80
/* 78B8A0 802A12A0 44811000 */ mtc1 $at, $f2
/* 78B8A4 802A12A4 44072000 */ mfc1 $a3, $f4
/* 78B8A8 802A12A8 2403000A */ addiu $v1, $zero, 0xa
/* 78B8AC 802A12AC AFA3001C */ sw $v1, 0x1c($sp)
/* 78B8B0 802A12B0 2403000F */ addiu $v1, $zero, 0xf
/* 78B8B4 802A12B4 AFA30020 */ sw $v1, 0x20($sp)
/* 78B8B8 802A12B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78B8BC 802A12BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 78B8C0 802A12C0 0C01C8D4 */ jal func_80072350
/* 78B8C4 802A12C4 E7A20018 */ swc1 $f2, 0x18($sp)
/* 78B8C8 802A12C8 8FBF0034 */ lw $ra, 0x34($sp)
/* 78B8CC 802A12CC 8FB20030 */ lw $s2, 0x30($sp)
/* 78B8D0 802A12D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 78B8D4 802A12D4 8FB00028 */ lw $s0, 0x28($sp)
/* 78B8D8 802A12D8 24020002 */ addiu $v0, $zero, 2
/* 78B8DC 802A12DC 03E00008 */ jr $ra
/* 78B8E0 802A12E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,43 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A12E4_78B8E4
/* 78B8E4 802A12E4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78B8E8 802A12E8 AFB00010 */ sw $s0, 0x10($sp)
/* 78B8EC 802A12EC 0080802D */ daddu $s0, $a0, $zero
/* 78B8F0 802A12F0 10A0000E */ beqz $a1, .L802A132C
/* 78B8F4 802A12F4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78B8F8 802A12F8 0C04760B */ jal func_8011D82C
/* 78B8FC 802A12FC 24040001 */ addiu $a0, $zero, 1
/* 78B900 802A1300 0000202D */ daddu $a0, $zero, $zero
/* 78B904 802A1304 0080282D */ daddu $a1, $a0, $zero
/* 78B908 802A1308 0080302D */ daddu $a2, $a0, $zero
/* 78B90C 802A130C 0080382D */ daddu $a3, $a0, $zero
/* 78B910 802A1310 3C028015 */ lui $v0, %hi(D_801512F0)
/* 78B914 802A1314 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 78B918 802A1318 24030001 */ addiu $v1, $zero, 1
/* 78B91C 802A131C 0C046F97 */ jal set_background_color_blend
/* 78B920 802A1320 A0430000 */ sb $v1, ($v0)
/* 78B924 802A1324 24020014 */ addiu $v0, $zero, 0x14
/* 78B928 802A1328 AE020070 */ sw $v0, 0x70($s0)
.L802A132C:
/* 78B92C 802A132C 0000202D */ daddu $a0, $zero, $zero
/* 78B930 802A1330 0080282D */ daddu $a1, $a0, $zero
/* 78B934 802A1334 0080302D */ daddu $a2, $a0, $zero
/* 78B938 802A1338 8E030070 */ lw $v1, 0x70($s0)
/* 78B93C 802A133C 24020014 */ addiu $v0, $zero, 0x14
/* 78B940 802A1340 00431023 */ subu $v0, $v0, $v1
/* 78B944 802A1344 00023880 */ sll $a3, $v0, 2
/* 78B948 802A1348 00E23821 */ addu $a3, $a3, $v0
/* 78B94C 802A134C 00073840 */ sll $a3, $a3, 1
/* 78B950 802A1350 0C046F97 */ jal set_background_color_blend
/* 78B954 802A1354 30E700FE */ andi $a3, $a3, 0xfe
/* 78B958 802A1358 8E020070 */ lw $v0, 0x70($s0)
/* 78B95C 802A135C 2442FFFF */ addiu $v0, $v0, -1
/* 78B960 802A1360 AE020070 */ sw $v0, 0x70($s0)
/* 78B964 802A1364 2C420001 */ sltiu $v0, $v0, 1
/* 78B968 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
/* 78B96C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
/* 78B970 802A1370 00021040 */ sll $v0, $v0, 1
/* 78B974 802A1374 03E00008 */ jr $ra
/* 78B978 802A1378 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A137C_78B97C
/* 78B97C 802A137C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78B980 802A1380 AFB00010 */ sw $s0, 0x10($sp)
/* 78B984 802A1384 0080802D */ daddu $s0, $a0, $zero
/* 78B988 802A1388 10A0000D */ beqz $a1, .L802A13C0
/* 78B98C 802A138C AFBF0014 */ sw $ra, 0x14($sp)
/* 78B990 802A1390 0C04760B */ jal func_8011D82C
/* 78B994 802A1394 24040001 */ addiu $a0, $zero, 1
/* 78B998 802A1398 0000202D */ daddu $a0, $zero, $zero
/* 78B99C 802A139C 0080282D */ daddu $a1, $a0, $zero
/* 78B9A0 802A13A0 0080302D */ daddu $a2, $a0, $zero
/* 78B9A4 802A13A4 0080382D */ daddu $a3, $a0, $zero
/* 78B9A8 802A13A8 3C038015 */ lui $v1, %hi(D_801512F0)
/* 78B9AC 802A13AC 8C6312F0 */ lw $v1, %lo(D_801512F0)($v1)
/* 78B9B0 802A13B0 24020001 */ addiu $v0, $zero, 1
/* 78B9B4 802A13B4 0C046F97 */ jal set_background_color_blend
/* 78B9B8 802A13B8 A0620000 */ sb $v0, ($v1)
/* 78B9BC 802A13BC AE000070 */ sw $zero, 0x70($s0)
.L802A13C0:
/* 78B9C0 802A13C0 0000202D */ daddu $a0, $zero, $zero
/* 78B9C4 802A13C4 0080282D */ daddu $a1, $a0, $zero
/* 78B9C8 802A13C8 92070073 */ lbu $a3, 0x73($s0)
/* 78B9CC 802A13CC 0C046F97 */ jal set_background_color_blend
/* 78B9D0 802A13D0 0080302D */ daddu $a2, $a0, $zero
/* 78B9D4 802A13D4 8E020070 */ lw $v0, 0x70($s0)
/* 78B9D8 802A13D8 2442000A */ addiu $v0, $v0, 0xa
/* 78B9DC 802A13DC AE020070 */ sw $v0, 0x70($s0)
/* 78B9E0 802A13E0 284200E6 */ slti $v0, $v0, 0xe6
/* 78B9E4 802A13E4 14400007 */ bnez $v0, .L802A1404
/* 78B9E8 802A13E8 0000102D */ daddu $v0, $zero, $zero
/* 78B9EC 802A13EC 0000202D */ daddu $a0, $zero, $zero
/* 78B9F0 802A13F0 0080282D */ daddu $a1, $a0, $zero
/* 78B9F4 802A13F4 0080302D */ daddu $a2, $a0, $zero
/* 78B9F8 802A13F8 0C046F97 */ jal set_background_color_blend
/* 78B9FC 802A13FC 240700E6 */ addiu $a3, $zero, 0xe6
/* 78BA00 802A1400 24020002 */ addiu $v0, $zero, 2
.L802A1404:
/* 78BA04 802A1404 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BA08 802A1408 8FB00010 */ lw $s0, 0x10($sp)
/* 78BA0C 802A140C 03E00008 */ jr $ra
/* 78BA10 802A1410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1414_78BA14
/* 78BA14 802A1414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BA18 802A1418 AFB00010 */ sw $s0, 0x10($sp)
/* 78BA1C 802A141C 0080802D */ daddu $s0, $a0, $zero
/* 78BA20 802A1420 10A00003 */ beqz $a1, .L802A1430
/* 78BA24 802A1424 AFBF0014 */ sw $ra, 0x14($sp)
/* 78BA28 802A1428 24020014 */ addiu $v0, $zero, 0x14
/* 78BA2C 802A142C AE020070 */ sw $v0, 0x70($s0)
.L802A1430:
/* 78BA30 802A1430 0000202D */ daddu $a0, $zero, $zero
/* 78BA34 802A1434 0080282D */ daddu $a1, $a0, $zero
/* 78BA38 802A1438 8E020070 */ lw $v0, 0x70($s0)
/* 78BA3C 802A143C 0080302D */ daddu $a2, $a0, $zero
/* 78BA40 802A1440 00023880 */ sll $a3, $v0, 2
/* 78BA44 802A1444 00E23821 */ addu $a3, $a3, $v0
/* 78BA48 802A1448 00073840 */ sll $a3, $a3, 1
/* 78BA4C 802A144C 0C046F97 */ jal set_background_color_blend
/* 78BA50 802A1450 30E700FE */ andi $a3, $a3, 0xfe
/* 78BA54 802A1454 8E020070 */ lw $v0, 0x70($s0)
/* 78BA58 802A1458 2442FFFF */ addiu $v0, $v0, -1
/* 78BA5C 802A145C 10400003 */ beqz $v0, .L802A146C
/* 78BA60 802A1460 AE020070 */ sw $v0, 0x70($s0)
/* 78BA64 802A1464 080A8521 */ j .L802A1484
/* 78BA68 802A1468 0000102D */ daddu $v0, $zero, $zero
.L802A146C:
/* 78BA6C 802A146C 0000202D */ daddu $a0, $zero, $zero
/* 78BA70 802A1470 0080282D */ daddu $a1, $a0, $zero
/* 78BA74 802A1474 0080302D */ daddu $a2, $a0, $zero
/* 78BA78 802A1478 0C046F97 */ jal set_background_color_blend
/* 78BA7C 802A147C 0080382D */ daddu $a3, $a0, $zero
/* 78BA80 802A1480 24020002 */ addiu $v0, $zero, 2
.L802A1484:
/* 78BA84 802A1484 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BA88 802A1488 8FB00010 */ lw $s0, 0x10($sp)
/* 78BA8C 802A148C 03E00008 */ jr $ra
/* 78BA90 802A1490 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78BA94
/* 78BA94 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BA98 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78BA9C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78BAA0 802A14A0 0C0B1EAF */ jal get_variable
/* 78BAA4 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78BAA8 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78BAAC 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78BAB0 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78BAB4 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78BAB8 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78BABC 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78BAC0 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78BAC4 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78BAC8 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78BACC 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78BAD0 802A14D0 0C098F3F */ jal set_animation
/* 78BAD4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78BAD8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78BADC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78BAE0 802A14E0 03E00008 */ jr $ra
/* 78BAE4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A14E8_78BAE8
/* 78BAE8 802A14E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BAEC 802A14EC AFBF0010 */ sw $ra, 0x10($sp)
/* 78BAF0 802A14F0 0C00EABB */ jal get_npc_unsafe
/* 78BAF4 802A14F4 24040064 */ addiu $a0, $zero, 0x64
/* 78BAF8 802A14F8 0040202D */ daddu $a0, $v0, $zero
/* 78BAFC 802A14FC 24030020 */ addiu $v1, $zero, 0x20
/* 78BB00 802A1500 A48300A8 */ sh $v1, 0xa8($a0)
/* 78BB04 802A1504 A48300A6 */ sh $v1, 0xa6($a0)
/* 78BB08 802A1508 8FBF0010 */ lw $ra, 0x10($sp)
/* 78BB0C 802A150C 24020002 */ addiu $v0, $zero, 2
/* 78BB10 802A1510 03E00008 */ jr $ra
/* 78BB14 802A1514 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,192 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_78BB18
/* 78BB18 802A1518 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 78BB1C 802A151C AFB1001C */ sw $s1, 0x1c($sp)
/* 78BB20 802A1520 0080882D */ daddu $s1, $a0, $zero
/* 78BB24 802A1524 AFBF0024 */ sw $ra, 0x24($sp)
/* 78BB28 802A1528 AFB20020 */ sw $s2, 0x20($sp)
/* 78BB2C 802A152C AFB00018 */ sw $s0, 0x18($sp)
/* 78BB30 802A1530 8E24000C */ lw $a0, 0xc($s1)
/* 78BB34 802A1534 54A00001 */ bnel $a1, $zero, .L802A153C
/* 78BB38 802A1538 AE200070 */ sw $zero, 0x70($s1)
.L802A153C:
/* 78BB3C 802A153C 24120001 */ addiu $s2, $zero, 1
/* 78BB40 802A1540 8E230070 */ lw $v1, 0x70($s1)
/* 78BB44 802A1544 8E300074 */ lw $s0, 0x74($s1)
/* 78BB48 802A1548 10720027 */ beq $v1, $s2, .L802A15E8
/* 78BB4C 802A154C 28620002 */ slti $v0, $v1, 2
/* 78BB50 802A1550 10400005 */ beqz $v0, .L802A1568
/* 78BB54 802A1554 24020002 */ addiu $v0, $zero, 2
/* 78BB58 802A1558 10600007 */ beqz $v1, .L802A1578
/* 78BB5C 802A155C 0000102D */ daddu $v0, $zero, $zero
/* 78BB60 802A1560 080A85EF */ j .L802A17BC
/* 78BB64 802A1564 00000000 */ nop
.L802A1568:
/* 78BB68 802A1568 10620091 */ beq $v1, $v0, .L802A17B0
/* 78BB6C 802A156C 0000102D */ daddu $v0, $zero, $zero
/* 78BB70 802A1570 080A85EF */ j .L802A17BC
/* 78BB74 802A1574 00000000 */ nop
.L802A1578:
/* 78BB78 802A1578 8C850000 */ lw $a1, ($a0)
/* 78BB7C 802A157C 0C0B1EAF */ jal get_variable
/* 78BB80 802A1580 0220202D */ daddu $a0, $s1, $zero
/* 78BB84 802A1584 0C00EABB */ jal get_npc_unsafe
/* 78BB88 802A1588 0040202D */ daddu $a0, $v0, $zero
/* 78BB8C 802A158C 3C01BFC0 */ lui $at, 0xbfc0
/* 78BB90 802A1590 44810000 */ mtc1 $at, $f0
/* 78BB94 802A1594 3C013CA3 */ lui $at, 0x3ca3
/* 78BB98 802A1598 3421D70A */ ori $at, $at, 0xd70a
/* 78BB9C 802A159C 44811000 */ mtc1 $at, $f2
/* 78BBA0 802A15A0 3C013F80 */ lui $at, 0x3f80
/* 78BBA4 802A15A4 44812000 */ mtc1 $at, $f4
/* 78BBA8 802A15A8 0040802D */ daddu $s0, $v0, $zero
/* 78BBAC 802A15AC AE300074 */ sw $s0, 0x74($s1)
/* 78BBB0 802A15B0 C6060038 */ lwc1 $f6, 0x38($s0)
/* 78BBB4 802A15B4 C608003C */ lwc1 $f8, 0x3c($s0)
/* 78BBB8 802A15B8 C60A0040 */ lwc1 $f10, 0x40($s0)
/* 78BBBC 802A15BC AE000010 */ sw $zero, 0x10($s0)
/* 78BBC0 802A15C0 AE00000C */ sw $zero, 0xc($s0)
/* 78BBC4 802A15C4 A600008E */ sh $zero, 0x8e($s0)
/* 78BBC8 802A15C8 E600001C */ swc1 $f0, 0x1c($s0)
/* 78BBCC 802A15CC E6020014 */ swc1 $f2, 0x14($s0)
/* 78BBD0 802A15D0 E6040018 */ swc1 $f4, 0x18($s0)
/* 78BBD4 802A15D4 E6060060 */ swc1 $f6, 0x60($s0)
/* 78BBD8 802A15D8 E6080064 */ swc1 $f8, 0x64($s0)
/* 78BBDC 802A15DC E60A0068 */ swc1 $f10, 0x68($s0)
/* 78BBE0 802A15E0 080A85EE */ j .L802A17B8
/* 78BBE4 802A15E4 AE320070 */ sw $s2, 0x70($s1)
.L802A15E8:
/* 78BBE8 802A15E8 C602001C */ lwc1 $f2, 0x1c($s0)
/* 78BBEC 802A15EC 44800000 */ mtc1 $zero, $f0
/* 78BBF0 802A15F0 00000000 */ nop
/* 78BBF4 802A15F4 4600103C */ c.lt.s $f2, $f0
/* 78BBF8 802A15F8 00000000 */ nop
/* 78BBFC 802A15FC 4500000D */ bc1f .L802A1634
/* 78BC00 802A1600 00000000 */ nop
/* 78BC04 802A1604 C6000010 */ lwc1 $f0, 0x10($s0)
/* 78BC08 802A1608 3C014008 */ lui $at, 0x4008
/* 78BC0C 802A160C 44811800 */ mtc1 $at, $f3
/* 78BC10 802A1610 44801000 */ mtc1 $zero, $f2
/* 78BC14 802A1614 46000021 */ cvt.d.s $f0, $f0
/* 78BC18 802A1618 46220000 */ add.d $f0, $f0, $f2
/* 78BC1C 802A161C 3C014220 */ lui $at, 0x4220
/* 78BC20 802A1620 44811000 */ mtc1 $at, $f2
/* 78BC24 802A1624 46200020 */ cvt.s.d $f0, $f0
/* 78BC28 802A1628 4600103C */ c.lt.s $f2, $f0
/* 78BC2C 802A162C 080A8598 */ j .L802A1660
/* 78BC30 802A1630 E6000010 */ swc1 $f0, 0x10($s0)
.L802A1634:
/* 78BC34 802A1634 C6000010 */ lwc1 $f0, 0x10($s0)
/* 78BC38 802A1638 3C014000 */ lui $at, 0x4000
/* 78BC3C 802A163C 44811800 */ mtc1 $at, $f3
/* 78BC40 802A1640 44801000 */ mtc1 $zero, $f2
/* 78BC44 802A1644 46000021 */ cvt.d.s $f0, $f0
/* 78BC48 802A1648 46220001 */ sub.d $f0, $f0, $f2
/* 78BC4C 802A164C 3C0141A0 */ lui $at, 0x41a0
/* 78BC50 802A1650 44811000 */ mtc1 $at, $f2
/* 78BC54 802A1654 46200020 */ cvt.s.d $f0, $f0
/* 78BC58 802A1658 4602003C */ c.lt.s $f0, $f2
/* 78BC5C 802A165C E6000010 */ swc1 $f0, 0x10($s0)
.L802A1660:
/* 78BC60 802A1660 45030001 */ bc1tl .L802A1668
/* 78BC64 802A1664 E6020010 */ swc1 $f2, 0x10($s0)
.L802A1668:
/* 78BC68 802A1668 C6000018 */ lwc1 $f0, 0x18($s0)
/* 78BC6C 802A166C 3C013FE8 */ lui $at, 0x3fe8
/* 78BC70 802A1670 44811800 */ mtc1 $at, $f3
/* 78BC74 802A1674 44801000 */ mtc1 $zero, $f2
/* 78BC78 802A1678 C604001C */ lwc1 $f4, 0x1c($s0)
/* 78BC7C 802A167C 46000021 */ cvt.d.s $f0, $f0
/* 78BC80 802A1680 46220000 */ add.d $f0, $f0, $f2
/* 78BC84 802A1684 C6020014 */ lwc1 $f2, 0x14($s0)
/* 78BC88 802A1688 3C014204 */ lui $at, 0x4204
/* 78BC8C 802A168C 44813000 */ mtc1 $at, $f6
/* 78BC90 802A1690 46022100 */ add.s $f4, $f4, $f2
/* 78BC94 802A1694 C602003C */ lwc1 $f2, 0x3c($s0)
/* 78BC98 802A1698 46200020 */ cvt.s.d $f0, $f0
/* 78BC9C 802A169C 4600303C */ c.lt.s $f6, $f0
/* 78BCA0 802A16A0 46041080 */ add.s $f2, $f2, $f4
/* 78BCA4 802A16A4 E6000018 */ swc1 $f0, 0x18($s0)
/* 78BCA8 802A16A8 E604001C */ swc1 $f4, 0x1c($s0)
/* 78BCAC 802A16AC 45000002 */ bc1f .L802A16B8
/* 78BCB0 802A16B0 E602003C */ swc1 $f2, 0x3c($s0)
/* 78BCB4 802A16B4 E6060018 */ swc1 $f6, 0x18($s0)
.L802A16B8:
/* 78BCB8 802A16B8 C602000C */ lwc1 $f2, 0xc($s0)
/* 78BCBC 802A16BC C6000018 */ lwc1 $f0, 0x18($s0)
/* 78BCC0 802A16C0 8E060010 */ lw $a2, 0x10($s0)
/* 78BCC4 802A16C4 46001080 */ add.s $f2, $f2, $f0
/* 78BCC8 802A16C8 C6000060 */ lwc1 $f0, 0x60($s0)
/* 78BCCC 802A16CC 26040038 */ addiu $a0, $s0, 0x38
/* 78BCD0 802A16D0 E602000C */ swc1 $f2, 0xc($s0)
/* 78BCD4 802A16D4 44071000 */ mfc1 $a3, $f2
/* 78BCD8 802A16D8 C6020068 */ lwc1 $f2, 0x68($s0)
/* 78BCDC 802A16DC 26050040 */ addiu $a1, $s0, 0x40
/* 78BCE0 802A16E0 E6000038 */ swc1 $f0, 0x38($s0)
/* 78BCE4 802A16E4 0C00A7E7 */ jal add_vec2D_polar
/* 78BCE8 802A16E8 E6020040 */ swc1 $f2, 0x40($s0)
/* 78BCEC 802A16EC 3C039249 */ lui $v1, 0x9249
/* 78BCF0 802A16F0 9602008E */ lhu $v0, 0x8e($s0)
/* 78BCF4 802A16F4 34632493 */ ori $v1, $v1, 0x2493
/* 78BCF8 802A16F8 00021400 */ sll $v0, $v0, 0x10
/* 78BCFC 802A16FC 00022403 */ sra $a0, $v0, 0x10
/* 78BD00 802A1700 00830018 */ mult $a0, $v1
/* 78BD04 802A1704 000217C3 */ sra $v0, $v0, 0x1f
/* 78BD08 802A1708 00004010 */ mfhi $t0
/* 78BD0C 802A170C 01041821 */ addu $v1, $t0, $a0
/* 78BD10 802A1710 000318C3 */ sra $v1, $v1, 3
/* 78BD14 802A1714 00621823 */ subu $v1, $v1, $v0
/* 78BD18 802A1718 000310C0 */ sll $v0, $v1, 3
/* 78BD1C 802A171C 00431023 */ subu $v0, $v0, $v1
/* 78BD20 802A1720 00021040 */ sll $v0, $v0, 1
/* 78BD24 802A1724 00822023 */ subu $a0, $a0, $v0
/* 78BD28 802A1728 00042400 */ sll $a0, $a0, 0x10
/* 78BD2C 802A172C 1480000A */ bnez $a0, .L802A1758
/* 78BD30 802A1730 00000000 */ nop
/* 78BD34 802A1734 3C0141F0 */ lui $at, 0x41f0
/* 78BD38 802A1738 44810000 */ mtc1 $at, $f0
/* 78BD3C 802A173C 00000000 */ nop
/* 78BD40 802A1740 E7A00010 */ swc1 $f0, 0x10($sp)
/* 78BD44 802A1744 8E050038 */ lw $a1, 0x38($s0)
/* 78BD48 802A1748 8E06003C */ lw $a2, 0x3c($s0)
/* 78BD4C 802A174C 8E070040 */ lw $a3, 0x40($s0)
/* 78BD50 802A1750 0C01BFBC */ jal func_8006FEF0
/* 78BD54 802A1754 0000202D */ daddu $a0, $zero, $zero
.L802A1758:
/* 78BD58 802A1758 9602008E */ lhu $v0, 0x8e($s0)
/* 78BD5C 802A175C 24420001 */ addiu $v0, $v0, 1
/* 78BD60 802A1760 A602008E */ sh $v0, 0x8e($s0)
/* 78BD64 802A1764 00021400 */ sll $v0, $v0, 0x10
/* 78BD68 802A1768 00021403 */ sra $v0, $v0, 0x10
/* 78BD6C 802A176C 28420029 */ slti $v0, $v0, 0x29
/* 78BD70 802A1770 14400005 */ bnez $v0, .L802A1788
/* 78BD74 802A1774 00000000 */ nop
/* 78BD78 802A1778 3C013F00 */ lui $at, 0x3f00
/* 78BD7C 802A177C 44810000 */ mtc1 $at, $f0
/* 78BD80 802A1780 00000000 */ nop
/* 78BD84 802A1784 E6000014 */ swc1 $f0, 0x14($s0)
.L802A1788:
/* 78BD88 802A1788 C602003C */ lwc1 $f2, 0x3c($s0)
/* 78BD8C 802A178C 3C014348 */ lui $at, 0x4348
/* 78BD90 802A1790 44810000 */ mtc1 $at, $f0
/* 78BD94 802A1794 00000000 */ nop
/* 78BD98 802A1798 4602003C */ c.lt.s $f0, $f2
/* 78BD9C 802A179C 00000000 */ nop
/* 78BDA0 802A17A0 45000005 */ bc1f .L802A17B8
/* 78BDA4 802A17A4 24020002 */ addiu $v0, $zero, 2
/* 78BDA8 802A17A8 080A85EE */ j .L802A17B8
/* 78BDAC 802A17AC AE220070 */ sw $v0, 0x70($s1)
.L802A17B0:
/* 78BDB0 802A17B0 080A85EF */ j .L802A17BC
/* 78BDB4 802A17B4 24020002 */ addiu $v0, $zero, 2
.L802A17B8:
/* 78BDB8 802A17B8 0000102D */ daddu $v0, $zero, $zero
.L802A17BC:
/* 78BDBC 802A17BC 8FBF0024 */ lw $ra, 0x24($sp)
/* 78BDC0 802A17C0 8FB20020 */ lw $s2, 0x20($sp)
/* 78BDC4 802A17C4 8FB1001C */ lw $s1, 0x1c($sp)
/* 78BDC8 802A17C8 8FB00018 */ lw $s0, 0x18($sp)
/* 78BDCC 802A17CC 03E00008 */ jr $ra
/* 78BDD0 802A17D0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,33 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A17D4_78BDD4
/* 78BDD4 802A17D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BDD8 802A17D8 AFB00010 */ sw $s0, 0x10($sp)
/* 78BDDC 802A17DC 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
/* 78BDE0 802A17E0 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
/* 78BDE4 802A17E4 AFBF0014 */ sw $ra, 0x14($sp)
/* 78BDE8 802A17E8 82020210 */ lb $v0, 0x210($s0)
/* 78BDEC 802A17EC 10400005 */ beqz $v0, .L802A1804
/* 78BDF0 802A17F0 00000000 */ nop
/* 78BDF4 802A17F4 86040436 */ lh $a0, 0x436($s0)
/* 78BDF8 802A17F8 A2000211 */ sb $zero, 0x211($s0)
/* 78BDFC 802A17FC 0C011E26 */ jal func_80047898
/* 78BE00 802A1800 A2000210 */ sb $zero, 0x210($s0)
.L802A1804:
/* 78BE04 802A1804 82020216 */ lb $v0, 0x216($s0)
/* 78BE08 802A1808 10400006 */ beqz $v0, .L802A1824
/* 78BE0C 802A180C 00000000 */ nop
/* 78BE10 802A1810 8E020440 */ lw $v0, 0x440($s0)
/* 78BE14 802A1814 A2000217 */ sb $zero, 0x217($s0)
/* 78BE18 802A1818 A2000216 */ sb $zero, 0x216($s0)
/* 78BE1C 802A181C 8C42000C */ lw $v0, 0xc($v0)
/* 78BE20 802A1820 AC40003C */ sw $zero, 0x3c($v0)
.L802A1824:
/* 78BE24 802A1824 0C099DDF */ jal func_8026777C
/* 78BE28 802A1828 00000000 */ nop
/* 78BE2C 802A182C 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BE30 802A1830 8FB00010 */ lw $s0, 0x10($sp)
/* 78BE34 802A1834 24020002 */ addiu $v0, $zero, 2
/* 78BE38 802A1838 03E00008 */ jr $ra
/* 78BE3C 802A183C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1840_78BE40
/* 78BE40 802A1840 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BE44 802A1844 AFBF0014 */ sw $ra, 0x14($sp)
/* 78BE48 802A1848 AFB00010 */ sw $s0, 0x10($sp)
/* 78BE4C 802A184C 8C82000C */ lw $v0, 0xc($a0)
/* 78BE50 802A1850 0C0B1EAF */ jal get_variable
/* 78BE54 802A1854 8C450000 */ lw $a1, ($v0)
/* 78BE58 802A1858 3C038011 */ lui $v1, %hi(gPlayerData)
/* 78BE5C 802A185C 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 78BE60 802A1860 80640002 */ lb $a0, 2($v1)
/* 78BE64 802A1864 80650003 */ lb $a1, 3($v1)
/* 78BE68 802A1868 00822021 */ addu $a0, $a0, $v0
/* 78BE6C 802A186C 00A4102A */ slt $v0, $a1, $a0
/* 78BE70 802A1870 10400002 */ beqz $v0, .L802A187C
/* 78BE74 802A1874 0060802D */ daddu $s0, $v1, $zero
/* 78BE78 802A1878 00A0202D */ daddu $a0, $a1, $zero
.L802A187C:
/* 78BE7C 802A187C A2040002 */ sb $a0, 2($s0)
/* 78BE80 802A1880 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BE84 802A1884 8FB00010 */ lw $s0, 0x10($sp)
/* 78BE88 802A1888 24020002 */ addiu $v0, $zero, 2
/* 78BE8C 802A188C 03E00008 */ jr $ra
/* 78BE90 802A1890 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1894_78BE94
/* 78BE94 802A1894 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BE98 802A1898 AFBF0014 */ sw $ra, 0x14($sp)
/* 78BE9C 802A189C AFB00010 */ sw $s0, 0x10($sp)
/* 78BEA0 802A18A0 8C82000C */ lw $v0, 0xc($a0)
/* 78BEA4 802A18A4 0C0B1EAF */ jal get_variable
/* 78BEA8 802A18A8 8C450000 */ lw $a1, ($v0)
/* 78BEAC 802A18AC 3C038011 */ lui $v1, %hi(gPlayerData)
/* 78BEB0 802A18B0 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 78BEB4 802A18B4 80640005 */ lb $a0, 5($v1)
/* 78BEB8 802A18B8 80650006 */ lb $a1, 6($v1)
/* 78BEBC 802A18BC 00822021 */ addu $a0, $a0, $v0
/* 78BEC0 802A18C0 00A4102A */ slt $v0, $a1, $a0
/* 78BEC4 802A18C4 10400002 */ beqz $v0, .L802A18D0
/* 78BEC8 802A18C8 0060802D */ daddu $s0, $v1, $zero
/* 78BECC 802A18CC 00A0202D */ daddu $a0, $a1, $zero
.L802A18D0:
/* 78BED0 802A18D0 A2040005 */ sb $a0, 5($s0)
/* 78BED4 802A18D4 8FBF0014 */ lw $ra, 0x14($sp)
/* 78BED8 802A18D8 8FB00010 */ lw $s0, 0x10($sp)
/* 78BEDC 802A18DC 24020002 */ addiu $v0, $zero, 2
/* 78BEE0 802A18E0 03E00008 */ jr $ra
/* 78BEE4 802A18E4 27BD0018 */ addiu $sp, $sp, 0x18

Some files were not shown because too many files have changed in this diff Show More