mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
Item naming + disasm
This commit is contained in:
parent
a19de2273e
commit
9ba2da5977
6
asm/data/battle/item/coconut_72F960.data.s
Normal file
6
asm/data/battle/item/coconut_72F960.data.s
Normal file
File diff suppressed because one or more lines are too long
9
asm/data/battle/item/dizzy_dial_727CE0.data.s
Normal file
9
asm/data/battle/item/dizzy_dial_727CE0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/dried_shroom_71D010.data.s
Normal file
6
asm/data/battle/item/dried_shroom_71D010.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/dusty_hammer_717C10.data.s
Normal file
6
asm/data/battle/item/dusty_hammer_717C10.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/egg_missile_7291D0.data.s
Normal file
6
asm/data/battle/item/egg_missile_7291D0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/electro_pop_730AE0.data.s
Normal file
6
asm/data/battle/item/electro_pop_730AE0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/fire_flower_717060.data.s
Normal file
6
asm/data/battle/item/fire_flower_717060.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/food_733700.data.s
Normal file
6
asm/data/battle/item/food_733700.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/fright_jar_72BC60.data.s
Normal file
6
asm/data/battle/item/fright_jar_72BC60.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/hustle_drink_726240.data.s
Normal file
6
asm/data/battle/item/hustle_drink_726240.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/insecticide_herb_72AB70.data.s
Normal file
6
asm/data/battle/item/insecticide_herb_72AB70.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/life_shroom_72EA20.data.s
Normal file
6
asm/data/battle/item/life_shroom_72EA20.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/mushroom_715E50.data.s
Normal file
6
asm/data/battle/item/mushroom_715E50.data.s
Normal file
File diff suppressed because one or more lines are too long
15
asm/data/battle/item/mystery_72CF00.data.s
Normal file
15
asm/data/battle/item/mystery_72CF00.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/pebble_719BB0.data.s
Normal file
6
asm/data/battle/item/pebble_719BB0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/please_come_back_728820.data.s
Normal file
6
asm/data/battle/item/please_come_back_728820.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/pow_block_718BF0.data.s
Normal file
6
asm/data/battle/item/pow_block_718BF0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/repel_gel_72DE00.data.s
Normal file
6
asm/data/battle/item/repel_gel_72DE00.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/shooting_star_71DCC0.data.s
Normal file
6
asm/data/battle/item/shooting_star_71DCC0.data.s
Normal file
File diff suppressed because one or more lines are too long
15
asm/data/battle/item/sleepy_sheep_71EFC0.data.s
Normal file
15
asm/data/battle/item/sleepy_sheep_71EFC0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/snowman_doll_71C270.data.s
Normal file
6
asm/data/battle/item/snowman_doll_71C270.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/stone_cap_721970.data.s
Normal file
6
asm/data/battle/item/stone_cap_721970.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/stop_watch_727120.data.s
Normal file
6
asm/data/battle/item/stop_watch_727120.data.s
Normal file
File diff suppressed because one or more lines are too long
18
asm/data/battle/item/strange_cake_731EA0.data.s
Normal file
18
asm/data/battle/item/strange_cake_731EA0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/super_soda_725210.data.s
Normal file
6
asm/data/battle/item/super_soda_725210.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/tasty_tonic_7222D0.data.s
Normal file
6
asm/data/battle/item/tasty_tonic_7222D0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/thunder_bolt_722FE0.data.s
Normal file
6
asm/data/battle/item/thunder_bolt_722FE0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/thunder_rage_71B640.data.s
Normal file
6
asm/data/battle/item/thunder_rage_71B640.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/ultra_shroom_723AB0.data.s
Normal file
6
asm/data/battle/item/ultra_shroom_723AB0.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/battle/item/volt_shroom_71AA70.data.s
Normal file
6
asm/data/battle/item/volt_shroom_71AA70.data.s
Normal file
File diff suppressed because one or more lines are too long
6
asm/data/code_724570.data.s
Normal file
6
asm/data/code_724570.data.s
Normal file
File diff suppressed because one or more lines are too long
125
asm/nonmatchings/battle/item/coconut_72F720/func_802A1000_72F720.s
generated
Normal file
125
asm/nonmatchings/battle/item/coconut_72F720/func_802A1000_72F720.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_72F720
|
||||||
|
/* 72F720 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 72F724 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 72F728 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 72F72C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 72F730 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 72F734 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72F738 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 72F73C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 72F740 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 72F744 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 72F748 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 72F74C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 72F750 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 72F754 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 72F758 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 72F75C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 72F760 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 72F764 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 72F768 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 72F76C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 72F770 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72F774 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 72F778 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 72F77C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 72F780 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 72F784 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 72F788 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 72F78C 802A106C 00000000 */ nop
|
||||||
|
/* 72F790 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72F794 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72F798 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 72F79C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 72F7A0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 72F7A4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 72F7A8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 72F7AC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 72F7B0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 72F7B4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 72F7B8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 72F7BC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 72F7C0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 72F7C4 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 72F7C8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72F7CC 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 72F7D0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 72F7D4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 72F7D8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 72F7DC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 72F7E0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 72F7E4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 72F7E8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 72F7EC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 72F7F0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 72F7F4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72F7F8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72F7FC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 72F800 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 72F804 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 72F808 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 72F80C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 72F810 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 72F814 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72F818 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72F81C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72F820 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 72F824 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 72F828 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 72F82C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 72F830 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 72F834 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 72F838 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 72F83C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 72F840 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 72F844 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 72F848 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 72F84C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 72F850 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72F854 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 72F858 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72F85C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 72F860 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 72F864 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 72F868 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 72F86C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 72F870 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 72F874 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72F878 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72F87C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72F880 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 72F884 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 72F888 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 72F88C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 72F890 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 72F894 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 72F898 802A1178 00000000 */ nop
|
||||||
|
/* 72F89C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 72F8A0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 72F8A4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 72F8A8 802A1188 3C01802A */ lui $at, %hi(D_802A1E80)
|
||||||
|
/* 72F8AC 802A118C AC241E80 */ sw $a0, %lo(D_802A1E80)($at)
|
||||||
|
/* 72F8B0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 72F8B4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 72F8B8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 72F8BC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 72F8C0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 72F8C4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 72F8C8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 72F8CC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 72F8D0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 72F8D4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 72F8D8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 72F8DC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 72F8E0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 72F8E4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 72F8E8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72F8EC 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 72F8F0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
32
asm/nonmatchings/battle/item/coconut_72F720/func_802A11D4_72F8F4.s
generated
Normal file
32
asm/nonmatchings/battle/item/coconut_72F720/func_802A11D4_72F8F4.s
generated
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_72F8F4
|
||||||
|
/* 72F8F4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72F8F8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 72F8FC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 72F900 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72F904 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72F908 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 72F90C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 72F910 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72F914 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 72F918 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 72F91C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 72F920 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72F924 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72F928 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 72F92C 802A120C 00000000 */ nop
|
||||||
|
/* 72F930 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 72F934 802A1214 00000000 */ nop
|
||||||
|
/* 72F938 802A1218 3C04802A */ lui $a0, %hi(D_802A1E80)
|
||||||
|
/* 72F93C 802A121C 8C841E80 */ lw $a0, %lo(D_802A1E80)($a0)
|
||||||
|
/* 72F940 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 72F944 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 72F948 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72F94C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72F950 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72F954 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 72F958 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
||||||
|
/* 72F95C 802A123C 00000000 */ nop
|
125
asm/nonmatchings/battle/item/dizzy_dial_727910/func_802A1000_727910.s
generated
Normal file
125
asm/nonmatchings/battle/item/dizzy_dial_727910/func_802A1000_727910.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_727910
|
||||||
|
/* 727910 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 727914 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 727918 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 72791C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 727920 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 727924 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 727928 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 72792C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 727930 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 727934 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 727938 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 72793C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 727940 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 727944 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 727948 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 72794C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 727950 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 727954 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 727958 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 72795C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 727960 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 727964 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 727968 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 72796C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 727970 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 727974 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 727978 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 72797C 802A106C 00000000 */ nop
|
||||||
|
/* 727980 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 727984 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 727988 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 72798C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 727990 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 727994 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 727998 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 72799C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 7279A0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 7279A4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 7279A8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 7279AC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 7279B0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 7279B4 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 7279B8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 7279BC 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 7279C0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 7279C4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 7279C8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 7279CC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 7279D0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 7279D4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 7279D8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 7279DC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 7279E0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 7279E4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 7279E8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 7279EC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 7279F0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 7279F4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 7279F8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 7279FC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 727A00 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 727A04 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 727A08 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 727A0C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 727A10 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 727A14 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 727A18 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 727A1C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 727A20 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 727A24 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 727A28 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 727A2C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 727A30 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 727A34 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 727A38 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 727A3C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 727A40 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 727A44 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 727A48 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 727A4C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 727A50 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 727A54 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 727A58 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 727A5C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 727A60 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 727A64 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 727A68 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 727A6C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 727A70 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 727A74 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 727A78 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 727A7C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 727A80 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 727A84 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 727A88 802A1178 00000000 */ nop
|
||||||
|
/* 727A8C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 727A90 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 727A94 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 727A98 802A1188 3C01802A */ lui $at, %hi(D_802A1CD4)
|
||||||
|
/* 727A9C 802A118C AC241CD4 */ sw $a0, %lo(D_802A1CD4)($at)
|
||||||
|
/* 727AA0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 727AA4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 727AA8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 727AAC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 727AB0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 727AB4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 727AB8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 727ABC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 727AC0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 727AC4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 727AC8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 727ACC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 727AD0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 727AD4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 727AD8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 727ADC 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 727AE0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/dizzy_dial_727910/func_802A11D4_727AE4.s
generated
Normal file
31
asm/nonmatchings/battle/item/dizzy_dial_727910/func_802A11D4_727AE4.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_727AE4
|
||||||
|
/* 727AE4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 727AE8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 727AEC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 727AF0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 727AF4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 727AF8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 727AFC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 727B00 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 727B04 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 727B08 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 727B0C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 727B10 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 727B14 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 727B18 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 727B1C 802A120C 00000000 */ nop
|
||||||
|
/* 727B20 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 727B24 802A1214 00000000 */ nop
|
||||||
|
/* 727B28 802A1218 3C04802A */ lui $a0, %hi(D_802A1CD4)
|
||||||
|
/* 727B2C 802A121C 8C841CD4 */ lw $a0, %lo(D_802A1CD4)($a0)
|
||||||
|
/* 727B30 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 727B34 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 727B38 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 727B3C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 727B40 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 727B44 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 727B48 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
17
asm/nonmatchings/battle/item/dizzy_dial_727910/func_802A123C_727B4C.s
generated
Normal file
17
asm/nonmatchings/battle/item/dizzy_dial_727910/func_802A123C_727B4C.s
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_727B4C
|
||||||
|
/* 727B4C 802A123C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||||
|
/* 727B50 802A1240 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 727B54 802A1244 0080282D */ daddu $a1, $a0, $zero
|
||||||
|
/* 727B58 802A1248 24060140 */ addiu $a2, $zero, 0x140
|
||||||
|
/* 727B5C 802A124C 3C014320 */ lui $at, 0x4320
|
||||||
|
/* 727B60 802A1250 44810000 */ mtc1 $at, $f0
|
||||||
|
/* 727B64 802A1254 240700F0 */ addiu $a3, $zero, 0xf0
|
||||||
|
/* 727B68 802A1258 AFBF0018 */ sw $ra, 0x18($sp)
|
||||||
|
/* 727B6C 802A125C 0C04E362 */ jal func_80138D88
|
||||||
|
/* 727B70 802A1260 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||||
|
/* 727B74 802A1264 8FBF0018 */ lw $ra, 0x18($sp)
|
||||||
|
/* 727B78 802A1268 03E00008 */ jr $ra
|
||||||
|
/* 727B7C 802A126C 27BD0020 */ addiu $sp, $sp, 0x20
|
96
asm/nonmatchings/battle/item/dizzy_dial_727910/func_802A1270_727B80.s
generated
Normal file
96
asm/nonmatchings/battle/item/dizzy_dial_727910/func_802A1270_727B80.s
generated
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1270_727B80
|
||||||
|
/* 727B80 802A1270 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||||
|
/* 727B84 802A1274 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 727B88 802A1278 0080802D */ daddu $s0, $a0, $zero
|
||||||
|
/* 727B8C 802A127C AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 727B90 802A1280 3C11800B */ lui $s1, %hi(D_800B22D8)
|
||||||
|
/* 727B94 802A1284 263122D8 */ addiu $s1, $s1, %lo(D_800B22D8)
|
||||||
|
/* 727B98 802A1288 10A00002 */ beqz $a1, .L802A1294
|
||||||
|
/* 727B9C 802A128C AFBF0020 */ sw $ra, 0x20($sp)
|
||||||
|
/* 727BA0 802A1290 AE000070 */ sw $zero, 0x70($s0)
|
||||||
|
.L802A1294:
|
||||||
|
/* 727BA4 802A1294 8E030070 */ lw $v1, 0x70($s0)
|
||||||
|
/* 727BA8 802A1298 10600005 */ beqz $v1, .L802A12B0
|
||||||
|
/* 727BAC 802A129C 24020001 */ addiu $v0, $zero, 1
|
||||||
|
/* 727BB0 802A12A0 10620010 */ beq $v1, $v0, .L802A12E4
|
||||||
|
/* 727BB4 802A12A4 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
/* 727BB8 802A12A8 080A84EF */ j .L802A13BC
|
||||||
|
/* 727BBC 802A12AC 00000000 */ nop
|
||||||
|
.L802A12B0:
|
||||||
|
/* 727BC0 802A12B0 24042033 */ addiu $a0, $zero, 0x2033
|
||||||
|
/* 727BC4 802A12B4 AE000074 */ sw $zero, 0x74($s0)
|
||||||
|
/* 727BC8 802A12B8 0C05272D */ jal play_sound
|
||||||
|
/* 727BCC 802A12BC AE000078 */ sw $zero, 0x78($s0)
|
||||||
|
/* 727BD0 802A12C0 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 727BD4 802A12C4 3C05802A */ lui $a1, %hi(func_802A123C_727B4C)
|
||||||
|
/* 727BD8 802A12C8 24A5123C */ addiu $a1, $a1, %lo(func_802A123C_727B4C)
|
||||||
|
/* 727BDC 802A12CC 0C048C8F */ jal bind_dynamic_entity_7
|
||||||
|
/* 727BE0 802A12D0 A620001C */ sh $zero, 0x1c($s1)
|
||||||
|
/* 727BE4 802A12D4 3C01802A */ lui $at, %hi(D_802A1CD0)
|
||||||
|
/* 727BE8 802A12D8 AC221CD0 */ sw $v0, %lo(D_802A1CD0)($at)
|
||||||
|
/* 727BEC 802A12DC 24020001 */ addiu $v0, $zero, 1
|
||||||
|
/* 727BF0 802A12E0 AE020070 */ sw $v0, 0x70($s0)
|
||||||
|
.L802A12E4:
|
||||||
|
/* 727BF4 802A12E4 96220000 */ lhu $v0, ($s1)
|
||||||
|
/* 727BF8 802A12E8 34420008 */ ori $v0, $v0, 8
|
||||||
|
/* 727BFC 802A12EC A6220000 */ sh $v0, ($s1)
|
||||||
|
/* 727C00 802A12F0 C6000074 */ lwc1 $f0, 0x74($s0)
|
||||||
|
/* 727C04 802A12F4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 727C08 802A12F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 727C0C 802A12FC 44800000 */ mtc1 $zero, $f0
|
||||||
|
/* 727C10 802A1300 3C013F80 */ lui $at, 0x3f80
|
||||||
|
/* 727C14 802A1304 44811000 */ mtc1 $at, $f2
|
||||||
|
/* 727C18 802A1308 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 727C1C 802A130C 26240194 */ addiu $a0, $s1, 0x194
|
||||||
|
/* 727C20 802A1310 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||||
|
/* 727C24 802A1314 0C019EC8 */ jal guRotateF
|
||||||
|
/* 727C28 802A1318 00C0382D */ daddu $a3, $a2, $zero
|
||||||
|
/* 727C2C 802A131C 8E020078 */ lw $v0, 0x78($s0)
|
||||||
|
/* 727C30 802A1320 3C0140C9 */ lui $at, 0x40c9
|
||||||
|
/* 727C34 802A1324 34210FD0 */ ori $at, $at, 0xfd0
|
||||||
|
/* 727C38 802A1328 44810000 */ mtc1 $at, $f0
|
||||||
|
/* 727C3C 802A132C 2442005A */ addiu $v0, $v0, 0x5a
|
||||||
|
/* 727C40 802A1330 44826000 */ mtc1 $v0, $f12
|
||||||
|
/* 727C44 802A1334 00000000 */ nop
|
||||||
|
/* 727C48 802A1338 46806320 */ cvt.s.w $f12, $f12
|
||||||
|
/* 727C4C 802A133C 46006302 */ mul.s $f12, $f12, $f0
|
||||||
|
/* 727C50 802A1340 00000000 */ nop
|
||||||
|
/* 727C54 802A1344 3C0143B4 */ lui $at, 0x43b4
|
||||||
|
/* 727C58 802A1348 44810000 */ mtc1 $at, $f0
|
||||||
|
/* 727C5C 802A134C 0C00A85B */ jal sin_rad
|
||||||
|
/* 727C60 802A1350 46006303 */ div.s $f12, $f12, $f0
|
||||||
|
/* 727C64 802A1354 3C013FF0 */ lui $at, 0x3ff0
|
||||||
|
/* 727C68 802A1358 44811800 */ mtc1 $at, $f3
|
||||||
|
/* 727C6C 802A135C 44801000 */ mtc1 $zero, $f2
|
||||||
|
/* 727C70 802A1360 46000021 */ cvt.d.s $f0, $f0
|
||||||
|
/* 727C74 802A1364 46201081 */ sub.d $f2, $f2, $f0
|
||||||
|
/* 727C78 802A1368 3C01802A */ lui $at, %hi(D_802A1CC0_7285D0)
|
||||||
|
/* 727C7C 802A136C D4201CC0 */ ldc1 $f0, %lo(D_802A1CC0_7285D0)($at)
|
||||||
|
/* 727C80 802A1370 46201082 */ mul.d $f2, $f2, $f0
|
||||||
|
/* 727C84 802A1374 00000000 */ nop
|
||||||
|
/* 727C88 802A1378 8E020078 */ lw $v0, 0x78($s0)
|
||||||
|
/* 727C8C 802A137C 24420001 */ addiu $v0, $v0, 1
|
||||||
|
/* 727C90 802A1380 46221080 */ add.d $f2, $f2, $f2
|
||||||
|
/* 727C94 802A1384 AE020078 */ sw $v0, 0x78($s0)
|
||||||
|
/* 727C98 802A1388 2842005B */ slti $v0, $v0, 0x5b
|
||||||
|
/* 727C9C 802A138C 4620110D */ trunc.w.d $f4, $f2
|
||||||
|
/* 727CA0 802A1390 E6040074 */ swc1 $f4, 0x74($s0)
|
||||||
|
/* 727CA4 802A1394 54400009 */ bnel $v0, $zero, .L802A13BC
|
||||||
|
/* 727CA8 802A1398 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
/* 727CAC 802A139C 3C04802A */ lui $a0, %hi(D_802A1CD0)
|
||||||
|
/* 727CB0 802A13A0 8C841CD0 */ lw $a0, %lo(D_802A1CD0)($a0)
|
||||||
|
/* 727CB4 802A13A4 96220000 */ lhu $v0, ($s1)
|
||||||
|
/* 727CB8 802A13A8 A620001C */ sh $zero, 0x1c($s1)
|
||||||
|
/* 727CBC 802A13AC 3042FFF7 */ andi $v0, $v0, 0xfff7
|
||||||
|
/* 727CC0 802A13B0 0C048D70 */ jal func_801235C0
|
||||||
|
/* 727CC4 802A13B4 A6220000 */ sh $v0, ($s1)
|
||||||
|
/* 727CC8 802A13B8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
.L802A13BC:
|
||||||
|
/* 727CCC 802A13BC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||||
|
/* 727CD0 802A13C0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 727CD4 802A13C4 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 727CD8 802A13C8 03E00008 */ jr $ra
|
||||||
|
/* 727CDC 802A13CC 27BD0028 */ addiu $sp, $sp, 0x28
|
125
asm/nonmatchings/battle/item/dried_shroom_71CCE0/func_802A1000_71CCE0.s
generated
Normal file
125
asm/nonmatchings/battle/item/dried_shroom_71CCE0/func_802A1000_71CCE0.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_71CCE0
|
||||||
|
/* 71CCE0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 71CCE4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 71CCE8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 71CCEC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 71CCF0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 71CCF4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 71CCF8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 71CCFC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 71CD00 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 71CD04 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 71CD08 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 71CD0C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 71CD10 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 71CD14 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 71CD18 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 71CD1C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 71CD20 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 71CD24 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 71CD28 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 71CD2C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 71CD30 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 71CD34 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 71CD38 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 71CD3C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 71CD40 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 71CD44 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 71CD48 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 71CD4C 802A106C 00000000 */ nop
|
||||||
|
/* 71CD50 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 71CD54 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 71CD58 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 71CD5C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 71CD60 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 71CD64 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 71CD68 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 71CD6C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 71CD70 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 71CD74 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 71CD78 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 71CD7C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 71CD80 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 71CD84 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 71CD88 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 71CD8C 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 71CD90 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 71CD94 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 71CD98 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 71CD9C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 71CDA0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 71CDA4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 71CDA8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 71CDAC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 71CDB0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 71CDB4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 71CDB8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 71CDBC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 71CDC0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 71CDC4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 71CDC8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 71CDCC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 71CDD0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 71CDD4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 71CDD8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 71CDDC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 71CDE0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 71CDE4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 71CDE8 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 71CDEC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 71CDF0 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 71CDF4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 71CDF8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 71CDFC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 71CE00 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 71CE04 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 71CE08 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 71CE0C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 71CE10 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 71CE14 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 71CE18 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 71CE1C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 71CE20 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 71CE24 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 71CE28 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 71CE2C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 71CE30 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 71CE34 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 71CE38 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 71CE3C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 71CE40 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 71CE44 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 71CE48 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 71CE4C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 71CE50 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 71CE54 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 71CE58 802A1178 00000000 */ nop
|
||||||
|
/* 71CE5C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 71CE60 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 71CE64 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 71CE68 802A1188 3C01802A */ lui $at, %hi(D_802A1A90)
|
||||||
|
/* 71CE6C 802A118C AC241A90 */ sw $a0, %lo(D_802A1A90)($at)
|
||||||
|
/* 71CE70 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 71CE74 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 71CE78 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 71CE7C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 71CE80 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 71CE84 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 71CE88 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 71CE8C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 71CE90 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 71CE94 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 71CE98 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 71CE9C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 71CEA0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 71CEA4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 71CEA8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 71CEAC 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 71CEB0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/dried_shroom_71CCE0/func_802A11D4_71CEB4.s
generated
Normal file
31
asm/nonmatchings/battle/item/dried_shroom_71CCE0/func_802A11D4_71CEB4.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_71CEB4
|
||||||
|
/* 71CEB4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 71CEB8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 71CEBC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 71CEC0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 71CEC4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 71CEC8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 71CECC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 71CED0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 71CED4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 71CED8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 71CEDC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 71CEE0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 71CEE4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 71CEE8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 71CEEC 802A120C 00000000 */ nop
|
||||||
|
/* 71CEF0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 71CEF4 802A1214 00000000 */ nop
|
||||||
|
/* 71CEF8 802A1218 3C04802A */ lui $a0, %hi(D_802A1A90)
|
||||||
|
/* 71CEFC 802A121C 8C841A90 */ lw $a0, %lo(D_802A1A90)($a0)
|
||||||
|
/* 71CF00 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 71CF04 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 71CF08 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 71CF0C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 71CF10 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 71CF14 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 71CF18 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
52
asm/nonmatchings/battle/item/dried_shroom_71CCE0/func_802A123C_71CF1C.s
generated
Normal file
52
asm/nonmatchings/battle/item/dried_shroom_71CCE0/func_802A123C_71CF1C.s
generated
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_71CF1C
|
||||||
|
/* 71CF1C 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 71CF20 802A1240 AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 71CF24 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 71CF28 802A1248 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 71CF2C 802A124C AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 71CF30 802A1250 AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 71CF34 802A1254 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 71CF38 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 71CF3C 802A125C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 71CF40 802A1260 0C0B1EAF */ jal get_variable
|
||||||
|
/* 71CF44 802A1264 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 71CF48 802A1268 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 71CF4C 802A126C 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 71CF50 802A1270 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 71CF54 802A1274 0C0B1EAF */ jal get_variable
|
||||||
|
/* 71CF58 802A1278 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 71CF5C 802A127C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 71CF60 802A1280 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 71CF64 802A1284 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 71CF68 802A1288 0C0B1EAF */ jal get_variable
|
||||||
|
/* 71CF6C 802A128C 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 71CF70 802A1290 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 71CF74 802A1294 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 71CF78 802A1298 0C0B1EAF */ jal get_variable
|
||||||
|
/* 71CF7C 802A129C 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 71CF80 802A12A0 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 71CF84 802A12A4 00000000 */ nop
|
||||||
|
/* 71CF88 802A12A8 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 71CF8C 802A12AC 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 71CF90 802A12B0 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 71CF94 802A12B4 00000000 */ nop
|
||||||
|
/* 71CF98 802A12B8 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 71CF9C 802A12BC 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 71CFA0 802A12C0 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 71CFA4 802A12C4 00000000 */ nop
|
||||||
|
/* 71CFA8 802A12C8 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 71CFAC 802A12CC 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 71CFB0 802A12D0 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 71CFB4 802A12D4 0C01C424 */ jal func_80071090
|
||||||
|
/* 71CFB8 802A12D8 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 71CFBC 802A12DC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 71CFC0 802A12E0 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 71CFC4 802A12E4 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 71CFC8 802A12E8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 71CFCC 802A12EC 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 71CFD0 802A12F0 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 71CFD4 802A12F4 03E00008 */ jr $ra
|
||||||
|
/* 71CFD8 802A12F8 27BD0030 */ addiu $sp, $sp, 0x30
|
18
asm/nonmatchings/battle/item/dried_shroom_71CCE0/func_802A12FC_71CFDC.s
generated
Normal file
18
asm/nonmatchings/battle/item/dried_shroom_71CCE0/func_802A12FC_71CFDC.s
generated
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A12FC_71CFDC
|
||||||
|
/* 71CFDC 802A12FC 3C048011 */ lui $a0, %hi(gPlayerData)
|
||||||
|
/* 71CFE0 802A1300 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
|
||||||
|
/* 71CFE4 802A1304 90820002 */ lbu $v0, 2($a0)
|
||||||
|
/* 71CFE8 802A1308 80830003 */ lb $v1, 3($a0)
|
||||||
|
/* 71CFEC 802A130C 24420001 */ addiu $v0, $v0, 1
|
||||||
|
/* 71CFF0 802A1310 A0820002 */ sb $v0, 2($a0)
|
||||||
|
/* 71CFF4 802A1314 00021600 */ sll $v0, $v0, 0x18
|
||||||
|
/* 71CFF8 802A1318 00021603 */ sra $v0, $v0, 0x18
|
||||||
|
/* 71CFFC 802A131C 0062182A */ slt $v1, $v1, $v0
|
||||||
|
/* 71D000 802A1320 90820003 */ lbu $v0, 3($a0)
|
||||||
|
/* 71D004 802A1324 54600001 */ bnel $v1, $zero, .L802A132C
|
||||||
|
/* 71D008 802A1328 A0820002 */ sb $v0, 2($a0)
|
||||||
|
.L802A132C:
|
||||||
|
/* 71D00C 802A132C 03E00008 */ jr $ra
|
125
asm/nonmatchings/battle/item/dusty_hammer_7179D0/func_802A1000_7179D0.s
generated
Normal file
125
asm/nonmatchings/battle/item/dusty_hammer_7179D0/func_802A1000_7179D0.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_7179D0
|
||||||
|
/* 7179D0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 7179D4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 7179D8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 7179DC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 7179E0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 7179E4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 7179E8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 7179EC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 7179F0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 7179F4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 7179F8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 7179FC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 717A00 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 717A04 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 717A08 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 717A0C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 717A10 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 717A14 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 717A18 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 717A1C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 717A20 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 717A24 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 717A28 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 717A2C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 717A30 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 717A34 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 717A38 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 717A3C 802A106C 00000000 */ nop
|
||||||
|
/* 717A40 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 717A44 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 717A48 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 717A4C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 717A50 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 717A54 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 717A58 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 717A5C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 717A60 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 717A64 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 717A68 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 717A6C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 717A70 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 717A74 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 717A78 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 717A7C 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 717A80 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 717A84 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 717A88 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 717A8C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 717A90 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 717A94 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 717A98 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 717A9C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 717AA0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 717AA4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 717AA8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 717AAC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 717AB0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 717AB4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 717AB8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 717ABC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 717AC0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 717AC4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 717AC8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 717ACC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 717AD0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 717AD4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 717AD8 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 717ADC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 717AE0 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 717AE4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 717AE8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 717AEC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 717AF0 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 717AF4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 717AF8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 717AFC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 717B00 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 717B04 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 717B08 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 717B0C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 717B10 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 717B14 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 717B18 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 717B1C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 717B20 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 717B24 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 717B28 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 717B2C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 717B30 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 717B34 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 717B38 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 717B3C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 717B40 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 717B44 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 717B48 802A1178 00000000 */ nop
|
||||||
|
/* 717B4C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 717B50 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 717B54 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 717B58 802A1188 3C01802A */ lui $at, %hi(D_802A1E80)
|
||||||
|
/* 717B5C 802A118C AC241E80 */ sw $a0, %lo(D_802A1E80)($at)
|
||||||
|
/* 717B60 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 717B64 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 717B68 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 717B6C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 717B70 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 717B74 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 717B78 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 717B7C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 717B80 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 717B84 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 717B88 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 717B8C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 717B90 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 717B94 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 717B98 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 717B9C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 717BA0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
32
asm/nonmatchings/battle/item/dusty_hammer_7179D0/func_802A11D4_717BA4.s
generated
Normal file
32
asm/nonmatchings/battle/item/dusty_hammer_7179D0/func_802A11D4_717BA4.s
generated
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_717BA4
|
||||||
|
/* 717BA4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 717BA8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 717BAC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 717BB0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 717BB4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 717BB8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 717BBC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 717BC0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 717BC4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 717BC8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 717BCC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 717BD0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 717BD4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 717BD8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 717BDC 802A120C 00000000 */ nop
|
||||||
|
/* 717BE0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 717BE4 802A1214 00000000 */ nop
|
||||||
|
/* 717BE8 802A1218 3C04802A */ lui $a0, %hi(D_802A1E80)
|
||||||
|
/* 717BEC 802A121C 8C841E80 */ lw $a0, %lo(D_802A1E80)($a0)
|
||||||
|
/* 717BF0 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 717BF4 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 717BF8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 717BFC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 717C00 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 717C04 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 717C08 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
||||||
|
/* 717C0C 802A123C 00000000 */ nop
|
125
asm/nonmatchings/battle/item/egg_missile_728EC0/func_802A1000_728EC0.s
generated
Normal file
125
asm/nonmatchings/battle/item/egg_missile_728EC0/func_802A1000_728EC0.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_728EC0
|
||||||
|
/* 728EC0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 728EC4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 728EC8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 728ECC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 728ED0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 728ED4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 728ED8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 728EDC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 728EE0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 728EE4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 728EE8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 728EEC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 728EF0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 728EF4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 728EF8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 728EFC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 728F00 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 728F04 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 728F08 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 728F0C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 728F10 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 728F14 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 728F18 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 728F1C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 728F20 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 728F24 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 728F28 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 728F2C 802A106C 00000000 */ nop
|
||||||
|
/* 728F30 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 728F34 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 728F38 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 728F3C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 728F40 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 728F44 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 728F48 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 728F4C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 728F50 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 728F54 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 728F58 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 728F5C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 728F60 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 728F64 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 728F68 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 728F6C 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 728F70 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 728F74 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 728F78 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 728F7C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 728F80 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 728F84 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 728F88 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 728F8C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 728F90 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 728F94 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 728F98 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 728F9C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 728FA0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 728FA4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 728FA8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 728FAC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 728FB0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 728FB4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 728FB8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 728FBC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 728FC0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 728FC4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 728FC8 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 728FCC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 728FD0 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 728FD4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 728FD8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 728FDC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 728FE0 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 728FE4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 728FE8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 728FEC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 728FF0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 728FF4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 728FF8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 728FFC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 729000 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 729004 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 729008 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 72900C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 729010 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 729014 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 729018 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72901C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 729020 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 729024 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 729028 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 72902C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 729030 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 729034 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 729038 802A1178 00000000 */ nop
|
||||||
|
/* 72903C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 729040 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 729044 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 729048 802A1188 3C01802A */ lui $at, %hi(D_802A2890)
|
||||||
|
/* 72904C 802A118C AC242890 */ sw $a0, %lo(D_802A2890)($at)
|
||||||
|
/* 729050 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 729054 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 729058 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 72905C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 729060 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 729064 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 729068 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 72906C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 729070 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 729074 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 729078 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 72907C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 729080 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 729084 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 729088 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72908C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 729090 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/egg_missile_728EC0/func_802A11D4_729094.s
generated
Normal file
31
asm/nonmatchings/battle/item/egg_missile_728EC0/func_802A11D4_729094.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_729094
|
||||||
|
/* 729094 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 729098 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 72909C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 7290A0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 7290A4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 7290A8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 7290AC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 7290B0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 7290B4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 7290B8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 7290BC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 7290C0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 7290C4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 7290C8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 7290CC 802A120C 00000000 */ nop
|
||||||
|
/* 7290D0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 7290D4 802A1214 00000000 */ nop
|
||||||
|
/* 7290D8 802A1218 3C04802A */ lui $a0, %hi(D_802A2890)
|
||||||
|
/* 7290DC 802A121C 8C842890 */ lw $a0, %lo(D_802A2890)($a0)
|
||||||
|
/* 7290E0 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 7290E4 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 7290E8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 7290EC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 7290F0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7290F4 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 7290F8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
57
asm/nonmatchings/battle/item/egg_missile_728EC0/func_802A123C_7290FC.s
generated
Normal file
57
asm/nonmatchings/battle/item/egg_missile_728EC0/func_802A123C_7290FC.s
generated
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_7290FC
|
||||||
|
/* 7290FC 802A123C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 729100 802A1240 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 729104 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 729108 802A1248 AFBF001C */ sw $ra, 0x1c($sp)
|
||||||
|
/* 72910C 802A124C AFB20018 */ sw $s2, 0x18($sp)
|
||||||
|
/* 729110 802A1250 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 729114 802A1254 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||||
|
/* 729118 802A1258 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||||
|
/* 72911C 802A125C 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 729120 802A1260 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 729124 802A1264 0C0B1EAF */ jal get_variable
|
||||||
|
/* 729128 802A1268 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 72912C 802A126C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 729130 802A1270 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 729134 802A1274 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 729138 802A1278 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72913C 802A127C 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 729140 802A1280 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 729144 802A1284 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 729148 802A1288 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72914C 802A128C 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 729150 802A1290 4492B000 */ mtc1 $s2, $f22
|
||||||
|
/* 729154 802A1294 00000000 */ nop
|
||||||
|
/* 729158 802A1298 4680B5A0 */ cvt.s.w $f22, $f22
|
||||||
|
/* 72915C 802A129C 4482A000 */ mtc1 $v0, $f20
|
||||||
|
/* 729160 802A12A0 00000000 */ nop
|
||||||
|
/* 729164 802A12A4 4680A520 */ cvt.s.w $f20, $f20
|
||||||
|
/* 729168 802A12A8 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 72916C 802A12AC 00000000 */ nop
|
||||||
|
/* 729170 802A12B0 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 729174 802A12B4 4405B000 */ mfc1 $a1, $f22
|
||||||
|
/* 729178 802A12B8 4407A000 */ mfc1 $a3, $f20
|
||||||
|
/* 72917C 802A12BC 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 729180 802A12C0 0C01C04C */ jal func_80070130
|
||||||
|
/* 729184 802A12C4 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 729188 802A12C8 26100014 */ addiu $s0, $s0, 0x14
|
||||||
|
/* 72918C 802A12CC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 729190 802A12D0 00000000 */ nop
|
||||||
|
/* 729194 802A12D4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 729198 802A12D8 4405B000 */ mfc1 $a1, $f22
|
||||||
|
/* 72919C 802A12DC 4407A000 */ mfc1 $a3, $f20
|
||||||
|
/* 7291A0 802A12E0 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 7291A4 802A12E4 0C01C07C */ jal func_800701F0
|
||||||
|
/* 7291A8 802A12E8 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 7291AC 802A12EC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||||
|
/* 7291B0 802A12F0 8FB20018 */ lw $s2, 0x18($sp)
|
||||||
|
/* 7291B4 802A12F4 8FB10014 */ lw $s1, 0x14($sp)
|
||||||
|
/* 7291B8 802A12F8 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 7291BC 802A12FC D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||||
|
/* 7291C0 802A1300 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||||
|
/* 7291C4 802A1304 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7291C8 802A1308 03E00008 */ jr $ra
|
||||||
|
/* 7291CC 802A130C 27BD0030 */ addiu $sp, $sp, 0x30
|
125
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A1000_7305A0.s
generated
Normal file
125
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A1000_7305A0.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_7305A0
|
||||||
|
/* 7305A0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 7305A4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 7305A8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 7305AC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 7305B0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 7305B4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 7305B8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 7305BC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 7305C0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 7305C4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 7305C8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 7305CC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 7305D0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 7305D4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 7305D8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 7305DC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 7305E0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 7305E4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 7305E8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 7305EC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 7305F0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 7305F4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 7305F8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 7305FC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 730600 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 730604 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 730608 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 73060C 802A106C 00000000 */ nop
|
||||||
|
/* 730610 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 730614 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 730618 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 73061C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 730620 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 730624 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 730628 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 73062C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 730630 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 730634 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 730638 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 73063C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 730640 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 730644 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 730648 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 73064C 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 730650 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 730654 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 730658 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 73065C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 730660 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 730664 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 730668 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 73066C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 730670 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 730674 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 730678 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 73067C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 730680 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 730684 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 730688 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 73068C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 730690 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 730694 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 730698 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 73069C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 7306A0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 7306A4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 7306A8 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 7306AC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 7306B0 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 7306B4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 7306B8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 7306BC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 7306C0 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 7306C4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 7306C8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 7306CC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 7306D0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 7306D4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 7306D8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 7306DC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 7306E0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 7306E4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 7306E8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 7306EC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 7306F0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 7306F4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 7306F8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 7306FC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 730700 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 730704 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 730708 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 73070C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 730710 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 730714 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 730718 802A1178 00000000 */ nop
|
||||||
|
/* 73071C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 730720 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 730724 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 730728 802A1188 3C01802A */ lui $at, %hi(D_802A1D60)
|
||||||
|
/* 73072C 802A118C AC241D60 */ sw $a0, %lo(D_802A1D60)($at)
|
||||||
|
/* 730730 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 730734 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 730738 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 73073C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 730740 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 730744 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 730748 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 73074C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 730750 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 730754 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 730758 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 73075C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 730760 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 730764 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 730768 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 73076C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 730770 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A11D4_730774.s
generated
Normal file
31
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A11D4_730774.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_730774
|
||||||
|
/* 730774 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 730778 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 73077C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 730780 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 730784 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 730788 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 73078C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 730790 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 730794 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 730798 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 73079C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 7307A0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 7307A4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 7307A8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 7307AC 802A120C 00000000 */ nop
|
||||||
|
/* 7307B0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 7307B4 802A1214 00000000 */ nop
|
||||||
|
/* 7307B8 802A1218 3C04802A */ lui $a0, %hi(D_802A1D60)
|
||||||
|
/* 7307BC 802A121C 8C841D60 */ lw $a0, %lo(D_802A1D60)($a0)
|
||||||
|
/* 7307C0 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 7307C4 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 7307C8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 7307CC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 7307D0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7307D4 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 7307D8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
20
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A123C_7307DC.s
generated
Normal file
20
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A123C_7307DC.s
generated
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_7307DC
|
||||||
|
/* 7307DC 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 7307E0 802A1240 0080102D */ daddu $v0, $a0, $zero
|
||||||
|
/* 7307E4 802A1244 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 7307E8 802A1248 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
|
||||||
|
/* 7307EC 802A124C 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
|
||||||
|
/* 7307F0 802A1250 2405000B */ addiu $a1, $zero, 0xb
|
||||||
|
/* 7307F4 802A1254 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 7307F8 802A1258 8C460084 */ lw $a2, 0x84($v0)
|
||||||
|
/* 7307FC 802A125C 0C0997D0 */ jal inflict_status
|
||||||
|
/* 730800 802A1260 0200202D */ daddu $a0, $s0, $zero
|
||||||
|
/* 730804 802A1264 A200021C */ sb $zero, 0x21c($s0)
|
||||||
|
/* 730808 802A1268 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 73080C 802A126C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 730810 802A1270 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 730814 802A1274 03E00008 */ jr $ra
|
||||||
|
/* 730818 802A1278 27BD0018 */ addiu $sp, $sp, 0x18
|
52
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A127C_73081C.s
generated
Normal file
52
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A127C_73081C.s
generated
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A127C_73081C
|
||||||
|
/* 73081C 802A127C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 730820 802A1280 AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 730824 802A1284 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 730828 802A1288 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 73082C 802A128C AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 730830 802A1290 AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 730834 802A1294 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 730838 802A1298 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 73083C 802A129C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 730840 802A12A0 0C0B1EAF */ jal get_variable
|
||||||
|
/* 730844 802A12A4 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 730848 802A12A8 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 73084C 802A12AC 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 730850 802A12B0 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 730854 802A12B4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 730858 802A12B8 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 73085C 802A12BC 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 730860 802A12C0 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 730864 802A12C4 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 730868 802A12C8 0C0B1EAF */ jal get_variable
|
||||||
|
/* 73086C 802A12CC 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 730870 802A12D0 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 730874 802A12D4 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 730878 802A12D8 0C0B1EAF */ jal get_variable
|
||||||
|
/* 73087C 802A12DC 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 730880 802A12E0 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 730884 802A12E4 00000000 */ nop
|
||||||
|
/* 730888 802A12E8 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 73088C 802A12EC 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 730890 802A12F0 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 730894 802A12F4 00000000 */ nop
|
||||||
|
/* 730898 802A12F8 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 73089C 802A12FC 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 7308A0 802A1300 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 7308A4 802A1304 00000000 */ nop
|
||||||
|
/* 7308A8 802A1308 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 7308AC 802A130C 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 7308B0 802A1310 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 7308B4 802A1314 0C01C424 */ jal func_80071090
|
||||||
|
/* 7308B8 802A1318 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 7308BC 802A131C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 7308C0 802A1320 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 7308C4 802A1324 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 7308C8 802A1328 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 7308CC 802A132C 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 7308D0 802A1330 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7308D4 802A1334 03E00008 */ jr $ra
|
||||||
|
/* 7308D8 802A1338 27BD0030 */ addiu $sp, $sp, 0x30
|
52
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A133C_7308DC.s
generated
Normal file
52
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A133C_7308DC.s
generated
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A133C_7308DC
|
||||||
|
/* 7308DC 802A133C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 7308E0 802A1340 AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 7308E4 802A1344 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 7308E8 802A1348 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 7308EC 802A134C AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 7308F0 802A1350 AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 7308F4 802A1354 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 7308F8 802A1358 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 7308FC 802A135C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 730900 802A1360 0C0B1EAF */ jal get_variable
|
||||||
|
/* 730904 802A1364 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 730908 802A1368 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 73090C 802A136C 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 730910 802A1370 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 730914 802A1374 0C0B1EAF */ jal get_variable
|
||||||
|
/* 730918 802A1378 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 73091C 802A137C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 730920 802A1380 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 730924 802A1384 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 730928 802A1388 0C0B1EAF */ jal get_variable
|
||||||
|
/* 73092C 802A138C 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 730930 802A1390 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 730934 802A1394 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 730938 802A1398 0C0B1EAF */ jal get_variable
|
||||||
|
/* 73093C 802A139C 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 730940 802A13A0 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 730944 802A13A4 00000000 */ nop
|
||||||
|
/* 730948 802A13A8 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 73094C 802A13AC 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 730950 802A13B0 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 730954 802A13B4 00000000 */ nop
|
||||||
|
/* 730958 802A13B8 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 73095C 802A13BC 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 730960 802A13C0 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 730964 802A13C4 00000000 */ nop
|
||||||
|
/* 730968 802A13C8 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 73096C 802A13CC 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 730970 802A13D0 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 730974 802A13D4 0C01C424 */ jal func_80071090
|
||||||
|
/* 730978 802A13D8 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 73097C 802A13DC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 730980 802A13E0 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 730984 802A13E4 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 730988 802A13E8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 73098C 802A13EC 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 730990 802A13F0 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 730994 802A13F4 03E00008 */ jr $ra
|
||||||
|
/* 730998 802A13F8 27BD0030 */ addiu $sp, $sp, 0x30
|
26
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A13FC_73099C.s
generated
Normal file
26
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A13FC_73099C.s
generated
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A13FC_73099C
|
||||||
|
/* 73099C 802A13FC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 7309A0 802A1400 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 7309A4 802A1404 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 7309A8 802A1408 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 7309AC 802A140C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 7309B0 802A1410 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 7309B4 802A1414 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||||
|
/* 7309B8 802A1418 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||||
|
/* 7309BC 802A141C 80640002 */ lb $a0, 2($v1)
|
||||||
|
/* 7309C0 802A1420 80650003 */ lb $a1, 3($v1)
|
||||||
|
/* 7309C4 802A1424 00822021 */ addu $a0, $a0, $v0
|
||||||
|
/* 7309C8 802A1428 00A4102A */ slt $v0, $a1, $a0
|
||||||
|
/* 7309CC 802A142C 10400002 */ beqz $v0, .L802A1438
|
||||||
|
/* 7309D0 802A1430 0060802D */ daddu $s0, $v1, $zero
|
||||||
|
/* 7309D4 802A1434 00A0202D */ daddu $a0, $a1, $zero
|
||||||
|
.L802A1438:
|
||||||
|
/* 7309D8 802A1438 A2040002 */ sb $a0, 2($s0)
|
||||||
|
/* 7309DC 802A143C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 7309E0 802A1440 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 7309E4 802A1444 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7309E8 802A1448 03E00008 */ jr $ra
|
||||||
|
/* 7309EC 802A144C 27BD0018 */ addiu $sp, $sp, 0x18
|
24
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A1450_7309F0.s
generated
Normal file
24
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A1450_7309F0.s
generated
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1450_7309F0
|
||||||
|
/* 7309F0 802A1450 3C058011 */ lui $a1, %hi(gPlayerData)
|
||||||
|
/* 7309F4 802A1454 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
|
||||||
|
/* 7309F8 802A1458 90A20002 */ lbu $v0, 2($a1)
|
||||||
|
/* 7309FC 802A145C 3C068009 */ lui $a2, %hi(gItemTable+0x199B)
|
||||||
|
/* 730A00 802A1460 90C6927B */ lbu $a2, %lo(gItemTable+0x199B)($a2)
|
||||||
|
/* 730A04 802A1464 80A30003 */ lb $v1, 3($a1)
|
||||||
|
/* 730A08 802A1468 00461021 */ addu $v0, $v0, $a2
|
||||||
|
/* 730A0C 802A146C A0A20002 */ sb $v0, 2($a1)
|
||||||
|
/* 730A10 802A1470 00021600 */ sll $v0, $v0, 0x18
|
||||||
|
/* 730A14 802A1474 00021603 */ sra $v0, $v0, 0x18
|
||||||
|
/* 730A18 802A1478 0062182A */ slt $v1, $v1, $v0
|
||||||
|
/* 730A1C 802A147C 90A20003 */ lbu $v0, 3($a1)
|
||||||
|
/* 730A20 802A1480 54600001 */ bnel $v1, $zero, .L802A1488
|
||||||
|
/* 730A24 802A1484 A0A20002 */ sb $v0, 2($a1)
|
||||||
|
.L802A1488:
|
||||||
|
/* 730A28 802A1488 00061600 */ sll $v0, $a2, 0x18
|
||||||
|
/* 730A2C 802A148C 00021603 */ sra $v0, $v0, 0x18
|
||||||
|
/* 730A30 802A1490 AC820090 */ sw $v0, 0x90($a0)
|
||||||
|
/* 730A34 802A1494 03E00008 */ jr $ra
|
||||||
|
/* 730A38 802A1498 24020002 */ addiu $v0, $zero, 2
|
26
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A149C_730A3C.s
generated
Normal file
26
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A149C_730A3C.s
generated
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A149C_730A3C
|
||||||
|
/* 730A3C 802A149C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 730A40 802A14A0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 730A44 802A14A4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 730A48 802A14A8 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 730A4C 802A14AC 0C0B1EAF */ jal get_variable
|
||||||
|
/* 730A50 802A14B0 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 730A54 802A14B4 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||||
|
/* 730A58 802A14B8 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||||
|
/* 730A5C 802A14BC 80640002 */ lb $a0, 2($v1)
|
||||||
|
/* 730A60 802A14C0 80650006 */ lb $a1, 6($v1)
|
||||||
|
/* 730A64 802A14C4 00822021 */ addu $a0, $a0, $v0
|
||||||
|
/* 730A68 802A14C8 00A4102A */ slt $v0, $a1, $a0
|
||||||
|
/* 730A6C 802A14CC 10400002 */ beqz $v0, .L802A14D8
|
||||||
|
/* 730A70 802A14D0 0060802D */ daddu $s0, $v1, $zero
|
||||||
|
/* 730A74 802A14D4 00A0202D */ daddu $a0, $a1, $zero
|
||||||
|
.L802A14D8:
|
||||||
|
/* 730A78 802A14D8 A2040005 */ sb $a0, 5($s0)
|
||||||
|
/* 730A7C 802A14DC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 730A80 802A14E0 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 730A84 802A14E4 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 730A88 802A14E8 03E00008 */ jr $ra
|
||||||
|
/* 730A8C 802A14EC 27BD0018 */ addiu $sp, $sp, 0x18
|
25
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A14F0_730A90.s
generated
Normal file
25
asm/nonmatchings/battle/item/electro_pop_7305A0/func_802A14F0_730A90.s
generated
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A14F0_730A90
|
||||||
|
/* 730A90 802A14F0 3C068009 */ lui $a2, %hi(gItemTable+0x1980)
|
||||||
|
/* 730A94 802A14F4 24C69260 */ addiu $a2, $a2, %lo(gItemTable+0x1980)
|
||||||
|
/* 730A98 802A14F8 3C058011 */ lui $a1, %hi(gPlayerData)
|
||||||
|
/* 730A9C 802A14FC 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
|
||||||
|
/* 730AA0 802A1500 90A20005 */ lbu $v0, 5($a1)
|
||||||
|
/* 730AA4 802A1504 90C3001B */ lbu $v1, 0x1b($a2)
|
||||||
|
/* 730AA8 802A1508 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 730AAC 802A150C A0A20005 */ sb $v0, 5($a1)
|
||||||
|
/* 730AB0 802A1510 00021600 */ sll $v0, $v0, 0x18
|
||||||
|
/* 730AB4 802A1514 80A30006 */ lb $v1, 6($a1)
|
||||||
|
/* 730AB8 802A1518 00021603 */ sra $v0, $v0, 0x18
|
||||||
|
/* 730ABC 802A151C 0062182A */ slt $v1, $v1, $v0
|
||||||
|
/* 730AC0 802A1520 90A20006 */ lbu $v0, 6($a1)
|
||||||
|
/* 730AC4 802A1524 54600001 */ bnel $v1, $zero, .L802A152C
|
||||||
|
/* 730AC8 802A1528 A0A20005 */ sb $v0, 5($a1)
|
||||||
|
.L802A152C:
|
||||||
|
/* 730ACC 802A152C 80C2001C */ lb $v0, 0x1c($a2)
|
||||||
|
/* 730AD0 802A1530 AC820090 */ sw $v0, 0x90($a0)
|
||||||
|
/* 730AD4 802A1534 03E00008 */ jr $ra
|
||||||
|
/* 730AD8 802A1538 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 730ADC 802A153C 00000000 */ nop
|
125
asm/nonmatchings/battle/item/fire_flower_716C60/func_802A1000_716C60.s
generated
Normal file
125
asm/nonmatchings/battle/item/fire_flower_716C60/func_802A1000_716C60.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_716C60
|
||||||
|
/* 716C60 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 716C64 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 716C68 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 716C6C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 716C70 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 716C74 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 716C78 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 716C7C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 716C80 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 716C84 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 716C88 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 716C8C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 716C90 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 716C94 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 716C98 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 716C9C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 716CA0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 716CA4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 716CA8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 716CAC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 716CB0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 716CB4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 716CB8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 716CBC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 716CC0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 716CC4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 716CC8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 716CCC 802A106C 00000000 */ nop
|
||||||
|
/* 716CD0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 716CD4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 716CD8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 716CDC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 716CE0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 716CE4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 716CE8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 716CEC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 716CF0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 716CF4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 716CF8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 716CFC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 716D00 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 716D04 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 716D08 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 716D0C 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 716D10 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 716D14 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 716D18 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 716D1C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 716D20 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 716D24 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 716D28 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 716D2C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 716D30 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 716D34 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 716D38 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 716D3C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 716D40 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 716D44 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 716D48 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 716D4C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 716D50 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 716D54 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 716D58 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 716D5C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 716D60 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 716D64 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 716D68 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 716D6C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 716D70 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 716D74 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 716D78 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 716D7C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 716D80 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 716D84 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 716D88 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 716D8C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 716D90 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 716D94 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 716D98 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 716D9C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 716DA0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 716DA4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 716DA8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 716DAC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 716DB0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 716DB4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 716DB8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 716DBC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 716DC0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 716DC4 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 716DC8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 716DCC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 716DD0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 716DD4 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 716DD8 802A1178 00000000 */ nop
|
||||||
|
/* 716DDC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 716DE0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 716DE4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 716DE8 802A1188 3C01802A */ lui $at, %hi(D_802A1D70)
|
||||||
|
/* 716DEC 802A118C AC241D70 */ sw $a0, %lo(D_802A1D70)($at)
|
||||||
|
/* 716DF0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 716DF4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 716DF8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 716DFC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 716E00 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 716E04 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 716E08 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 716E0C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 716E10 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 716E14 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 716E18 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 716E1C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 716E20 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 716E24 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 716E28 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 716E2C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 716E30 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/fire_flower_716C60/func_802A11D4_716E34.s
generated
Normal file
31
asm/nonmatchings/battle/item/fire_flower_716C60/func_802A11D4_716E34.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_716E34
|
||||||
|
/* 716E34 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 716E38 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 716E3C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 716E40 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 716E44 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 716E48 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 716E4C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 716E50 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 716E54 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 716E58 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 716E5C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 716E60 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 716E64 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 716E68 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 716E6C 802A120C 00000000 */ nop
|
||||||
|
/* 716E70 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 716E74 802A1214 00000000 */ nop
|
||||||
|
/* 716E78 802A1218 3C04802A */ lui $a0, %hi(D_802A1D70)
|
||||||
|
/* 716E7C 802A121C 8C841D70 */ lw $a0, %lo(D_802A1D70)($a0)
|
||||||
|
/* 716E80 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 716E84 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 716E88 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 716E8C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 716E90 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 716E94 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 716E98 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
45
asm/nonmatchings/battle/item/fire_flower_716C60/func_802A123C_716E9C.s
generated
Normal file
45
asm/nonmatchings/battle/item/fire_flower_716C60/func_802A123C_716E9C.s
generated
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_716E9C
|
||||||
|
/* 716E9C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||||
|
/* 716EA0 802A1240 AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 716EA4 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 716EA8 802A1248 AFBF0024 */ sw $ra, 0x24($sp)
|
||||||
|
/* 716EAC 802A124C AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 716EB0 802A1250 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 716EB4 802A1254 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 716EB8 802A1258 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 716EBC 802A125C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 716EC0 802A1260 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 716EC4 802A1264 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 716EC8 802A1268 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 716ECC 802A126C 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 716ED0 802A1270 0C0B1EAF */ jal get_variable
|
||||||
|
/* 716ED4 802A1274 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 716ED8 802A1278 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 716EDC 802A127C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 716EE0 802A1280 0C0B1EAF */ jal get_variable
|
||||||
|
/* 716EE4 802A1284 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 716EE8 802A1288 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 716EEC 802A128C 00000000 */ nop
|
||||||
|
/* 716EF0 802A1290 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 716EF4 802A1294 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 716EF8 802A1298 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 716EFC 802A129C 00000000 */ nop
|
||||||
|
/* 716F00 802A12A0 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 716F04 802A12A4 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 716F08 802A12A8 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 716F0C 802A12AC 00000000 */ nop
|
||||||
|
/* 716F10 802A12B0 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 716F14 802A12B4 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 716F18 802A12B8 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 716F1C 802A12BC 0C01C40C */ jal func_80071030
|
||||||
|
/* 716F20 802A12C0 AFA00010 */ sw $zero, 0x10($sp)
|
||||||
|
/* 716F24 802A12C4 8FBF0024 */ lw $ra, 0x24($sp)
|
||||||
|
/* 716F28 802A12C8 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 716F2C 802A12CC 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 716F30 802A12D0 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 716F34 802A12D4 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 716F38 802A12D8 03E00008 */ jr $ra
|
||||||
|
/* 716F3C 802A12DC 27BD0028 */ addiu $sp, $sp, 0x28
|
41
asm/nonmatchings/battle/item/fire_flower_716C60/func_802A1378_716FD8.s
generated
Normal file
41
asm/nonmatchings/battle/item/fire_flower_716C60/func_802A1378_716FD8.s
generated
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1378_716FD8
|
||||||
|
/* 716FD8 802A1378 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 716FDC 802A137C AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 716FE0 802A1380 0080802D */ daddu $s0, $a0, $zero
|
||||||
|
/* 716FE4 802A1384 10A00003 */ beqz $a1, .L802A1394
|
||||||
|
/* 716FE8 802A1388 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 716FEC 802A138C 24020014 */ addiu $v0, $zero, 0x14
|
||||||
|
/* 716FF0 802A1390 AE020070 */ sw $v0, 0x70($s0)
|
||||||
|
.L802A1394:
|
||||||
|
/* 716FF4 802A1394 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 716FF8 802A1398 0080282D */ daddu $a1, $a0, $zero
|
||||||
|
/* 716FFC 802A139C 8E020070 */ lw $v0, 0x70($s0)
|
||||||
|
/* 717000 802A13A0 0080302D */ daddu $a2, $a0, $zero
|
||||||
|
/* 717004 802A13A4 00023880 */ sll $a3, $v0, 2
|
||||||
|
/* 717008 802A13A8 00E23821 */ addu $a3, $a3, $v0
|
||||||
|
/* 71700C 802A13AC 00073840 */ sll $a3, $a3, 1
|
||||||
|
/* 717010 802A13B0 0C046F97 */ jal set_background_color_blend
|
||||||
|
/* 717014 802A13B4 30E700FE */ andi $a3, $a3, 0xfe
|
||||||
|
/* 717018 802A13B8 8E020070 */ lw $v0, 0x70($s0)
|
||||||
|
/* 71701C 802A13BC 2442FFFF */ addiu $v0, $v0, -1
|
||||||
|
/* 717020 802A13C0 10400003 */ beqz $v0, .L802A13D0
|
||||||
|
/* 717024 802A13C4 AE020070 */ sw $v0, 0x70($s0)
|
||||||
|
/* 717028 802A13C8 080A84FA */ j .L802A13E8
|
||||||
|
/* 71702C 802A13CC 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
.L802A13D0:
|
||||||
|
/* 717030 802A13D0 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 717034 802A13D4 0080282D */ daddu $a1, $a0, $zero
|
||||||
|
/* 717038 802A13D8 0080302D */ daddu $a2, $a0, $zero
|
||||||
|
/* 71703C 802A13DC 0C046F97 */ jal set_background_color_blend
|
||||||
|
/* 717040 802A13E0 0080382D */ daddu $a3, $a0, $zero
|
||||||
|
/* 717044 802A13E4 24020002 */ addiu $v0, $zero, 2
|
||||||
|
.L802A13E8:
|
||||||
|
/* 717048 802A13E8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 71704C 802A13EC 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 717050 802A13F0 03E00008 */ jr $ra
|
||||||
|
/* 717054 802A13F4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||||
|
/* 717058 802A13F8 00000000 */ nop
|
||||||
|
/* 71705C 802A13FC 00000000 */ nop
|
125
asm/nonmatchings/battle/item/food_7330D0/func_802A1000_7330D0.s
generated
Normal file
125
asm/nonmatchings/battle/item/food_7330D0/func_802A1000_7330D0.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_7330D0
|
||||||
|
/* 7330D0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 7330D4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 7330D8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 7330DC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 7330E0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 7330E4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 7330E8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 7330EC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 7330F0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 7330F4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 7330F8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 7330FC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 733100 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 733104 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 733108 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 73310C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 733110 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 733114 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 733118 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 73311C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 733120 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 733124 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 733128 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 73312C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 733130 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 733134 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 733138 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 73313C 802A106C 00000000 */ nop
|
||||||
|
/* 733140 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 733144 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 733148 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 73314C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 733150 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 733154 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 733158 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 73315C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 733160 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 733164 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 733168 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 73316C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 733170 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 733174 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 733178 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 73317C 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 733180 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 733184 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 733188 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 73318C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 733190 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 733194 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 733198 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 73319C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 7331A0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 7331A4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 7331A8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 7331AC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 7331B0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 7331B4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 7331B8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 7331BC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 7331C0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 7331C4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 7331C8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 7331CC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 7331D0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 7331D4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 7331D8 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 7331DC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 7331E0 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 7331E4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 7331E8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 7331EC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 7331F0 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 7331F4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 7331F8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 7331FC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 733200 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 733204 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 733208 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 73320C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 733210 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 733214 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 733218 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 73321C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 733220 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 733224 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 733228 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 73322C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 733230 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 733234 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 733238 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 73323C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 733240 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 733244 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 733248 802A1178 00000000 */ nop
|
||||||
|
/* 73324C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 733250 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 733254 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 733258 802A1188 3C01802A */ lui $at, %hi(D_802A24D0)
|
||||||
|
/* 73325C 802A118C AC2424D0 */ sw $a0, %lo(D_802A24D0)($at)
|
||||||
|
/* 733260 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 733264 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 733268 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 73326C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 733270 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 733274 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 733278 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 73327C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 733280 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 733284 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 733288 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 73328C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 733290 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 733294 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 733298 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 73329C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 7332A0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/food_7330D0/func_802A11D4_7332A4.s
generated
Normal file
31
asm/nonmatchings/battle/item/food_7330D0/func_802A11D4_7332A4.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_7332A4
|
||||||
|
/* 7332A4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 7332A8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 7332AC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 7332B0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 7332B4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 7332B8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 7332BC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 7332C0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 7332C4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 7332C8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 7332CC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 7332D0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 7332D4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 7332D8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 7332DC 802A120C 00000000 */ nop
|
||||||
|
/* 7332E0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 7332E4 802A1214 00000000 */ nop
|
||||||
|
/* 7332E8 802A1218 3C04802A */ lui $a0, %hi(D_802A24D0)
|
||||||
|
/* 7332EC 802A121C 8C8424D0 */ lw $a0, %lo(D_802A24D0)($a0)
|
||||||
|
/* 7332F0 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 7332F4 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 7332F8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 7332FC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 733300 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 733304 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 733308 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
48
asm/nonmatchings/battle/item/food_7330D0/func_802A123C_73330C.s
generated
Normal file
48
asm/nonmatchings/battle/item/food_7330D0/func_802A123C_73330C.s
generated
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_73330C
|
||||||
|
/* 73330C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||||
|
/* 733310 802A1240 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 733314 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 733318 802A1248 AFBF0020 */ sw $ra, 0x20($sp)
|
||||||
|
/* 73331C 802A124C AFB3001C */ sw $s3, 0x1c($sp)
|
||||||
|
/* 733320 802A1250 AFB20018 */ sw $s2, 0x18($sp)
|
||||||
|
/* 733324 802A1254 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 733328 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 73332C 802A125C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 733330 802A1260 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733334 802A1264 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 733338 802A1268 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 73333C 802A126C 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 733340 802A1270 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 733344 802A1274 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733348 802A1278 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 73334C 802A127C 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 733350 802A1280 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 733354 802A1284 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733358 802A1288 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 73335C 802A128C 8E2400BC */ lw $a0, 0xbc($s1)
|
||||||
|
/* 733360 802A1290 0C04C3D6 */ jal get_item_entity
|
||||||
|
/* 733364 802A1294 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 733368 802A1298 0040182D */ daddu $v1, $v0, $zero
|
||||||
|
/* 73336C 802A129C 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 733370 802A12A0 00000000 */ nop
|
||||||
|
/* 733374 802A12A4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 733378 802A12A8 E4600008 */ swc1 $f0, 8($v1)
|
||||||
|
/* 73337C 802A12AC 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 733380 802A12B0 00000000 */ nop
|
||||||
|
/* 733384 802A12B4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 733388 802A12B8 E460000C */ swc1 $f0, 0xc($v1)
|
||||||
|
/* 73338C 802A12BC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 733390 802A12C0 00000000 */ nop
|
||||||
|
/* 733394 802A12C4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 733398 802A12C8 E4600010 */ swc1 $f0, 0x10($v1)
|
||||||
|
/* 73339C 802A12CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||||
|
/* 7333A0 802A12D0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||||
|
/* 7333A4 802A12D4 8FB20018 */ lw $s2, 0x18($sp)
|
||||||
|
/* 7333A8 802A12D8 8FB10014 */ lw $s1, 0x14($sp)
|
||||||
|
/* 7333AC 802A12DC 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 7333B0 802A12E0 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7333B4 802A12E4 03E00008 */ jr $ra
|
||||||
|
/* 7333B8 802A12E8 27BD0028 */ addiu $sp, $sp, 0x28
|
43
asm/nonmatchings/battle/item/food_7330D0/func_802A12EC_7333BC.s
generated
Normal file
43
asm/nonmatchings/battle/item/food_7330D0/func_802A12EC_7333BC.s
generated
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A12EC_7333BC
|
||||||
|
/* 7333BC 802A12EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 7333C0 802A12F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 7333C4 802A12F4 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||||
|
/* 7333C8 802A12F8 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||||
|
/* 7333CC 802A12FC AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 7333D0 802A1300 82020217 */ lb $v0, 0x217($s0)
|
||||||
|
/* 7333D4 802A1304 8C85000C */ lw $a1, 0xc($a0)
|
||||||
|
/* 7333D8 802A1308 10400017 */ beqz $v0, .L802A1368
|
||||||
|
/* 7333DC 802A130C 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7333E0 802A1310 8CA50000 */ lw $a1, ($a1)
|
||||||
|
/* 7333E4 802A1314 0C0B1EAF */ jal get_variable
|
||||||
|
/* 7333E8 802A1318 00000000 */ nop
|
||||||
|
/* 7333EC 802A131C 92030217 */ lbu $v1, 0x217($s0)
|
||||||
|
/* 7333F0 802A1320 00621823 */ subu $v1, $v1, $v0
|
||||||
|
/* 7333F4 802A1324 A2030217 */ sb $v1, 0x217($s0)
|
||||||
|
/* 7333F8 802A1328 00031E00 */ sll $v1, $v1, 0x18
|
||||||
|
/* 7333FC 802A132C 04620001 */ bltzl $v1, .L802A1334
|
||||||
|
/* 733400 802A1330 A2000217 */ sb $zero, 0x217($s0)
|
||||||
|
.L802A1334:
|
||||||
|
/* 733404 802A1334 82030217 */ lb $v1, 0x217($s0)
|
||||||
|
/* 733408 802A1338 18600005 */ blez $v1, .L802A1350
|
||||||
|
/* 73340C 802A133C 24040034 */ addiu $a0, $zero, 0x34
|
||||||
|
/* 733410 802A1340 8E020440 */ lw $v0, 0x440($s0)
|
||||||
|
/* 733414 802A1344 8C42000C */ lw $v0, 0xc($v0)
|
||||||
|
/* 733418 802A1348 080A84D9 */ j .L802A1364
|
||||||
|
/* 73341C 802A134C AC43003C */ sw $v1, 0x3c($v0)
|
||||||
|
.L802A1350:
|
||||||
|
/* 733420 802A1350 0C09F7A0 */ jal dispatch_event_partner
|
||||||
|
/* 733424 802A1354 A2000216 */ sb $zero, 0x216($s0)
|
||||||
|
/* 733428 802A1358 8E020440 */ lw $v0, 0x440($s0)
|
||||||
|
/* 73342C 802A135C 8C42000C */ lw $v0, 0xc($v0)
|
||||||
|
/* 733430 802A1360 AC40003C */ sw $zero, 0x3c($v0)
|
||||||
|
.L802A1364:
|
||||||
|
/* 733434 802A1364 24020002 */ addiu $v0, $zero, 2
|
||||||
|
.L802A1368:
|
||||||
|
/* 733438 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 73343C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 733440 802A1370 03E00008 */ jr $ra
|
||||||
|
/* 733444 802A1374 27BD0018 */ addiu $sp, $sp, 0x18
|
52
asm/nonmatchings/battle/item/food_7330D0/func_802A1378_733448.s
generated
Normal file
52
asm/nonmatchings/battle/item/food_7330D0/func_802A1378_733448.s
generated
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1378_733448
|
||||||
|
/* 733448 802A1378 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 73344C 802A137C AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 733450 802A1380 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 733454 802A1384 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 733458 802A1388 AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 73345C 802A138C AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 733460 802A1390 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 733464 802A1394 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 733468 802A1398 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 73346C 802A139C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733470 802A13A0 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 733474 802A13A4 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 733478 802A13A8 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 73347C 802A13AC 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 733480 802A13B0 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733484 802A13B4 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 733488 802A13B8 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 73348C 802A13BC 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 733490 802A13C0 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 733494 802A13C4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733498 802A13C8 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 73349C 802A13CC 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 7334A0 802A13D0 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 7334A4 802A13D4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 7334A8 802A13D8 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 7334AC 802A13DC 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 7334B0 802A13E0 00000000 */ nop
|
||||||
|
/* 7334B4 802A13E4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 7334B8 802A13E8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 7334BC 802A13EC 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 7334C0 802A13F0 00000000 */ nop
|
||||||
|
/* 7334C4 802A13F4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 7334C8 802A13F8 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 7334CC 802A13FC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 7334D0 802A1400 00000000 */ nop
|
||||||
|
/* 7334D4 802A1404 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 7334D8 802A1408 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 7334DC 802A140C 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 7334E0 802A1410 0C01C424 */ jal func_80071090
|
||||||
|
/* 7334E4 802A1414 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 7334E8 802A1418 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 7334EC 802A141C 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 7334F0 802A1420 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 7334F4 802A1424 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 7334F8 802A1428 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 7334FC 802A142C 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 733500 802A1430 03E00008 */ jr $ra
|
||||||
|
/* 733504 802A1434 27BD0030 */ addiu $sp, $sp, 0x30
|
52
asm/nonmatchings/battle/item/food_7330D0/func_802A1438_733508.s
generated
Normal file
52
asm/nonmatchings/battle/item/food_7330D0/func_802A1438_733508.s
generated
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1438_733508
|
||||||
|
/* 733508 802A1438 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 73350C 802A143C AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 733510 802A1440 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 733514 802A1444 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 733518 802A1448 AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 73351C 802A144C AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 733520 802A1450 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 733524 802A1454 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 733528 802A1458 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 73352C 802A145C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733530 802A1460 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 733534 802A1464 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 733538 802A1468 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 73353C 802A146C 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 733540 802A1470 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733544 802A1474 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 733548 802A1478 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 73354C 802A147C 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 733550 802A1480 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 733554 802A1484 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733558 802A1488 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 73355C 802A148C 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 733560 802A1490 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 733564 802A1494 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733568 802A1498 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 73356C 802A149C 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 733570 802A14A0 00000000 */ nop
|
||||||
|
/* 733574 802A14A4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 733578 802A14A8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 73357C 802A14AC 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 733580 802A14B0 00000000 */ nop
|
||||||
|
/* 733584 802A14B4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 733588 802A14B8 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 73358C 802A14BC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 733590 802A14C0 00000000 */ nop
|
||||||
|
/* 733594 802A14C4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 733598 802A14C8 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 73359C 802A14CC 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 7335A0 802A14D0 0C01C424 */ jal func_80071090
|
||||||
|
/* 7335A4 802A14D4 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 7335A8 802A14D8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 7335AC 802A14DC 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 7335B0 802A14E0 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 7335B4 802A14E4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 7335B8 802A14E8 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 7335BC 802A14EC 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7335C0 802A14F0 03E00008 */ jr $ra
|
||||||
|
/* 7335C4 802A14F4 27BD0030 */ addiu $sp, $sp, 0x30
|
26
asm/nonmatchings/battle/item/food_7330D0/func_802A14F8_7335C8.s
generated
Normal file
26
asm/nonmatchings/battle/item/food_7330D0/func_802A14F8_7335C8.s
generated
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A14F8_7335C8
|
||||||
|
/* 7335C8 802A14F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 7335CC 802A14FC AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 7335D0 802A1500 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 7335D4 802A1504 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 7335D8 802A1508 0C0B1EAF */ jal get_variable
|
||||||
|
/* 7335DC 802A150C 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 7335E0 802A1510 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||||
|
/* 7335E4 802A1514 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||||
|
/* 7335E8 802A1518 80640002 */ lb $a0, 2($v1)
|
||||||
|
/* 7335EC 802A151C 80650003 */ lb $a1, 3($v1)
|
||||||
|
/* 7335F0 802A1520 00822021 */ addu $a0, $a0, $v0
|
||||||
|
/* 7335F4 802A1524 00A4102A */ slt $v0, $a1, $a0
|
||||||
|
/* 7335F8 802A1528 10400002 */ beqz $v0, .L802A1534
|
||||||
|
/* 7335FC 802A152C 0060802D */ daddu $s0, $v1, $zero
|
||||||
|
/* 733600 802A1530 00A0202D */ daddu $a0, $a1, $zero
|
||||||
|
.L802A1534:
|
||||||
|
/* 733604 802A1534 A2040002 */ sb $a0, 2($s0)
|
||||||
|
/* 733608 802A1538 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 73360C 802A153C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 733610 802A1540 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 733614 802A1544 03E00008 */ jr $ra
|
||||||
|
/* 733618 802A1548 27BD0018 */ addiu $sp, $sp, 0x18
|
26
asm/nonmatchings/battle/item/food_7330D0/func_802A154C_73361C.s
generated
Normal file
26
asm/nonmatchings/battle/item/food_7330D0/func_802A154C_73361C.s
generated
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A154C_73361C
|
||||||
|
/* 73361C 802A154C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 733620 802A1550 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 733624 802A1554 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 733628 802A1558 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 73362C 802A155C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733630 802A1560 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 733634 802A1564 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||||
|
/* 733638 802A1568 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||||
|
/* 73363C 802A156C 80640005 */ lb $a0, 5($v1)
|
||||||
|
/* 733640 802A1570 80650006 */ lb $a1, 6($v1)
|
||||||
|
/* 733644 802A1574 00822021 */ addu $a0, $a0, $v0
|
||||||
|
/* 733648 802A1578 00A4102A */ slt $v0, $a1, $a0
|
||||||
|
/* 73364C 802A157C 10400002 */ beqz $v0, .L802A1588
|
||||||
|
/* 733650 802A1580 0060802D */ daddu $s0, $v1, $zero
|
||||||
|
/* 733654 802A1584 00A0202D */ daddu $a0, $a1, $zero
|
||||||
|
.L802A1588:
|
||||||
|
/* 733658 802A1588 A2040005 */ sb $a0, 5($s0)
|
||||||
|
/* 73365C 802A158C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 733660 802A1590 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 733664 802A1594 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 733668 802A1598 03E00008 */ jr $ra
|
||||||
|
/* 73366C 802A159C 27BD0018 */ addiu $sp, $sp, 0x18
|
43
asm/nonmatchings/battle/item/food_7330D0/func_802A15A0_733670.s
generated
Normal file
43
asm/nonmatchings/battle/item/food_7330D0/func_802A15A0_733670.s
generated
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A15A0_733670
|
||||||
|
/* 733670 802A15A0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 733674 802A15A4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 733678 802A15A8 0080802D */ daddu $s0, $a0, $zero
|
||||||
|
/* 73367C 802A15AC AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 733680 802A15B0 8E02000C */ lw $v0, 0xc($s0)
|
||||||
|
/* 733684 802A15B4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 733688 802A15B8 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 73368C 802A15BC 3C038008 */ lui $v1, %hi(gItemTable)
|
||||||
|
/* 733690 802A15C0 246378E0 */ addiu $v1, $v1, %lo(gItemTable)
|
||||||
|
/* 733694 802A15C4 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 733698 802A15C8 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 73369C 802A15CC 8043001B */ lb $v1, 0x1b($v0)
|
||||||
|
/* 7336A0 802A15D0 AE0300B0 */ sw $v1, 0xb0($s0)
|
||||||
|
/* 7336A4 802A15D4 8043001C */ lb $v1, 0x1c($v0)
|
||||||
|
/* 7336A8 802A15D8 AE0000B8 */ sw $zero, 0xb8($s0)
|
||||||
|
/* 7336AC 802A15DC AE0300B4 */ sw $v1, 0xb4($s0)
|
||||||
|
/* 7336B0 802A15E0 94420018 */ lhu $v0, 0x18($v0)
|
||||||
|
/* 7336B4 802A15E4 30420100 */ andi $v0, $v0, 0x100
|
||||||
|
/* 7336B8 802A15E8 10400002 */ beqz $v0, .L802A15F4
|
||||||
|
/* 7336BC 802A15EC 24020001 */ addiu $v0, $zero, 1
|
||||||
|
/* 7336C0 802A15F0 AE0200B8 */ sw $v0, 0xb8($s0)
|
||||||
|
.L802A15F4:
|
||||||
|
/* 7336C4 802A15F4 8E0200B0 */ lw $v0, 0xb0($s0)
|
||||||
|
/* 7336C8 802A15F8 04400006 */ bltz $v0, .L802A1614
|
||||||
|
/* 7336CC 802A15FC 0000182D */ daddu $v1, $zero, $zero
|
||||||
|
/* 7336D0 802A1600 5C400006 */ bgtzl $v0, .L802A161C
|
||||||
|
/* 7336D4 802A1604 AE0300C0 */ sw $v1, 0xc0($s0)
|
||||||
|
/* 7336D8 802A1608 8E0200B4 */ lw $v0, 0xb4($s0)
|
||||||
|
/* 7336DC 802A160C 04430003 */ bgezl $v0, .L802A161C
|
||||||
|
/* 7336E0 802A1610 AE0300C0 */ sw $v1, 0xc0($s0)
|
||||||
|
.L802A1614:
|
||||||
|
/* 7336E4 802A1614 24030001 */ addiu $v1, $zero, 1
|
||||||
|
/* 7336E8 802A1618 AE0300C0 */ sw $v1, 0xc0($s0)
|
||||||
|
.L802A161C:
|
||||||
|
/* 7336EC 802A161C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 7336F0 802A1620 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 7336F4 802A1624 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 7336F8 802A1628 03E00008 */ jr $ra
|
||||||
|
/* 7336FC 802A162C 27BD0018 */ addiu $sp, $sp, 0x18
|
125
asm/nonmatchings/battle/item/fright_jar_72B910/func_802A1000_72B910.s
generated
Normal file
125
asm/nonmatchings/battle/item/fright_jar_72B910/func_802A1000_72B910.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_72B910
|
||||||
|
/* 72B910 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 72B914 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 72B918 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 72B91C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 72B920 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 72B924 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72B928 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 72B92C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 72B930 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 72B934 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 72B938 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 72B93C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 72B940 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 72B944 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 72B948 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 72B94C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 72B950 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 72B954 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 72B958 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 72B95C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 72B960 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72B964 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 72B968 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 72B96C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 72B970 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 72B974 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 72B978 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 72B97C 802A106C 00000000 */ nop
|
||||||
|
/* 72B980 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72B984 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72B988 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 72B98C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 72B990 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 72B994 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 72B998 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 72B99C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 72B9A0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 72B9A4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 72B9A8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 72B9AC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 72B9B0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 72B9B4 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 72B9B8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72B9BC 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 72B9C0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 72B9C4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 72B9C8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 72B9CC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 72B9D0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 72B9D4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 72B9D8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 72B9DC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 72B9E0 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 72B9E4 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72B9E8 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72B9EC 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 72B9F0 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 72B9F4 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 72B9F8 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 72B9FC 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 72BA00 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 72BA04 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72BA08 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72BA0C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72BA10 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 72BA14 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 72BA18 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 72BA1C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 72BA20 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 72BA24 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 72BA28 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 72BA2C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 72BA30 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 72BA34 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 72BA38 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 72BA3C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 72BA40 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72BA44 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 72BA48 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72BA4C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 72BA50 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 72BA54 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 72BA58 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 72BA5C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 72BA60 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 72BA64 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72BA68 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72BA6C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72BA70 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 72BA74 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 72BA78 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 72BA7C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 72BA80 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 72BA84 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 72BA88 802A1178 00000000 */ nop
|
||||||
|
/* 72BA8C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 72BA90 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 72BA94 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 72BA98 802A1188 3C01802A */ lui $at, %hi(D_802A1CA0)
|
||||||
|
/* 72BA9C 802A118C AC241CA0 */ sw $a0, %lo(D_802A1CA0)($at)
|
||||||
|
/* 72BAA0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 72BAA4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 72BAA8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 72BAAC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 72BAB0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 72BAB4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 72BAB8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 72BABC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 72BAC0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 72BAC4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 72BAC8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 72BACC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 72BAD0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 72BAD4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 72BAD8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72BADC 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 72BAE0 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/fright_jar_72B910/func_802A11D4_72BAE4.s
generated
Normal file
31
asm/nonmatchings/battle/item/fright_jar_72B910/func_802A11D4_72BAE4.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_72BAE4
|
||||||
|
/* 72BAE4 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72BAE8 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 72BAEC 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 72BAF0 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72BAF4 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72BAF8 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 72BAFC 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 72BB00 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72BB04 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 72BB08 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 72BB0C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 72BB10 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72BB14 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72BB18 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 72BB1C 802A120C 00000000 */ nop
|
||||||
|
/* 72BB20 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 72BB24 802A1214 00000000 */ nop
|
||||||
|
/* 72BB28 802A1218 3C04802A */ lui $a0, %hi(D_802A1CA0)
|
||||||
|
/* 72BB2C 802A121C 8C841CA0 */ lw $a0, %lo(D_802A1CA0)($a0)
|
||||||
|
/* 72BB30 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 72BB34 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 72BB38 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72BB3C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72BB40 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72BB44 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 72BB48 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
38
asm/nonmatchings/battle/item/fright_jar_72B910/func_802A12D4_72BBE4.s
generated
Normal file
38
asm/nonmatchings/battle/item/fright_jar_72B910/func_802A12D4_72BBE4.s
generated
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A12D4_72BBE4
|
||||||
|
/* 72BBE4 802A12D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72BBE8 802A12D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72BBEC 802A12DC 0080802D */ daddu $s0, $a0, $zero
|
||||||
|
/* 72BBF0 802A12E0 10A00003 */ beqz $a1, .L802A12F0
|
||||||
|
/* 72BBF4 802A12E4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72BBF8 802A12E8 24020014 */ addiu $v0, $zero, 0x14
|
||||||
|
/* 72BBFC 802A12EC AE020070 */ sw $v0, 0x70($s0)
|
||||||
|
.L802A12F0:
|
||||||
|
/* 72BC00 802A12F0 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 72BC04 802A12F4 0080282D */ daddu $a1, $a0, $zero
|
||||||
|
/* 72BC08 802A12F8 8E020070 */ lw $v0, 0x70($s0)
|
||||||
|
/* 72BC0C 802A12FC 0080302D */ daddu $a2, $a0, $zero
|
||||||
|
/* 72BC10 802A1300 00023880 */ sll $a3, $v0, 2
|
||||||
|
/* 72BC14 802A1304 00E23821 */ addu $a3, $a3, $v0
|
||||||
|
/* 72BC18 802A1308 00073840 */ sll $a3, $a3, 1
|
||||||
|
/* 72BC1C 802A130C 0C046F97 */ jal set_background_color_blend
|
||||||
|
/* 72BC20 802A1310 30E700FE */ andi $a3, $a3, 0xfe
|
||||||
|
/* 72BC24 802A1314 8E020070 */ lw $v0, 0x70($s0)
|
||||||
|
/* 72BC28 802A1318 2442FFFF */ addiu $v0, $v0, -1
|
||||||
|
/* 72BC2C 802A131C 10400003 */ beqz $v0, .L802A132C
|
||||||
|
/* 72BC30 802A1320 AE020070 */ sw $v0, 0x70($s0)
|
||||||
|
/* 72BC34 802A1324 080A84D1 */ j .L802A1344
|
||||||
|
/* 72BC38 802A1328 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
.L802A132C:
|
||||||
|
/* 72BC3C 802A132C 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 72BC40 802A1330 0080282D */ daddu $a1, $a0, $zero
|
||||||
|
/* 72BC44 802A1334 0080302D */ daddu $a2, $a0, $zero
|
||||||
|
/* 72BC48 802A1338 0C046F97 */ jal set_background_color_blend
|
||||||
|
/* 72BC4C 802A133C 0080382D */ daddu $a3, $a0, $zero
|
||||||
|
/* 72BC50 802A1340 24020002 */ addiu $v0, $zero, 2
|
||||||
|
.L802A1344:
|
||||||
|
/* 72BC54 802A1344 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72BC58 802A1348 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72BC5C 802A134C 03E00008 */ jr $ra
|
125
asm/nonmatchings/battle/item/hustle_drink_725F60/func_802A1000_725F60.s
generated
Normal file
125
asm/nonmatchings/battle/item/hustle_drink_725F60/func_802A1000_725F60.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_725F60
|
||||||
|
/* 725F60 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 725F64 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 725F68 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 725F6C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 725F70 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 725F74 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 725F78 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 725F7C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 725F80 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 725F84 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 725F88 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 725F8C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 725F90 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 725F94 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 725F98 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 725F9C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 725FA0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 725FA4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 725FA8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 725FAC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 725FB0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 725FB4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 725FB8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 725FBC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 725FC0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 725FC4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 725FC8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 725FCC 802A106C 00000000 */ nop
|
||||||
|
/* 725FD0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 725FD4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 725FD8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 725FDC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 725FE0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 725FE4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 725FE8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 725FEC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 725FF0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 725FF4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 725FF8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 725FFC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 726000 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 726004 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 726008 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72600C 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 726010 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 726014 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 726018 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 72601C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 726020 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 726024 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 726028 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 72602C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 726030 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 726034 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 726038 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72603C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 726040 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 726044 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 726048 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 72604C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 726050 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 726054 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 726058 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72605C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 726060 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 726064 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 726068 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 72606C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 726070 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 726074 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 726078 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 72607C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 726080 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 726084 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 726088 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 72608C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 726090 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 726094 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 726098 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72609C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 7260A0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 7260A4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 7260A8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 7260AC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 7260B0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 7260B4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 7260B8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 7260BC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 7260C0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 7260C4 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 7260C8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 7260CC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 7260D0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 7260D4 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 7260D8 802A1178 00000000 */ nop
|
||||||
|
/* 7260DC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 7260E0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 7260E4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 7260E8 802A1188 3C01802A */ lui $at, %hi(D_802A1E70)
|
||||||
|
/* 7260EC 802A118C AC241E70 */ sw $a0, %lo(D_802A1E70)($at)
|
||||||
|
/* 7260F0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 7260F4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 7260F8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 7260FC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 726100 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 726104 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 726108 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 72610C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 726110 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 726114 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 726118 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 72611C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 726120 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 726124 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 726128 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72612C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 726130 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/hustle_drink_725F60/func_802A11D4_726134.s
generated
Normal file
31
asm/nonmatchings/battle/item/hustle_drink_725F60/func_802A11D4_726134.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_726134
|
||||||
|
/* 726134 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 726138 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 72613C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 726140 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 726144 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 726148 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 72614C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 726150 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 726154 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 726158 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 72615C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 726160 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 726164 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 726168 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 72616C 802A120C 00000000 */ nop
|
||||||
|
/* 726170 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 726174 802A1214 00000000 */ nop
|
||||||
|
/* 726178 802A1218 3C04802A */ lui $a0, %hi(D_802A1E70)
|
||||||
|
/* 72617C 802A121C 8C841E70 */ lw $a0, %lo(D_802A1E70)($a0)
|
||||||
|
/* 726180 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 726184 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 726188 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72618C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 726190 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 726194 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 726198 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
42
asm/nonmatchings/battle/item/hustle_drink_725F60/func_802A123C_72619C.s
generated
Normal file
42
asm/nonmatchings/battle/item/hustle_drink_725F60/func_802A123C_72619C.s
generated
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_72619C
|
||||||
|
/* 72619C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 7261A0 802A1240 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 7261A4 802A1244 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
|
||||||
|
/* 7261A8 802A1248 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
|
||||||
|
/* 7261AC 802A124C AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 7261B0 802A1250 82020210 */ lb $v0, 0x210($s0)
|
||||||
|
/* 7261B4 802A1254 10400005 */ beqz $v0, .L802A126C
|
||||||
|
/* 7261B8 802A1258 00000000 */ nop
|
||||||
|
/* 7261BC 802A125C 86040436 */ lh $a0, 0x436($s0)
|
||||||
|
/* 7261C0 802A1260 A2000211 */ sb $zero, 0x211($s0)
|
||||||
|
/* 7261C4 802A1264 0C011E26 */ jal func_80047898
|
||||||
|
/* 7261C8 802A1268 A2000210 */ sb $zero, 0x210($s0)
|
||||||
|
.L802A126C:
|
||||||
|
/* 7261CC 802A126C 82020212 */ lb $v0, 0x212($s0)
|
||||||
|
/* 7261D0 802A1270 10400005 */ beqz $v0, .L802A1288
|
||||||
|
/* 7261D4 802A1274 00000000 */ nop
|
||||||
|
/* 7261D8 802A1278 86040436 */ lh $a0, 0x436($s0)
|
||||||
|
/* 7261DC 802A127C A2000213 */ sb $zero, 0x213($s0)
|
||||||
|
/* 7261E0 802A1280 0C011E68 */ jal func_800479A0
|
||||||
|
/* 7261E4 802A1284 A2000212 */ sb $zero, 0x212($s0)
|
||||||
|
.L802A1288:
|
||||||
|
/* 7261E8 802A1288 82020214 */ lb $v0, 0x214($s0)
|
||||||
|
/* 7261EC 802A128C 10400003 */ beqz $v0, .L802A129C
|
||||||
|
/* 7261F0 802A1290 00000000 */ nop
|
||||||
|
/* 7261F4 802A1294 A2000215 */ sb $zero, 0x215($s0)
|
||||||
|
/* 7261F8 802A1298 A2000214 */ sb $zero, 0x214($s0)
|
||||||
|
.L802A129C:
|
||||||
|
/* 7261FC 802A129C 82020218 */ lb $v0, 0x218($s0)
|
||||||
|
/* 726200 802A12A0 10400003 */ beqz $v0, .L802A12B0
|
||||||
|
/* 726204 802A12A4 00000000 */ nop
|
||||||
|
/* 726208 802A12A8 A2000219 */ sb $zero, 0x219($s0)
|
||||||
|
/* 72620C 802A12AC A2000218 */ sb $zero, 0x218($s0)
|
||||||
|
.L802A12B0:
|
||||||
|
/* 726210 802A12B0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 726214 802A12B4 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 726218 802A12B8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72621C 802A12BC 03E00008 */ jr $ra
|
||||||
|
/* 726220 802A12C0 27BD0018 */ addiu $sp, $sp, 0x18
|
11
asm/nonmatchings/battle/item/hustle_drink_725F60/func_802A12C4_726224.s
generated
Normal file
11
asm/nonmatchings/battle/item/hustle_drink_725F60/func_802A12C4_726224.s
generated
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A12C4_726224
|
||||||
|
/* 726224 802A12C4 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 726228 802A12C8 3C01800E */ lui $at, %hi(gBattleStatus+0x8B)
|
||||||
|
/* 72622C 802A12CC A022C0FB */ sb $v0, %lo(gBattleStatus+0x8B)($at)
|
||||||
|
/* 726230 802A12D0 03E00008 */ jr $ra
|
||||||
|
/* 726234 802A12D4 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 726238 802A12D8 00000000 */ nop
|
||||||
|
/* 72623C 802A12DC 00000000 */ nop
|
125
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A1000_72A750.s
generated
Normal file
125
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A1000_72A750.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_72A750
|
||||||
|
/* 72A750 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 72A754 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 72A758 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 72A75C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 72A760 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 72A764 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72A768 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 72A76C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 72A770 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 72A774 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 72A778 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 72A77C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 72A780 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 72A784 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 72A788 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 72A78C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 72A790 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 72A794 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 72A798 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 72A79C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 72A7A0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72A7A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 72A7A8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 72A7AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 72A7B0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 72A7B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 72A7B8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 72A7BC 802A106C 00000000 */ nop
|
||||||
|
/* 72A7C0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72A7C4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72A7C8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 72A7CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 72A7D0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 72A7D4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 72A7D8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 72A7DC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 72A7E0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 72A7E4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 72A7E8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 72A7EC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 72A7F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 72A7F4 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 72A7F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72A7FC 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 72A800 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 72A804 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 72A808 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 72A80C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 72A810 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 72A814 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 72A818 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 72A81C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 72A820 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 72A824 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72A828 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72A82C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 72A830 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 72A834 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 72A838 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 72A83C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 72A840 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 72A844 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72A848 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72A84C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72A850 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 72A854 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 72A858 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 72A85C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 72A860 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 72A864 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 72A868 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 72A86C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 72A870 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 72A874 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 72A878 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 72A87C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 72A880 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72A884 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 72A888 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72A88C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 72A890 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 72A894 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 72A898 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 72A89C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 72A8A0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 72A8A4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72A8A8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72A8AC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72A8B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 72A8B4 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 72A8B8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 72A8BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 72A8C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 72A8C4 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 72A8C8 802A1178 00000000 */ nop
|
||||||
|
/* 72A8CC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 72A8D0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 72A8D4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 72A8D8 802A1188 3C01802A */ lui $at, %hi(D_802A21C0)
|
||||||
|
/* 72A8DC 802A118C AC2421C0 */ sw $a0, %lo(D_802A21C0)($at)
|
||||||
|
/* 72A8E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 72A8E4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 72A8E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 72A8EC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 72A8F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 72A8F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 72A8F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 72A8FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 72A900 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 72A904 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 72A908 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 72A90C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 72A910 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 72A914 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 72A918 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72A91C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 72A920 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A11D4_72A924.s
generated
Normal file
31
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A11D4_72A924.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_72A924
|
||||||
|
/* 72A924 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72A928 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 72A92C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 72A930 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72A934 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72A938 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 72A93C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 72A940 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72A944 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 72A948 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 72A94C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 72A950 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72A954 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72A958 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 72A95C 802A120C 00000000 */ nop
|
||||||
|
/* 72A960 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 72A964 802A1214 00000000 */ nop
|
||||||
|
/* 72A968 802A1218 3C04802A */ lui $a0, %hi(D_802A21C0)
|
||||||
|
/* 72A96C 802A121C 8C8421C0 */ lw $a0, %lo(D_802A21C0)($a0)
|
||||||
|
/* 72A970 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 72A974 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 72A978 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72A97C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72A980 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72A984 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 72A988 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
21
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A123C_72A98C.s
generated
Normal file
21
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A123C_72A98C.s
generated
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_72A98C
|
||||||
|
/* 72A98C 802A123C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72A990 802A1240 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72A994 802A1244 0080802D */ daddu $s0, $a0, $zero
|
||||||
|
/* 72A998 802A1248 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72A99C 802A124C 0C09A75B */ jal get_actor
|
||||||
|
/* 72A9A0 802A1250 8E040148 */ lw $a0, 0x148($s0)
|
||||||
|
/* 72A9A4 802A1254 0C09A75B */ jal get_actor
|
||||||
|
/* 72A9A8 802A1258 84440428 */ lh $a0, 0x428($v0)
|
||||||
|
/* 72A9AC 802A125C 90430136 */ lbu $v1, 0x136($v0)
|
||||||
|
/* 72A9B0 802A1260 38630031 */ xori $v1, $v1, 0x31
|
||||||
|
/* 72A9B4 802A1264 2C630001 */ sltiu $v1, $v1, 1
|
||||||
|
/* 72A9B8 802A1268 AE0300A8 */ sw $v1, 0xa8($s0)
|
||||||
|
/* 72A9BC 802A126C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72A9C0 802A1270 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72A9C4 802A1274 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72A9C8 802A1278 03E00008 */ jr $ra
|
||||||
|
/* 72A9CC 802A127C 27BD0018 */ addiu $sp, $sp, 0x18
|
28
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A1280_72A9D0.s
generated
Normal file
28
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A1280_72A9D0.s
generated
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1280_72A9D0
|
||||||
|
/* 72A9D0 802A1280 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||||
|
/* 72A9D4 802A1284 AFBF001C */ sw $ra, 0x1c($sp)
|
||||||
|
/* 72A9D8 802A1288 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 72A9DC 802A128C 0C09A75B */ jal get_actor
|
||||||
|
/* 72A9E0 802A1290 8C840148 */ lw $a0, 0x148($a0)
|
||||||
|
/* 72A9E4 802A1294 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 72A9E8 802A1298 C6000020 */ lwc1 $f0, 0x20($s0)
|
||||||
|
/* 72A9EC 802A129C 24040231 */ addiu $a0, $zero, 0x231
|
||||||
|
/* 72A9F0 802A12A0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||||
|
/* 72A9F4 802A12A4 8E060018 */ lw $a2, 0x18($s0)
|
||||||
|
/* 72A9F8 802A12A8 8E07001C */ lw $a3, 0x1c($s0)
|
||||||
|
/* 72A9FC 802A12AC 0C052757 */ jal play_sound_at_position
|
||||||
|
/* 72AA00 802A12B0 0000282D */ daddu $a1, $zero, $zero
|
||||||
|
/* 72AA04 802A12B4 86040428 */ lh $a0, 0x428($s0)
|
||||||
|
/* 72AA08 802A12B8 0C09A75B */ jal get_actor
|
||||||
|
/* 72AA0C 802A12BC 00000000 */ nop
|
||||||
|
/* 72AA10 802A12C0 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 72AA14 802A12C4 0C09DC58 */ jal dispatch_event_actor
|
||||||
|
/* 72AA18 802A12C8 24050039 */ addiu $a1, $zero, 0x39
|
||||||
|
/* 72AA1C 802A12CC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||||
|
/* 72AA20 802A12D0 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 72AA24 802A12D4 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72AA28 802A12D8 03E00008 */ jr $ra
|
||||||
|
/* 72AA2C 802A12DC 27BD0020 */ addiu $sp, $sp, 0x20
|
84
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A12E0_72AA30.s
generated
Normal file
84
asm/nonmatchings/battle/item/insecticide_herb_72A750/func_802A12E0_72AA30.s
generated
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A12E0_72AA30
|
||||||
|
/* 72AA30 802A12E0 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||||
|
/* 72AA34 802A12E4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 72AA38 802A12E8 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 72AA3C 802A12EC AFBF0020 */ sw $ra, 0x20($sp)
|
||||||
|
/* 72AA40 802A12F0 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 72AA44 802A12F4 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||||
|
/* 72AA48 802A12F8 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||||
|
/* 72AA4C 802A12FC F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||||
|
/* 72AA50 802A1300 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 72AA54 802A1304 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72AA58 802A1308 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72AA5C 802A130C 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 72AA60 802A1310 4482A000 */ mtc1 $v0, $f20
|
||||||
|
/* 72AA64 802A1314 00000000 */ nop
|
||||||
|
/* 72AA68 802A1318 4680A520 */ cvt.s.w $f20, $f20
|
||||||
|
/* 72AA6C 802A131C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72AA70 802A1320 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 72AA74 802A1324 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72AA78 802A1328 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 72AA7C 802A132C 4482B000 */ mtc1 $v0, $f22
|
||||||
|
/* 72AA80 802A1330 00000000 */ nop
|
||||||
|
/* 72AA84 802A1334 4680B5A0 */ cvt.s.w $f22, $f22
|
||||||
|
/* 72AA88 802A1338 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72AA8C 802A133C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72AA90 802A1340 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 72AA94 802A1344 4482C000 */ mtc1 $v0, $f24
|
||||||
|
/* 72AA98 802A1348 00000000 */ nop
|
||||||
|
/* 72AA9C 802A134C 4680C620 */ cvt.s.w $f24, $f24
|
||||||
|
/* 72AAA0 802A1350 0C00A67F */ jal rand_int
|
||||||
|
/* 72AAA4 802A1354 24040014 */ addiu $a0, $zero, 0x14
|
||||||
|
/* 72AAA8 802A1358 2404000A */ addiu $a0, $zero, 0xa
|
||||||
|
/* 72AAAC 802A135C 2442FFF6 */ addiu $v0, $v0, -0xa
|
||||||
|
/* 72AAB0 802A1360 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 72AAB4 802A1364 00000000 */ nop
|
||||||
|
/* 72AAB8 802A1368 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72AABC 802A136C 0C00A67F */ jal rand_int
|
||||||
|
/* 72AAC0 802A1370 4600A500 */ add.s $f20, $f20, $f0
|
||||||
|
/* 72AAC4 802A1374 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 72AAC8 802A1378 2442FFFB */ addiu $v0, $v0, -5
|
||||||
|
/* 72AACC 802A137C 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 72AAD0 802A1380 00000000 */ nop
|
||||||
|
/* 72AAD4 802A1384 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72AAD8 802A1388 4600B580 */ add.s $f22, $f22, $f0
|
||||||
|
/* 72AADC 802A138C 3C013F80 */ lui $at, 0x3f80
|
||||||
|
/* 72AAE0 802A1390 44811000 */ mtc1 $at, $f2
|
||||||
|
/* 72AAE4 802A1394 4407C000 */ mfc1 $a3, $f24
|
||||||
|
/* 72AAE8 802A1398 4405A000 */ mfc1 $a1, $f20
|
||||||
|
/* 72AAEC 802A139C 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72AAF0 802A13A0 2402001E */ addiu $v0, $zero, 0x1e
|
||||||
|
/* 72AAF4 802A13A4 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 72AAF8 802A13A8 0C01C88C */ jal func_80072230
|
||||||
|
/* 72AAFC 802A13AC E7A20010 */ swc1 $f2, 0x10($sp)
|
||||||
|
/* 72AB00 802A13B0 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 72AB04 802A13B4 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 72AB08 802A13B8 240300F4 */ addiu $v1, $zero, 0xf4
|
||||||
|
/* 72AB0C 802A13BC AC430018 */ sw $v1, 0x18($v0)
|
||||||
|
/* 72AB10 802A13C0 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 72AB14 802A13C4 AC43001C */ sw $v1, 0x1c($v0)
|
||||||
|
/* 72AB18 802A13C8 8C83000C */ lw $v1, 0xc($a0)
|
||||||
|
/* 72AB1C 802A13CC 240200DC */ addiu $v0, $zero, 0xdc
|
||||||
|
/* 72AB20 802A13D0 AC620020 */ sw $v0, 0x20($v1)
|
||||||
|
/* 72AB24 802A13D4 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 72AB28 802A13D8 240500D2 */ addiu $a1, $zero, 0xd2
|
||||||
|
/* 72AB2C 802A13DC AC450028 */ sw $a1, 0x28($v0)
|
||||||
|
/* 72AB30 802A13E0 8C83000C */ lw $v1, 0xc($a0)
|
||||||
|
/* 72AB34 802A13E4 AC65002C */ sw $a1, 0x2c($v1)
|
||||||
|
/* 72AB38 802A13E8 8C84000C */ lw $a0, 0xc($a0)
|
||||||
|
/* 72AB3C 802A13EC 240300BE */ addiu $v1, $zero, 0xbe
|
||||||
|
/* 72AB40 802A13F0 AC830030 */ sw $v1, 0x30($a0)
|
||||||
|
/* 72AB44 802A13F4 8FBF0020 */ lw $ra, 0x20($sp)
|
||||||
|
/* 72AB48 802A13F8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 72AB4C 802A13FC 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 72AB50 802A1400 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||||
|
/* 72AB54 802A1404 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||||
|
/* 72AB58 802A1408 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||||
|
/* 72AB5C 802A140C 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72AB60 802A1410 03E00008 */ jr $ra
|
||||||
|
/* 72AB64 802A1414 27BD0040 */ addiu $sp, $sp, 0x40
|
||||||
|
/* 72AB68 802A1418 00000000 */ nop
|
||||||
|
/* 72AB6C 802A141C 00000000 */ nop
|
125
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A1000_72E530.s
generated
Normal file
125
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A1000_72E530.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_72E530
|
||||||
|
/* 72E530 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 72E534 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 72E538 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 72E53C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 72E540 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 72E544 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72E548 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 72E54C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 72E550 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 72E554 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 72E558 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 72E55C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 72E560 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 72E564 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 72E568 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 72E56C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 72E570 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 72E574 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 72E578 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 72E57C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 72E580 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72E584 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 72E588 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 72E58C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 72E590 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 72E594 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 72E598 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 72E59C 802A106C 00000000 */ nop
|
||||||
|
/* 72E5A0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72E5A4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72E5A8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 72E5AC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 72E5B0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 72E5B4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 72E5B8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 72E5BC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 72E5C0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 72E5C4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 72E5C8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 72E5CC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 72E5D0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 72E5D4 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 72E5D8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72E5DC 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 72E5E0 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 72E5E4 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 72E5E8 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 72E5EC 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 72E5F0 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 72E5F4 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 72E5F8 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 72E5FC 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 72E600 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 72E604 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72E608 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72E60C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 72E610 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 72E614 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 72E618 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 72E61C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 72E620 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 72E624 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72E628 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72E62C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72E630 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 72E634 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 72E638 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 72E63C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 72E640 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 72E644 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 72E648 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 72E64C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 72E650 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 72E654 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 72E658 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 72E65C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 72E660 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72E664 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 72E668 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72E66C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 72E670 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 72E674 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 72E678 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 72E67C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 72E680 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 72E684 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72E688 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72E68C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72E690 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 72E694 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 72E698 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 72E69C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 72E6A0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 72E6A4 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 72E6A8 802A1178 00000000 */ nop
|
||||||
|
/* 72E6AC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 72E6B0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 72E6B4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 72E6B8 802A1188 3C01802A */ lui $at, %hi(D_802A21F0)
|
||||||
|
/* 72E6BC 802A118C AC2421F0 */ sw $a0, %lo(D_802A21F0)($at)
|
||||||
|
/* 72E6C0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 72E6C4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 72E6C8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 72E6CC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 72E6D0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 72E6D4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 72E6D8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 72E6DC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 72E6E0 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 72E6E4 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 72E6E8 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 72E6EC 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 72E6F0 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 72E6F4 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 72E6F8 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72E6FC 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 72E700 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A11D4_72E704.s
generated
Normal file
31
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A11D4_72E704.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_72E704
|
||||||
|
/* 72E704 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72E708 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 72E70C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 72E710 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72E714 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72E718 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 72E71C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 72E720 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72E724 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 72E728 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 72E72C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 72E730 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72E734 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72E738 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 72E73C 802A120C 00000000 */ nop
|
||||||
|
/* 72E740 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 72E744 802A1214 00000000 */ nop
|
||||||
|
/* 72E748 802A1218 3C04802A */ lui $a0, %hi(D_802A21F0)
|
||||||
|
/* 72E74C 802A121C 8C8421F0 */ lw $a0, %lo(D_802A21F0)($a0)
|
||||||
|
/* 72E750 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 72E754 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 72E758 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72E75C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72E760 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72E764 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 72E768 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
48
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A123C_72E76C.s
generated
Normal file
48
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A123C_72E76C.s
generated
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_72E76C
|
||||||
|
/* 72E76C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||||
|
/* 72E770 802A1240 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 72E774 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 72E778 802A1248 AFBF0020 */ sw $ra, 0x20($sp)
|
||||||
|
/* 72E77C 802A124C AFB3001C */ sw $s3, 0x1c($sp)
|
||||||
|
/* 72E780 802A1250 AFB20018 */ sw $s2, 0x18($sp)
|
||||||
|
/* 72E784 802A1254 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72E788 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 72E78C 802A125C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72E790 802A1260 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E794 802A1264 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 72E798 802A1268 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72E79C 802A126C 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 72E7A0 802A1270 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 72E7A4 802A1274 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E7A8 802A1278 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 72E7AC 802A127C 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 72E7B0 802A1280 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72E7B4 802A1284 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E7B8 802A1288 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 72E7BC 802A128C 8E2400BC */ lw $a0, 0xbc($s1)
|
||||||
|
/* 72E7C0 802A1290 0C04C3D6 */ jal get_item_entity
|
||||||
|
/* 72E7C4 802A1294 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 72E7C8 802A1298 0040182D */ daddu $v1, $v0, $zero
|
||||||
|
/* 72E7CC 802A129C 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 72E7D0 802A12A0 00000000 */ nop
|
||||||
|
/* 72E7D4 802A12A4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72E7D8 802A12A8 E4600008 */ swc1 $f0, 8($v1)
|
||||||
|
/* 72E7DC 802A12AC 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 72E7E0 802A12B0 00000000 */ nop
|
||||||
|
/* 72E7E4 802A12B4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72E7E8 802A12B8 E460000C */ swc1 $f0, 0xc($v1)
|
||||||
|
/* 72E7EC 802A12BC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 72E7F0 802A12C0 00000000 */ nop
|
||||||
|
/* 72E7F4 802A12C4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72E7F8 802A12C8 E4600010 */ swc1 $f0, 0x10($v1)
|
||||||
|
/* 72E7FC 802A12CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||||
|
/* 72E800 802A12D0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||||
|
/* 72E804 802A12D4 8FB20018 */ lw $s2, 0x18($sp)
|
||||||
|
/* 72E808 802A12D8 8FB10014 */ lw $s1, 0x14($sp)
|
||||||
|
/* 72E80C 802A12DC 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72E810 802A12E0 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72E814 802A12E4 03E00008 */ jr $ra
|
||||||
|
/* 72E818 802A12E8 27BD0028 */ addiu $sp, $sp, 0x28
|
43
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A12EC_72E81C.s
generated
Normal file
43
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A12EC_72E81C.s
generated
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A12EC_72E81C
|
||||||
|
/* 72E81C 802A12EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72E820 802A12F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72E824 802A12F4 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||||
|
/* 72E828 802A12F8 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||||
|
/* 72E82C 802A12FC AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72E830 802A1300 82020217 */ lb $v0, 0x217($s0)
|
||||||
|
/* 72E834 802A1304 8C85000C */ lw $a1, 0xc($a0)
|
||||||
|
/* 72E838 802A1308 10400017 */ beqz $v0, .L802A1368
|
||||||
|
/* 72E83C 802A130C 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72E840 802A1310 8CA50000 */ lw $a1, ($a1)
|
||||||
|
/* 72E844 802A1314 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E848 802A1318 00000000 */ nop
|
||||||
|
/* 72E84C 802A131C 92030217 */ lbu $v1, 0x217($s0)
|
||||||
|
/* 72E850 802A1320 00621823 */ subu $v1, $v1, $v0
|
||||||
|
/* 72E854 802A1324 A2030217 */ sb $v1, 0x217($s0)
|
||||||
|
/* 72E858 802A1328 00031E00 */ sll $v1, $v1, 0x18
|
||||||
|
/* 72E85C 802A132C 04620001 */ bltzl $v1, .L802A1334
|
||||||
|
/* 72E860 802A1330 A2000217 */ sb $zero, 0x217($s0)
|
||||||
|
.L802A1334:
|
||||||
|
/* 72E864 802A1334 82030217 */ lb $v1, 0x217($s0)
|
||||||
|
/* 72E868 802A1338 18600005 */ blez $v1, .L802A1350
|
||||||
|
/* 72E86C 802A133C 24040034 */ addiu $a0, $zero, 0x34
|
||||||
|
/* 72E870 802A1340 8E020440 */ lw $v0, 0x440($s0)
|
||||||
|
/* 72E874 802A1344 8C42000C */ lw $v0, 0xc($v0)
|
||||||
|
/* 72E878 802A1348 080A84D9 */ j .L802A1364
|
||||||
|
/* 72E87C 802A134C AC43003C */ sw $v1, 0x3c($v0)
|
||||||
|
.L802A1350:
|
||||||
|
/* 72E880 802A1350 0C09F7A0 */ jal dispatch_event_partner
|
||||||
|
/* 72E884 802A1354 A2000216 */ sb $zero, 0x216($s0)
|
||||||
|
/* 72E888 802A1358 8E020440 */ lw $v0, 0x440($s0)
|
||||||
|
/* 72E88C 802A135C 8C42000C */ lw $v0, 0xc($v0)
|
||||||
|
/* 72E890 802A1360 AC40003C */ sw $zero, 0x3c($v0)
|
||||||
|
.L802A1364:
|
||||||
|
/* 72E894 802A1364 24020002 */ addiu $v0, $zero, 2
|
||||||
|
.L802A1368:
|
||||||
|
/* 72E898 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72E89C 802A136C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72E8A0 802A1370 03E00008 */ jr $ra
|
||||||
|
/* 72E8A4 802A1374 27BD0018 */ addiu $sp, $sp, 0x18
|
52
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A1378_72E8A8.s
generated
Normal file
52
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A1378_72E8A8.s
generated
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1378_72E8A8
|
||||||
|
/* 72E8A8 802A1378 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 72E8AC 802A137C AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 72E8B0 802A1380 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 72E8B4 802A1384 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 72E8B8 802A1388 AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 72E8BC 802A138C AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 72E8C0 802A1390 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 72E8C4 802A1394 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 72E8C8 802A1398 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72E8CC 802A139C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E8D0 802A13A0 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 72E8D4 802A13A4 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72E8D8 802A13A8 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 72E8DC 802A13AC 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 72E8E0 802A13B0 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E8E4 802A13B4 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 72E8E8 802A13B8 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72E8EC 802A13BC 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 72E8F0 802A13C0 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 72E8F4 802A13C4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E8F8 802A13C8 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 72E8FC 802A13CC 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 72E900 802A13D0 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 72E904 802A13D4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E908 802A13D8 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 72E90C 802A13DC 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 72E910 802A13E0 00000000 */ nop
|
||||||
|
/* 72E914 802A13E4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72E918 802A13E8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72E91C 802A13EC 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 72E920 802A13F0 00000000 */ nop
|
||||||
|
/* 72E924 802A13F4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72E928 802A13F8 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 72E92C 802A13FC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 72E930 802A1400 00000000 */ nop
|
||||||
|
/* 72E934 802A1404 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72E938 802A1408 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 72E93C 802A140C 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 72E940 802A1410 0C01C424 */ jal func_80071090
|
||||||
|
/* 72E944 802A1414 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 72E948 802A1418 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 72E94C 802A141C 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 72E950 802A1420 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 72E954 802A1424 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 72E958 802A1428 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 72E95C 802A142C 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72E960 802A1430 03E00008 */ jr $ra
|
||||||
|
/* 72E964 802A1434 27BD0030 */ addiu $sp, $sp, 0x30
|
24
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A1438_72E968.s
generated
Normal file
24
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A1438_72E968.s
generated
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1438_72E968
|
||||||
|
/* 72E968 802A1438 3C058011 */ lui $a1, %hi(gPlayerData)
|
||||||
|
/* 72E96C 802A143C 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
|
||||||
|
/* 72E970 802A1440 90A20002 */ lbu $v0, 2($a1)
|
||||||
|
/* 72E974 802A1444 3C068009 */ lui $a2, %hi(gItemTable+0x12BB)
|
||||||
|
/* 72E978 802A1448 90C68B9B */ lbu $a2, %lo(gItemTable+0x12BB)($a2)
|
||||||
|
/* 72E97C 802A144C 80A30003 */ lb $v1, 3($a1)
|
||||||
|
/* 72E980 802A1450 00461021 */ addu $v0, $v0, $a2
|
||||||
|
/* 72E984 802A1454 A0A20002 */ sb $v0, 2($a1)
|
||||||
|
/* 72E988 802A1458 00021600 */ sll $v0, $v0, 0x18
|
||||||
|
/* 72E98C 802A145C 00021603 */ sra $v0, $v0, 0x18
|
||||||
|
/* 72E990 802A1460 0062182A */ slt $v1, $v1, $v0
|
||||||
|
/* 72E994 802A1464 90A20003 */ lbu $v0, 3($a1)
|
||||||
|
/* 72E998 802A1468 54600001 */ bnel $v1, $zero, .L802A1470
|
||||||
|
/* 72E99C 802A146C A0A20002 */ sb $v0, 2($a1)
|
||||||
|
.L802A1470:
|
||||||
|
/* 72E9A0 802A1470 00061600 */ sll $v0, $a2, 0x18
|
||||||
|
/* 72E9A4 802A1474 00021603 */ sra $v0, $v0, 0x18
|
||||||
|
/* 72E9A8 802A1478 AC820090 */ sw $v0, 0x90($a0)
|
||||||
|
/* 72E9AC 802A147C 03E00008 */ jr $ra
|
||||||
|
/* 72E9B0 802A1480 24020002 */ addiu $v0, $zero, 2
|
33
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A1484_72E9B4.s
generated
Normal file
33
asm/nonmatchings/battle/item/life_shroom_72E530/func_802A1484_72E9B4.s
generated
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1484_72E9B4
|
||||||
|
/* 72E9B4 802A1484 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72E9B8 802A1488 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72E9BC 802A148C 0080802D */ daddu $s0, $a0, $zero
|
||||||
|
/* 72E9C0 802A1490 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72E9C4 802A1494 8E02000C */ lw $v0, 0xc($s0)
|
||||||
|
/* 72E9C8 802A1498 0C0B1EAF */ jal get_variable
|
||||||
|
/* 72E9CC 802A149C 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 72E9D0 802A14A0 3C038008 */ lui $v1, %hi(gItemTable)
|
||||||
|
/* 72E9D4 802A14A4 246378E0 */ addiu $v1, $v1, %lo(gItemTable)
|
||||||
|
/* 72E9D8 802A14A8 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72E9DC 802A14AC 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72E9E0 802A14B0 8043001B */ lb $v1, 0x1b($v0)
|
||||||
|
/* 72E9E4 802A14B4 AE0300B0 */ sw $v1, 0xb0($s0)
|
||||||
|
/* 72E9E8 802A14B8 8044001C */ lb $a0, 0x1c($v0)
|
||||||
|
/* 72E9EC 802A14BC 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
/* 72E9F0 802A14C0 04600005 */ bltz $v1, .L802A14D8
|
||||||
|
/* 72E9F4 802A14C4 AE0400B4 */ sw $a0, 0xb4($s0)
|
||||||
|
/* 72E9F8 802A14C8 5C600005 */ bgtzl $v1, .L802A14E0
|
||||||
|
/* 72E9FC 802A14CC AE0200C0 */ sw $v0, 0xc0($s0)
|
||||||
|
/* 72EA00 802A14D0 04830003 */ bgezl $a0, .L802A14E0
|
||||||
|
/* 72EA04 802A14D4 AE0200C0 */ sw $v0, 0xc0($s0)
|
||||||
|
.L802A14D8:
|
||||||
|
/* 72EA08 802A14D8 24020001 */ addiu $v0, $zero, 1
|
||||||
|
/* 72EA0C 802A14DC AE0200C0 */ sw $v0, 0xc0($s0)
|
||||||
|
.L802A14E0:
|
||||||
|
/* 72EA10 802A14E0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72EA14 802A14E4 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72EA18 802A14E8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72EA1C 802A14EC 03E00008 */ jr $ra
|
125
asm/nonmatchings/battle/item/mushroom_715850/func_802A1000_715850.s
generated
Normal file
125
asm/nonmatchings/battle/item/mushroom_715850/func_802A1000_715850.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_715850
|
||||||
|
/* 715850 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 715854 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 715858 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 71585C 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 715860 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 715864 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 715868 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 71586C 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 715870 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 715874 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 715878 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 71587C 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 715880 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 715884 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 715888 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 71588C 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 715890 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 715894 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 715898 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 71589C 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 7158A0 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 7158A4 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 7158A8 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 7158AC 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 7158B0 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 7158B4 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 7158B8 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 7158BC 802A106C 00000000 */ nop
|
||||||
|
/* 7158C0 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 7158C4 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 7158C8 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 7158CC 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 7158D0 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 7158D4 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 7158D8 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 7158DC 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 7158E0 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 7158E4 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 7158E8 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 7158EC 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 7158F0 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 7158F4 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 7158F8 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 7158FC 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 715900 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 715904 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 715908 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 71590C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 715910 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 715914 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 715918 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 71591C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 715920 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 715924 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 715928 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 71592C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 715930 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 715934 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 715938 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 71593C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 715940 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 715944 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 715948 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 71594C 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 715950 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 715954 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 715958 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 71595C 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 715960 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 715964 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 715968 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 71596C 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 715970 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 715974 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 715978 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 71597C 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 715980 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 715984 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 715988 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 71598C 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 715990 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 715994 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 715998 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 71599C 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 7159A0 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 7159A4 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 7159A8 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 7159AC 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 7159B0 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 7159B4 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 7159B8 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 7159BC 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 7159C0 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 7159C4 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 7159C8 802A1178 00000000 */ nop
|
||||||
|
/* 7159CC 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 7159D0 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 7159D4 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 7159D8 802A1188 3C01802A */ lui $at, %hi(D_802A2410)
|
||||||
|
/* 7159DC 802A118C AC242410 */ sw $a0, %lo(D_802A2410)($at)
|
||||||
|
/* 7159E0 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 7159E4 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 7159E8 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 7159EC 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 7159F0 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 7159F4 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 7159F8 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 7159FC 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 715A00 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 715A04 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 715A08 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 715A0C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 715A10 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 715A14 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 715A18 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715A1C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 715A20 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/mushroom_715850/func_802A11D4_715A24.s
generated
Normal file
31
asm/nonmatchings/battle/item/mushroom_715850/func_802A11D4_715A24.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_715A24
|
||||||
|
/* 715A24 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 715A28 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 715A2C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 715A30 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 715A34 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 715A38 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 715A3C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 715A40 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 715A44 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 715A48 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 715A4C 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 715A50 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 715A54 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 715A58 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 715A5C 802A120C 00000000 */ nop
|
||||||
|
/* 715A60 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 715A64 802A1214 00000000 */ nop
|
||||||
|
/* 715A68 802A1218 3C04802A */ lui $a0, %hi(D_802A2410)
|
||||||
|
/* 715A6C 802A121C 8C842410 */ lw $a0, %lo(D_802A2410)($a0)
|
||||||
|
/* 715A70 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 715A74 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 715A78 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 715A7C 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 715A80 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715A84 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 715A88 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
48
asm/nonmatchings/battle/item/mushroom_715850/func_802A123C_715A8C.s
generated
Normal file
48
asm/nonmatchings/battle/item/mushroom_715850/func_802A123C_715A8C.s
generated
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_715A8C
|
||||||
|
/* 715A8C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||||
|
/* 715A90 802A1240 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 715A94 802A1244 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 715A98 802A1248 AFBF0020 */ sw $ra, 0x20($sp)
|
||||||
|
/* 715A9C 802A124C AFB3001C */ sw $s3, 0x1c($sp)
|
||||||
|
/* 715AA0 802A1250 AFB20018 */ sw $s2, 0x18($sp)
|
||||||
|
/* 715AA4 802A1254 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 715AA8 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 715AAC 802A125C 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715AB0 802A1260 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715AB4 802A1264 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 715AB8 802A1268 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715ABC 802A126C 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 715AC0 802A1270 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 715AC4 802A1274 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715AC8 802A1278 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 715ACC 802A127C 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 715AD0 802A1280 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715AD4 802A1284 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715AD8 802A1288 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 715ADC 802A128C 8E2400BC */ lw $a0, 0xbc($s1)
|
||||||
|
/* 715AE0 802A1290 0C04C3D6 */ jal get_item_entity
|
||||||
|
/* 715AE4 802A1294 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 715AE8 802A1298 0040182D */ daddu $v1, $v0, $zero
|
||||||
|
/* 715AEC 802A129C 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 715AF0 802A12A0 00000000 */ nop
|
||||||
|
/* 715AF4 802A12A4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715AF8 802A12A8 E4600008 */ swc1 $f0, 8($v1)
|
||||||
|
/* 715AFC 802A12AC 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 715B00 802A12B0 00000000 */ nop
|
||||||
|
/* 715B04 802A12B4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715B08 802A12B8 E460000C */ swc1 $f0, 0xc($v1)
|
||||||
|
/* 715B0C 802A12BC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 715B10 802A12C0 00000000 */ nop
|
||||||
|
/* 715B14 802A12C4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715B18 802A12C8 E4600010 */ swc1 $f0, 0x10($v1)
|
||||||
|
/* 715B1C 802A12CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||||
|
/* 715B20 802A12D0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||||
|
/* 715B24 802A12D4 8FB20018 */ lw $s2, 0x18($sp)
|
||||||
|
/* 715B28 802A12D8 8FB10014 */ lw $s1, 0x14($sp)
|
||||||
|
/* 715B2C 802A12DC 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 715B30 802A12E0 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715B34 802A12E4 03E00008 */ jr $ra
|
||||||
|
/* 715B38 802A12E8 27BD0028 */ addiu $sp, $sp, 0x28
|
43
asm/nonmatchings/battle/item/mushroom_715850/func_802A12EC_715B3C.s
generated
Normal file
43
asm/nonmatchings/battle/item/mushroom_715850/func_802A12EC_715B3C.s
generated
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A12EC_715B3C
|
||||||
|
/* 715B3C 802A12EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 715B40 802A12F0 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 715B44 802A12F4 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||||
|
/* 715B48 802A12F8 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||||
|
/* 715B4C 802A12FC AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 715B50 802A1300 82020217 */ lb $v0, 0x217($s0)
|
||||||
|
/* 715B54 802A1304 8C85000C */ lw $a1, 0xc($a0)
|
||||||
|
/* 715B58 802A1308 10400017 */ beqz $v0, .L802A1368
|
||||||
|
/* 715B5C 802A130C 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715B60 802A1310 8CA50000 */ lw $a1, ($a1)
|
||||||
|
/* 715B64 802A1314 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715B68 802A1318 00000000 */ nop
|
||||||
|
/* 715B6C 802A131C 92030217 */ lbu $v1, 0x217($s0)
|
||||||
|
/* 715B70 802A1320 00621823 */ subu $v1, $v1, $v0
|
||||||
|
/* 715B74 802A1324 A2030217 */ sb $v1, 0x217($s0)
|
||||||
|
/* 715B78 802A1328 00031E00 */ sll $v1, $v1, 0x18
|
||||||
|
/* 715B7C 802A132C 04620001 */ bltzl $v1, .L802A1334
|
||||||
|
/* 715B80 802A1330 A2000217 */ sb $zero, 0x217($s0)
|
||||||
|
.L802A1334:
|
||||||
|
/* 715B84 802A1334 82030217 */ lb $v1, 0x217($s0)
|
||||||
|
/* 715B88 802A1338 18600005 */ blez $v1, .L802A1350
|
||||||
|
/* 715B8C 802A133C 24040034 */ addiu $a0, $zero, 0x34
|
||||||
|
/* 715B90 802A1340 8E020440 */ lw $v0, 0x440($s0)
|
||||||
|
/* 715B94 802A1344 8C42000C */ lw $v0, 0xc($v0)
|
||||||
|
/* 715B98 802A1348 080A84D9 */ j .L802A1364
|
||||||
|
/* 715B9C 802A134C AC43003C */ sw $v1, 0x3c($v0)
|
||||||
|
.L802A1350:
|
||||||
|
/* 715BA0 802A1350 0C09F7A0 */ jal dispatch_event_partner
|
||||||
|
/* 715BA4 802A1354 A2000216 */ sb $zero, 0x216($s0)
|
||||||
|
/* 715BA8 802A1358 8E020440 */ lw $v0, 0x440($s0)
|
||||||
|
/* 715BAC 802A135C 8C42000C */ lw $v0, 0xc($v0)
|
||||||
|
/* 715BB0 802A1360 AC40003C */ sw $zero, 0x3c($v0)
|
||||||
|
.L802A1364:
|
||||||
|
/* 715BB4 802A1364 24020002 */ addiu $v0, $zero, 2
|
||||||
|
.L802A1368:
|
||||||
|
/* 715BB8 802A1368 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 715BBC 802A136C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 715BC0 802A1370 03E00008 */ jr $ra
|
||||||
|
/* 715BC4 802A1374 27BD0018 */ addiu $sp, $sp, 0x18
|
52
asm/nonmatchings/battle/item/mushroom_715850/func_802A1378_715BC8.s
generated
Normal file
52
asm/nonmatchings/battle/item/mushroom_715850/func_802A1378_715BC8.s
generated
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1378_715BC8
|
||||||
|
/* 715BC8 802A1378 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 715BCC 802A137C AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 715BD0 802A1380 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 715BD4 802A1384 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 715BD8 802A1388 AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 715BDC 802A138C AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 715BE0 802A1390 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 715BE4 802A1394 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 715BE8 802A1398 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715BEC 802A139C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715BF0 802A13A0 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 715BF4 802A13A4 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715BF8 802A13A8 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 715BFC 802A13AC 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 715C00 802A13B0 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715C04 802A13B4 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 715C08 802A13B8 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715C0C 802A13BC 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 715C10 802A13C0 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 715C14 802A13C4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715C18 802A13C8 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 715C1C 802A13CC 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 715C20 802A13D0 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715C24 802A13D4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715C28 802A13D8 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 715C2C 802A13DC 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 715C30 802A13E0 00000000 */ nop
|
||||||
|
/* 715C34 802A13E4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715C38 802A13E8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 715C3C 802A13EC 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 715C40 802A13F0 00000000 */ nop
|
||||||
|
/* 715C44 802A13F4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715C48 802A13F8 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 715C4C 802A13FC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 715C50 802A1400 00000000 */ nop
|
||||||
|
/* 715C54 802A1404 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715C58 802A1408 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 715C5C 802A140C 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 715C60 802A1410 0C01C424 */ jal func_80071090
|
||||||
|
/* 715C64 802A1414 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 715C68 802A1418 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 715C6C 802A141C 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 715C70 802A1420 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 715C74 802A1424 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 715C78 802A1428 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 715C7C 802A142C 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715C80 802A1430 03E00008 */ jr $ra
|
||||||
|
/* 715C84 802A1434 27BD0030 */ addiu $sp, $sp, 0x30
|
52
asm/nonmatchings/battle/item/mushroom_715850/func_802A1438_715C88.s
generated
Normal file
52
asm/nonmatchings/battle/item/mushroom_715850/func_802A1438_715C88.s
generated
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1438_715C88
|
||||||
|
/* 715C88 802A1438 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 715C8C 802A143C AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 715C90 802A1440 0080882D */ daddu $s1, $a0, $zero
|
||||||
|
/* 715C94 802A1444 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 715C98 802A1448 AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 715C9C 802A144C AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 715CA0 802A1450 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 715CA4 802A1454 8E30000C */ lw $s0, 0xc($s1)
|
||||||
|
/* 715CA8 802A1458 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715CAC 802A145C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715CB0 802A1460 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 715CB4 802A1464 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715CB8 802A1468 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 715CBC 802A146C 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 715CC0 802A1470 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715CC4 802A1474 0040982D */ daddu $s3, $v0, $zero
|
||||||
|
/* 715CC8 802A1478 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715CCC 802A147C 26100004 */ addiu $s0, $s0, 4
|
||||||
|
/* 715CD0 802A1480 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 715CD4 802A1484 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715CD8 802A1488 0040902D */ daddu $s2, $v0, $zero
|
||||||
|
/* 715CDC 802A148C 0220202D */ daddu $a0, $s1, $zero
|
||||||
|
/* 715CE0 802A1490 8E050000 */ lw $a1, ($s0)
|
||||||
|
/* 715CE4 802A1494 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715CE8 802A1498 0040802D */ daddu $s0, $v0, $zero
|
||||||
|
/* 715CEC 802A149C 44930000 */ mtc1 $s3, $f0
|
||||||
|
/* 715CF0 802A14A0 00000000 */ nop
|
||||||
|
/* 715CF4 802A14A4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715CF8 802A14A8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 715CFC 802A14AC 44920000 */ mtc1 $s2, $f0
|
||||||
|
/* 715D00 802A14B0 00000000 */ nop
|
||||||
|
/* 715D04 802A14B4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715D08 802A14B8 44060000 */ mfc1 $a2, $f0
|
||||||
|
/* 715D0C 802A14BC 44900000 */ mtc1 $s0, $f0
|
||||||
|
/* 715D10 802A14C0 00000000 */ nop
|
||||||
|
/* 715D14 802A14C4 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 715D18 802A14C8 44070000 */ mfc1 $a3, $f0
|
||||||
|
/* 715D1C 802A14CC 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 715D20 802A14D0 0C01C424 */ jal func_80071090
|
||||||
|
/* 715D24 802A14D4 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 715D28 802A14D8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 715D2C 802A14DC 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 715D30 802A14E0 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 715D34 802A14E4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 715D38 802A14E8 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 715D3C 802A14EC 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715D40 802A14F0 03E00008 */ jr $ra
|
||||||
|
/* 715D44 802A14F4 27BD0030 */ addiu $sp, $sp, 0x30
|
26
asm/nonmatchings/battle/item/mushroom_715850/func_802A14F8_715D48.s
generated
Normal file
26
asm/nonmatchings/battle/item/mushroom_715850/func_802A14F8_715D48.s
generated
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A14F8_715D48
|
||||||
|
/* 715D48 802A14F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 715D4C 802A14FC AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 715D50 802A1500 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 715D54 802A1504 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 715D58 802A1508 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715D5C 802A150C 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 715D60 802A1510 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||||
|
/* 715D64 802A1514 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||||
|
/* 715D68 802A1518 80640002 */ lb $a0, 2($v1)
|
||||||
|
/* 715D6C 802A151C 80650003 */ lb $a1, 3($v1)
|
||||||
|
/* 715D70 802A1520 00822021 */ addu $a0, $a0, $v0
|
||||||
|
/* 715D74 802A1524 00A4102A */ slt $v0, $a1, $a0
|
||||||
|
/* 715D78 802A1528 10400002 */ beqz $v0, .L802A1534
|
||||||
|
/* 715D7C 802A152C 0060802D */ daddu $s0, $v1, $zero
|
||||||
|
/* 715D80 802A1530 00A0202D */ daddu $a0, $a1, $zero
|
||||||
|
.L802A1534:
|
||||||
|
/* 715D84 802A1534 A2040002 */ sb $a0, 2($s0)
|
||||||
|
/* 715D88 802A1538 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 715D8C 802A153C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 715D90 802A1540 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715D94 802A1544 03E00008 */ jr $ra
|
||||||
|
/* 715D98 802A1548 27BD0018 */ addiu $sp, $sp, 0x18
|
26
asm/nonmatchings/battle/item/mushroom_715850/func_802A154C_715D9C.s
generated
Normal file
26
asm/nonmatchings/battle/item/mushroom_715850/func_802A154C_715D9C.s
generated
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A154C_715D9C
|
||||||
|
/* 715D9C 802A154C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 715DA0 802A1550 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 715DA4 802A1554 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 715DA8 802A1558 8C82000C */ lw $v0, 0xc($a0)
|
||||||
|
/* 715DAC 802A155C 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715DB0 802A1560 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 715DB4 802A1564 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||||
|
/* 715DB8 802A1568 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||||
|
/* 715DBC 802A156C 80640005 */ lb $a0, 5($v1)
|
||||||
|
/* 715DC0 802A1570 80650006 */ lb $a1, 6($v1)
|
||||||
|
/* 715DC4 802A1574 00822021 */ addu $a0, $a0, $v0
|
||||||
|
/* 715DC8 802A1578 00A4102A */ slt $v0, $a1, $a0
|
||||||
|
/* 715DCC 802A157C 10400002 */ beqz $v0, .L802A1588
|
||||||
|
/* 715DD0 802A1580 0060802D */ daddu $s0, $v1, $zero
|
||||||
|
/* 715DD4 802A1584 00A0202D */ daddu $a0, $a1, $zero
|
||||||
|
.L802A1588:
|
||||||
|
/* 715DD8 802A1588 A2040005 */ sb $a0, 5($s0)
|
||||||
|
/* 715DDC 802A158C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 715DE0 802A1590 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 715DE4 802A1594 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715DE8 802A1598 03E00008 */ jr $ra
|
||||||
|
/* 715DEC 802A159C 27BD0018 */ addiu $sp, $sp, 0x18
|
28
asm/nonmatchings/battle/item/mushroom_715850/func_802A15A0_715DF0.s
generated
Normal file
28
asm/nonmatchings/battle/item/mushroom_715850/func_802A15A0_715DF0.s
generated
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A15A0_715DF0
|
||||||
|
/* 715DF0 802A15A0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 715DF4 802A15A4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 715DF8 802A15A8 0080802D */ daddu $s0, $a0, $zero
|
||||||
|
/* 715DFC 802A15AC AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 715E00 802A15B0 8E02000C */ lw $v0, 0xc($s0)
|
||||||
|
/* 715E04 802A15B4 0C0B1EAF */ jal get_variable
|
||||||
|
/* 715E08 802A15B8 8C450000 */ lw $a1, ($v0)
|
||||||
|
/* 715E0C 802A15BC 3C038008 */ lui $v1, %hi(gItemTable)
|
||||||
|
/* 715E10 802A15C0 246378E0 */ addiu $v1, $v1, %lo(gItemTable)
|
||||||
|
/* 715E14 802A15C4 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 715E18 802A15C8 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 715E1C 802A15CC 8043001B */ lb $v1, 0x1b($v0)
|
||||||
|
/* 715E20 802A15D0 AE0300B0 */ sw $v1, 0xb0($s0)
|
||||||
|
/* 715E24 802A15D4 8043001C */ lb $v1, 0x1c($v0)
|
||||||
|
/* 715E28 802A15D8 AE0300B4 */ sw $v1, 0xb4($s0)
|
||||||
|
/* 715E2C 802A15DC 8043001B */ lb $v1, 0x1b($v0)
|
||||||
|
/* 715E30 802A15E0 38630001 */ xori $v1, $v1, 1
|
||||||
|
/* 715E34 802A15E4 2C630001 */ sltiu $v1, $v1, 1
|
||||||
|
/* 715E38 802A15E8 AE0300C0 */ sw $v1, 0xc0($s0)
|
||||||
|
/* 715E3C 802A15EC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 715E40 802A15F0 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 715E44 802A15F4 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 715E48 802A15F8 03E00008 */ jr $ra
|
||||||
|
/* 715E4C 802A15FC 27BD0018 */ addiu $sp, $sp, 0x18
|
125
asm/nonmatchings/battle/item/mystery_72C5B0/func_802A1000_72C5B0.s
generated
Normal file
125
asm/nonmatchings/battle/item/mystery_72C5B0/func_802A1000_72C5B0.s
generated
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A1000_72C5B0
|
||||||
|
/* 72C5B0 802A1000 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 72C5B4 802A1004 AFB50044 */ sw $s5, 0x44($sp)
|
||||||
|
/* 72C5B8 802A1008 0080A82D */ daddu $s5, $a0, $zero
|
||||||
|
/* 72C5BC 802A100C AFB10034 */ sw $s1, 0x34($sp)
|
||||||
|
/* 72C5C0 802A1010 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 72C5C4 802A1014 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72C5C8 802A1018 F7B40050 */ sdc1 $f20, 0x50($sp)
|
||||||
|
/* 72C5CC 802A101C 4480A000 */ mtc1 $zero, $f20
|
||||||
|
/* 72C5D0 802A1020 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||||
|
/* 72C5D4 802A1024 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||||
|
/* 72C5D8 802A1028 AFBF0048 */ sw $ra, 0x48($sp)
|
||||||
|
/* 72C5DC 802A102C AFB40040 */ sw $s4, 0x40($sp)
|
||||||
|
/* 72C5E0 802A1030 AFB3003C */ sw $s3, 0x3c($sp)
|
||||||
|
/* 72C5E4 802A1034 AFB20038 */ sw $s2, 0x38($sp)
|
||||||
|
/* 72C5E8 802A1038 AFB00030 */ sw $s0, 0x30($sp)
|
||||||
|
/* 72C5EC 802A103C F7B80060 */ sdc1 $f24, 0x60($sp)
|
||||||
|
/* 72C5F0 802A1040 F7B60058 */ sdc1 $f22, 0x58($sp)
|
||||||
|
/* 72C5F4 802A1044 8C5300D8 */ lw $s3, 0xd8($v0)
|
||||||
|
/* 72C5F8 802A1048 8442017A */ lh $v0, 0x17a($v0)
|
||||||
|
/* 72C5FC 802A104C 0260202D */ daddu $a0, $s3, $zero
|
||||||
|
/* 72C600 802A1050 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72C604 802A1054 3C128008 */ lui $s2, %hi(gItemTable+0xC)
|
||||||
|
/* 72C608 802A1058 02429021 */ addu $s2, $s2, $v0
|
||||||
|
/* 72C60C 802A105C 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
|
||||||
|
/* 72C610 802A1060 92620191 */ lbu $v0, 0x191($s3)
|
||||||
|
/* 72C614 802A1064 C6620148 */ lwc1 $f2, 0x148($s3)
|
||||||
|
/* 72C618 802A1068 44820000 */ mtc1 $v0, $f0
|
||||||
|
/* 72C61C 802A106C 00000000 */ nop
|
||||||
|
/* 72C620 802A1070 46800020 */ cvt.s.w $f0, $f0
|
||||||
|
/* 72C624 802A1074 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72C628 802A1078 46001580 */ add.s $f22, $f2, $f0
|
||||||
|
/* 72C62C 802A107C 50400048 */ beql $v0, $zero, .L802A11A0
|
||||||
|
/* 72C630 802A1080 AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
/* 72C634 802A1084 1A400045 */ blez $s2, .L802A119C
|
||||||
|
/* 72C638 802A1088 3C0451EB */ lui $a0, 0x51eb
|
||||||
|
/* 72C63C 802A108C 3484851F */ ori $a0, $a0, 0x851f
|
||||||
|
/* 72C640 802A1090 00121880 */ sll $v1, $s2, 2
|
||||||
|
/* 72C644 802A1094 00721821 */ addu $v1, $v1, $s2
|
||||||
|
/* 72C648 802A1098 00031100 */ sll $v0, $v1, 4
|
||||||
|
/* 72C64C 802A109C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 72C650 802A10A0 24420063 */ addiu $v0, $v0, 0x63
|
||||||
|
/* 72C654 802A10A4 00440018 */ mult $v0, $a0
|
||||||
|
/* 72C658 802A10A8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72C65C 802A10AC 00004010 */ mfhi $t0
|
||||||
|
/* 72C660 802A10B0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 72C664 802A10B4 00629023 */ subu $s2, $v1, $v0
|
||||||
|
/* 72C668 802A10B8 0232102A */ slt $v0, $s1, $s2
|
||||||
|
/* 72C66C 802A10BC 10400019 */ beqz $v0, .L802A1124
|
||||||
|
/* 72C670 802A10C0 0220802D */ daddu $s0, $s1, $zero
|
||||||
|
/* 72C674 802A10C4 24140017 */ addiu $s4, $zero, 0x17
|
||||||
|
/* 72C678 802A10C8 3C0141F0 */ lui $at, 0x41f0
|
||||||
|
/* 72C67C 802A10CC 4481C000 */ mtc1 $at, $f24
|
||||||
|
/* 72C680 802A10D0 24110001 */ addiu $s1, $zero, 1
|
||||||
|
.L802A10D4:
|
||||||
|
/* 72C684 802A10D4 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72C688 802A10D8 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72C68C 802A10DC 4600A10D */ trunc.w.s $f4, $f20
|
||||||
|
/* 72C690 802A10E0 E7A40018 */ swc1 $f4, 0x18($sp)
|
||||||
|
/* 72C694 802A10E4 24040157 */ addiu $a0, $zero, 0x157
|
||||||
|
/* 72C698 802A10E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||||
|
/* 72C69C 802A10EC 26310003 */ addiu $s1, $s1, 3
|
||||||
|
/* 72C6A0 802A10F0 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 72C6A4 802A10F4 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72C6A8 802A10F8 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72C6AC 802A10FC 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72C6B0 802A1100 4618A500 */ add.s $f20, $f20, $f24
|
||||||
|
/* 72C6B4 802A1104 AFB40010 */ sw $s4, 0x10($sp)
|
||||||
|
/* 72C6B8 802A1108 0C04C4FD */ jal make_item_entity
|
||||||
|
/* 72C6BC 802A110C AFA0001C */ sw $zero, 0x1c($sp)
|
||||||
|
/* 72C6C0 802A1110 0C03A830 */ jal add_coins
|
||||||
|
/* 72C6C4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 72C6C8 802A1118 0212102A */ slt $v0, $s0, $s2
|
||||||
|
/* 72C6CC 802A111C 1440FFED */ bnez $v0, .L802A10D4
|
||||||
|
/* 72C6D0 802A1120 00000000 */ nop
|
||||||
|
.L802A1124:
|
||||||
|
/* 72C6D4 802A1124 00101040 */ sll $v0, $s0, 1
|
||||||
|
/* 72C6D8 802A1128 00501021 */ addu $v0, $v0, $s0
|
||||||
|
/* 72C6DC 802A112C 2451001E */ addiu $s1, $v0, 0x1e
|
||||||
|
/* 72C6E0 802A1130 C6600144 */ lwc1 $f0, 0x144($s3)
|
||||||
|
/* 72C6E4 802A1134 C6760148 */ lwc1 $f22, 0x148($s3)
|
||||||
|
/* 72C6E8 802A1138 C662014C */ lwc1 $f2, 0x14c($s3)
|
||||||
|
/* 72C6EC 802A113C 3C048007 */ lui $a0, %hi(gCurrentCameraID)
|
||||||
|
/* 72C6F0 802A1140 8C847410 */ lw $a0, %lo(gCurrentCameraID)($a0)
|
||||||
|
/* 72C6F4 802A1144 27A20020 */ addiu $v0, $sp, 0x20
|
||||||
|
/* 72C6F8 802A1148 AFA20010 */ sw $v0, 0x10($sp)
|
||||||
|
/* 72C6FC 802A114C 27A20024 */ addiu $v0, $sp, 0x24
|
||||||
|
/* 72C700 802A1150 AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 72C704 802A1154 44050000 */ mfc1 $a1, $f0
|
||||||
|
/* 72C708 802A1158 4406B000 */ mfc1 $a2, $f22
|
||||||
|
/* 72C70C 802A115C 44071000 */ mfc1 $a3, $f2
|
||||||
|
/* 72C710 802A1160 27A20028 */ addiu $v0, $sp, 0x28
|
||||||
|
/* 72C714 802A1164 0C00B94E */ jal get_screen_coords
|
||||||
|
/* 72C718 802A1168 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 72C71C 802A116C 3C048011 */ lui $a0, %hi(D_80108A64)
|
||||||
|
/* 72C720 802A1170 24848A64 */ addiu $a0, $a0, %lo(D_80108A64)
|
||||||
|
/* 72C724 802A1174 0C050529 */ jal create_icon
|
||||||
|
/* 72C728 802A1178 00000000 */ nop
|
||||||
|
/* 72C72C 802A117C 8FA50020 */ lw $a1, 0x20($sp)
|
||||||
|
/* 72C730 802A1180 8FA60024 */ lw $a2, 0x24($sp)
|
||||||
|
/* 72C734 802A1184 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 72C738 802A1188 3C01802A */ lui $at, %hi(D_802A25C0)
|
||||||
|
/* 72C73C 802A118C AC2425C0 */ sw $a0, %lo(D_802A25C0)($at)
|
||||||
|
/* 72C740 802A1190 24A50024 */ addiu $a1, $a1, 0x24
|
||||||
|
/* 72C744 802A1194 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 72C748 802A1198 24C6FFC1 */ addiu $a2, $a2, -0x3f
|
||||||
|
.L802A119C:
|
||||||
|
/* 72C74C 802A119C AEB10084 */ sw $s1, 0x84($s5)
|
||||||
|
.L802A11A0:
|
||||||
|
/* 72C750 802A11A0 8FBF0048 */ lw $ra, 0x48($sp)
|
||||||
|
/* 72C754 802A11A4 8FB50044 */ lw $s5, 0x44($sp)
|
||||||
|
/* 72C758 802A11A8 8FB40040 */ lw $s4, 0x40($sp)
|
||||||
|
/* 72C75C 802A11AC 8FB3003C */ lw $s3, 0x3c($sp)
|
||||||
|
/* 72C760 802A11B0 8FB20038 */ lw $s2, 0x38($sp)
|
||||||
|
/* 72C764 802A11B4 8FB10034 */ lw $s1, 0x34($sp)
|
||||||
|
/* 72C768 802A11B8 8FB00030 */ lw $s0, 0x30($sp)
|
||||||
|
/* 72C76C 802A11BC D7B80060 */ ldc1 $f24, 0x60($sp)
|
||||||
|
/* 72C770 802A11C0 D7B60058 */ ldc1 $f22, 0x58($sp)
|
||||||
|
/* 72C774 802A11C4 D7B40050 */ ldc1 $f20, 0x50($sp)
|
||||||
|
/* 72C778 802A11C8 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72C77C 802A11CC 03E00008 */ jr $ra
|
||||||
|
/* 72C780 802A11D0 27BD0068 */ addiu $sp, $sp, 0x68
|
31
asm/nonmatchings/battle/item/mystery_72C5B0/func_802A11D4_72C784.s
generated
Normal file
31
asm/nonmatchings/battle/item/mystery_72C5B0/func_802A11D4_72C784.s
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A11D4_72C784
|
||||||
|
/* 72C784 802A11D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||||
|
/* 72C788 802A11D8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||||
|
/* 72C78C 802A11DC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||||
|
/* 72C790 802A11E0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||||
|
/* 72C794 802A11E4 AFB00010 */ sw $s0, 0x10($sp)
|
||||||
|
/* 72C798 802A11E8 8462017A */ lh $v0, 0x17a($v1)
|
||||||
|
/* 72C79C 802A11EC 8C6400D8 */ lw $a0, 0xd8($v1)
|
||||||
|
/* 72C7A0 802A11F0 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72C7A4 802A11F4 3C108008 */ lui $s0, %hi(gItemTable+0xC)
|
||||||
|
/* 72C7A8 802A11F8 02028021 */ addu $s0, $s0, $v0
|
||||||
|
/* 72C7AC 802A11FC 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
|
||||||
|
/* 72C7B0 802A1200 0C099CAB */ jal heroes_is_ability_active
|
||||||
|
/* 72C7B4 802A1204 2405001D */ addiu $a1, $zero, 0x1d
|
||||||
|
/* 72C7B8 802A1208 10400007 */ beqz $v0, .L802A1228
|
||||||
|
/* 72C7BC 802A120C 00000000 */ nop
|
||||||
|
/* 72C7C0 802A1210 1A000005 */ blez $s0, .L802A1228
|
||||||
|
/* 72C7C4 802A1214 00000000 */ nop
|
||||||
|
/* 72C7C8 802A1218 3C04802A */ lui $a0, %hi(D_802A25C0)
|
||||||
|
/* 72C7CC 802A121C 8C8425C0 */ lw $a0, %lo(D_802A25C0)($a0)
|
||||||
|
/* 72C7D0 802A1220 0C05123D */ jal free_icon
|
||||||
|
/* 72C7D4 802A1224 00000000 */ nop
|
||||||
|
.L802A1228:
|
||||||
|
/* 72C7D8 802A1228 8FBF0014 */ lw $ra, 0x14($sp)
|
||||||
|
/* 72C7DC 802A122C 8FB00010 */ lw $s0, 0x10($sp)
|
||||||
|
/* 72C7E0 802A1230 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72C7E4 802A1234 03E00008 */ jr $ra
|
||||||
|
/* 72C7E8 802A1238 27BD0018 */ addiu $sp, $sp, 0x18
|
112
asm/nonmatchings/battle/item/mystery_72C5B0/func_802A123C_72C7EC.s
generated
Normal file
112
asm/nonmatchings/battle/item/mystery_72C5B0/func_802A123C_72C7EC.s
generated
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A123C_72C7EC
|
||||||
|
/* 72C7EC 802A123C 3C03802A */ lui $v1, %hi(D_802A25E4)
|
||||||
|
/* 72C7F0 802A1240 8C6325E4 */ lw $v1, %lo(D_802A25E4)($v1)
|
||||||
|
/* 72C7F4 802A1244 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||||
|
/* 72C7F8 802A1248 AFBF0064 */ sw $ra, 0x64($sp)
|
||||||
|
/* 72C7FC 802A124C AFB40060 */ sw $s4, 0x60($sp)
|
||||||
|
/* 72C800 802A1250 AFB3005C */ sw $s3, 0x5c($sp)
|
||||||
|
/* 72C804 802A1254 AFB20058 */ sw $s2, 0x58($sp)
|
||||||
|
/* 72C808 802A1258 AFB10054 */ sw $s1, 0x54($sp)
|
||||||
|
/* 72C80C 802A125C 28620006 */ slti $v0, $v1, 6
|
||||||
|
/* 72C810 802A1260 10400058 */ beqz $v0, .L802A13C4
|
||||||
|
/* 72C814 802A1264 AFB00050 */ sw $s0, 0x50($sp)
|
||||||
|
/* 72C818 802A1268 18600056 */ blez $v1, .L802A13C4
|
||||||
|
/* 72C81C 802A126C 24050007 */ addiu $a1, $zero, 7
|
||||||
|
/* 72C820 802A1270 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 72C824 802A1274 2406006A */ addiu $a2, $zero, 0x6a
|
||||||
|
/* 72C828 802A1278 24020024 */ addiu $v0, $zero, 0x24
|
||||||
|
/* 72C82C 802A127C AFA20014 */ sw $v0, 0x14($sp)
|
||||||
|
/* 72C830 802A1280 AFA20018 */ sw $v0, 0x18($sp)
|
||||||
|
/* 72C834 802A1284 240200FF */ addiu $v0, $zero, 0xff
|
||||||
|
/* 72C838 802A1288 AFA2001C */ sw $v0, 0x1c($sp)
|
||||||
|
/* 72C83C 802A128C 24020140 */ addiu $v0, $zero, 0x140
|
||||||
|
/* 72C840 802A1290 AFA20044 */ sw $v0, 0x44($sp)
|
||||||
|
/* 72C844 802A1294 240200F0 */ addiu $v0, $zero, 0xf0
|
||||||
|
/* 72C848 802A1298 24070056 */ addiu $a3, $zero, 0x56
|
||||||
|
/* 72C84C 802A129C AFA00010 */ sw $zero, 0x10($sp)
|
||||||
|
/* 72C850 802A12A0 AFA00020 */ sw $zero, 0x20($sp)
|
||||||
|
/* 72C854 802A12A4 AFA00024 */ sw $zero, 0x24($sp)
|
||||||
|
/* 72C858 802A12A8 AFA00028 */ sw $zero, 0x28($sp)
|
||||||
|
/* 72C85C 802A12AC AFA0002C */ sw $zero, 0x2c($sp)
|
||||||
|
/* 72C860 802A12B0 AFA00030 */ sw $zero, 0x30($sp)
|
||||||
|
/* 72C864 802A12B4 AFA00034 */ sw $zero, 0x34($sp)
|
||||||
|
/* 72C868 802A12B8 AFA00038 */ sw $zero, 0x38($sp)
|
||||||
|
/* 72C86C 802A12BC AFA0003C */ sw $zero, 0x3c($sp)
|
||||||
|
/* 72C870 802A12C0 AFA00040 */ sw $zero, 0x40($sp)
|
||||||
|
/* 72C874 802A12C4 AFA20048 */ sw $v0, 0x48($sp)
|
||||||
|
/* 72C878 802A12C8 0C03D4B8 */ jal draw_box
|
||||||
|
/* 72C87C 802A12CC AFA0004C */ sw $zero, 0x4c($sp)
|
||||||
|
/* 72C880 802A12D0 3C06ED1B */ lui $a2, 0xed1b
|
||||||
|
/* 72C884 802A12D4 34C60168 */ ori $a2, $a2, 0x168
|
||||||
|
/* 72C888 802A12D8 3C050022 */ lui $a1, 0x22
|
||||||
|
/* 72C88C 802A12DC 34A5C1D8 */ ori $a1, $a1, 0xc1d8
|
||||||
|
/* 72C890 802A12E0 0000882D */ daddu $s1, $zero, $zero
|
||||||
|
/* 72C894 802A12E4 3C1451EB */ lui $s4, 0x51eb
|
||||||
|
/* 72C898 802A12E8 3694851F */ ori $s4, $s4, 0x851f
|
||||||
|
/* 72C89C 802A12EC 0220982D */ daddu $s3, $s1, $zero
|
||||||
|
/* 72C8A0 802A12F0 3C04800A */ lui $a0, %hi(gMasterGfxPos)
|
||||||
|
/* 72C8A4 802A12F4 2484A66C */ addiu $a0, $a0, %lo(gMasterGfxPos)
|
||||||
|
/* 72C8A8 802A12F8 8C820000 */ lw $v0, ($a0)
|
||||||
|
/* 72C8AC 802A12FC 3C12802A */ lui $s2, %hi(D_802A25C8)
|
||||||
|
/* 72C8B0 802A1300 265225C8 */ addiu $s2, $s2, %lo(D_802A25C8)
|
||||||
|
/* 72C8B4 802A1304 0040182D */ daddu $v1, $v0, $zero
|
||||||
|
/* 72C8B8 802A1308 24420008 */ addiu $v0, $v0, 8
|
||||||
|
/* 72C8BC 802A130C AC820000 */ sw $v0, ($a0)
|
||||||
|
/* 72C8C0 802A1310 AC660000 */ sw $a2, ($v1)
|
||||||
|
/* 72C8C4 802A1314 AC650004 */ sw $a1, 4($v1)
|
||||||
|
.L802A1318:
|
||||||
|
/* 72C8C8 802A1318 2405007C */ addiu $a1, $zero, 0x7c
|
||||||
|
/* 72C8CC 802A131C 3C02802A */ lui $v0, %hi(D_802A25EC)
|
||||||
|
/* 72C8D0 802A1320 8C4225EC */ lw $v0, %lo(D_802A25EC)($v0)
|
||||||
|
/* 72C8D4 802A1324 8E500000 */ lw $s0, ($s2)
|
||||||
|
/* 72C8D8 802A1328 00540018 */ mult $v0, $s4
|
||||||
|
/* 72C8DC 802A132C 26520004 */ addiu $s2, $s2, 4
|
||||||
|
/* 72C8E0 802A1330 26310001 */ addiu $s1, $s1, 1
|
||||||
|
/* 72C8E4 802A1334 0200202D */ daddu $a0, $s0, $zero
|
||||||
|
/* 72C8E8 802A1338 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72C8EC 802A133C 00004010 */ mfhi $t0
|
||||||
|
/* 72C8F0 802A1340 00083143 */ sra $a2, $t0, 5
|
||||||
|
/* 72C8F4 802A1344 00C23023 */ subu $a2, $a2, $v0
|
||||||
|
/* 72C8F8 802A1348 24C6FF98 */ addiu $a2, $a2, -0x68
|
||||||
|
/* 72C8FC 802A134C 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 72C900 802A1350 02663023 */ subu $a2, $s3, $a2
|
||||||
|
/* 72C904 802A1354 0C0511F8 */ jal draw_icon_2
|
||||||
|
/* 72C908 802A1358 0200202D */ daddu $a0, $s0, $zero
|
||||||
|
/* 72C90C 802A135C 2A220007 */ slti $v0, $s1, 7
|
||||||
|
/* 72C910 802A1360 1440FFED */ bnez $v0, .L802A1318
|
||||||
|
/* 72C914 802A1364 2673001A */ addiu $s3, $s3, 0x1a
|
||||||
|
/* 72C918 802A1368 3C0251EB */ lui $v0, 0x51eb
|
||||||
|
/* 72C91C 802A136C 3442851F */ ori $v0, $v0, 0x851f
|
||||||
|
/* 72C920 802A1370 2405007C */ addiu $a1, $zero, 0x7c
|
||||||
|
/* 72C924 802A1374 00113040 */ sll $a2, $s1, 1
|
||||||
|
/* 72C928 802A1378 00D13021 */ addu $a2, $a2, $s1
|
||||||
|
/* 72C92C 802A137C 00063080 */ sll $a2, $a2, 2
|
||||||
|
/* 72C930 802A1380 3C03802A */ lui $v1, %hi(D_802A25EC)
|
||||||
|
/* 72C934 802A1384 8C6325EC */ lw $v1, %lo(D_802A25EC)($v1)
|
||||||
|
/* 72C938 802A1388 00D13021 */ addu $a2, $a2, $s1
|
||||||
|
/* 72C93C 802A138C 00620018 */ mult $v1, $v0
|
||||||
|
/* 72C940 802A1390 3C10802A */ lui $s0, %hi(D_802A25C8)
|
||||||
|
/* 72C944 802A1394 8E1025C8 */ lw $s0, %lo(D_802A25C8)($s0)
|
||||||
|
/* 72C948 802A1398 00063040 */ sll $a2, $a2, 1
|
||||||
|
/* 72C94C 802A139C 0200202D */ daddu $a0, $s0, $zero
|
||||||
|
/* 72C950 802A13A0 00031FC3 */ sra $v1, $v1, 0x1f
|
||||||
|
/* 72C954 802A13A4 00004010 */ mfhi $t0
|
||||||
|
/* 72C958 802A13A8 00081143 */ sra $v0, $t0, 5
|
||||||
|
/* 72C95C 802A13AC 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 72C960 802A13B0 2442FF98 */ addiu $v0, $v0, -0x68
|
||||||
|
/* 72C964 802A13B4 0C051261 */ jal set_icon_render_pos
|
||||||
|
/* 72C968 802A13B8 00C23023 */ subu $a2, $a2, $v0
|
||||||
|
/* 72C96C 802A13BC 0C0511F8 */ jal draw_icon_2
|
||||||
|
/* 72C970 802A13C0 0200202D */ daddu $a0, $s0, $zero
|
||||||
|
.L802A13C4:
|
||||||
|
/* 72C974 802A13C4 8FBF0064 */ lw $ra, 0x64($sp)
|
||||||
|
/* 72C978 802A13C8 8FB40060 */ lw $s4, 0x60($sp)
|
||||||
|
/* 72C97C 802A13CC 8FB3005C */ lw $s3, 0x5c($sp)
|
||||||
|
/* 72C980 802A13D0 8FB20058 */ lw $s2, 0x58($sp)
|
||||||
|
/* 72C984 802A13D4 8FB10054 */ lw $s1, 0x54($sp)
|
||||||
|
/* 72C988 802A13D8 8FB00050 */ lw $s0, 0x50($sp)
|
||||||
|
/* 72C98C 802A13DC 03E00008 */ jr $ra
|
||||||
|
/* 72C990 802A13E0 27BD0068 */ addiu $sp, $sp, 0x68
|
327
asm/nonmatchings/battle/item/mystery_72C5B0/func_802A13E4_72C994.s
generated
Normal file
327
asm/nonmatchings/battle/item/mystery_72C5B0/func_802A13E4_72C994.s
generated
Normal file
@ -0,0 +1,327 @@
|
|||||||
|
.set noat # allow manual use of $at
|
||||||
|
.set noreorder # don't insert nops after branches
|
||||||
|
|
||||||
|
glabel func_802A13E4_72C994
|
||||||
|
/* 72C994 802A13E4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||||
|
/* 72C998 802A13E8 0080302D */ daddu $a2, $a0, $zero
|
||||||
|
/* 72C99C 802A13EC AFB20020 */ sw $s2, 0x20($sp)
|
||||||
|
/* 72C9A0 802A13F0 3C12800E */ lui $s2, %hi(gBattleStatus)
|
||||||
|
/* 72C9A4 802A13F4 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)
|
||||||
|
/* 72C9A8 802A13F8 AFBF0028 */ sw $ra, 0x28($sp)
|
||||||
|
/* 72C9AC 802A13FC AFB30024 */ sw $s3, 0x24($sp)
|
||||||
|
/* 72C9B0 802A1400 AFB1001C */ sw $s1, 0x1c($sp)
|
||||||
|
/* 72C9B4 802A1404 10A00003 */ beqz $a1, .L802A1414
|
||||||
|
/* 72C9B8 802A1408 AFB00018 */ sw $s0, 0x18($sp)
|
||||||
|
/* 72C9BC 802A140C 3C01802A */ lui $at, %hi(D_802A25E4)
|
||||||
|
/* 72C9C0 802A1410 AC2025E4 */ sw $zero, %lo(D_802A25E4)($at)
|
||||||
|
.L802A1414:
|
||||||
|
/* 72C9C4 802A1414 3C03802A */ lui $v1, %hi(D_802A25E4)
|
||||||
|
/* 72C9C8 802A1418 8C6325E4 */ lw $v1, %lo(D_802A25E4)($v1)
|
||||||
|
/* 72C9CC 802A141C 2C620006 */ sltiu $v0, $v1, 6
|
||||||
|
/* 72C9D0 802A1420 10400112 */ beqz $v0, .L802A186C
|
||||||
|
/* 72C9D4 802A1424 00031080 */ sll $v0, $v1, 2
|
||||||
|
/* 72C9D8 802A1428 3C01802A */ lui $at, %hi(jtbl_802A25A0_72DB50)
|
||||||
|
/* 72C9DC 802A142C 00220821 */ addu $at, $at, $v0
|
||||||
|
/* 72C9E0 802A1430 8C2225A0 */ lw $v0, %lo(jtbl_802A25A0_72DB50)($at)
|
||||||
|
/* 72C9E4 802A1434 00400008 */ jr $v0
|
||||||
|
/* 72C9E8 802A1438 00000000 */ nop
|
||||||
|
glabel L802A143C_72C9EC
|
||||||
|
/* 72C9EC 802A143C 3C05802A */ lui $a1, %hi(func_802A123C_72C7EC)
|
||||||
|
/* 72C9F0 802A1440 24A5123C */ addiu $a1, $a1, %lo(func_802A123C_72C7EC)
|
||||||
|
/* 72C9F4 802A1444 0C048C8F */ jal bind_dynamic_entity_7
|
||||||
|
/* 72C9F8 802A1448 0000202D */ daddu $a0, $zero, $zero
|
||||||
|
/* 72C9FC 802A144C 3C01802A */ lui $at, %hi(D_802A25F8)
|
||||||
|
/* 72CA00 802A1450 AC2225F8 */ sw $v0, %lo(D_802A25F8)($at)
|
||||||
|
/* 72CA04 802A1454 0C00A67F */ jal rand_int
|
||||||
|
/* 72CA08 802A1458 24044718 */ addiu $a0, $zero, 0x4718
|
||||||
|
/* 72CA0C 802A145C 3C01802A */ lui $at, %hi(D_802A25EC)
|
||||||
|
/* 72CA10 802A1460 AC2225EC */ sw $v0, %lo(D_802A25EC)($at)
|
||||||
|
/* 72CA14 802A1464 240203E8 */ addiu $v0, $zero, 0x3e8
|
||||||
|
/* 72CA18 802A1468 3C10802A */ lui $s0, %hi(D_802A25FC)
|
||||||
|
/* 72CA1C 802A146C 261025FC */ addiu $s0, $s0, %lo(D_802A25FC)
|
||||||
|
/* 72CA20 802A1470 3C01802A */ lui $at, %hi(D_802A25F0)
|
||||||
|
/* 72CA24 802A1474 AC2225F0 */ sw $v0, %lo(D_802A25F0)($at)
|
||||||
|
/* 72CA28 802A1478 82430432 */ lb $v1, 0x432($s2)
|
||||||
|
/* 72CA2C 802A147C 3C02802A */ lui $v0, %hi(D_802A227C_72D82C)
|
||||||
|
/* 72CA30 802A1480 2442227C */ addiu $v0, $v0, %lo(D_802A227C_72D82C)
|
||||||
|
/* 72CA34 802A1484 18600010 */ blez $v1, .L802A14C8
|
||||||
|
/* 72CA38 802A1488 AE020000 */ sw $v0, ($s0)
|
||||||
|
/* 72CA3C 802A148C 24040001 */ addiu $a0, $zero, 1
|
||||||
|
/* 72CA40 802A1490 27A50010 */ addiu $a1, $sp, 0x10
|
||||||
|
/* 72CA44 802A1494 0C04DF70 */ jal func_80137DC0
|
||||||
|
/* 72CA48 802A1498 27A60014 */ addiu $a2, $sp, 0x14
|
||||||
|
/* 72CA4C 802A149C C7A20014 */ lwc1 $f2, 0x14($sp)
|
||||||
|
/* 72CA50 802A14A0 3C014357 */ lui $at, 0x4357
|
||||||
|
/* 72CA54 802A14A4 44810000 */ mtc1 $at, $f0
|
||||||
|
/* 72CA58 802A14A8 00000000 */ nop
|
||||||
|
/* 72CA5C 802A14AC 4602003E */ c.le.s $f0, $f2
|
||||||
|
/* 72CA60 802A14B0 00000000 */ nop
|
||||||
|
/* 72CA64 802A14B4 45020005 */ bc1fl .L802A14CC
|
||||||
|
/* 72CA68 802A14B8 0000802D */ daddu $s0, $zero, $zero
|
||||||
|
/* 72CA6C 802A14BC 3C02802A */ lui $v0, %hi(D_802A229C_72D84C)
|
||||||
|
/* 72CA70 802A14C0 2442229C */ addiu $v0, $v0, %lo(D_802A229C_72D84C)
|
||||||
|
/* 72CA74 802A14C4 AE020000 */ sw $v0, ($s0)
|
||||||
|
.L802A14C8:
|
||||||
|
/* 72CA78 802A14C8 0000802D */ daddu $s0, $zero, $zero
|
||||||
|
.L802A14CC:
|
||||||
|
/* 72CA7C 802A14CC 3C138009 */ lui $s3, %hi(D_8008A680)
|
||||||
|
/* 72CA80 802A14D0 2673A680 */ addiu $s3, $s3, %lo(D_8008A680)
|
||||||
|
/* 72CA84 802A14D4 3C128008 */ lui $s2, %hi(gItemTable)
|
||||||
|
/* 72CA88 802A14D8 265278E0 */ addiu $s2, $s2, %lo(gItemTable)
|
||||||
|
/* 72CA8C 802A14DC 3C11802A */ lui $s1, %hi(D_802A25C8)
|
||||||
|
/* 72CA90 802A14E0 263125C8 */ addiu $s1, $s1, %lo(D_802A25C8)
|
||||||
|
.L802A14E4:
|
||||||
|
/* 72CA94 802A14E4 3C03802A */ lui $v1, %hi(D_802A25FC)
|
||||||
|
/* 72CA98 802A14E8 8C6325FC */ lw $v1, %lo(D_802A25FC)($v1)
|
||||||
|
/* 72CA9C 802A14EC 00101080 */ sll $v0, $s0, 2
|
||||||
|
/* 72CAA0 802A14F0 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72CAA4 802A14F4 8C420000 */ lw $v0, ($v0)
|
||||||
|
/* 72CAA8 802A14F8 00021140 */ sll $v0, $v0, 5
|
||||||
|
/* 72CAAC 802A14FC 00521021 */ addu $v0, $v0, $s2
|
||||||
|
/* 72CAB0 802A1500 84420004 */ lh $v0, 4($v0)
|
||||||
|
/* 72CAB4 802A1504 000210C0 */ sll $v0, $v0, 3
|
||||||
|
/* 72CAB8 802A1508 00531021 */ addu $v0, $v0, $s3
|
||||||
|
/* 72CABC 802A150C 8C440000 */ lw $a0, ($v0)
|
||||||
|
/* 72CAC0 802A1510 0C050529 */ jal create_icon
|
||||||
|
/* 72CAC4 802A1514 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 72CAC8 802A1518 0040202D */ daddu $a0, $v0, $zero
|
||||||
|
/* 72CACC 802A151C 24050080 */ addiu $a1, $zero, 0x80
|
||||||
|
/* 72CAD0 802A1520 0C051280 */ jal set_icon_flags
|
||||||
|
/* 72CAD4 802A1524 AE240000 */ sw $a0, ($s1)
|
||||||
|
/* 72CAD8 802A1528 2A020007 */ slti $v0, $s0, 7
|
||||||
|
/* 72CADC 802A152C 1440FFED */ bnez $v0, .L802A14E4
|
||||||
|
/* 72CAE0 802A1530 26310004 */ addiu $s1, $s1, 4
|
||||||
|
/* 72CAE4 802A1534 24020001 */ addiu $v0, $zero, 1
|
||||||
|
/* 72CAE8 802A1538 3C01802A */ lui $at, %hi(D_802A25E4)
|
||||||
|
/* 72CAEC 802A153C AC2225E4 */ sw $v0, %lo(D_802A25E4)($at)
|
||||||
|
/* 72CAF0 802A1540 080A861C */ j .L802A1870
|
||||||
|
/* 72CAF4 802A1544 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
glabel L802A1548_72CAF8
|
||||||
|
/* 72CAF8 802A1548 3C0351EB */ lui $v1, 0x51eb
|
||||||
|
/* 72CAFC 802A154C 3C06802A */ lui $a2, %hi(D_802A25EC)
|
||||||
|
/* 72CB00 802A1550 24C625EC */ addiu $a2, $a2, %lo(D_802A25EC)
|
||||||
|
/* 72CB04 802A1554 3C07802A */ lui $a3, %hi(D_802A25F0)
|
||||||
|
/* 72CB08 802A1558 24E725F0 */ addiu $a3, $a3, %lo(D_802A25F0)
|
||||||
|
/* 72CB0C 802A155C 8CC20000 */ lw $v0, ($a2)
|
||||||
|
/* 72CB10 802A1560 8CE50000 */ lw $a1, ($a3)
|
||||||
|
/* 72CB14 802A1564 3463851F */ ori $v1, $v1, 0x851f
|
||||||
|
/* 72CB18 802A1568 00452021 */ addu $a0, $v0, $a1
|
||||||
|
/* 72CB1C 802A156C 00830018 */ mult $a0, $v1
|
||||||
|
/* 72CB20 802A1570 00041FC3 */ sra $v1, $a0, 0x1f
|
||||||
|
/* 72CB24 802A1574 00004010 */ mfhi $t0
|
||||||
|
/* 72CB28 802A1578 00081143 */ sra $v0, $t0, 5
|
||||||
|
/* 72CB2C 802A157C 00431023 */ subu $v0, $v0, $v1
|
||||||
|
/* 72CB30 802A1580 284200B6 */ slti $v0, $v0, 0xb6
|
||||||
|
/* 72CB34 802A1584 14400003 */ bnez $v0, .L802A1594
|
||||||
|
/* 72CB38 802A1588 ACC40000 */ sw $a0, ($a2)
|
||||||
|
/* 72CB3C 802A158C 2482B8E8 */ addiu $v0, $a0, -0x4718
|
||||||
|
/* 72CB40 802A1590 ACC20000 */ sw $v0, ($a2)
|
||||||
|
.L802A1594:
|
||||||
|
/* 72CB44 802A1594 00A0182D */ daddu $v1, $a1, $zero
|
||||||
|
/* 72CB48 802A1598 28620191 */ slti $v0, $v1, 0x191
|
||||||
|
/* 72CB4C 802A159C 14400003 */ bnez $v0, .L802A15AC
|
||||||
|
/* 72CB50 802A15A0 28620065 */ slti $v0, $v1, 0x65
|
||||||
|
/* 72CB54 802A15A4 080A856E */ j .L802A15B8
|
||||||
|
/* 72CB58 802A15A8 2462FFF6 */ addiu $v0, $v1, -0xa
|
||||||
|
.L802A15AC:
|
||||||
|
/* 72CB5C 802A15AC 14400002 */ bnez $v0, .L802A15B8
|
||||||
|
/* 72CB60 802A15B0 24A2FFFF */ addiu $v0, $a1, -1
|
||||||
|
/* 72CB64 802A15B4 2462FFFB */ addiu $v0, $v1, -5
|
||||||
|
.L802A15B8:
|
||||||
|
/* 72CB68 802A15B8 ACE20000 */ sw $v0, ($a3)
|
||||||
|
/* 72CB6C 802A15BC 3C02802A */ lui $v0, %hi(D_802A25F0)
|
||||||
|
/* 72CB70 802A15C0 8C4225F0 */ lw $v0, %lo(D_802A25F0)($v0)
|
||||||
|
/* 72CB74 802A15C4 2842000A */ slti $v0, $v0, 0xa
|
||||||
|
/* 72CB78 802A15C8 104000A8 */ beqz $v0, .L802A186C
|
||||||
|
/* 72CB7C 802A15CC 3C0351EB */ lui $v1, 0x51eb
|
||||||
|
/* 72CB80 802A15D0 3C02802A */ lui $v0, %hi(D_802A25EC)
|
||||||
|
/* 72CB84 802A15D4 8C4225EC */ lw $v0, %lo(D_802A25EC)($v0)
|
||||||
|
/* 72CB88 802A15D8 3463851F */ ori $v1, $v1, 0x851f
|
||||||
|
/* 72CB8C 802A15DC 00430018 */ mult $v0, $v1
|
||||||
|
/* 72CB90 802A15E0 3C044EC4 */ lui $a0, 0x4ec4
|
||||||
|
/* 72CB94 802A15E4 3484EC4F */ ori $a0, $a0, 0xec4f
|
||||||
|
/* 72CB98 802A15E8 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72CB9C 802A15EC 00004010 */ mfhi $t0
|
||||||
|
/* 72CBA0 802A15F0 00081943 */ sra $v1, $t0, 5
|
||||||
|
/* 72CBA4 802A15F4 00621823 */ subu $v1, $v1, $v0
|
||||||
|
/* 72CBA8 802A15F8 00640018 */ mult $v1, $a0
|
||||||
|
/* 72CBAC 802A15FC 000317C3 */ sra $v0, $v1, 0x1f
|
||||||
|
/* 72CBB0 802A1600 3C01802A */ lui $at, %hi(D_802A25E8)
|
||||||
|
/* 72CBB4 802A1604 AC2325E8 */ sw $v1, %lo(D_802A25E8)($at)
|
||||||
|
/* 72CBB8 802A1608 00004010 */ mfhi $t0
|
||||||
|
/* 72CBBC 802A160C 000820C3 */ sra $a0, $t0, 3
|
||||||
|
/* 72CBC0 802A1610 00822023 */ subu $a0, $a0, $v0
|
||||||
|
/* 72CBC4 802A1614 00041040 */ sll $v0, $a0, 1
|
||||||
|
/* 72CBC8 802A1618 00441021 */ addu $v0, $v0, $a0
|
||||||
|
/* 72CBCC 802A161C 00021080 */ sll $v0, $v0, 2
|
||||||
|
/* 72CBD0 802A1620 00441021 */ addu $v0, $v0, $a0
|
||||||
|
/* 72CBD4 802A1624 00021040 */ sll $v0, $v0, 1
|
||||||
|
/* 72CBD8 802A1628 00621823 */ subu $v1, $v1, $v0
|
||||||
|
/* 72CBDC 802A162C 2863000D */ slti $v1, $v1, 0xd
|
||||||
|
/* 72CBE0 802A1630 10600008 */ beqz $v1, .L802A1654
|
||||||
|
/* 72CBE4 802A1634 00000000 */ nop
|
||||||
|
/* 72CBE8 802A1638 0C00A67F */ jal rand_int
|
||||||
|
/* 72CBEC 802A163C 24040064 */ addiu $a0, $zero, 0x64
|
||||||
|
/* 72CBF0 802A1640 28420050 */ slti $v0, $v0, 0x50
|
||||||
|
/* 72CBF4 802A1644 1440000D */ bnez $v0, .L802A167C
|
||||||
|
/* 72CBF8 802A1648 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72CBFC 802A164C 080A859A */ j .L802A1668
|
||||||
|
/* 72CC00 802A1650 24020003 */ addiu $v0, $zero, 3
|
||||||
|
.L802A1654:
|
||||||
|
/* 72CC04 802A1654 0C00A67F */ jal rand_int
|
||||||
|
/* 72CC08 802A1658 24040064 */ addiu $a0, $zero, 0x64
|
||||||
|
/* 72CC0C 802A165C 2842003C */ slti $v0, $v0, 0x3c
|
||||||
|
/* 72CC10 802A1660 10400005 */ beqz $v0, .L802A1678
|
||||||
|
/* 72CC14 802A1664 24020003 */ addiu $v0, $zero, 3
|
||||||
|
.L802A1668:
|
||||||
|
/* 72CC18 802A1668 3C01802A */ lui $at, %hi(D_802A25E4)
|
||||||
|
/* 72CC1C 802A166C AC2225E4 */ sw $v0, %lo(D_802A25E4)($at)
|
||||||
|
/* 72CC20 802A1670 080A861C */ j .L802A1870
|
||||||
|
/* 72CC24 802A1674 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
.L802A1678:
|
||||||
|
/* 72CC28 802A1678 24020002 */ addiu $v0, $zero, 2
|
||||||
|
.L802A167C:
|
||||||
|
/* 72CC2C 802A167C 3C01802A */ lui $at, %hi(D_802A25E4)
|
||||||
|
/* 72CC30 802A1680 AC2225E4 */ sw $v0, %lo(D_802A25E4)($at)
|
||||||
|
/* 72CC34 802A1684 080A861C */ j .L802A1870
|
||||||
|
/* 72CC38 802A1688 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
glabel L802A168C_72CC3C
|
||||||
|
/* 72CC3C 802A168C 3C024EC4 */ lui $v0, 0x4ec4
|
||||||
|
/* 72CC40 802A1690 3C06802A */ lui $a2, %hi(D_802A25E8)
|
||||||
|
/* 72CC44 802A1694 24C625E8 */ addiu $a2, $a2, %lo(D_802A25E8)
|
||||||
|
/* 72CC48 802A1698 8CC50000 */ lw $a1, ($a2)
|
||||||
|
/* 72CC4C 802A169C 3442EC4F */ ori $v0, $v0, 0xec4f
|
||||||
|
/* 72CC50 802A16A0 00A20018 */ mult $a1, $v0
|
||||||
|
/* 72CC54 802A16A4 000517C3 */ sra $v0, $a1, 0x1f
|
||||||
|
/* 72CC58 802A16A8 00004010 */ mfhi $t0
|
||||||
|
/* 72CC5C 802A16AC 000818C3 */ sra $v1, $t0, 3
|
||||||
|
/* 72CC60 802A16B0 00622023 */ subu $a0, $v1, $v0
|
||||||
|
/* 72CC64 802A16B4 00041040 */ sll $v0, $a0, 1
|
||||||
|
/* 72CC68 802A16B8 00441021 */ addu $v0, $v0, $a0
|
||||||
|
/* 72CC6C 802A16BC 00021080 */ sll $v0, $v0, 2
|
||||||
|
/* 72CC70 802A16C0 00441021 */ addu $v0, $v0, $a0
|
||||||
|
/* 72CC74 802A16C4 00021040 */ sll $v0, $v0, 1
|
||||||
|
/* 72CC78 802A16C8 00A22023 */ subu $a0, $a1, $v0
|
||||||
|
/* 72CC7C 802A16CC 24820003 */ addiu $v0, $a0, 3
|
||||||
|
/* 72CC80 802A16D0 04420001 */ bltzl $v0, .L802A16D8
|
||||||
|
/* 72CC84 802A16D4 24820006 */ addiu $v0, $a0, 6
|
||||||
|
.L802A16D8:
|
||||||
|
/* 72CC88 802A16D8 00022083 */ sra $a0, $v0, 2
|
||||||
|
/* 72CC8C 802A16DC 00A41823 */ subu $v1, $a1, $a0
|
||||||
|
/* 72CC90 802A16E0 00031040 */ sll $v0, $v1, 1
|
||||||
|
/* 72CC94 802A16E4 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72CC98 802A16E8 000210C0 */ sll $v0, $v0, 3
|
||||||
|
/* 72CC9C 802A16EC 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72CCA0 802A16F0 00021080 */ sll $v0, $v0, 2
|
||||||
|
/* 72CCA4 802A16F4 ACC30000 */ sw $v1, ($a2)
|
||||||
|
/* 72CCA8 802A16F8 3C01802A */ lui $at, %hi(D_802A25EC)
|
||||||
|
/* 72CCAC 802A16FC AC2225EC */ sw $v0, %lo(D_802A25EC)($at)
|
||||||
|
/* 72CCB0 802A1700 1480005B */ bnez $a0, .L802A1870
|
||||||
|
/* 72CCB4 802A1704 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
/* 72CCB8 802A1708 080A85D7 */ j .L802A175C
|
||||||
|
/* 72CCBC 802A170C 24020004 */ addiu $v0, $zero, 4
|
||||||
|
glabel L802A1710_72CCC0
|
||||||
|
/* 72CCC0 802A1710 3C024EC4 */ lui $v0, 0x4ec4
|
||||||
|
/* 72CCC4 802A1714 3C06802A */ lui $a2, %hi(D_802A25E8)
|
||||||
|
/* 72CCC8 802A1718 24C625E8 */ addiu $a2, $a2, %lo(D_802A25E8)
|
||||||
|
/* 72CCCC 802A171C 8CC50000 */ lw $a1, ($a2)
|
||||||
|
/* 72CCD0 802A1720 3442EC4F */ ori $v0, $v0, 0xec4f
|
||||||
|
/* 72CCD4 802A1724 00A20018 */ mult $a1, $v0
|
||||||
|
/* 72CCD8 802A1728 000517C3 */ sra $v0, $a1, 0x1f
|
||||||
|
/* 72CCDC 802A172C 00004010 */ mfhi $t0
|
||||||
|
/* 72CCE0 802A1730 000818C3 */ sra $v1, $t0, 3
|
||||||
|
/* 72CCE4 802A1734 00621823 */ subu $v1, $v1, $v0
|
||||||
|
/* 72CCE8 802A1738 00031040 */ sll $v0, $v1, 1
|
||||||
|
/* 72CCEC 802A173C 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72CCF0 802A1740 00021080 */ sll $v0, $v0, 2
|
||||||
|
/* 72CCF4 802A1744 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72CCF8 802A1748 00021040 */ sll $v0, $v0, 1
|
||||||
|
/* 72CCFC 802A174C 00A21823 */ subu $v1, $a1, $v0
|
||||||
|
/* 72CD00 802A1750 14600006 */ bnez $v1, .L802A176C
|
||||||
|
/* 72CD04 802A1754 2402001A */ addiu $v0, $zero, 0x1a
|
||||||
|
/* 72CD08 802A1758 24020004 */ addiu $v0, $zero, 4
|
||||||
|
.L802A175C:
|
||||||
|
/* 72CD0C 802A175C 3C01802A */ lui $at, %hi(D_802A25E4)
|
||||||
|
/* 72CD10 802A1760 AC2225E4 */ sw $v0, %lo(D_802A25E4)($at)
|
||||||
|
/* 72CD14 802A1764 080A861C */ j .L802A1870
|
||||||
|
/* 72CD18 802A1768 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
.L802A176C:
|
||||||
|
/* 72CD1C 802A176C 00432023 */ subu $a0, $v0, $v1
|
||||||
|
/* 72CD20 802A1770 24820003 */ addiu $v0, $a0, 3
|
||||||
|
/* 72CD24 802A1774 04420001 */ bltzl $v0, .L802A177C
|
||||||
|
/* 72CD28 802A1778 24820006 */ addiu $v0, $a0, 6
|
||||||
|
.L802A177C:
|
||||||
|
/* 72CD2C 802A177C 00022083 */ sra $a0, $v0, 2
|
||||||
|
/* 72CD30 802A1780 00A41821 */ addu $v1, $a1, $a0
|
||||||
|
/* 72CD34 802A1784 00031040 */ sll $v0, $v1, 1
|
||||||
|
/* 72CD38 802A1788 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72CD3C 802A178C 000210C0 */ sll $v0, $v0, 3
|
||||||
|
/* 72CD40 802A1790 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72CD44 802A1794 00021080 */ sll $v0, $v0, 2
|
||||||
|
/* 72CD48 802A1798 ACC30000 */ sw $v1, ($a2)
|
||||||
|
/* 72CD4C 802A179C 3C01802A */ lui $at, %hi(D_802A25EC)
|
||||||
|
/* 72CD50 802A17A0 AC2225EC */ sw $v0, %lo(D_802A25EC)($at)
|
||||||
|
/* 72CD54 802A17A4 080A861C */ j .L802A1870
|
||||||
|
/* 72CD58 802A17A8 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
glabel L802A17AC_72CD5C
|
||||||
|
/* 72CD5C 802A17AC 24020014 */ addiu $v0, $zero, 0x14
|
||||||
|
/* 72CD60 802A17B0 3C01802A */ lui $at, %hi(D_802A25F4)
|
||||||
|
/* 72CD64 802A17B4 AC2225F4 */ sw $v0, %lo(D_802A25F4)($at)
|
||||||
|
/* 72CD68 802A17B8 24020005 */ addiu $v0, $zero, 5
|
||||||
|
/* 72CD6C 802A17BC 3C01802A */ lui $at, %hi(D_802A25E4)
|
||||||
|
/* 72CD70 802A17C0 AC2225E4 */ sw $v0, %lo(D_802A25E4)($at)
|
||||||
|
/* 72CD74 802A17C4 080A861C */ j .L802A1870
|
||||||
|
/* 72CD78 802A17C8 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
glabel L802A17CC_72CD7C
|
||||||
|
/* 72CD7C 802A17CC 3C03802A */ lui $v1, %hi(D_802A25F4)
|
||||||
|
/* 72CD80 802A17D0 246325F4 */ addiu $v1, $v1, %lo(D_802A25F4)
|
||||||
|
/* 72CD84 802A17D4 8C620000 */ lw $v0, ($v1)
|
||||||
|
/* 72CD88 802A17D8 10400003 */ beqz $v0, .L802A17E8
|
||||||
|
/* 72CD8C 802A17DC 2442FFFF */ addiu $v0, $v0, -1
|
||||||
|
/* 72CD90 802A17E0 080A861B */ j .L802A186C
|
||||||
|
/* 72CD94 802A17E4 AC620000 */ sw $v0, ($v1)
|
||||||
|
.L802A17E8:
|
||||||
|
/* 72CD98 802A17E8 3C034EC4 */ lui $v1, 0x4ec4
|
||||||
|
/* 72CD9C 802A17EC 3C02802A */ lui $v0, %hi(D_802A25E8)
|
||||||
|
/* 72CDA0 802A17F0 8C4225E8 */ lw $v0, %lo(D_802A25E8)($v0)
|
||||||
|
/* 72CDA4 802A17F4 3463EC4F */ ori $v1, $v1, 0xec4f
|
||||||
|
/* 72CDA8 802A17F8 00430018 */ mult $v0, $v1
|
||||||
|
/* 72CDAC 802A17FC 3C11802A */ lui $s1, %hi(D_802A25C8)
|
||||||
|
/* 72CDB0 802A1800 263125C8 */ addiu $s1, $s1, %lo(D_802A25C8)
|
||||||
|
/* 72CDB4 802A1804 3C04802A */ lui $a0, %hi(D_802A25F8)
|
||||||
|
/* 72CDB8 802A1808 8C8425F8 */ lw $a0, %lo(D_802A25F8)($a0)
|
||||||
|
/* 72CDBC 802A180C 000217C3 */ sra $v0, $v0, 0x1f
|
||||||
|
/* 72CDC0 802A1810 00004010 */ mfhi $t0
|
||||||
|
/* 72CDC4 802A1814 000818C3 */ sra $v1, $t0, 3
|
||||||
|
/* 72CDC8 802A1818 00628023 */ subu $s0, $v1, $v0
|
||||||
|
/* 72CDCC 802A181C 3C03802A */ lui $v1, %hi(D_802A25FC)
|
||||||
|
/* 72CDD0 802A1820 8C6325FC */ lw $v1, %lo(D_802A25FC)($v1)
|
||||||
|
/* 72CDD4 802A1824 00101080 */ sll $v0, $s0, 2
|
||||||
|
/* 72CDD8 802A1828 00431021 */ addu $v0, $v0, $v1
|
||||||
|
/* 72CDDC 802A182C 94420002 */ lhu $v0, 2($v0)
|
||||||
|
/* 72CDE0 802A1830 0000802D */ daddu $s0, $zero, $zero
|
||||||
|
/* 72CDE4 802A1834 A642017A */ sh $v0, 0x17a($s2)
|
||||||
|
/* 72CDE8 802A1838 00021400 */ sll $v0, $v0, 0x10
|
||||||
|
/* 72CDEC 802A183C 00021403 */ sra $v0, $v0, 0x10
|
||||||
|
/* 72CDF0 802A1840 0C048D70 */ jal func_801235C0
|
||||||
|
/* 72CDF4 802A1844 ACC20084 */ sw $v0, 0x84($a2)
|
||||||
|
.L802A1848:
|
||||||
|
/* 72CDF8 802A1848 8E240000 */ lw $a0, ($s1)
|
||||||
|
/* 72CDFC 802A184C 26310004 */ addiu $s1, $s1, 4
|
||||||
|
/* 72CE00 802A1850 0C05123D */ jal free_icon
|
||||||
|
/* 72CE04 802A1854 26100001 */ addiu $s0, $s0, 1
|
||||||
|
/* 72CE08 802A1858 2A020007 */ slti $v0, $s0, 7
|
||||||
|
/* 72CE0C 802A185C 1440FFFA */ bnez $v0, .L802A1848
|
||||||
|
/* 72CE10 802A1860 24020002 */ addiu $v0, $zero, 2
|
||||||
|
/* 72CE14 802A1864 080A861C */ j .L802A1870
|
||||||
|
/* 72CE18 802A1868 00000000 */ nop
|
||||||
|
.L802A186C:
|
||||||
|
/* 72CE1C 802A186C 0000102D */ daddu $v0, $zero, $zero
|
||||||
|
.L802A1870:
|
||||||
|
/* 72CE20 802A1870 8FBF0028 */ lw $ra, 0x28($sp)
|
||||||
|
/* 72CE24 802A1874 8FB30024 */ lw $s3, 0x24($sp)
|
||||||
|
/* 72CE28 802A1878 8FB20020 */ lw $s2, 0x20($sp)
|
||||||
|
/* 72CE2C 802A187C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||||
|
/* 72CE30 802A1880 8FB00018 */ lw $s0, 0x18($sp)
|
||||||
|
/* 72CE34 802A1884 03E00008 */ jr $ra
|
||||||
|
/* 72CE38 802A1888 27BD0030 */ addiu $sp, $sp, 0x30
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user