battle_menu symbols

This commit is contained in:
Alex Bates 2021-02-06 14:01:01 +00:00
parent 9dc59a69c3
commit 2abdc489db
20 changed files with 672 additions and 672 deletions

View File

@ -175,8 +175,8 @@ glabel L802A1DB4_416B44
/* 416C74 802A1EE4 3C01802B */ lui $at, %hi(D_802AD070)
/* 416C78 802A1EE8 E420D070 */ swc1 $f0, %lo(D_802AD070)($at)
.L802A1EEC:
/* 416C7C 802A1EEC 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 416C80 802A1EF0 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 416C7C 802A1EEC 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 416C80 802A1EF0 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 416C84 802A1EF4 3C01802B */ lui $at, %hi(D_802AD06C)
/* 416C88 802A1EF8 C438D06C */ lwc1 $f24, %lo(D_802AD06C)($at)
/* 416C8C 802A1EFC 1840008A */ blez $v0, .L802A2128
@ -316,8 +316,8 @@ glabel L802A1DB4_416B44
/* 416E94 802A2104 0260202D */ daddu $a0, $s3, $zero
/* 416E98 802A2108 26940001 */ addiu $s4, $s4, 1
.L802A210C:
/* 416E9C 802A210C 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 416EA0 802A2110 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 416E9C 802A210C 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 416EA0 802A2110 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 416EA4 802A2114 3C0141E0 */ lui $at, 0x41e0
/* 416EA8 802A2118 44810000 */ mtc1 $at, $f0
/* 416EAC 802A211C 0282102A */ slt $v0, $s4, $v0
@ -477,8 +477,8 @@ glabel L802A1DB4_416B44
/* 41710C 802A237C 0260202D */ daddu $a0, $s3, $zero
/* 417110 802A2380 0C05108E */ jal func_80144238
/* 417114 802A2384 0260202D */ daddu $a0, $s3, $zero
/* 417118 802A2388 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 41711C 802A238C 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 417118 802A2388 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 41711C 802A238C 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 417120 802A2390 3C01802B */ lui $at, %hi(D_802AD06C)
/* 417124 802A2394 C438D06C */ lwc1 $f24, %lo(D_802AD06C)($at)
/* 417128 802A2398 1840004D */ blez $v0, .L802A24D0
@ -554,8 +554,8 @@ glabel L802A1DB4_416B44
/* 417238 802A24A8 0260202D */ daddu $a0, $s3, $zero
/* 41723C 802A24AC 26520004 */ addiu $s2, $s2, 4
/* 417240 802A24B0 26940001 */ addiu $s4, $s4, 1
/* 417244 802A24B4 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 417248 802A24B8 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 417244 802A24B4 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 417248 802A24B8 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 41724C 802A24BC 3C0141E0 */ lui $at, 0x41e0
/* 417250 802A24C0 44810000 */ mtc1 $at, $f0
/* 417254 802A24C4 0282102A */ slt $v0, $s4, $v0
@ -594,9 +594,9 @@ glabel L802A1DB4_416B44
/* 4172D4 802A2544 AFA00014 */ sw $zero, 0x14($sp)
/* 4172D8 802A2548 00641821 */ addu $v1, $v1, $a0
/* 4172DC 802A254C 00031880 */ sll $v1, $v1, 2
/* 4172E0 802A2550 3C04802B */ lui $a0, %hi(D_802AD090)
/* 4172E0 802A2550 3C04802B */ lui $a0, %hi(battle_menu_messageIDs)
/* 4172E4 802A2554 00832021 */ addu $a0, $a0, $v1
/* 4172E8 802A2558 8C84D090 */ lw $a0, %lo(D_802AD090)($a0)
/* 4172E8 802A2558 8C84D090 */ lw $a0, %lo(battle_menu_messageIDs)($a0)
/* 4172EC 802A255C 0C04993B */ jal draw_string
/* 4172F0 802A2560 02A0382D */ daddu $a3, $s5, $zero
.L802A2564:

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802A10B8
/* 415E48 802A10B8 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 415E4C 802A10BC 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 415E48 802A10B8 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 415E4C 802A10BC 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 415E50 802A10C0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 415E54 802A10C4 AFB00010 */ sw $s0, 0x10($sp)
/* 415E58 802A10C8 0000802D */ daddu $s0, $zero, $zero
@ -22,8 +22,8 @@ glabel func_802A10B8
/* 415E88 802A10F8 8E440000 */ lw $a0, ($s2)
/* 415E8C 802A10FC 0C05123D */ jal free_icon
/* 415E90 802A1100 26100001 */ addiu $s0, $s0, 1
/* 415E94 802A1104 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 415E98 802A1108 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 415E94 802A1104 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 415E98 802A1108 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 415E9C 802A110C 0202102A */ slt $v0, $s0, $v0
/* 415EA0 802A1110 1440FFF6 */ bnez $v0, .L802A10EC
/* 415EA4 802A1114 26520004 */ addiu $s2, $s2, 4

View File

@ -69,8 +69,8 @@ glabel func_802A11B0
/* 416030 802A12A0 44810000 */ mtc1 $at, $f0
/* 416034 802A12A4 3C04802B */ lui $a0, %hi(D_802AD0B3)
/* 416038 802A12A8 9084D0B3 */ lbu $a0, %lo(D_802AD0B3)($a0)
/* 41603C 802A12AC 3C05802B */ lui $a1, %hi(D_802AD0AC)
/* 416040 802A12B0 24A5D0AC */ addiu $a1, $a1, %lo(D_802AD0AC)
/* 41603C 802A12AC 3C05802B */ lui $a1, %hi(main_menu_numOptions)
/* 416040 802A12B0 24A5D0AC */ addiu $a1, $a1, %lo(main_menu_numOptions)
/* 416044 802A12B4 3C01802B */ lui $at, %hi(D_802AD064)
/* 416048 802A12B8 AC22D064 */ sw $v0, %lo(D_802AD064)($at)
/* 41604C 802A12BC 3C01802B */ lui $at, %hi(D_802AD004)
@ -94,8 +94,8 @@ glabel func_802A11B0
/* 416094 802A1304 2694D028 */ addiu $s4, $s4, %lo(D_802AD028)
/* 416098 802A1308 3C12802B */ lui $s2, %hi(D_802AD010)
/* 41609C 802A130C 2652D010 */ addiu $s2, $s2, %lo(D_802AD010)
/* 4160A0 802A1310 3C10802B */ lui $s0, %hi(D_802AD078)
/* 4160A4 802A1314 2610D078 */ addiu $s0, $s0, %lo(D_802AD078)
/* 4160A0 802A1310 3C10802B */ lui $s0, %hi(main_battle_menu_iconScripts)
/* 4160A4 802A1314 2610D078 */ addiu $s0, $s0, %lo(main_battle_menu_iconScripts)
.L802A1318:
/* 4160A8 802A1318 8E040000 */ lw $a0, ($s0)
/* 4160AC 802A131C 26100004 */ addiu $s0, $s0, 4
@ -139,8 +139,8 @@ glabel func_802A11B0
/* 416144 802A13B4 0220202D */ daddu $a0, $s1, $zero
/* 416148 802A13B8 0C051280 */ jal set_icon_flags
/* 41614C 802A13BC 24050002 */ addiu $a1, $zero, 2
/* 416150 802A13C0 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 416154 802A13C4 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 416150 802A13C0 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 416154 802A13C4 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 416158 802A13C8 0262102A */ slt $v0, $s3, $v0
/* 41615C 802A13CC 1440FFD2 */ bnez $v0, .L802A1318
/* 416160 802A13D0 26940004 */ addiu $s4, $s4, 4
@ -423,8 +423,8 @@ glabel func_802A11B0
/* 4165A4 802A1814 000218C0 */ sll $v1, $v0, 3
/* 4165A8 802A1818 00621823 */ subu $v1, $v1, $v0
/* 4165AC 802A181C 00031880 */ sll $v1, $v1, 2
/* 4165B0 802A1820 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 4165B4 802A1824 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 4165B0 802A1820 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 4165B4 802A1824 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 4165B8 802A1828 4483A000 */ mtc1 $v1, $f20
/* 4165BC 802A182C 00000000 */ nop
/* 4165C0 802A1830 4680A520 */ cvt.s.w $f20, $f20
@ -482,8 +482,8 @@ glabel func_802A11B0
/* 41668C 802A18FC 0220202D */ daddu $a0, $s1, $zero
/* 416690 802A1900 0C05128B */ jal clear_icon_flags
/* 416694 802A1904 24050002 */ addiu $a1, $zero, 2
/* 416698 802A1908 3C02802B */ lui $v0, %hi(D_802AD0AC)
/* 41669C 802A190C 8C42D0AC */ lw $v0, %lo(D_802AD0AC)($v0)
/* 416698 802A1908 3C02802B */ lui $v0, %hi(main_menu_numOptions)
/* 41669C 802A190C 8C42D0AC */ lw $v0, %lo(main_menu_numOptions)($v0)
/* 4166A0 802A1910 3C0141E0 */ lui $at, 0x41e0
/* 4166A4 802A1914 44810000 */ mtc1 $at, $f0
/* 4166A8 802A1918 0262102A */ slt $v0, $s3, $v0
@ -551,9 +551,9 @@ glabel func_802A11B0
/* 416798 802A1A08 82430000 */ lb $v1, ($s2)
/* 41679C 802A1A0C 00431021 */ addu $v0, $v0, $v1
/* 4167A0 802A1A10 00021080 */ sll $v0, $v0, 2
/* 4167A4 802A1A14 3C01802B */ lui $at, %hi(D_802AD0D0)
/* 4167A4 802A1A14 3C01802B */ lui $at, %hi(battle_menu_isEnabled)
/* 4167A8 802A1A18 00220821 */ addu $at, $at, $v0
/* 4167AC 802A1A1C 8C22D0D0 */ lw $v0, %lo(D_802AD0D0)($at)
/* 4167AC 802A1A1C 8C22D0D0 */ lw $v0, %lo(battle_menu_isEnabled)($at)
/* 4167B0 802A1A20 14450005 */ bne $v0, $a1, .L802A1A38
/* 4167B4 802A1A24 00000000 */ nop
/* 4167B8 802A1A28 0C05272D */ jal play_sound

View File

@ -4,8 +4,8 @@
glabel func_802A2684
/* 417414 802A2684 3C03802B */ lui $v1, %hi(D_802AD4A8)
/* 417418 802A2688 2463D4A8 */ addiu $v1, $v1, %lo(D_802AD4A8)
/* 41741C 802A268C 3C05802B */ lui $a1, %hi(D_802AD4A4)
/* 417420 802A2690 24A5D4A4 */ addiu $a1, $a1, %lo(D_802AD4A4)
/* 41741C 802A268C 3C05802B */ lui $a1, %hi(battle_menu_moveOptionCount)
/* 417420 802A2690 24A5D4A4 */ addiu $a1, $a1, %lo(battle_menu_moveOptionCount)
/* 417424 802A2694 8C620000 */ lw $v0, ($v1)
/* 417428 802A2698 8CA70000 */ lw $a3, ($a1)
/* 41742C 802A269C 0047102A */ slt $v0, $v0, $a3
@ -13,14 +13,14 @@ glabel func_802A2684
/* 417434 802A26A4 24E2FFFF */ addiu $v0, $a3, -1
/* 417438 802A26A8 AC620000 */ sw $v0, ($v1)
.L802A26AC:
/* 41743C 802A26AC 3C01802B */ lui $at, %hi(D_802AD108)
/* 417440 802A26B0 A020D108 */ sb $zero, %lo(D_802AD108)($at)
/* 41743C 802A26AC 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 417440 802A26B0 A020D108 */ sb $zero, %lo(battle_menu_moveState)($at)
/* 417444 802A26B4 90640003 */ lbu $a0, 3($v1)
/* 417448 802A26B8 3C03802B */ lui $v1, %hi(D_802AD10C)
/* 41744C 802A26BC 2463D10C */ addiu $v1, $v1, %lo(D_802AD10C)
/* 417448 802A26B8 3C03802B */ lui $v1, %hi(battle_menu_moveScrollLine)
/* 41744C 802A26BC 2463D10C */ addiu $v1, $v1, %lo(battle_menu_moveScrollLine)
/* 417450 802A26C0 A0600000 */ sb $zero, ($v1)
/* 417454 802A26C4 3C01802B */ lui $at, %hi(D_802AD109)
/* 417458 802A26C8 A024D109 */ sb $a0, %lo(D_802AD109)($at)
/* 417454 802A26C4 3C01802B */ lui $at, %hi(battle_menu_moveCursorPos)
/* 417458 802A26C8 A024D109 */ sb $a0, %lo(battle_menu_moveCursorPos)($at)
/* 41745C 802A26CC 3C01802B */ lui $at, %hi(D_802AD10A)
/* 417460 802A26D0 A024D10A */ sb $a0, %lo(D_802AD10A)($at)
/* 417464 802A26D4 90A60003 */ lbu $a2, 3($a1)
@ -43,8 +43,8 @@ glabel func_802A2684
/* 4174A4 802A2714 A1060000 */ sb $a2, ($t0)
.L802A2718:
/* 4174A8 802A2718 240200FF */ addiu $v0, $zero, 0xff
/* 4174AC 802A271C 3C01802B */ lui $at, %hi(D_802AD116)
/* 4174B0 802A2720 A422D116 */ sh $v0, %lo(D_802AD116)($at)
/* 4174AC 802A271C 3C01802B */ lui $at, %hi(battle_menu_moveTextOpacity)
/* 4174B0 802A2720 A422D116 */ sh $v0, %lo(battle_menu_moveTextOpacity)($at)
/* 4174B4 802A2724 24020001 */ addiu $v0, $zero, 1
/* 4174B8 802A2728 3C01802B */ lui $at, %hi(D_802AD10F)
/* 4174BC 802A272C A022D10F */ sb $v0, %lo(D_802AD10F)($at)
@ -79,15 +79,15 @@ glabel func_802A2684
/* 417524 802A2794 00021080 */ sll $v0, $v0, 2
/* 417528 802A2798 00441021 */ addu $v0, $v0, $a0
/* 41752C 802A279C 00A31823 */ subu $v1, $a1, $v1
/* 417530 802A27A0 3C01802B */ lui $at, %hi(D_802AD110)
/* 417534 802A27A4 A422D110 */ sh $v0, %lo(D_802AD110)($at)
/* 417530 802A27A0 3C01802B */ lui $at, %hi(battle_menu_moveScrollOffset)
/* 417534 802A27A4 A422D110 */ sh $v0, %lo(battle_menu_moveScrollOffset)($at)
/* 417538 802A27A8 00031040 */ sll $v0, $v1, 1
/* 41753C 802A27AC 00431021 */ addu $v0, $v0, $v1
/* 417540 802A27B0 00021080 */ sll $v0, $v0, 2
/* 417544 802A27B4 00431021 */ addu $v0, $v0, $v1
/* 417548 802A27B8 3C01802B */ lui $at, %hi(D_802AD112)
/* 41754C 802A27BC A422D112 */ sh $v0, %lo(D_802AD112)($at)
/* 417550 802A27C0 3C01802B */ lui $at, %hi(D_802AD600)
/* 417554 802A27C4 AC20D600 */ sw $zero, %lo(D_802AD600)($at)
/* 417550 802A27C0 3C01802B */ lui $at, %hi(battle_menu_moveOptionActive)
/* 417554 802A27C4 AC20D600 */ sw $zero, %lo(battle_menu_moveOptionActive)($at)
/* 417558 802A27C8 03E00008 */ jr $ra
/* 41755C 802A27CC 00000000 */ nop

View File

@ -3,7 +3,7 @@
glabel func_802A27D0
/* 417560 802A27D0 2402000A */ addiu $v0, $zero, 0xa
/* 417564 802A27D4 3C01802B */ lui $at, %hi(D_802AD108)
/* 417568 802A27D8 A022D108 */ sb $v0, %lo(D_802AD108)($at)
/* 417564 802A27D4 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 417568 802A27D8 A022D108 */ sb $v0, %lo(battle_menu_moveState)($at)
/* 41756C 802A27DC 03E00008 */ jr $ra
/* 417570 802A27E0 00000000 */ nop

View File

@ -9,8 +9,8 @@ glabel func_802A27E4
/* 417584 802A27F4 AFB10014 */ sw $s1, 0x14($sp)
/* 417588 802A27F8 0C051F9F */ jal func_80147E7C
/* 41758C 802A27FC AFB00010 */ sw $s0, 0x10($sp)
/* 417590 802A2800 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 417594 802A2804 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 417590 802A2800 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 417594 802A2804 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 417598 802A2808 54400006 */ bnel $v0, $zero, .L802A2824
/* 41759C 802A280C 24040004 */ addiu $a0, $zero, 4
/* 4175A0 802A2810 24040002 */ addiu $a0, $zero, 2
@ -28,51 +28,51 @@ glabel func_802A27E4
/* 4175C8 802A2838 24040008 */ addiu $a0, $zero, 8
/* 4175CC 802A283C 0C051F9F */ jal func_80147E7C
/* 4175D0 802A2840 24050002 */ addiu $a1, $zero, 2
/* 4175D4 802A2844 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4175D8 802A2848 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4175D4 802A2844 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4175D8 802A2848 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 4175DC 802A284C 1840000C */ blez $v0, .L802A2880
/* 4175E0 802A2850 0000802D */ daddu $s0, $zero, $zero
/* 4175E4 802A2854 3C11802B */ lui $s1, %hi(D_802AD128)
/* 4175E8 802A2858 2631D128 */ addiu $s1, $s1, %lo(D_802AD128)
/* 4175E4 802A2854 3C11802B */ lui $s1, %hi(battle_menu_moveOptionIconIDs)
/* 4175E8 802A2858 2631D128 */ addiu $s1, $s1, %lo(battle_menu_moveOptionIconIDs)
.L802A285C:
/* 4175EC 802A285C 8E240000 */ lw $a0, ($s1)
/* 4175F0 802A2860 0C05123D */ jal free_icon
/* 4175F4 802A2864 26310004 */ addiu $s1, $s1, 4
/* 4175F8 802A2868 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4175FC 802A286C 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4175F8 802A2868 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4175FC 802A286C 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417600 802A2870 26100001 */ addiu $s0, $s0, 1
/* 417604 802A2874 0202102A */ slt $v0, $s0, $v0
/* 417608 802A2878 1440FFF8 */ bnez $v0, .L802A285C
/* 41760C 802A287C 00000000 */ nop
.L802A2880:
/* 417610 802A2880 3C04802B */ lui $a0, %hi(D_802AD118)
/* 417614 802A2884 8C84D118 */ lw $a0, %lo(D_802AD118)($a0)
/* 417610 802A2880 3C04802B */ lui $a0, %hi(battle_menu_moveCursorIcon)
/* 417614 802A2884 8C84D118 */ lw $a0, %lo(battle_menu_moveCursorIcon)($a0)
/* 417618 802A2888 0C05123D */ jal free_icon
/* 41761C 802A288C 0000802D */ daddu $s0, $zero, $zero
/* 417620 802A2890 3C04802B */ lui $a0, %hi(D_802AD11C)
/* 417624 802A2894 8C84D11C */ lw $a0, %lo(D_802AD11C)($a0)
/* 417620 802A2890 3C04802B */ lui $a0, %hi(battle_menu_moveUpArrowIcon)
/* 417624 802A2894 8C84D11C */ lw $a0, %lo(battle_menu_moveUpArrowIcon)($a0)
/* 417628 802A2898 0C05123D */ jal free_icon
/* 41762C 802A289C 00000000 */ nop
/* 417630 802A28A0 3C04802B */ lui $a0, %hi(D_802AD120)
/* 417634 802A28A4 8C84D120 */ lw $a0, %lo(D_802AD120)($a0)
/* 417630 802A28A0 3C04802B */ lui $a0, %hi(battle_menu_moveDownArrowIcon)
/* 417634 802A28A4 8C84D120 */ lw $a0, %lo(battle_menu_moveDownArrowIcon)($a0)
/* 417638 802A28A8 0C05123D */ jal free_icon
/* 41763C 802A28AC 00000000 */ nop
/* 417640 802A28B0 3C04802B */ lui $a0, %hi(D_802AD188)
/* 417644 802A28B4 8C84D188 */ lw $a0, %lo(D_802AD188)($a0)
/* 417640 802A28B0 3C04802B */ lui $a0, %hi(battle_menu_moveTitleIcon)
/* 417644 802A28B4 8C84D188 */ lw $a0, %lo(battle_menu_moveTitleIcon)($a0)
/* 417648 802A28B8 0C05123D */ jal free_icon
/* 41764C 802A28BC 00000000 */ nop
/* 417650 802A28C0 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417654 802A28C4 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417650 802A28C0 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417654 802A28C4 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417658 802A28C8 1840000C */ blez $v0, .L802A28FC
/* 41765C 802A28CC 00000000 */ nop
/* 417660 802A28D0 3C11802B */ lui $s1, %hi(D_802AD190)
/* 417664 802A28D4 2631D190 */ addiu $s1, $s1, %lo(D_802AD190)
/* 417660 802A28D0 3C11802B */ lui $s1, %hi(battle_menu_moveOptionCostUnitIconIDs)
/* 417664 802A28D4 2631D190 */ addiu $s1, $s1, %lo(battle_menu_moveOptionCostUnitIconIDs)
.L802A28D8:
/* 417668 802A28D8 8E240000 */ lw $a0, ($s1)
/* 41766C 802A28DC 0C05123D */ jal free_icon
/* 417670 802A28E0 26310004 */ addiu $s1, $s1, 4
/* 417674 802A28E4 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417678 802A28E8 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417674 802A28E4 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417678 802A28E8 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 41767C 802A28EC 26100001 */ addiu $s0, $s0, 1
/* 417680 802A28F0 0202102A */ slt $v0, $s0, $v0
/* 417684 802A28F4 1440FFF8 */ bnez $v0, .L802A28D8

View File

@ -2,16 +2,16 @@
.set noreorder # don't insert nops after branches
glabel func_802A2910
/* 4176A0 802A2910 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4176A4 802A2914 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4176A0 802A2910 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4176A4 802A2914 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 4176A8 802A2918 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4176AC 802A291C AFB00010 */ sw $s0, 0x10($sp)
/* 4176B0 802A2920 0000802D */ daddu $s0, $zero, $zero
/* 4176B4 802A2924 AFBF0018 */ sw $ra, 0x18($sp)
/* 4176B8 802A2928 1840000F */ blez $v0, .L802A2968
/* 4176BC 802A292C AFB10014 */ sw $s1, 0x14($sp)
/* 4176C0 802A2930 3C11802B */ lui $s1, %hi(D_802AD128)
/* 4176C4 802A2934 2631D128 */ addiu $s1, $s1, %lo(D_802AD128)
/* 4176C0 802A2930 3C11802B */ lui $s1, %hi(battle_menu_moveOptionIconIDs)
/* 4176C4 802A2934 2631D128 */ addiu $s1, $s1, %lo(battle_menu_moveOptionIconIDs)
/* 4176C8 802A2938 240500FF */ addiu $a1, $zero, 0xff
.L802A293C:
/* 4176CC 802A293C 00A0302D */ daddu $a2, $a1, $zero
@ -19,8 +19,8 @@ glabel func_802A2910
/* 4176D4 802A2944 8E240000 */ lw $a0, ($s1)
/* 4176D8 802A2948 0C0513BF */ jal icon_set_tint
/* 4176DC 802A294C 26310004 */ addiu $s1, $s1, 4
/* 4176E0 802A2950 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4176E4 802A2954 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4176E0 802A2950 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4176E4 802A2954 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 4176E8 802A2958 26100001 */ addiu $s0, $s0, 1
/* 4176EC 802A295C 0202102A */ slt $v0, $s0, $v0
/* 4176F0 802A2960 1440FFF6 */ bnez $v0, .L802A293C
@ -28,34 +28,34 @@ glabel func_802A2910
.L802A2968:
/* 4176F8 802A2968 240500FF */ addiu $a1, $zero, 0xff
/* 4176FC 802A296C 00A0302D */ daddu $a2, $a1, $zero
/* 417700 802A2970 3C04802B */ lui $a0, %hi(D_802AD118)
/* 417704 802A2974 8C84D118 */ lw $a0, %lo(D_802AD118)($a0)
/* 417700 802A2970 3C04802B */ lui $a0, %hi(battle_menu_moveCursorIcon)
/* 417704 802A2974 8C84D118 */ lw $a0, %lo(battle_menu_moveCursorIcon)($a0)
/* 417708 802A2978 0C0513BF */ jal icon_set_tint
/* 41770C 802A297C 00A0382D */ daddu $a3, $a1, $zero
/* 417710 802A2980 240500FF */ addiu $a1, $zero, 0xff
/* 417714 802A2984 00A0302D */ daddu $a2, $a1, $zero
/* 417718 802A2988 3C04802B */ lui $a0, %hi(D_802AD11C)
/* 41771C 802A298C 8C84D11C */ lw $a0, %lo(D_802AD11C)($a0)
/* 417718 802A2988 3C04802B */ lui $a0, %hi(battle_menu_moveUpArrowIcon)
/* 41771C 802A298C 8C84D11C */ lw $a0, %lo(battle_menu_moveUpArrowIcon)($a0)
/* 417720 802A2990 0C0513BF */ jal icon_set_tint
/* 417724 802A2994 00A0382D */ daddu $a3, $a1, $zero
/* 417728 802A2998 240500FF */ addiu $a1, $zero, 0xff
/* 41772C 802A299C 00A0302D */ daddu $a2, $a1, $zero
/* 417730 802A29A0 3C04802B */ lui $a0, %hi(D_802AD120)
/* 417734 802A29A4 8C84D120 */ lw $a0, %lo(D_802AD120)($a0)
/* 417730 802A29A0 3C04802B */ lui $a0, %hi(battle_menu_moveDownArrowIcon)
/* 417734 802A29A4 8C84D120 */ lw $a0, %lo(battle_menu_moveDownArrowIcon)($a0)
/* 417738 802A29A8 0C0513BF */ jal icon_set_tint
/* 41773C 802A29AC 00A0382D */ daddu $a3, $a1, $zero
/* 417740 802A29B0 240500FF */ addiu $a1, $zero, 0xff
/* 417744 802A29B4 00A0302D */ daddu $a2, $a1, $zero
/* 417748 802A29B8 3C04802B */ lui $a0, %hi(D_802AD188)
/* 41774C 802A29BC 8C84D188 */ lw $a0, %lo(D_802AD188)($a0)
/* 417748 802A29B8 3C04802B */ lui $a0, %hi(battle_menu_moveTitleIcon)
/* 41774C 802A29BC 8C84D188 */ lw $a0, %lo(battle_menu_moveTitleIcon)($a0)
/* 417750 802A29C0 0C0513BF */ jal icon_set_tint
/* 417754 802A29C4 00A0382D */ daddu $a3, $a1, $zero
/* 417758 802A29C8 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 41775C 802A29CC 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417758 802A29C8 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 41775C 802A29CC 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417760 802A29D0 1840000F */ blez $v0, .L802A2A10
/* 417764 802A29D4 0000802D */ daddu $s0, $zero, $zero
/* 417768 802A29D8 3C11802B */ lui $s1, %hi(D_802AD190)
/* 41776C 802A29DC 2631D190 */ addiu $s1, $s1, %lo(D_802AD190)
/* 417768 802A29D8 3C11802B */ lui $s1, %hi(battle_menu_moveOptionCostUnitIconIDs)
/* 41776C 802A29DC 2631D190 */ addiu $s1, $s1, %lo(battle_menu_moveOptionCostUnitIconIDs)
/* 417770 802A29E0 240500FF */ addiu $a1, $zero, 0xff
.L802A29E4:
/* 417774 802A29E4 00A0302D */ daddu $a2, $a1, $zero
@ -63,15 +63,15 @@ glabel func_802A2910
/* 41777C 802A29EC 8E240000 */ lw $a0, ($s1)
/* 417780 802A29F0 0C0513BF */ jal icon_set_tint
/* 417784 802A29F4 26310004 */ addiu $s1, $s1, 4
/* 417788 802A29F8 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 41778C 802A29FC 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417788 802A29F8 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 41778C 802A29FC 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417790 802A2A00 26100001 */ addiu $s0, $s0, 1
/* 417794 802A2A04 0202102A */ slt $v0, $s0, $v0
/* 417798 802A2A08 5440FFF6 */ bnel $v0, $zero, .L802A29E4
/* 41779C 802A2A0C 240500FF */ addiu $a1, $zero, 0xff
.L802A2A10:
/* 4177A0 802A2A10 3C04802B */ lui $a0, %hi(D_802AD118)
/* 4177A4 802A2A14 8C84D118 */ lw $a0, %lo(D_802AD118)($a0)
/* 4177A0 802A2A10 3C04802B */ lui $a0, %hi(battle_menu_moveCursorIcon)
/* 4177A4 802A2A14 8C84D118 */ lw $a0, %lo(battle_menu_moveCursorIcon)($a0)
/* 4177A8 802A2A18 3C058010 */ lui $a1, %hi(D_80104A28)
/* 4177AC 802A2A1C 24A54A28 */ addiu $a1, $a1, %lo(D_80104A28)
/* 4177B0 802A2A20 0C0511FF */ jal set_menu_icon_script
@ -79,8 +79,8 @@ glabel func_802A2910
/* 4177B8 802A2A28 24040001 */ addiu $a0, $zero, 1
/* 4177BC 802A2A2C 0C051F9F */ jal func_80147E7C
/* 4177C0 802A2A30 24050005 */ addiu $a1, $zero, 5
/* 4177C4 802A2A34 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 4177C8 802A2A38 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 4177C4 802A2A34 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 4177C8 802A2A38 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 4177CC 802A2A3C 54400006 */ bnel $v0, $zero, .L802A2A58
/* 4177D0 802A2A40 24040004 */ addiu $a0, $zero, 4
/* 4177D4 802A2A44 24040002 */ addiu $a0, $zero, 2
@ -103,14 +103,14 @@ glabel func_802A2910
/* 417810 802A2A80 8FB10014 */ lw $s1, 0x14($sp)
/* 417814 802A2A84 8FB00010 */ lw $s0, 0x10($sp)
/* 417818 802A2A88 24030001 */ addiu $v1, $zero, 1
/* 41781C 802A2A8C 3C01802B */ lui $at, %hi(D_802AD114)
/* 417820 802A2A90 A422D114 */ sh $v0, %lo(D_802AD114)($at)
/* 41781C 802A2A8C 3C01802B */ lui $at, %hi(battle_menu_moveTextColor)
/* 417820 802A2A90 A422D114 */ sh $v0, %lo(battle_menu_moveTextColor)($at)
/* 417824 802A2A94 240200FF */ addiu $v0, $zero, 0xff
/* 417828 802A2A98 3C01802B */ lui $at, %hi(D_802AD10F)
/* 41782C 802A2A9C A023D10F */ sb $v1, %lo(D_802AD10F)($at)
/* 417830 802A2AA0 3C01802B */ lui $at, %hi(D_802AD116)
/* 417834 802A2AA4 A422D116 */ sh $v0, %lo(D_802AD116)($at)
/* 417838 802A2AA8 3C01802B */ lui $at, %hi(D_802AD108)
/* 41783C 802A2AAC A023D108 */ sb $v1, %lo(D_802AD108)($at)
/* 417830 802A2AA0 3C01802B */ lui $at, %hi(battle_menu_moveTextOpacity)
/* 417834 802A2AA4 A422D116 */ sh $v0, %lo(battle_menu_moveTextOpacity)($at)
/* 417838 802A2AA8 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 41783C 802A2AAC A023D108 */ sb $v1, %lo(battle_menu_moveState)($at)
/* 417840 802A2AB0 03E00008 */ jr $ra
/* 417844 802A2AB4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -9,8 +9,8 @@ glabel func_802A2AB8
/* 417858 802A2AC8 AFB10014 */ sw $s1, 0x14($sp)
/* 41785C 802A2ACC 0C051F9F */ jal func_80147E7C
/* 417860 802A2AD0 AFB00010 */ sw $s0, 0x10($sp)
/* 417864 802A2AD4 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 417868 802A2AD8 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 417864 802A2AD4 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 417868 802A2AD8 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 41786C 802A2ADC 54400006 */ bnel $v0, $zero, .L802A2AF8
/* 417870 802A2AE0 24040004 */ addiu $a0, $zero, 4
/* 417874 802A2AE4 24040002 */ addiu $a0, $zero, 2
@ -28,12 +28,12 @@ glabel func_802A2AB8
/* 41789C 802A2B0C 24040008 */ addiu $a0, $zero, 8
/* 4178A0 802A2B10 0C051F9F */ jal func_80147E7C
/* 4178A4 802A2B14 24050001 */ addiu $a1, $zero, 1
/* 4178A8 802A2B18 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4178AC 802A2B1C 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4178A8 802A2B18 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4178AC 802A2B1C 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 4178B0 802A2B20 1840000F */ blez $v0, .L802A2B60
/* 4178B4 802A2B24 0000802D */ daddu $s0, $zero, $zero
/* 4178B8 802A2B28 3C11802B */ lui $s1, %hi(D_802AD128)
/* 4178BC 802A2B2C 2631D128 */ addiu $s1, $s1, %lo(D_802AD128)
/* 4178B8 802A2B28 3C11802B */ lui $s1, %hi(battle_menu_moveOptionIconIDs)
/* 4178BC 802A2B2C 2631D128 */ addiu $s1, $s1, %lo(battle_menu_moveOptionIconIDs)
/* 4178C0 802A2B30 240500FF */ addiu $a1, $zero, 0xff
.L802A2B34:
/* 4178C4 802A2B34 00A0302D */ daddu $a2, $a1, $zero
@ -41,8 +41,8 @@ glabel func_802A2AB8
/* 4178CC 802A2B3C 8E240000 */ lw $a0, ($s1)
/* 4178D0 802A2B40 0C0513BF */ jal icon_set_tint
/* 4178D4 802A2B44 26310004 */ addiu $s1, $s1, 4
/* 4178D8 802A2B48 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4178DC 802A2B4C 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4178D8 802A2B48 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4178DC 802A2B4C 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 4178E0 802A2B50 26100001 */ addiu $s0, $s0, 1
/* 4178E4 802A2B54 0202102A */ slt $v0, $s0, $v0
/* 4178E8 802A2B58 1440FFF6 */ bnez $v0, .L802A2B34
@ -50,34 +50,34 @@ glabel func_802A2AB8
.L802A2B60:
/* 4178F0 802A2B60 240500FF */ addiu $a1, $zero, 0xff
/* 4178F4 802A2B64 00A0302D */ daddu $a2, $a1, $zero
/* 4178F8 802A2B68 3C04802B */ lui $a0, %hi(D_802AD118)
/* 4178FC 802A2B6C 8C84D118 */ lw $a0, %lo(D_802AD118)($a0)
/* 4178F8 802A2B68 3C04802B */ lui $a0, %hi(battle_menu_moveCursorIcon)
/* 4178FC 802A2B6C 8C84D118 */ lw $a0, %lo(battle_menu_moveCursorIcon)($a0)
/* 417900 802A2B70 0C0513BF */ jal icon_set_tint
/* 417904 802A2B74 00A0382D */ daddu $a3, $a1, $zero
/* 417908 802A2B78 240500FF */ addiu $a1, $zero, 0xff
/* 41790C 802A2B7C 00A0302D */ daddu $a2, $a1, $zero
/* 417910 802A2B80 3C04802B */ lui $a0, %hi(D_802AD11C)
/* 417914 802A2B84 8C84D11C */ lw $a0, %lo(D_802AD11C)($a0)
/* 417910 802A2B80 3C04802B */ lui $a0, %hi(battle_menu_moveUpArrowIcon)
/* 417914 802A2B84 8C84D11C */ lw $a0, %lo(battle_menu_moveUpArrowIcon)($a0)
/* 417918 802A2B88 0C0513BF */ jal icon_set_tint
/* 41791C 802A2B8C 00A0382D */ daddu $a3, $a1, $zero
/* 417920 802A2B90 240500FF */ addiu $a1, $zero, 0xff
/* 417924 802A2B94 00A0302D */ daddu $a2, $a1, $zero
/* 417928 802A2B98 3C04802B */ lui $a0, %hi(D_802AD120)
/* 41792C 802A2B9C 8C84D120 */ lw $a0, %lo(D_802AD120)($a0)
/* 417928 802A2B98 3C04802B */ lui $a0, %hi(battle_menu_moveDownArrowIcon)
/* 41792C 802A2B9C 8C84D120 */ lw $a0, %lo(battle_menu_moveDownArrowIcon)($a0)
/* 417930 802A2BA0 0C0513BF */ jal icon_set_tint
/* 417934 802A2BA4 00A0382D */ daddu $a3, $a1, $zero
/* 417938 802A2BA8 240500FF */ addiu $a1, $zero, 0xff
/* 41793C 802A2BAC 00A0302D */ daddu $a2, $a1, $zero
/* 417940 802A2BB0 3C04802B */ lui $a0, %hi(D_802AD188)
/* 417944 802A2BB4 8C84D188 */ lw $a0, %lo(D_802AD188)($a0)
/* 417940 802A2BB0 3C04802B */ lui $a0, %hi(battle_menu_moveTitleIcon)
/* 417944 802A2BB4 8C84D188 */ lw $a0, %lo(battle_menu_moveTitleIcon)($a0)
/* 417948 802A2BB8 0C0513BF */ jal icon_set_tint
/* 41794C 802A2BBC 00A0382D */ daddu $a3, $a1, $zero
/* 417950 802A2BC0 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417954 802A2BC4 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417950 802A2BC0 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417954 802A2BC4 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417958 802A2BC8 1840000F */ blez $v0, .L802A2C08
/* 41795C 802A2BCC 0000802D */ daddu $s0, $zero, $zero
/* 417960 802A2BD0 3C11802B */ lui $s1, %hi(D_802AD190)
/* 417964 802A2BD4 2631D190 */ addiu $s1, $s1, %lo(D_802AD190)
/* 417960 802A2BD0 3C11802B */ lui $s1, %hi(battle_menu_moveOptionCostUnitIconIDs)
/* 417964 802A2BD4 2631D190 */ addiu $s1, $s1, %lo(battle_menu_moveOptionCostUnitIconIDs)
/* 417968 802A2BD8 240500FF */ addiu $a1, $zero, 0xff
.L802A2BDC:
/* 41796C 802A2BDC 00A0302D */ daddu $a2, $a1, $zero
@ -85,15 +85,15 @@ glabel func_802A2AB8
/* 417974 802A2BE4 8E240000 */ lw $a0, ($s1)
/* 417978 802A2BE8 0C0513BF */ jal icon_set_tint
/* 41797C 802A2BEC 26310004 */ addiu $s1, $s1, 4
/* 417980 802A2BF0 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417984 802A2BF4 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417980 802A2BF0 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417984 802A2BF4 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417988 802A2BF8 26100001 */ addiu $s0, $s0, 1
/* 41798C 802A2BFC 0202102A */ slt $v0, $s0, $v0
/* 417990 802A2C00 1440FFF6 */ bnez $v0, .L802A2BDC
/* 417994 802A2C04 240500FF */ addiu $a1, $zero, 0xff
.L802A2C08:
/* 417998 802A2C08 3C04802B */ lui $a0, %hi(D_802AD118)
/* 41799C 802A2C0C 8C84D118 */ lw $a0, %lo(D_802AD118)($a0)
/* 417998 802A2C08 3C04802B */ lui $a0, %hi(battle_menu_moveCursorIcon)
/* 41799C 802A2C0C 8C84D118 */ lw $a0, %lo(battle_menu_moveCursorIcon)($a0)
/* 4179A0 802A2C10 3C058010 */ lui $a1, %hi(D_80104A28)
/* 4179A4 802A2C14 24A54A28 */ addiu $a1, $a1, %lo(D_80104A28)
/* 4179A8 802A2C18 0C0511FF */ jal set_menu_icon_script
@ -102,13 +102,13 @@ glabel func_802A2AB8
/* 4179B4 802A2C24 8FB10014 */ lw $s1, 0x14($sp)
/* 4179B8 802A2C28 8FB00010 */ lw $s0, 0x10($sp)
/* 4179BC 802A2C2C 2402000A */ addiu $v0, $zero, 0xa
/* 4179C0 802A2C30 3C01802B */ lui $at, %hi(D_802AD114)
/* 4179C4 802A2C34 A422D114 */ sh $v0, %lo(D_802AD114)($at)
/* 4179C0 802A2C30 3C01802B */ lui $at, %hi(battle_menu_moveTextColor)
/* 4179C4 802A2C34 A422D114 */ sh $v0, %lo(battle_menu_moveTextColor)($at)
/* 4179C8 802A2C38 24020001 */ addiu $v0, $zero, 1
/* 4179CC 802A2C3C 3C01802B */ lui $at, %hi(D_802AD10F)
/* 4179D0 802A2C40 A022D10F */ sb $v0, %lo(D_802AD10F)($at)
/* 4179D4 802A2C44 24020014 */ addiu $v0, $zero, 0x14
/* 4179D8 802A2C48 3C01802B */ lui $at, %hi(D_802AD108)
/* 4179DC 802A2C4C A022D108 */ sb $v0, %lo(D_802AD108)($at)
/* 4179D8 802A2C48 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 4179DC 802A2C4C A022D108 */ sb $v0, %lo(battle_menu_moveState)($at)
/* 4179E0 802A2C50 03E00008 */ jr $ra
/* 4179E4 802A2C54 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -9,7 +9,7 @@ glabel func_802A2C58
/* 4179F8 802A2C68 24050001 */ addiu $a1, $zero, 1
/* 4179FC 802A2C6C 8FBF0010 */ lw $ra, 0x10($sp)
/* 417A00 802A2C70 2402001E */ addiu $v0, $zero, 0x1e
/* 417A04 802A2C74 3C01802B */ lui $at, %hi(D_802AD108)
/* 417A08 802A2C78 A022D108 */ sb $v0, %lo(D_802AD108)($at)
/* 417A04 802A2C74 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 417A08 802A2C78 A022D108 */ sb $v0, %lo(battle_menu_moveState)($at)
/* 417A0C 802A2C7C 03E00008 */ jr $ra
/* 417A10 802A2C80 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802A2C84
/* 417A14 802A2C84 3C02802B */ lui $v0, %hi(D_802AD108)
/* 417A18 802A2C88 9042D108 */ lbu $v0, %lo(D_802AD108)($v0)
/* 417A14 802A2C84 3C02802B */ lui $v0, %hi(battle_menu_moveState)
/* 417A18 802A2C88 9042D108 */ lbu $v0, %lo(battle_menu_moveState)($v0)
/* 417A1C 802A2C8C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 417A20 802A2C90 AFB1002C */ sw $s1, 0x2c($sp)
/* 417A24 802A2C94 3C11800E */ lui $s1, %hi(gBattleStatus)
@ -27,37 +27,37 @@ glabel func_802A2C84
/* 417A6C 802A2CDC 00400008 */ jr $v0
/* 417A70 802A2CE0 00000000 */ nop
glabel L802A2CE4_417A74
/* 417A74 802A2CE4 3C05802B */ lui $a1, %hi(D_802AD10C)
/* 417A78 802A2CE8 80A5D10C */ lb $a1, %lo(D_802AD10C)($a1)
/* 417A7C 802A2CEC 3C04802B */ lui $a0, %hi(D_802AD109)
/* 417A80 802A2CF0 8084D109 */ lb $a0, %lo(D_802AD109)($a0)
/* 417A74 802A2CE4 3C05802B */ lui $a1, %hi(battle_menu_moveScrollLine)
/* 417A78 802A2CE8 80A5D10C */ lb $a1, %lo(battle_menu_moveScrollLine)($a1)
/* 417A7C 802A2CEC 3C04802B */ lui $a0, %hi(battle_menu_moveCursorPos)
/* 417A80 802A2CF0 8084D109 */ lb $a0, %lo(battle_menu_moveCursorPos)($a0)
/* 417A84 802A2CF4 24020014 */ addiu $v0, $zero, 0x14
/* 417A88 802A2CF8 3C01802B */ lui $at, %hi(D_802AD1F0)
/* 417A8C 802A2CFC A422D1F0 */ sh $v0, %lo(D_802AD1F0)($at)
/* 417A88 802A2CF8 3C01802B */ lui $at, %hi(battle_menu_moveX)
/* 417A8C 802A2CFC A422D1F0 */ sh $v0, %lo(battle_menu_moveX)($at)
/* 417A90 802A2D00 24020044 */ addiu $v0, $zero, 0x44
/* 417A94 802A2D04 3C01802B */ lui $at, %hi(D_802AD1F2)
/* 417A98 802A2D08 A422D1F2 */ sh $v0, %lo(D_802AD1F2)($at)
/* 417A94 802A2D04 3C01802B */ lui $at, %hi(battle_menu_moveY)
/* 417A98 802A2D08 A422D1F2 */ sh $v0, %lo(battle_menu_moveY)($at)
/* 417A9C 802A2D0C 00051823 */ negu $v1, $a1
/* 417AA0 802A2D10 00031040 */ sll $v0, $v1, 1
/* 417AA4 802A2D14 00431021 */ addu $v0, $v0, $v1
/* 417AA8 802A2D18 00021080 */ sll $v0, $v0, 2
/* 417AAC 802A2D1C 00431021 */ addu $v0, $v0, $v1
/* 417AB0 802A2D20 00852023 */ subu $a0, $a0, $a1
/* 417AB4 802A2D24 3C01802B */ lui $at, %hi(D_802AD110)
/* 417AB8 802A2D28 A422D110 */ sh $v0, %lo(D_802AD110)($at)
/* 417AB4 802A2D24 3C01802B */ lui $at, %hi(battle_menu_moveScrollOffset)
/* 417AB8 802A2D28 A422D110 */ sh $v0, %lo(battle_menu_moveScrollOffset)($at)
/* 417ABC 802A2D2C 00041040 */ sll $v0, $a0, 1
/* 417AC0 802A2D30 00441021 */ addu $v0, $v0, $a0
/* 417AC4 802A2D34 00021080 */ sll $v0, $v0, 2
/* 417AC8 802A2D38 3C05802B */ lui $a1, %hi(D_802AD4A4)
/* 417ACC 802A2D3C 24A5D4A4 */ addiu $a1, $a1, %lo(D_802AD4A4)
/* 417AC8 802A2D38 3C05802B */ lui $a1, %hi(battle_menu_moveOptionCount)
/* 417ACC 802A2D3C 24A5D4A4 */ addiu $a1, $a1, %lo(battle_menu_moveOptionCount)
/* 417AD0 802A2D40 8CA30000 */ lw $v1, ($a1)
/* 417AD4 802A2D44 00441021 */ addu $v0, $v0, $a0
/* 417AD8 802A2D48 3C01802B */ lui $at, %hi(D_802AD112)
/* 417ADC 802A2D4C A422D112 */ sh $v0, %lo(D_802AD112)($at)
/* 417AE0 802A2D50 18600009 */ blez $v1, .L802A2D78
/* 417AE4 802A2D54 0000802D */ daddu $s0, $zero, $zero
/* 417AE8 802A2D58 3C03802B */ lui $v1, %hi(D_802AD1F8)
/* 417AEC 802A2D5C 2463D1F8 */ addiu $v1, $v1, %lo(D_802AD1F8)
/* 417AE8 802A2D58 3C03802B */ lui $v1, %hi(battle_menu_moveOptionIndexMap)
/* 417AEC 802A2D5C 2463D1F8 */ addiu $v1, $v1, %lo(battle_menu_moveOptionIndexMap)
.L802A2D60:
/* 417AF0 802A2D60 AC700000 */ sw $s0, ($v1)
/* 417AF4 802A2D64 8CA20000 */ lw $v0, ($a1)
@ -66,24 +66,24 @@ glabel L802A2CE4_417A74
/* 417B00 802A2D70 1440FFFB */ bnez $v0, .L802A2D60
/* 417B04 802A2D74 24630004 */ addiu $v1, $v1, 4
.L802A2D78:
/* 417B08 802A2D78 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 417B0C 802A2D7C 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 417B08 802A2D78 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 417B0C 802A2D7C 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 417B10 802A2D80 14400042 */ bnez $v0, .L802A2E8C
/* 417B14 802A2D84 00000000 */ nop
/* 417B18 802A2D88 3C03802B */ lui $v1, %hi(D_802AD4A4)
/* 417B1C 802A2D8C 8C63D4A4 */ lw $v1, %lo(D_802AD4A4)($v1)
/* 417B18 802A2D88 3C03802B */ lui $v1, %hi(battle_menu_moveOptionCount)
/* 417B1C 802A2D8C 8C63D4A4 */ lw $v1, %lo(battle_menu_moveOptionCount)($v1)
/* 417B20 802A2D90 2462FFFF */ addiu $v0, $v1, -1
/* 417B24 802A2D94 1840003D */ blez $v0, .L802A2E8C
/* 417B28 802A2D98 0000802D */ daddu $s0, $zero, $zero
/* 417B2C 802A2D9C 0060882D */ daddu $s1, $v1, $zero
/* 417B30 802A2DA0 3C0E802B */ lui $t6, %hi(D_802AD5D0)
/* 417B34 802A2DA4 25CED5D0 */ addiu $t6, $t6, %lo(D_802AD5D0)
/* 417B38 802A2DA8 3C0D802B */ lui $t5, %hi(D_802AD320)
/* 417B3C 802A2DAC 25ADD320 */ addiu $t5, $t5, %lo(D_802AD320)
/* 417B40 802A2DB0 3C0C802B */ lui $t4, %hi(D_802AD440)
/* 417B44 802A2DB4 258CD440 */ addiu $t4, $t4, %lo(D_802AD440)
/* 417B48 802A2DB8 3C0F802B */ lui $t7, %hi(D_802AD1F8)
/* 417B4C 802A2DBC 25EFD1F8 */ addiu $t7, $t7, %lo(D_802AD1F8)
/* 417B30 802A2DA0 3C0E802B */ lui $t6, %hi(battle_menu_moveOptionSortPriorities)
/* 417B34 802A2DA4 25CED5D0 */ addiu $t6, $t6, %lo(battle_menu_moveOptionSortPriorities)
/* 417B38 802A2DA8 3C0D802B */ lui $t5, %hi(battle_menu_moveOptionDisplayCosts)
/* 417B3C 802A2DAC 25ADD320 */ addiu $t5, $t5, %lo(battle_menu_moveOptionDisplayCosts)
/* 417B40 802A2DB0 3C0C802B */ lui $t4, %hi(battle_menu_moveOptionBPCosts)
/* 417B44 802A2DB4 258CD440 */ addiu $t4, $t4, %lo(battle_menu_moveOptionBPCosts)
/* 417B48 802A2DB8 3C0F802B */ lui $t7, %hi(battle_menu_moveOptionIndexMap)
/* 417B4C 802A2DBC 25EFD1F8 */ addiu $t7, $t7, %lo(battle_menu_moveOptionIndexMap)
/* 417B50 802A2DC0 01E0502D */ daddu $t2, $t7, $zero
.L802A2DC4:
/* 417B54 802A2DC4 26090001 */ addiu $t1, $s0, 1
@ -91,8 +91,8 @@ glabel L802A2CE4_417A74
/* 417B5C 802A2DCC 10400028 */ beqz $v0, .L802A2E70
/* 417B60 802A2DD0 00091080 */ sll $v0, $t1, 2
/* 417B64 802A2DD4 0140402D */ daddu $t0, $t2, $zero
/* 417B68 802A2DD8 3C0B802B */ lui $t3, %hi(D_802AD4A4)
/* 417B6C 802A2DDC 8D6BD4A4 */ lw $t3, %lo(D_802AD4A4)($t3)
/* 417B68 802A2DD8 3C0B802B */ lui $t3, %hi(battle_menu_moveOptionCount)
/* 417B6C 802A2DDC 8D6BD4A4 */ lw $t3, %lo(battle_menu_moveOptionCount)($t3)
/* 417B70 802A2DE0 004F3821 */ addu $a3, $v0, $t7
.L802A2DE4:
/* 417B74 802A2DE4 8D060000 */ lw $a2, ($t0)
@ -133,24 +133,24 @@ glabel L802A2CE4_417A74
/* 417BF8 802A2E68 1440FFDE */ bnez $v0, .L802A2DE4
/* 417BFC 802A2E6C 24E70004 */ addiu $a3, $a3, 4
.L802A2E70:
/* 417C00 802A2E70 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417C04 802A2E74 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417C00 802A2E70 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417C04 802A2E74 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417C08 802A2E78 26100001 */ addiu $s0, $s0, 1
/* 417C0C 802A2E7C 2442FFFF */ addiu $v0, $v0, -1
/* 417C10 802A2E80 0202102A */ slt $v0, $s0, $v0
/* 417C14 802A2E84 1440FFCF */ bnez $v0, .L802A2DC4
/* 417C18 802A2E88 254A0004 */ addiu $t2, $t2, 4
.L802A2E8C:
/* 417C1C 802A2E8C 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417C20 802A2E90 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417C1C 802A2E8C 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417C20 802A2E90 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417C24 802A2E94 1840001C */ blez $v0, .L802A2F08
/* 417C28 802A2E98 0000802D */ daddu $s0, $zero, $zero
/* 417C2C 802A2E9C 3C14802B */ lui $s4, %hi(D_802AD260)
/* 417C30 802A2EA0 2694D260 */ addiu $s4, $s4, %lo(D_802AD260)
/* 417C34 802A2EA4 3C13802B */ lui $s3, %hi(D_802AD128)
/* 417C38 802A2EA8 2673D128 */ addiu $s3, $s3, %lo(D_802AD128)
/* 417C3C 802A2EAC 3C11802B */ lui $s1, %hi(D_802AD1F8)
/* 417C40 802A2EB0 2631D1F8 */ addiu $s1, $s1, %lo(D_802AD1F8)
/* 417C2C 802A2E9C 3C14802B */ lui $s4, %hi(battle_menu_moveOptionIconScripts)
/* 417C30 802A2EA0 2694D260 */ addiu $s4, $s4, %lo(battle_menu_moveOptionIconScripts)
/* 417C34 802A2EA4 3C13802B */ lui $s3, %hi(battle_menu_moveOptionIconIDs)
/* 417C38 802A2EA8 2673D128 */ addiu $s3, $s3, %lo(battle_menu_moveOptionIconIDs)
/* 417C3C 802A2EAC 3C11802B */ lui $s1, %hi(battle_menu_moveOptionIndexMap)
/* 417C40 802A2EB0 2631D1F8 */ addiu $s1, $s1, %lo(battle_menu_moveOptionIndexMap)
.L802A2EB4:
/* 417C44 802A2EB4 8E220000 */ lw $v0, ($s1)
/* 417C48 802A2EB8 26310004 */ addiu $s1, $s1, 4
@ -168,8 +168,8 @@ glabel L802A2CE4_417A74
/* 417C78 802A2EE8 0240202D */ daddu $a0, $s2, $zero
/* 417C7C 802A2EEC 0C051280 */ jal set_icon_flags
/* 417C80 802A2EF0 34058080 */ ori $a1, $zero, 0x8080
/* 417C84 802A2EF4 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417C88 802A2EF8 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417C84 802A2EF4 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417C88 802A2EF8 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417C8C 802A2EFC 0202102A */ slt $v0, $s0, $v0
/* 417C90 802A2F00 1440FFEC */ bnez $v0, .L802A2EB4
/* 417C94 802A2F04 26730004 */ addiu $s3, $s3, 4
@ -181,14 +181,14 @@ glabel L802A2CE4_417A74
/* 417CA8 802A2F18 0040902D */ daddu $s2, $v0, $zero
/* 417CAC 802A2F1C 0240202D */ daddu $a0, $s2, $zero
/* 417CB0 802A2F20 3C052000 */ lui $a1, 0x2000
/* 417CB4 802A2F24 3C01802B */ lui $at, %hi(D_802AD118)
/* 417CB8 802A2F28 AC32D118 */ sw $s2, %lo(D_802AD118)($at)
/* 417CB4 802A2F24 3C01802B */ lui $at, %hi(battle_menu_moveCursorIcon)
/* 417CB8 802A2F28 AC32D118 */ sw $s2, %lo(battle_menu_moveCursorIcon)($at)
/* 417CBC 802A2F2C 0C051280 */ jal set_icon_flags
/* 417CC0 802A2F30 34A50080 */ ori $a1, $a1, 0x80
/* 417CC4 802A2F34 3C11802B */ lui $s1, %hi(D_802AD1F0)
/* 417CC8 802A2F38 2631D1F0 */ addiu $s1, $s1, %lo(D_802AD1F0)
/* 417CCC 802A2F3C 3C10802B */ lui $s0, %hi(D_802AD1F2)
/* 417CD0 802A2F40 2610D1F2 */ addiu $s0, $s0, %lo(D_802AD1F2)
/* 417CC4 802A2F34 3C11802B */ lui $s1, %hi(battle_menu_moveX)
/* 417CC8 802A2F38 2631D1F0 */ addiu $s1, $s1, %lo(battle_menu_moveX)
/* 417CCC 802A2F3C 3C10802B */ lui $s0, %hi(battle_menu_moveY)
/* 417CD0 802A2F40 2610D1F2 */ addiu $s0, $s0, %lo(battle_menu_moveY)
/* 417CD4 802A2F44 86250000 */ lh $a1, ($s1)
/* 417CD8 802A2F48 86060000 */ lh $a2, ($s0)
/* 417CDC 802A2F4C 0C051261 */ jal set_icon_render_pos
@ -200,8 +200,8 @@ glabel L802A2CE4_417A74
/* 417CF4 802A2F64 0040902D */ daddu $s2, $v0, $zero
/* 417CF8 802A2F68 0240202D */ daddu $a0, $s2, $zero
/* 417CFC 802A2F6C 3C052000 */ lui $a1, 0x2000
/* 417D00 802A2F70 3C01802B */ lui $at, %hi(D_802AD11C)
/* 417D04 802A2F74 AC32D11C */ sw $s2, %lo(D_802AD11C)($at)
/* 417D00 802A2F70 3C01802B */ lui $at, %hi(battle_menu_moveUpArrowIcon)
/* 417D04 802A2F74 AC32D11C */ sw $s2, %lo(battle_menu_moveUpArrowIcon)($at)
/* 417D08 802A2F78 0C051280 */ jal set_icon_flags
/* 417D0C 802A2F7C 34A50080 */ ori $a1, $a1, 0x80
/* 417D10 802A2F80 0240202D */ daddu $a0, $s2, $zero
@ -217,8 +217,8 @@ glabel L802A2CE4_417A74
/* 417D38 802A2FA8 0040902D */ daddu $s2, $v0, $zero
/* 417D3C 802A2FAC 0240202D */ daddu $a0, $s2, $zero
/* 417D40 802A2FB0 3C052000 */ lui $a1, 0x2000
/* 417D44 802A2FB4 3C01802B */ lui $at, %hi(D_802AD120)
/* 417D48 802A2FB8 AC32D120 */ sw $s2, %lo(D_802AD120)($at)
/* 417D44 802A2FB4 3C01802B */ lui $at, %hi(battle_menu_moveDownArrowIcon)
/* 417D48 802A2FB8 AC32D120 */ sw $s2, %lo(battle_menu_moveDownArrowIcon)($at)
/* 417D4C 802A2FBC 0C051280 */ jal set_icon_flags
/* 417D50 802A2FC0 34A50080 */ ori $a1, $a1, 0x80
/* 417D54 802A2FC4 0240202D */ daddu $a0, $s2, $zero
@ -227,8 +227,8 @@ glabel L802A2CE4_417A74
/* 417D60 802A2FD0 24A50027 */ addiu $a1, $a1, 0x27
/* 417D64 802A2FD4 0C051261 */ jal set_icon_render_pos
/* 417D68 802A2FD8 24C6004E */ addiu $a2, $a2, 0x4e
/* 417D6C 802A2FDC 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 417D70 802A2FE0 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 417D6C 802A2FDC 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 417D70 802A2FE0 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 417D74 802A2FE4 1440000A */ bnez $v0, .L802A3010
/* 417D78 802A2FE8 00000000 */ nop
/* 417D7C 802A2FEC 3C048011 */ lui $a0, %hi(D_80108538)
@ -236,8 +236,8 @@ glabel L802A2CE4_417A74
/* 417D84 802A2FF4 0C050529 */ jal create_icon
/* 417D88 802A2FF8 00000000 */ nop
/* 417D8C 802A2FFC 0040902D */ daddu $s2, $v0, $zero
/* 417D90 802A3000 3C01802B */ lui $at, %hi(D_802AD188)
/* 417D94 802A3004 AC22D188 */ sw $v0, %lo(D_802AD188)($at)
/* 417D90 802A3000 3C01802B */ lui $at, %hi(battle_menu_moveTitleIcon)
/* 417D94 802A3004 AC22D188 */ sw $v0, %lo(battle_menu_moveTitleIcon)($at)
/* 417D98 802A3008 080A8C0F */ j .L802A303C
/* 417D9C 802A300C 0240202D */ daddu $a0, $s2, $zero
.L802A3010:
@ -247,8 +247,8 @@ glabel L802A2CE4_417A74
/* 417DAC 802A301C 00000000 */ nop
/* 417DB0 802A3020 0040902D */ daddu $s2, $v0, $zero
/* 417DB4 802A3024 3C053F40 */ lui $a1, 0x3f40
/* 417DB8 802A3028 3C01802B */ lui $at, %hi(D_802AD188)
/* 417DBC 802A302C AC32D188 */ sw $s2, %lo(D_802AD188)($at)
/* 417DB8 802A3028 3C01802B */ lui $at, %hi(battle_menu_moveTitleIcon)
/* 417DBC 802A302C AC32D188 */ sw $s2, %lo(battle_menu_moveTitleIcon)($at)
/* 417DC0 802A3030 0C051308 */ jal func_80144C20
/* 417DC4 802A3034 0240202D */ daddu $a0, $s2, $zero
/* 417DC8 802A3038 0240202D */ daddu $a0, $s2, $zero
@ -256,26 +256,26 @@ glabel L802A2CE4_417A74
/* 417DCC 802A303C 0C051280 */ jal set_icon_flags
/* 417DD0 802A3040 24050080 */ addiu $a1, $zero, 0x80
/* 417DD4 802A3044 0240202D */ daddu $a0, $s2, $zero
/* 417DD8 802A3048 3C05802B */ lui $a1, %hi(D_802AD1F0)
/* 417DDC 802A304C 84A5D1F0 */ lh $a1, %lo(D_802AD1F0)($a1)
/* 417DE0 802A3050 3C06802B */ lui $a2, %hi(D_802AD1F2)
/* 417DE4 802A3054 84C6D1F2 */ lh $a2, %lo(D_802AD1F2)($a2)
/* 417DD8 802A3048 3C05802B */ lui $a1, %hi(battle_menu_moveX)
/* 417DDC 802A304C 84A5D1F0 */ lh $a1, %lo(battle_menu_moveX)($a1)
/* 417DE0 802A3050 3C06802B */ lui $a2, %hi(battle_menu_moveY)
/* 417DE4 802A3054 84C6D1F2 */ lh $a2, %lo(battle_menu_moveY)($a2)
/* 417DE8 802A3058 0C051261 */ jal set_icon_render_pos
/* 417DEC 802A305C 24A50038 */ addiu $a1, $a1, 0x38
/* 417DF0 802A3060 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417DF4 802A3064 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417DF0 802A3060 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417DF4 802A3064 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417DF8 802A3068 1840004B */ blez $v0, .L802A3198
/* 417DFC 802A306C 0000802D */ daddu $s0, $zero, $zero
/* 417E00 802A3070 24160001 */ addiu $s6, $zero, 1
/* 417E04 802A3074 3C13802B */ lui $s3, %hi(D_802AD190)
/* 417E08 802A3078 2673D190 */ addiu $s3, $s3, %lo(D_802AD190)
/* 417E04 802A3074 3C13802B */ lui $s3, %hi(battle_menu_moveOptionCostUnitIconIDs)
/* 417E08 802A3078 2673D190 */ addiu $s3, $s3, %lo(battle_menu_moveOptionCostUnitIconIDs)
/* 417E0C 802A307C 0260A82D */ daddu $s5, $s3, $zero
/* 417E10 802A3080 0200882D */ daddu $s1, $s0, $zero
/* 417E14 802A3084 3C14802B */ lui $s4, %hi(D_802AD3E0)
/* 417E18 802A3088 2694D3E0 */ addiu $s4, $s4, %lo(D_802AD3E0)
/* 417E14 802A3084 3C14802B */ lui $s4, %hi(battle_menu_moveOptionDisplayCostReductionColors)
/* 417E18 802A3088 2694D3E0 */ addiu $s4, $s4, %lo(battle_menu_moveOptionDisplayCostReductionColors)
.L802A308C:
/* 417E1C 802A308C 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 417E20 802A3090 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 417E1C 802A308C 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 417E20 802A3090 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 417E24 802A3094 14400014 */ bnez $v0, .L802A30E8
/* 417E28 802A3098 00000000 */ nop
/* 417E2C 802A309C 8E820000 */ lw $v0, ($s4)
@ -339,28 +339,28 @@ glabel L802A2CE4_417A74
/* 417EEC 802A315C 26730004 */ addiu $s3, $s3, 4
/* 417EF0 802A3160 26310004 */ addiu $s1, $s1, 4
/* 417EF4 802A3164 26940004 */ addiu $s4, $s4, 4
/* 417EF8 802A3168 3C05802B */ lui $a1, %hi(D_802AD1F0)
/* 417EFC 802A316C 84A5D1F0 */ lh $a1, %lo(D_802AD1F0)($a1)
/* 417F00 802A3170 3C06802B */ lui $a2, %hi(D_802AD1F2)
/* 417F04 802A3174 84C6D1F2 */ lh $a2, %lo(D_802AD1F2)($a2)
/* 417EF8 802A3168 3C05802B */ lui $a1, %hi(battle_menu_moveX)
/* 417EFC 802A316C 84A5D1F0 */ lh $a1, %lo(battle_menu_moveX)($a1)
/* 417F00 802A3170 3C06802B */ lui $a2, %hi(battle_menu_moveY)
/* 417F04 802A3174 84C6D1F2 */ lh $a2, %lo(battle_menu_moveY)($a2)
/* 417F08 802A3178 0C051261 */ jal set_icon_render_pos
/* 417F0C 802A317C 24A50038 */ addiu $a1, $a1, 0x38
/* 417F10 802A3180 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 417F14 802A3184 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 417F10 802A3180 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 417F14 802A3184 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 417F18 802A3188 26100001 */ addiu $s0, $s0, 1
/* 417F1C 802A318C 0202102A */ slt $v0, $s0, $v0
/* 417F20 802A3190 1440FFBE */ bnez $v0, .L802A308C
/* 417F24 802A3194 00000000 */ nop
.L802A3198:
/* 417F28 802A3198 3C13802B */ lui $s3, %hi(D_802AD1F0)
/* 417F2C 802A319C 8673D1F0 */ lh $s3, %lo(D_802AD1F0)($s3)
/* 417F28 802A3198 3C13802B */ lui $s3, %hi(battle_menu_moveX)
/* 417F2C 802A319C 8673D1F0 */ lh $s3, %lo(battle_menu_moveX)($s3)
/* 417F30 802A31A0 2402000A */ addiu $v0, $zero, 0xa
/* 417F34 802A31A4 3C01802B */ lui $at, %hi(D_802AD114)
/* 417F38 802A31A8 A422D114 */ sh $v0, %lo(D_802AD114)($at)
/* 417F3C 802A31AC 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 417F40 802A31B0 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 417F44 802A31B4 3C12802B */ lui $s2, %hi(D_802AD1F2)
/* 417F48 802A31B8 8652D1F2 */ lh $s2, %lo(D_802AD1F2)($s2)
/* 417F34 802A31A4 3C01802B */ lui $at, %hi(battle_menu_moveTextColor)
/* 417F38 802A31A8 A422D114 */ sh $v0, %lo(battle_menu_moveTextColor)($at)
/* 417F3C 802A31AC 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 417F40 802A31B0 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 417F44 802A31B4 3C12802B */ lui $s2, %hi(battle_menu_moveY)
/* 417F48 802A31B8 8652D1F2 */ lh $s2, %lo(battle_menu_moveY)($s2)
/* 417F4C 802A31BC 14400028 */ bnez $v0, .L802A3260
/* 417F50 802A31C0 24040001 */ addiu $a0, $zero, 1
/* 417F54 802A31C4 0260282D */ daddu $a1, $s3, $zero
@ -468,8 +468,8 @@ glabel L802A2CE4_417A74
/* 4180E4 802A3354 24040001 */ addiu $a0, $zero, 1
/* 4180E8 802A3358 0C051F9F */ jal func_80147E7C
/* 4180EC 802A335C 0080282D */ daddu $a1, $a0, $zero
/* 4180F0 802A3360 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 4180F4 802A3364 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 4180F0 802A3360 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 4180F4 802A3364 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 4180F8 802A3368 54400006 */ bnel $v0, $zero, .L802A3384
/* 4180FC 802A336C 24040004 */ addiu $a0, $zero, 4
/* 418100 802A3370 24040002 */ addiu $a0, $zero, 2
@ -487,12 +487,12 @@ glabel L802A2CE4_417A74
/* 418128 802A3398 24040008 */ addiu $a0, $zero, 8
/* 41812C 802A339C 0C051F9F */ jal func_80147E7C
/* 418130 802A33A0 24050001 */ addiu $a1, $zero, 1
/* 418134 802A33A4 3C05802B */ lui $a1, %hi(D_802AD10C)
/* 418138 802A33A8 24A5D10C */ addiu $a1, $a1, %lo(D_802AD10C)
/* 41813C 802A33AC 3C06802B */ lui $a2, %hi(D_802AD4A4)
/* 418140 802A33B0 24C6D4A4 */ addiu $a2, $a2, %lo(D_802AD4A4)
/* 418144 802A33B4 3C08802B */ lui $t0, %hi(D_802AD109)
/* 418148 802A33B8 8108D109 */ lb $t0, %lo(D_802AD109)($t0)
/* 418134 802A33A4 3C05802B */ lui $a1, %hi(battle_menu_moveScrollLine)
/* 418138 802A33A8 24A5D10C */ addiu $a1, $a1, %lo(battle_menu_moveScrollLine)
/* 41813C 802A33AC 3C06802B */ lui $a2, %hi(battle_menu_moveOptionCount)
/* 418140 802A33B0 24C6D4A4 */ addiu $a2, $a2, %lo(battle_menu_moveOptionCount)
/* 418144 802A33B4 3C08802B */ lui $t0, %hi(battle_menu_moveCursorPos)
/* 418148 802A33B8 8108D109 */ lb $t0, %lo(battle_menu_moveCursorPos)($t0)
/* 41814C 802A33BC 3C07802B */ lui $a3, %hi(D_802AD10D)
/* 418150 802A33C0 80E7D10D */ lb $a3, %lo(D_802AD10D)($a3)
.L802A33C4:
@ -521,12 +521,12 @@ glabel L802A2CE4_417A74
.L802A341C:
/* 4181AC 802A341C 1480FFE9 */ bnez $a0, .L802A33C4
/* 4181B0 802A3420 24020001 */ addiu $v0, $zero, 1
/* 4181B4 802A3424 3C03802B */ lui $v1, %hi(D_802AD10C)
/* 4181B8 802A3428 9063D10C */ lbu $v1, %lo(D_802AD10C)($v1)
/* 4181BC 802A342C 3C04802B */ lui $a0, %hi(D_802AD109)
/* 4181C0 802A3430 8084D109 */ lb $a0, %lo(D_802AD109)($a0)
/* 4181C4 802A3434 3C01802B */ lui $at, %hi(D_802AD108)
/* 4181C8 802A3438 A022D108 */ sb $v0, %lo(D_802AD108)($at)
/* 4181B4 802A3424 3C03802B */ lui $v1, %hi(battle_menu_moveScrollLine)
/* 4181B8 802A3428 9063D10C */ lbu $v1, %lo(battle_menu_moveScrollLine)($v1)
/* 4181BC 802A342C 3C04802B */ lui $a0, %hi(battle_menu_moveCursorPos)
/* 4181C0 802A3430 8084D109 */ lb $a0, %lo(battle_menu_moveCursorPos)($a0)
/* 4181C4 802A3434 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 4181C8 802A3438 A022D108 */ sb $v0, %lo(battle_menu_moveState)($at)
/* 4181CC 802A343C 24620006 */ addiu $v0, $v1, 6
/* 4181D0 802A3440 00031E00 */ sll $v1, $v1, 0x18
/* 4181D4 802A3444 00031E03 */ sra $v1, $v1, 0x18
@ -538,8 +538,8 @@ glabel L802A2CE4_417A74
/* 4181EC 802A345C 00021080 */ sll $v0, $v0, 2
/* 4181F0 802A3460 00451021 */ addu $v0, $v0, $a1
/* 4181F4 802A3464 00832023 */ subu $a0, $a0, $v1
/* 4181F8 802A3468 3C01802B */ lui $at, %hi(D_802AD110)
/* 4181FC 802A346C A422D110 */ sh $v0, %lo(D_802AD110)($at)
/* 4181F8 802A3468 3C01802B */ lui $at, %hi(battle_menu_moveScrollOffset)
/* 4181FC 802A346C A422D110 */ sh $v0, %lo(battle_menu_moveScrollOffset)($at)
/* 418200 802A3470 00041040 */ sll $v0, $a0, 1
/* 418204 802A3474 00441021 */ addu $v0, $v0, $a0
/* 418208 802A3478 00021080 */ sll $v0, $v0, 2
@ -550,8 +550,8 @@ glabel L802A2CE4_417A74
/* 41821C 802A348C 0000102D */ daddu $v0, $zero, $zero
glabel L802A3490_418220
/* 418220 802A3490 3C050001 */ lui $a1, 1
/* 418224 802A3494 3C04802B */ lui $a0, %hi(D_802AD109)
/* 418228 802A3498 2484D109 */ addiu $a0, $a0, %lo(D_802AD109)
/* 418224 802A3494 3C04802B */ lui $a0, %hi(battle_menu_moveCursorPos)
/* 418228 802A3498 2484D109 */ addiu $a0, $a0, %lo(battle_menu_moveCursorPos)
/* 41822C 802A349C 34A52000 */ ori $a1, $a1, 0x2000
/* 418230 802A34A0 8E220218 */ lw $v0, 0x218($s1)
/* 418234 802A34A4 90830000 */ lbu $v1, ($a0)
@ -575,10 +575,10 @@ glabel L802A3490_418220
/* 418274 802A34E4 00461024 */ and $v0, $v0, $a2
/* 418278 802A34E8 10400010 */ beqz $v0, .L802A352C
/* 41827C 802A34EC 00000000 */ nop
/* 418280 802A34F0 3C05802B */ lui $a1, %hi(D_802AD109)
/* 418284 802A34F4 24A5D109 */ addiu $a1, $a1, %lo(D_802AD109)
/* 418288 802A34F8 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 41828C 802A34FC 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 418280 802A34F0 3C05802B */ lui $a1, %hi(battle_menu_moveCursorPos)
/* 418284 802A34F4 24A5D109 */ addiu $a1, $a1, %lo(battle_menu_moveCursorPos)
/* 418288 802A34F8 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 41828C 802A34FC 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 418290 802A3500 80A30000 */ lb $v1, ($a1)
/* 418294 802A3504 90A40000 */ lbu $a0, ($a1)
/* 418298 802A3508 2442FFFF */ addiu $v0, $v0, -1
@ -592,8 +592,8 @@ glabel L802A3490_418220
.L802A3528:
/* 4182B8 802A3528 A0A20000 */ sb $v0, ($a1)
.L802A352C:
/* 4182BC 802A352C 3C10802B */ lui $s0, %hi(D_802AD109)
/* 4182C0 802A3530 2610D109 */ addiu $s0, $s0, %lo(D_802AD109)
/* 4182BC 802A352C 3C10802B */ lui $s0, %hi(battle_menu_moveCursorPos)
/* 4182C0 802A3530 2610D109 */ addiu $s0, $s0, %lo(battle_menu_moveCursorPos)
/* 4182C4 802A3534 82020000 */ lb $v0, ($s0)
/* 4182C8 802A3538 04410005 */ bgez $v0, .L802A3550
/* 4182CC 802A353C 00000000 */ nop
@ -602,8 +602,8 @@ glabel L802A3490_418220
/* 4182D8 802A3548 2442FFFF */ addiu $v0, $v0, -1
/* 4182DC 802A354C A2020000 */ sb $v0, ($s0)
.L802A3550:
/* 4182E0 802A3550 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4182E4 802A3554 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4182E0 802A3550 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4182E4 802A3554 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 4182E8 802A3558 82030000 */ lb $v1, ($s0)
/* 4182EC 802A355C 2442FFFF */ addiu $v0, $v0, -1
/* 4182F0 802A3560 0043102A */ slt $v0, $v0, $v1
@ -615,17 +615,17 @@ glabel L802A3490_418220
/* 418304 802A3574 82020000 */ lb $v0, ($s0)
/* 418308 802A3578 10620009 */ beq $v1, $v0, .L802A35A0
/* 41830C 802A357C 00031080 */ sll $v0, $v1, 2
/* 418310 802A3580 3C04802B */ lui $a0, %hi(D_802AD128)
/* 418310 802A3580 3C04802B */ lui $a0, %hi(battle_menu_moveOptionIconIDs)
/* 418314 802A3584 00822021 */ addu $a0, $a0, $v0
/* 418318 802A3588 8C84D128 */ lw $a0, %lo(D_802AD128)($a0)
/* 418318 802A3588 8C84D128 */ lw $a0, %lo(battle_menu_moveOptionIconIDs)($a0)
/* 41831C 802A358C 3C053EE6 */ lui $a1, 0x3ee6
/* 418320 802A3590 0C051308 */ jal func_80144C20
/* 418324 802A3594 34A56666 */ ori $a1, $a1, 0x6666
/* 418328 802A3598 0C05272D */ jal play_sound
/* 41832C 802A359C 240400C7 */ addiu $a0, $zero, 0xc7
.L802A35A0:
/* 418330 802A35A0 3C04802B */ lui $a0, %hi(D_802AD10C)
/* 418334 802A35A4 2484D10C */ addiu $a0, $a0, %lo(D_802AD10C)
/* 418330 802A35A0 3C04802B */ lui $a0, %hi(battle_menu_moveScrollLine)
/* 418334 802A35A4 2484D10C */ addiu $a0, $a0, %lo(battle_menu_moveScrollLine)
/* 418338 802A35A8 80820000 */ lb $v0, ($a0)
/* 41833C 802A35AC 82030000 */ lb $v1, ($s0)
/* 418340 802A35B0 24420001 */ addiu $v0, $v0, 1
@ -640,17 +640,17 @@ glabel L802A3490_418220
.L802A35D4:
/* 418364 802A35D4 3C02802B */ lui $v0, %hi(D_802AD10D)
/* 418368 802A35D8 8042D10D */ lb $v0, %lo(D_802AD10D)($v0)
/* 41836C 802A35DC 3C03802B */ lui $v1, %hi(D_802AD109)
/* 418370 802A35E0 8063D109 */ lb $v1, %lo(D_802AD109)($v1)
/* 41836C 802A35DC 3C03802B */ lui $v1, %hi(battle_menu_moveCursorPos)
/* 418370 802A35E0 8063D109 */ lb $v1, %lo(battle_menu_moveCursorPos)($v1)
/* 418374 802A35E4 2442FFFF */ addiu $v0, $v0, -1
/* 418378 802A35E8 0062182A */ slt $v1, $v1, $v0
/* 41837C 802A35EC 14600015 */ bnez $v1, .L802A3644
/* 418380 802A35F0 00000000 */ nop
/* 418384 802A35F4 3C04802B */ lui $a0, %hi(D_802AD10C)
/* 418388 802A35F8 2484D10C */ addiu $a0, $a0, %lo(D_802AD10C)
/* 418384 802A35F4 3C04802B */ lui $a0, %hi(battle_menu_moveScrollLine)
/* 418388 802A35F8 2484D10C */ addiu $a0, $a0, %lo(battle_menu_moveScrollLine)
/* 41838C 802A35FC 90820000 */ lbu $v0, ($a0)
/* 418390 802A3600 3C05802B */ lui $a1, %hi(D_802AD4A4)
/* 418394 802A3604 24A5D4A4 */ addiu $a1, $a1, %lo(D_802AD4A4)
/* 418390 802A3600 3C05802B */ lui $a1, %hi(battle_menu_moveOptionCount)
/* 418394 802A3604 24A5D4A4 */ addiu $a1, $a1, %lo(battle_menu_moveOptionCount)
/* 418398 802A3608 24420001 */ addiu $v0, $v0, 1
/* 41839C 802A360C A0820000 */ sb $v0, ($a0)
/* 4183A0 802A3610 00021600 */ sll $v0, $v0, 0x18
@ -667,8 +667,8 @@ glabel L802A3490_418220
/* 4183CC 802A363C 04420001 */ bltzl $v0, .L802A3644
/* 4183D0 802A3640 A0800000 */ sb $zero, ($a0)
.L802A3644:
/* 4183D4 802A3644 3C02802B */ lui $v0, %hi(D_802AD10C)
/* 4183D8 802A3648 9042D10C */ lbu $v0, %lo(D_802AD10C)($v0)
/* 4183D4 802A3644 3C02802B */ lui $v0, %hi(battle_menu_moveScrollLine)
/* 4183D8 802A3648 9042D10C */ lbu $v0, %lo(battle_menu_moveScrollLine)($v0)
/* 4183DC 802A364C 8E230214 */ lw $v1, 0x214($s1)
/* 4183E0 802A3650 24420006 */ addiu $v0, $v0, 6
/* 4183E4 802A3654 3C01802B */ lui $at, %hi(D_802AD10D)
@ -676,19 +676,19 @@ glabel L802A3490_418220
/* 4183EC 802A365C 30628000 */ andi $v0, $v1, 0x8000
/* 4183F0 802A3660 10400025 */ beqz $v0, .L802A36F8
/* 4183F4 802A3664 30624000 */ andi $v0, $v1, 0x4000
/* 4183F8 802A3668 3C11802B */ lui $s1, %hi(D_802AD109)
/* 4183FC 802A366C 2631D109 */ addiu $s1, $s1, %lo(D_802AD109)
/* 4183F8 802A3668 3C11802B */ lui $s1, %hi(battle_menu_moveCursorPos)
/* 4183FC 802A366C 2631D109 */ addiu $s1, $s1, %lo(battle_menu_moveCursorPos)
/* 418400 802A3670 82220000 */ lb $v0, ($s1)
/* 418404 802A3674 00021080 */ sll $v0, $v0, 2
/* 418408 802A3678 3C01802B */ lui $at, %hi(D_802AD1F8)
/* 418408 802A3678 3C01802B */ lui $at, %hi(battle_menu_moveOptionIndexMap)
/* 41840C 802A367C 00220821 */ addu $at, $at, $v0
/* 418410 802A3680 8C22D1F8 */ lw $v0, %lo(D_802AD1F8)($at)
/* 418414 802A3684 3C10802B */ lui $s0, %hi(D_802AD1F8)
/* 418418 802A3688 2610D1F8 */ addiu $s0, $s0, %lo(D_802AD1F8)
/* 418410 802A3680 8C22D1F8 */ lw $v0, %lo(battle_menu_moveOptionIndexMap)($at)
/* 418414 802A3684 3C10802B */ lui $s0, %hi(battle_menu_moveOptionIndexMap)
/* 418418 802A3688 2610D1F8 */ addiu $s0, $s0, %lo(battle_menu_moveOptionIndexMap)
/* 41841C 802A368C 00021080 */ sll $v0, $v0, 2
/* 418420 802A3690 3C03802B */ lui $v1, %hi(D_802AD510)
/* 418420 802A3690 3C03802B */ lui $v1, %hi(battle_menu_moveOptionsEnabled)
/* 418424 802A3694 00621821 */ addu $v1, $v1, $v0
/* 418428 802A3698 8C63D510 */ lw $v1, %lo(D_802AD510)($v1)
/* 418428 802A3698 8C63D510 */ lw $v1, %lo(battle_menu_moveOptionsEnabled)($v1)
/* 41842C 802A369C 24020001 */ addiu $v0, $zero, 1
/* 418430 802A36A0 14620005 */ bne $v1, $v0, .L802A36B8
/* 418434 802A36A4 00000000 */ nop
@ -706,9 +706,9 @@ glabel L802A3490_418220
/* 418460 802A36D0 3C03802B */ lui $v1, %hi(D_802AD258)
/* 418464 802A36D4 2463D258 */ addiu $v1, $v1, %lo(D_802AD258)
/* 418468 802A36D8 AC600000 */ sw $zero, ($v1)
/* 41846C 802A36DC 3C01802B */ lui $at, %hi(D_802AD5E8)
/* 41846C 802A36DC 3C01802B */ lui $at, %hi(battle_menu_moveOptionCantUseTypes)
/* 418470 802A36E0 00220821 */ addu $at, $at, $v0
/* 418474 802A36E4 8022D5E8 */ lb $v0, %lo(D_802AD5E8)($at)
/* 418474 802A36E4 8022D5E8 */ lb $v0, %lo(battle_menu_moveOptionCantUseTypes)($at)
/* 418478 802A36E8 54400001 */ bnel $v0, $zero, .L802A36F0
/* 41847C 802A36EC AC620000 */ sw $v0, ($v1)
.L802A36F0:
@ -724,12 +724,12 @@ glabel L802A3490_418220
/* 4184A0 802A3710 080A8F19 */ j .L802A3C64
/* 4184A4 802A3714 2402FFFE */ addiu $v0, $zero, -2
glabel L802A3718_4184A8
/* 4184A8 802A3718 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4184AC 802A371C 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4184A8 802A3718 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4184AC 802A371C 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 4184B0 802A3720 1840000F */ blez $v0, .L802A3760
/* 4184B4 802A3724 0000802D */ daddu $s0, $zero, $zero
/* 4184B8 802A3728 3C11802B */ lui $s1, %hi(D_802AD128)
/* 4184BC 802A372C 2631D128 */ addiu $s1, $s1, %lo(D_802AD128)
/* 4184B8 802A3728 3C11802B */ lui $s1, %hi(battle_menu_moveOptionIconIDs)
/* 4184BC 802A372C 2631D128 */ addiu $s1, $s1, %lo(battle_menu_moveOptionIconIDs)
/* 4184C0 802A3730 240500A0 */ addiu $a1, $zero, 0xa0
.L802A3734:
/* 4184C4 802A3734 00A0302D */ daddu $a2, $a1, $zero
@ -737,8 +737,8 @@ glabel L802A3718_4184A8
/* 4184CC 802A373C 8E240000 */ lw $a0, ($s1)
/* 4184D0 802A3740 0C0513BF */ jal icon_set_tint
/* 4184D4 802A3744 26310004 */ addiu $s1, $s1, 4
/* 4184D8 802A3748 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 4184DC 802A374C 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 4184D8 802A3748 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 4184DC 802A374C 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 4184E0 802A3750 26100001 */ addiu $s0, $s0, 1
/* 4184E4 802A3754 0202102A */ slt $v0, $s0, $v0
/* 4184E8 802A3758 1440FFF6 */ bnez $v0, .L802A3734
@ -746,34 +746,34 @@ glabel L802A3718_4184A8
.L802A3760:
/* 4184F0 802A3760 240500A0 */ addiu $a1, $zero, 0xa0
/* 4184F4 802A3764 00A0302D */ daddu $a2, $a1, $zero
/* 4184F8 802A3768 3C04802B */ lui $a0, %hi(D_802AD118)
/* 4184FC 802A376C 8C84D118 */ lw $a0, %lo(D_802AD118)($a0)
/* 4184F8 802A3768 3C04802B */ lui $a0, %hi(battle_menu_moveCursorIcon)
/* 4184FC 802A376C 8C84D118 */ lw $a0, %lo(battle_menu_moveCursorIcon)($a0)
/* 418500 802A3770 0C0513BF */ jal icon_set_tint
/* 418504 802A3774 00A0382D */ daddu $a3, $a1, $zero
/* 418508 802A3778 240500A0 */ addiu $a1, $zero, 0xa0
/* 41850C 802A377C 00A0302D */ daddu $a2, $a1, $zero
/* 418510 802A3780 3C04802B */ lui $a0, %hi(D_802AD11C)
/* 418514 802A3784 8C84D11C */ lw $a0, %lo(D_802AD11C)($a0)
/* 418510 802A3780 3C04802B */ lui $a0, %hi(battle_menu_moveUpArrowIcon)
/* 418514 802A3784 8C84D11C */ lw $a0, %lo(battle_menu_moveUpArrowIcon)($a0)
/* 418518 802A3788 0C0513BF */ jal icon_set_tint
/* 41851C 802A378C 00A0382D */ daddu $a3, $a1, $zero
/* 418520 802A3790 240500A0 */ addiu $a1, $zero, 0xa0
/* 418524 802A3794 00A0302D */ daddu $a2, $a1, $zero
/* 418528 802A3798 3C04802B */ lui $a0, %hi(D_802AD120)
/* 41852C 802A379C 8C84D120 */ lw $a0, %lo(D_802AD120)($a0)
/* 418528 802A3798 3C04802B */ lui $a0, %hi(battle_menu_moveDownArrowIcon)
/* 41852C 802A379C 8C84D120 */ lw $a0, %lo(battle_menu_moveDownArrowIcon)($a0)
/* 418530 802A37A0 0C0513BF */ jal icon_set_tint
/* 418534 802A37A4 00A0382D */ daddu $a3, $a1, $zero
/* 418538 802A37A8 240500A0 */ addiu $a1, $zero, 0xa0
/* 41853C 802A37AC 00A0302D */ daddu $a2, $a1, $zero
/* 418540 802A37B0 3C04802B */ lui $a0, %hi(D_802AD188)
/* 418544 802A37B4 8C84D188 */ lw $a0, %lo(D_802AD188)($a0)
/* 418540 802A37B0 3C04802B */ lui $a0, %hi(battle_menu_moveTitleIcon)
/* 418544 802A37B4 8C84D188 */ lw $a0, %lo(battle_menu_moveTitleIcon)($a0)
/* 418548 802A37B8 0C0513BF */ jal icon_set_tint
/* 41854C 802A37BC 00A0382D */ daddu $a3, $a1, $zero
/* 418550 802A37C0 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 418554 802A37C4 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 418550 802A37C0 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 418554 802A37C4 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 418558 802A37C8 1840000F */ blez $v0, .L802A3808
/* 41855C 802A37CC 0000802D */ daddu $s0, $zero, $zero
/* 418560 802A37D0 3C11802B */ lui $s1, %hi(D_802AD190)
/* 418564 802A37D4 2631D190 */ addiu $s1, $s1, %lo(D_802AD190)
/* 418560 802A37D0 3C11802B */ lui $s1, %hi(battle_menu_moveOptionCostUnitIconIDs)
/* 418564 802A37D4 2631D190 */ addiu $s1, $s1, %lo(battle_menu_moveOptionCostUnitIconIDs)
/* 418568 802A37D8 240500A0 */ addiu $a1, $zero, 0xa0
.L802A37DC:
/* 41856C 802A37DC 00A0302D */ daddu $a2, $a1, $zero
@ -781,27 +781,27 @@ glabel L802A3718_4184A8
/* 418574 802A37E4 8E240000 */ lw $a0, ($s1)
/* 418578 802A37E8 0C0513BF */ jal icon_set_tint
/* 41857C 802A37EC 26310004 */ addiu $s1, $s1, 4
/* 418580 802A37F0 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 418584 802A37F4 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 418580 802A37F0 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 418584 802A37F4 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 418588 802A37F8 26100001 */ addiu $s0, $s0, 1
/* 41858C 802A37FC 0202102A */ slt $v0, $s0, $v0
/* 418590 802A3800 5440FFF6 */ bnel $v0, $zero, .L802A37DC
/* 418594 802A3804 240500A0 */ addiu $a1, $zero, 0xa0
.L802A3808:
/* 418598 802A3808 3C04802B */ lui $a0, %hi(D_802AD118)
/* 41859C 802A380C 8C84D118 */ lw $a0, %lo(D_802AD118)($a0)
/* 418598 802A3808 3C04802B */ lui $a0, %hi(battle_menu_moveCursorIcon)
/* 41859C 802A380C 8C84D118 */ lw $a0, %lo(battle_menu_moveCursorIcon)($a0)
/* 4185A0 802A3810 3C058010 */ lui $a1, %hi(D_80104A00)
/* 4185A4 802A3814 24A54A00 */ addiu $a1, $a1, %lo(D_80104A00)
/* 4185A8 802A3818 0C0511FF */ jal set_menu_icon_script
/* 4185AC 802A381C 00000000 */ nop
/* 4185B0 802A3820 24040001 */ addiu $a0, $zero, 1
/* 4185B4 802A3824 2402000D */ addiu $v0, $zero, 0xd
/* 4185B8 802A3828 3C01802B */ lui $at, %hi(D_802AD114)
/* 4185BC 802A382C A422D114 */ sh $v0, %lo(D_802AD114)($at)
/* 4185B8 802A3828 3C01802B */ lui $at, %hi(battle_menu_moveTextColor)
/* 4185BC 802A382C A422D114 */ sh $v0, %lo(battle_menu_moveTextColor)($at)
/* 4185C0 802A3830 0C051F9F */ jal func_80147E7C
/* 4185C4 802A3834 24050004 */ addiu $a1, $zero, 4
/* 4185C8 802A3838 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 4185CC 802A383C 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 4185C8 802A3838 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 4185CC 802A383C 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 4185D0 802A3840 54400006 */ bnel $v0, $zero, .L802A385C
/* 4185D4 802A3844 24040004 */ addiu $a0, $zero, 4
/* 4185D8 802A3848 24040002 */ addiu $a0, $zero, 2
@ -819,8 +819,8 @@ glabel L802A3718_4184A8
/* 418600 802A3870 24040008 */ addiu $a0, $zero, 8
/* 418604 802A3874 0C051F9F */ jal func_80147E7C
/* 418608 802A3878 24050002 */ addiu $a1, $zero, 2
/* 41860C 802A387C 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 418610 802A3880 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 41860C 802A387C 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 418610 802A3880 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 418614 802A3884 14400005 */ bnez $v0, .L802A389C
/* 418618 802A3888 00000000 */ nop
/* 41861C 802A388C 0C03A674 */ jal status_menu_stop_blinking_fp
@ -833,8 +833,8 @@ glabel L802A3718_4184A8
/* 418634 802A38A4 080A8E5D */ j .L802A3974
/* 418638 802A38A8 00000000 */ nop
glabel L802A38AC_41863C
/* 41863C 802A38AC 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 418640 802A38B0 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 41863C 802A38AC 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 418640 802A38B0 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 418644 802A38B4 14400005 */ bnez $v0, .L802A38CC
/* 418648 802A38B8 00000000 */ nop
/* 41864C 802A38BC 0C03A674 */ jal status_menu_stop_blinking_fp
@ -850,8 +850,8 @@ glabel L802A38DC_41866C
/* 41866C 802A38DC 24040001 */ addiu $a0, $zero, 1
/* 418670 802A38E0 0C051F9F */ jal func_80147E7C
/* 418674 802A38E4 24050002 */ addiu $a1, $zero, 2
/* 418678 802A38E8 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 41867C 802A38EC 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 418678 802A38E8 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 41867C 802A38EC 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 418680 802A38F0 54400006 */ bnel $v0, $zero, .L802A390C
/* 418684 802A38F4 24040004 */ addiu $a0, $zero, 4
/* 418688 802A38F8 24040002 */ addiu $a0, $zero, 2
@ -869,8 +869,8 @@ glabel L802A38DC_41866C
/* 4186B0 802A3920 24040008 */ addiu $a0, $zero, 8
/* 4186B4 802A3924 0C051F9F */ jal func_80147E7C
/* 4186B8 802A3928 24050002 */ addiu $a1, $zero, 2
/* 4186BC 802A392C 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 4186C0 802A3930 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 4186BC 802A392C 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 4186C0 802A3930 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 4186C4 802A3934 14400005 */ bnez $v0, .L802A394C
/* 4186C8 802A3938 00000000 */ nop
/* 4186CC 802A393C 0C03A674 */ jal status_menu_stop_blinking_fp
@ -881,32 +881,32 @@ glabel L802A38DC_41866C
/* 4186DC 802A394C 0C03A6A5 */ jal status_menu_stop_blinking_sp
/* 4186E0 802A3950 00000000 */ nop
.L802A3954:
/* 4186E4 802A3954 3C04802B */ lui $a0, %hi(D_802AD109)
/* 4186E8 802A3958 8084D109 */ lb $a0, %lo(D_802AD109)($a0)
/* 4186E4 802A3954 3C04802B */ lui $a0, %hi(battle_menu_moveCursorPos)
/* 4186E8 802A3958 8084D109 */ lb $a0, %lo(battle_menu_moveCursorPos)($a0)
/* 4186EC 802A395C 00041080 */ sll $v0, $a0, 2
/* 4186F0 802A3960 3C01802B */ lui $at, %hi(D_802AD1F8)
/* 4186F0 802A3960 3C01802B */ lui $at, %hi(battle_menu_moveOptionIndexMap)
/* 4186F4 802A3964 00220821 */ addu $at, $at, $v0
/* 4186F8 802A3968 8C22D1F8 */ lw $v0, %lo(D_802AD1F8)($at)
/* 4186F8 802A3968 8C22D1F8 */ lw $v0, %lo(battle_menu_moveOptionIndexMap)($at)
/* 4186FC 802A396C 080A8E82 */ j .L802A3A08
/* 418700 802A3970 2403000B */ addiu $v1, $zero, 0xb
.L802A3974:
glabel L802A3974_418704
/* 418704 802A3974 3C03802B */ lui $v1, %hi(D_802AD109)
/* 418708 802A3978 8063D109 */ lb $v1, %lo(D_802AD109)($v1)
/* 418704 802A3974 3C03802B */ lui $v1, %hi(battle_menu_moveCursorPos)
/* 418708 802A3978 8063D109 */ lb $v1, %lo(battle_menu_moveCursorPos)($v1)
/* 41870C 802A397C 00031080 */ sll $v0, $v1, 2
/* 418710 802A3980 3C01802B */ lui $at, %hi(D_802AD1F8)
/* 418710 802A3980 3C01802B */ lui $at, %hi(battle_menu_moveOptionIndexMap)
/* 418714 802A3984 00220821 */ addu $at, $at, $v0
/* 418718 802A3988 8C22D1F8 */ lw $v0, %lo(D_802AD1F8)($at)
/* 41871C 802A398C 3C01802B */ lui $at, %hi(D_802AD600)
/* 418720 802A3990 AC23D600 */ sw $v1, %lo(D_802AD600)($at)
/* 418718 802A3988 8C22D1F8 */ lw $v0, %lo(battle_menu_moveOptionIndexMap)($at)
/* 41871C 802A398C 3C01802B */ lui $at, %hi(battle_menu_moveOptionActive)
/* 418720 802A3990 AC23D600 */ sw $v1, %lo(battle_menu_moveOptionActive)($at)
/* 418724 802A3994 080A8F1C */ j .L802A3C70
/* 418728 802A3998 24420001 */ addiu $v0, $v0, 1
glabel L802A399C_41872C
/* 41872C 802A399C 24040001 */ addiu $a0, $zero, 1
/* 418730 802A39A0 0C051F9F */ jal func_80147E7C
/* 418734 802A39A4 0080282D */ daddu $a1, $a0, $zero
/* 418738 802A39A8 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 41873C 802A39AC 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 418738 802A39A8 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 41873C 802A39AC 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 418740 802A39B0 54400006 */ bnel $v0, $zero, .L802A39CC
/* 418744 802A39B4 24040004 */ addiu $a0, $zero, 4
/* 418748 802A39B8 24040002 */ addiu $a0, $zero, 2
@ -924,26 +924,26 @@ glabel L802A399C_41872C
/* 418770 802A39E0 24040008 */ addiu $a0, $zero, 8
/* 418774 802A39E4 0C051F9F */ jal func_80147E7C
/* 418778 802A39E8 24050001 */ addiu $a1, $zero, 1
/* 41877C 802A39EC 3C04802B */ lui $a0, %hi(D_802AD109)
/* 418780 802A39F0 8084D109 */ lb $a0, %lo(D_802AD109)($a0)
/* 41877C 802A39EC 3C04802B */ lui $a0, %hi(battle_menu_moveCursorPos)
/* 418780 802A39F0 8084D109 */ lb $a0, %lo(battle_menu_moveCursorPos)($a0)
/* 418784 802A39F4 00041080 */ sll $v0, $a0, 2
/* 418788 802A39F8 3C01802B */ lui $at, %hi(D_802AD1F8)
/* 418788 802A39F8 3C01802B */ lui $at, %hi(battle_menu_moveOptionIndexMap)
/* 41878C 802A39FC 00220821 */ addu $at, $at, $v0
/* 418790 802A3A00 8C22D1F8 */ lw $v0, %lo(D_802AD1F8)($at)
/* 418790 802A3A00 8C22D1F8 */ lw $v0, %lo(battle_menu_moveOptionIndexMap)($at)
/* 418794 802A3A04 24030001 */ addiu $v1, $zero, 1
.L802A3A08:
/* 418798 802A3A08 3C01802B */ lui $at, %hi(D_802AD108)
/* 41879C 802A3A0C A023D108 */ sb $v1, %lo(D_802AD108)($at)
/* 4187A0 802A3A10 3C01802B */ lui $at, %hi(D_802AD600)
/* 4187A4 802A3A14 AC24D600 */ sw $a0, %lo(D_802AD600)($at)
/* 418798 802A3A08 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 41879C 802A3A0C A023D108 */ sb $v1, %lo(battle_menu_moveState)($at)
/* 4187A0 802A3A10 3C01802B */ lui $at, %hi(battle_menu_moveOptionActive)
/* 4187A4 802A3A14 AC24D600 */ sw $a0, %lo(battle_menu_moveOptionActive)($at)
/* 4187A8 802A3A18 080A8F1C */ j .L802A3C70
/* 4187AC 802A3A1C 24420001 */ addiu $v0, $v0, 1
glabel L802A3A20_4187B0
/* 4187B0 802A3A20 24040001 */ addiu $a0, $zero, 1
/* 4187B4 802A3A24 0C051F9F */ jal func_80147E7C
/* 4187B8 802A3A28 24050009 */ addiu $a1, $zero, 9
/* 4187BC 802A3A2C 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 4187C0 802A3A30 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 4187BC 802A3A2C 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 4187C0 802A3A30 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 4187C4 802A3A34 54400006 */ bnel $v0, $zero, .L802A3A50
/* 4187C8 802A3A38 24040004 */ addiu $a0, $zero, 4
/* 4187CC 802A3A3C 24040002 */ addiu $a0, $zero, 2
@ -966,19 +966,19 @@ glabel L802A3A20_4187B0
glabel L802A3A78_418808
/* 418808 802A3A78 2402FFFF */ addiu $v0, $zero, -1
/* 41880C 802A3A7C 0040182D */ daddu $v1, $v0, $zero
/* 418810 802A3A80 3C01802B */ lui $at, %hi(D_802AD600)
/* 418814 802A3A84 AC23D600 */ sw $v1, %lo(D_802AD600)($at)
/* 418810 802A3A80 3C01802B */ lui $at, %hi(battle_menu_moveOptionActive)
/* 418814 802A3A84 AC23D600 */ sw $v1, %lo(battle_menu_moveOptionActive)($at)
/* 418818 802A3A88 24030029 */ addiu $v1, $zero, 0x29
/* 41881C 802A3A8C 3C01802B */ lui $at, %hi(D_802AD108)
/* 418820 802A3A90 A023D108 */ sb $v1, %lo(D_802AD108)($at)
/* 41881C 802A3A8C 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 418820 802A3A90 A023D108 */ sb $v1, %lo(battle_menu_moveState)($at)
/* 418824 802A3A94 080A8F1C */ j .L802A3C70
/* 418828 802A3A98 00000000 */ nop
glabel L802A3A9C_41882C
/* 41882C 802A3A9C 24040001 */ addiu $a0, $zero, 1
/* 418830 802A3AA0 0C051F9F */ jal func_80147E7C
/* 418834 802A3AA4 24050002 */ addiu $a1, $zero, 2
/* 418838 802A3AA8 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 41883C 802A3AAC 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 418838 802A3AA8 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 41883C 802A3AAC 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 418840 802A3AB0 54400006 */ bnel $v0, $zero, .L802A3ACC
/* 418844 802A3AB4 24040004 */ addiu $a0, $zero, 4
/* 418848 802A3AB8 24040002 */ addiu $a0, $zero, 2
@ -1002,8 +1002,8 @@ glabel L802A3A9C_41882C
/* 418888 802A3AF8 14400008 */ bnez $v0, .L802A3B1C
/* 41888C 802A3AFC 363100C3 */ ori $s1, $s1, 0xc3
/* 418890 802A3B00 3C11001D */ lui $s1, 0x1d
/* 418894 802A3B04 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 418898 802A3B08 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 418894 802A3B04 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 418898 802A3B08 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 41889C 802A3B0C 14400003 */ bnez $v0, .L802A3B1C
/* 4188A0 802A3B10 363100A0 */ ori $s1, $s1, 0xa0
/* 4188A4 802A3B14 3C11001D */ lui $s1, 0x1d
@ -1046,8 +1046,8 @@ glabel L802A3A9C_41882C
/* 418934 802A3BA4 3C01802B */ lui $at, %hi(D_802AD10B)
/* 418938 802A3BA8 A023D10B */ sb $v1, %lo(D_802AD10B)($at)
/* 41893C 802A3BAC 2403002A */ addiu $v1, $zero, 0x2a
/* 418940 802A3BB0 3C01802B */ lui $at, %hi(D_802AD108)
/* 418944 802A3BB4 A023D108 */ sb $v1, %lo(D_802AD108)($at)
/* 418940 802A3BB0 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 418944 802A3BB4 A023D108 */ sb $v1, %lo(battle_menu_moveState)($at)
/* 418948 802A3BB8 080A8F1C */ j .L802A3C70
/* 41894C 802A3BBC 2402FFFF */ addiu $v0, $zero, -1
glabel L802A3BC0_418950
@ -1076,8 +1076,8 @@ glabel L802A3BC0_418950
/* 4189A0 802A3C10 24040001 */ addiu $a0, $zero, 1
/* 4189A4 802A3C14 0C051F9F */ jal func_80147E7C
/* 4189A8 802A3C18 0080282D */ daddu $a1, $a0, $zero
/* 4189AC 802A3C1C 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 4189B0 802A3C20 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 4189AC 802A3C1C 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 4189B0 802A3C20 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 4189B4 802A3C24 54400006 */ bnel $v0, $zero, .L802A3C40
/* 4189B8 802A3C28 24040004 */ addiu $a0, $zero, 4
/* 4189BC 802A3C2C 24040002 */ addiu $a0, $zero, 2
@ -1097,8 +1097,8 @@ glabel L802A3BC0_418950
/* 4189EC 802A3C5C 24050001 */ addiu $a1, $zero, 1
/* 4189F0 802A3C60 24020001 */ addiu $v0, $zero, 1
.L802A3C64:
/* 4189F4 802A3C64 3C01802B */ lui $at, %hi(D_802AD108)
/* 4189F8 802A3C68 A022D108 */ sb $v0, %lo(D_802AD108)($at)
/* 4189F4 802A3C64 3C01802B */ lui $at, %hi(battle_menu_moveState)
/* 4189F8 802A3C68 A022D108 */ sb $v0, %lo(battle_menu_moveState)($at)
.L802A3C6C:
glabel L802A3C6C_4189FC
/* 4189FC 802A3C6C 0000102D */ daddu $v0, $zero, $zero

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802A3C98
/* 418A28 802A3C98 3C02802B */ lui $v0, %hi(D_802AD108)
/* 418A2C 802A3C9C 9042D108 */ lbu $v0, %lo(D_802AD108)($v0)
/* 418A28 802A3C98 3C02802B */ lui $v0, %hi(battle_menu_moveState)
/* 418A2C 802A3C9C 9042D108 */ lbu $v0, %lo(battle_menu_moveState)($v0)
/* 418A30 802A3CA0 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 418A34 802A3CA4 AFBF0044 */ sw $ra, 0x44($sp)
/* 418A38 802A3CA8 AFBE0040 */ sw $fp, 0x40($sp)
@ -29,10 +29,10 @@ glabel func_802A3C98
/* 418A88 802A3CF8 00400008 */ jr $v0
/* 418A8C 802A3CFC 00000000 */ nop
glabel L802A3D00_418A90
/* 418A90 802A3D00 3C03802B */ lui $v1, %hi(D_802AD10C)
/* 418A94 802A3D04 8063D10C */ lb $v1, %lo(D_802AD10C)($v1)
/* 418A98 802A3D08 3C08802B */ lui $t0, %hi(D_802AD110)
/* 418A9C 802A3D0C 8508D110 */ lh $t0, %lo(D_802AD110)($t0)
/* 418A90 802A3D00 3C03802B */ lui $v1, %hi(battle_menu_moveScrollLine)
/* 418A94 802A3D04 8063D10C */ lb $v1, %lo(battle_menu_moveScrollLine)($v1)
/* 418A98 802A3D08 3C08802B */ lui $t0, %hi(battle_menu_moveScrollOffset)
/* 418A9C 802A3D0C 8508D110 */ lh $t0, %lo(battle_menu_moveScrollOffset)($t0)
/* 418AA0 802A3D10 3C013FE0 */ lui $at, 0x3fe0
/* 418AA4 802A3D14 44811800 */ mtc1 $at, $f3
/* 418AA8 802A3D18 44801000 */ mtc1 $zero, $f2
@ -57,8 +57,8 @@ glabel L802A3D00_418A90
/* 418AF0 802A3D60 0000982D */ daddu $s3, $zero, $zero
/* 418AF4 802A3D64 3C06800A */ lui $a2, %hi(gMasterGfxPos)
/* 418AF8 802A3D68 24C6A66C */ addiu $a2, $a2, %lo(gMasterGfxPos)
/* 418AFC 802A3D6C 3C05802B */ lui $a1, %hi(D_802AD110)
/* 418B00 802A3D70 24A5D110 */ addiu $a1, $a1, %lo(D_802AD110)
/* 418AFC 802A3D6C 3C05802B */ lui $a1, %hi(battle_menu_moveScrollOffset)
/* 418B00 802A3D70 24A5D110 */ addiu $a1, $a1, %lo(battle_menu_moveScrollOffset)
/* 418B04 802A3D74 8FA9004C */ lw $t1, 0x4c($sp)
/* 418B08 802A3D78 8CC40000 */ lw $a0, ($a2)
/* 418B0C 802A3D7C 3C03802B */ lui $v1, %hi(D_802AD10E)
@ -116,8 +116,8 @@ glabel L802A3D00_418A90
/* 418BDC 802A3E4C 3C02ED00 */ lui $v0, 0xed00
/* 418BE0 802A3E50 00822025 */ or $a0, $a0, $v0
/* 418BE4 802A3E54 00641825 */ or $v1, $v1, $a0
/* 418BE8 802A3E58 3C04802B */ lui $a0, %hi(D_802AD4A4)
/* 418BEC 802A3E5C 8C84D4A4 */ lw $a0, %lo(D_802AD4A4)($a0)
/* 418BE8 802A3E58 3C04802B */ lui $a0, %hi(battle_menu_moveOptionCount)
/* 418BEC 802A3E5C 8C84D4A4 */ lw $a0, %lo(battle_menu_moveOptionCount)($a0)
/* 418BF0 802A3E60 46040002 */ mul.s $f0, $f0, $f4
/* 418BF4 802A3E64 00000000 */ nop
/* 418BF8 802A3E68 ACE30000 */ sw $v1, ($a3)
@ -133,16 +133,16 @@ glabel L802A3D00_418A90
/* 418C20 802A3E90 00431025 */ or $v0, $v0, $v1
/* 418C24 802A3E94 188000BC */ blez $a0, .L802A4188
/* 418C28 802A3E98 ACE20004 */ sw $v0, 4($a3)
/* 418C2C 802A3E9C 3C16802B */ lui $s6, %hi(D_802AD510)
/* 418C30 802A3EA0 26D6D510 */ addiu $s6, $s6, %lo(D_802AD510)
/* 418C34 802A3EA4 3C1E802B */ lui $fp, %hi(D_802AD320)
/* 418C38 802A3EA8 27DED320 */ addiu $fp, $fp, %lo(D_802AD320)
/* 418C3C 802A3EAC 3C14802B */ lui $s4, %hi(D_802AD1F8)
/* 418C40 802A3EB0 2694D1F8 */ addiu $s4, $s4, %lo(D_802AD1F8)
/* 418C2C 802A3E9C 3C16802B */ lui $s6, %hi(battle_menu_moveOptionsEnabled)
/* 418C30 802A3EA0 26D6D510 */ addiu $s6, $s6, %lo(battle_menu_moveOptionsEnabled)
/* 418C34 802A3EA4 3C1E802B */ lui $fp, %hi(battle_menu_moveOptionDisplayCosts)
/* 418C38 802A3EA8 27DED320 */ addiu $fp, $fp, %lo(battle_menu_moveOptionDisplayCosts)
/* 418C3C 802A3EAC 3C14802B */ lui $s4, %hi(battle_menu_moveOptionIndexMap)
/* 418C40 802A3EB0 2694D1F8 */ addiu $s4, $s4, %lo(battle_menu_moveOptionIndexMap)
/* 418C44 802A3EB4 0260B82D */ daddu $s7, $s3, $zero
.L802A3EB8:
/* 418C48 802A3EB8 3C03802B */ lui $v1, %hi(D_802AD10C)
/* 418C4C 802A3EBC 8063D10C */ lb $v1, %lo(D_802AD10C)($v1)
/* 418C48 802A3EB8 3C03802B */ lui $v1, %hi(battle_menu_moveScrollLine)
/* 418C4C 802A3EBC 8063D10C */ lb $v1, %lo(battle_menu_moveScrollLine)($v1)
/* 418C50 802A3EC0 2462FFFF */ addiu $v0, $v1, -1
/* 418C54 802A3EC4 0262102A */ slt $v0, $s3, $v0
/* 418C58 802A3EC8 544000A7 */ bnel $v0, $zero, .L802A4168
@ -157,19 +157,19 @@ glabel L802A3D00_418A90
/* 418C7C 802A3EEC 00022080 */ sll $a0, $v0, 2
/* 418C80 802A3EF0 00961021 */ addu $v0, $a0, $s6
/* 418C84 802A3EF4 8C420000 */ lw $v0, ($v0)
/* 418C88 802A3EF8 3C08802B */ lui $t0, %hi(D_802AD114)
/* 418C8C 802A3EFC 8508D114 */ lh $t0, %lo(D_802AD114)($t0)
/* 418C88 802A3EF8 3C08802B */ lui $t0, %hi(battle_menu_moveTextColor)
/* 418C8C 802A3EFC 8508D114 */ lh $t0, %lo(battle_menu_moveTextColor)($t0)
/* 418C90 802A3F00 58400001 */ blezl $v0, .L802A3F08
/* 418C94 802A3F04 2408000B */ addiu $t0, $zero, 0xb
.L802A3F08:
/* 418C98 802A3F08 3C02802B */ lui $v0, %hi(D_802AD2C0)
/* 418C9C 802A3F0C 2442D2C0 */ addiu $v0, $v0, %lo(D_802AD2C0)
/* 418C98 802A3F08 3C02802B */ lui $v0, %hi(battle_menu_moveOptionNames)
/* 418C9C 802A3F0C 2442D2C0 */ addiu $v0, $v0, %lo(battle_menu_moveOptionNames)
/* 418CA0 802A3F10 00822021 */ addu $a0, $a0, $v0
/* 418CA4 802A3F14 8C820000 */ lw $v0, ($a0)
/* 418CA8 802A3F18 04400009 */ bltz $v0, .L802A3F40
/* 418CAC 802A3F1C 02A0282D */ daddu $a1, $s5, $zero
/* 418CB0 802A3F20 3C07802B */ lui $a3, %hi(D_802AD116)
/* 418CB4 802A3F24 84E7D116 */ lh $a3, %lo(D_802AD116)($a3)
/* 418CB0 802A3F20 3C07802B */ lui $a3, %hi(battle_menu_moveTextOpacity)
/* 418CB4 802A3F24 84E7D116 */ lh $a3, %lo(battle_menu_moveTextOpacity)($a3)
/* 418CB8 802A3F28 24020001 */ addiu $v0, $zero, 1
/* 418CBC 802A3F2C AFA80010 */ sw $t0, 0x10($sp)
/* 418CC0 802A3F30 AFA20014 */ sw $v0, 0x14($sp)
@ -179,9 +179,9 @@ glabel L802A3D00_418A90
.L802A3F40:
/* 418CD0 802A3F40 8E820000 */ lw $v0, ($s4)
/* 418CD4 802A3F44 00021880 */ sll $v1, $v0, 2
/* 418CD8 802A3F48 3C04802B */ lui $a0, %hi(D_802AD380)
/* 418CD8 802A3F48 3C04802B */ lui $a0, %hi(battle_menu_moveOptionDisplayCostReductions)
/* 418CDC 802A3F4C 00832021 */ addu $a0, $a0, $v1
/* 418CE0 802A3F50 8C84D380 */ lw $a0, %lo(D_802AD380)($a0)
/* 418CE0 802A3F50 8C84D380 */ lw $a0, %lo(battle_menu_moveOptionDisplayCostReductions)($a0)
/* 418CE4 802A3F54 007E1021 */ addu $v0, $v1, $fp
/* 418CE8 802A3F58 8C420000 */ lw $v0, ($v0)
/* 418CEC 802A3F5C 10400003 */ beqz $v0, .L802A3F6C
@ -189,12 +189,12 @@ glabel L802A3D00_418A90
/* 418CF4 802A3F64 5A400001 */ blezl $s2, .L802A3F6C
/* 418CF8 802A3F68 24120001 */ addiu $s2, $zero, 1
.L802A3F6C:
/* 418CFC 802A3F6C 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 418D00 802A3F70 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 418CFC 802A3F6C 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 418D00 802A3F70 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 418D04 802A3F74 14400015 */ bnez $v0, .L802A3FCC
/* 418D08 802A3F78 00000000 */ nop
/* 418D0C 802A3F7C 3C02802B */ lui $v0, %hi(D_802AD109)
/* 418D10 802A3F80 8042D109 */ lb $v0, %lo(D_802AD109)($v0)
/* 418D0C 802A3F7C 3C02802B */ lui $v0, %hi(battle_menu_moveCursorPos)
/* 418D10 802A3F80 8042D109 */ lb $v0, %lo(battle_menu_moveCursorPos)($v0)
/* 418D14 802A3F84 16620025 */ bne $s3, $v0, .L802A401C
/* 418D18 802A3F88 00131080 */ sll $v0, $s3, 2
/* 418D1C 802A3F8C 12400007 */ beqz $s2, .L802A3FAC
@ -216,8 +216,8 @@ glabel L802A3D00_418A90
/* 418D54 802A3FC4 080A9007 */ j .L802A401C
/* 418D58 802A3FC8 00131080 */ sll $v0, $s3, 2
.L802A3FCC:
/* 418D5C 802A3FCC 3C02802B */ lui $v0, %hi(D_802AD109)
/* 418D60 802A3FD0 8042D109 */ lb $v0, %lo(D_802AD109)($v0)
/* 418D5C 802A3FCC 3C02802B */ lui $v0, %hi(battle_menu_moveCursorPos)
/* 418D60 802A3FD0 8042D109 */ lb $v0, %lo(battle_menu_moveCursorPos)($v0)
/* 418D64 802A3FD4 16620011 */ bne $s3, $v0, .L802A401C
/* 418D68 802A3FD8 00131080 */ sll $v0, $s3, 2
/* 418D6C 802A3FDC 12400007 */ beqz $s2, .L802A3FFC
@ -239,9 +239,9 @@ glabel L802A3D00_418A90
/* 418DA4 802A4014 00000000 */ nop
/* 418DA8 802A4018 00131080 */ sll $v0, $s3, 2
.L802A401C:
/* 418DAC 802A401C 3C03802B */ lui $v1, %hi(D_802AD3E0)
/* 418DAC 802A401C 3C03802B */ lui $v1, %hi(battle_menu_moveOptionDisplayCostReductionColors)
/* 418DB0 802A4020 00621821 */ addu $v1, $v1, $v0
/* 418DB4 802A4024 8C63D3E0 */ lw $v1, %lo(D_802AD3E0)($v1)
/* 418DB4 802A4024 8C63D3E0 */ lw $v1, %lo(battle_menu_moveOptionDisplayCostReductionColors)($v1)
/* 418DB8 802A4028 10600005 */ beqz $v1, .L802A4040
/* 418DBC 802A402C 24020001 */ addiu $v0, $zero, 1
/* 418DC0 802A4030 10620005 */ beq $v1, $v0, .L802A4048
@ -265,18 +265,18 @@ glabel L802A3D00_418A90
/* 418DF8 802A4068 8C420000 */ lw $v0, ($v0)
/* 418DFC 802A406C 5040003E */ beql $v0, $zero, .L802A4168
/* 418E00 802A4070 2631000D */ addiu $s1, $s1, 0xd
/* 418E04 802A4074 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 418E08 802A4078 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 418E0C 802A407C 3C10802B */ lui $s0, %hi(D_802AD190)
/* 418E04 802A4074 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 418E08 802A4078 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 418E0C 802A407C 3C10802B */ lui $s0, %hi(battle_menu_moveOptionCostUnitIconIDs)
/* 418E10 802A4080 02178021 */ addu $s0, $s0, $s7
/* 418E14 802A4084 8E10D190 */ lw $s0, %lo(D_802AD190)($s0)
/* 418E14 802A4084 8E10D190 */ lw $s0, %lo(battle_menu_moveOptionCostUnitIconIDs)($s0)
/* 418E18 802A4088 14400018 */ bnez $v0, .L802A40EC
/* 418E1C 802A408C 0240202D */ daddu $a0, $s2, $zero
/* 418E20 802A4090 26A5006C */ addiu $a1, $s5, 0x6c
/* 418E24 802A4094 0220302D */ daddu $a2, $s1, $zero
/* 418E28 802A4098 24070001 */ addiu $a3, $zero, 1
/* 418E2C 802A409C 3C03802B */ lui $v1, %hi(D_802AD116)
/* 418E30 802A40A0 8463D116 */ lh $v1, %lo(D_802AD116)($v1)
/* 418E2C 802A409C 3C03802B */ lui $v1, %hi(battle_menu_moveTextOpacity)
/* 418E30 802A40A0 8463D116 */ lh $v1, %lo(battle_menu_moveTextOpacity)($v1)
/* 418E34 802A40A4 24020003 */ addiu $v0, $zero, 3
/* 418E38 802A40A8 AFA80010 */ sw $t0, 0x10($sp)
/* 418E3C 802A40AC AFA20018 */ sw $v0, 0x18($sp)
@ -300,8 +300,8 @@ glabel L802A3D00_418A90
/* 418E7C 802A40EC 26A5005D */ addiu $a1, $s5, 0x5d
/* 418E80 802A40F0 0220302D */ daddu $a2, $s1, $zero
/* 418E84 802A40F4 24070001 */ addiu $a3, $zero, 1
/* 418E88 802A40F8 3C03802B */ lui $v1, %hi(D_802AD116)
/* 418E8C 802A40FC 8463D116 */ lh $v1, %lo(D_802AD116)($v1)
/* 418E88 802A40F8 3C03802B */ lui $v1, %hi(battle_menu_moveTextOpacity)
/* 418E8C 802A40FC 8463D116 */ lh $v1, %lo(battle_menu_moveTextOpacity)($v1)
/* 418E90 802A4100 24020003 */ addiu $v0, $zero, 3
/* 418E94 802A4104 AFA80010 */ sw $t0, 0x10($sp)
/* 418E98 802A4108 AFA20018 */ sw $v0, 0x18($sp)
@ -323,8 +323,8 @@ glabel L802A3D00_418A90
.L802A4144:
/* 418ED4 802A4144 0C051261 */ jal set_icon_render_pos
/* 418ED8 802A4148 26260007 */ addiu $a2, $s1, 7
/* 418EDC 802A414C 3C05802B */ lui $a1, %hi(D_802AD116)
/* 418EE0 802A4150 84A5D116 */ lh $a1, %lo(D_802AD116)($a1)
/* 418EDC 802A414C 3C05802B */ lui $a1, %hi(battle_menu_moveTextOpacity)
/* 418EE0 802A4150 84A5D116 */ lh $a1, %lo(battle_menu_moveTextOpacity)($a1)
/* 418EE4 802A4154 0C0513AC */ jal icon_set_opacity
/* 418EE8 802A4158 0200202D */ daddu $a0, $s0, $zero
/* 418EEC 802A415C 0C0511F8 */ jal draw_icon_2
@ -333,28 +333,28 @@ glabel L802A3D00_418A90
.L802A4168:
/* 418EF8 802A4168 26730001 */ addiu $s3, $s3, 1
/* 418EFC 802A416C 26940004 */ addiu $s4, $s4, 4
/* 418F00 802A4170 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 418F04 802A4174 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 418F00 802A4170 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 418F04 802A4174 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 418F08 802A4178 0262102A */ slt $v0, $s3, $v0
/* 418F0C 802A417C 1440FF4E */ bnez $v0, .L802A3EB8
/* 418F10 802A4180 26F70004 */ addiu $s7, $s7, 4
/* 418F14 802A4184 0000982D */ daddu $s3, $zero, $zero
.L802A4188:
/* 418F18 802A4188 8FA9004C */ lw $t1, 0x4c($sp)
/* 418F1C 802A418C 3C02802B */ lui $v0, %hi(D_802AD110)
/* 418F20 802A4190 8442D110 */ lh $v0, %lo(D_802AD110)($v0)
/* 418F1C 802A418C 3C02802B */ lui $v0, %hi(battle_menu_moveScrollOffset)
/* 418F20 802A4190 8442D110 */ lh $v0, %lo(battle_menu_moveScrollOffset)($v0)
/* 418F24 802A4194 25350018 */ addiu $s5, $t1, 0x18
/* 418F28 802A4198 8FA90050 */ lw $t1, 0x50($sp)
/* 418F2C 802A419C 3C03802B */ lui $v1, %hi(D_802AD4A4)
/* 418F30 802A41A0 8C63D4A4 */ lw $v1, %lo(D_802AD4A4)($v1)
/* 418F2C 802A419C 3C03802B */ lui $v1, %hi(battle_menu_moveOptionCount)
/* 418F30 802A41A0 8C63D4A4 */ lw $v1, %lo(battle_menu_moveOptionCount)($v1)
/* 418F34 802A41A4 00491021 */ addu $v0, $v0, $t1
/* 418F38 802A41A8 18600022 */ blez $v1, .L802A4234
/* 418F3C 802A41AC 24510018 */ addiu $s1, $v0, 0x18
/* 418F40 802A41B0 3C12802B */ lui $s2, %hi(D_802AD128)
/* 418F44 802A41B4 2652D128 */ addiu $s2, $s2, %lo(D_802AD128)
/* 418F40 802A41B0 3C12802B */ lui $s2, %hi(battle_menu_moveOptionIconIDs)
/* 418F44 802A41B4 2652D128 */ addiu $s2, $s2, %lo(battle_menu_moveOptionIconIDs)
.L802A41B8:
/* 418F48 802A41B8 3C03802B */ lui $v1, %hi(D_802AD10C)
/* 418F4C 802A41BC 8063D10C */ lb $v1, %lo(D_802AD10C)($v1)
/* 418F48 802A41B8 3C03802B */ lui $v1, %hi(battle_menu_moveScrollLine)
/* 418F4C 802A41BC 8063D10C */ lb $v1, %lo(battle_menu_moveScrollLine)($v1)
/* 418F50 802A41C0 2462FFFF */ addiu $v0, $v1, -1
/* 418F54 802A41C4 0262102A */ slt $v0, $s3, $v0
/* 418F58 802A41C8 54400014 */ bnel $v0, $zero, .L802A421C
@ -373,25 +373,25 @@ glabel L802A3D00_418A90
/* 418F88 802A41F8 2631000D */ addiu $s1, $s1, 0xd
/* 418F8C 802A41FC 0C051261 */ jal set_icon_render_pos
/* 418F90 802A4200 0200202D */ daddu $a0, $s0, $zero
/* 418F94 802A4204 3C05802B */ lui $a1, %hi(D_802AD116)
/* 418F98 802A4208 84A5D116 */ lh $a1, %lo(D_802AD116)($a1)
/* 418F94 802A4204 3C05802B */ lui $a1, %hi(battle_menu_moveTextOpacity)
/* 418F98 802A4208 84A5D116 */ lh $a1, %lo(battle_menu_moveTextOpacity)($a1)
/* 418F9C 802A420C 0C0513AC */ jal icon_set_opacity
/* 418FA0 802A4210 0200202D */ daddu $a0, $s0, $zero
/* 418FA4 802A4214 0C0511F8 */ jal draw_icon_2
/* 418FA8 802A4218 0200202D */ daddu $a0, $s0, $zero
.L802A421C:
/* 418FAC 802A421C 26730001 */ addiu $s3, $s3, 1
/* 418FB0 802A4220 3C02802B */ lui $v0, %hi(D_802AD4A4)
/* 418FB4 802A4224 8C42D4A4 */ lw $v0, %lo(D_802AD4A4)($v0)
/* 418FB0 802A4220 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCount)
/* 418FB4 802A4224 8C42D4A4 */ lw $v0, %lo(battle_menu_moveOptionCount)($v0)
/* 418FB8 802A4228 0262102A */ slt $v0, $s3, $v0
/* 418FBC 802A422C 1440FFE2 */ bnez $v0, .L802A41B8
/* 418FC0 802A4230 26520004 */ addiu $s2, $s2, 4
.L802A4234:
/* 418FC4 802A4234 8FA9004C */ lw $t1, 0x4c($sp)
/* 418FC8 802A4238 3C03802B */ lui $v1, %hi(D_802AD109)
/* 418FCC 802A423C 8063D109 */ lb $v1, %lo(D_802AD109)($v1)
/* 418FD0 802A4240 3C02802B */ lui $v0, %hi(D_802AD10C)
/* 418FD4 802A4244 8042D10C */ lb $v0, %lo(D_802AD10C)($v0)
/* 418FC8 802A4238 3C03802B */ lui $v1, %hi(battle_menu_moveCursorPos)
/* 418FCC 802A423C 8063D109 */ lb $v1, %lo(battle_menu_moveCursorPos)($v1)
/* 418FD0 802A4240 3C02802B */ lui $v0, %hi(battle_menu_moveScrollLine)
/* 418FD4 802A4244 8042D10C */ lb $v0, %lo(battle_menu_moveScrollLine)($v0)
/* 418FD8 802A4248 3C08802B */ lui $t0, %hi(D_802AD112)
/* 418FDC 802A424C 8508D112 */ lh $t0, %lo(D_802AD112)($t0)
/* 418FE0 802A4250 2535000A */ addiu $s5, $t1, 0xa
@ -414,8 +414,8 @@ glabel L802A3D00_418A90
/* 419020 802A4290 02A0282D */ daddu $a1, $s5, $zero
/* 419024 802A4294 00083400 */ sll $a2, $t0, 0x10
/* 419028 802A4298 00063403 */ sra $a2, $a2, 0x10
/* 41902C 802A429C 3C10802B */ lui $s0, %hi(D_802AD118)
/* 419030 802A42A0 8E10D118 */ lw $s0, %lo(D_802AD118)($s0)
/* 41902C 802A429C 3C10802B */ lui $s0, %hi(battle_menu_moveCursorIcon)
/* 419030 802A42A0 8E10D118 */ lw $s0, %lo(battle_menu_moveCursorIcon)($s0)
/* 419034 802A42A4 8FA90050 */ lw $t1, 0x50($sp)
/* 419038 802A42A8 24C6001A */ addiu $a2, $a2, 0x1a
/* 41903C 802A42AC 3C01802B */ lui $at, %hi(D_802AD112)
@ -423,20 +423,20 @@ glabel L802A3D00_418A90
/* 419044 802A42B4 01263021 */ addu $a2, $t1, $a2
/* 419048 802A42B8 0C051261 */ jal set_icon_render_pos
/* 41904C 802A42BC 0200202D */ daddu $a0, $s0, $zero
/* 419050 802A42C0 3C11802B */ lui $s1, %hi(D_802AD116)
/* 419054 802A42C4 2631D116 */ addiu $s1, $s1, %lo(D_802AD116)
/* 419050 802A42C0 3C11802B */ lui $s1, %hi(battle_menu_moveTextOpacity)
/* 419054 802A42C4 2631D116 */ addiu $s1, $s1, %lo(battle_menu_moveTextOpacity)
/* 419058 802A42C8 86250000 */ lh $a1, ($s1)
/* 41905C 802A42CC 0C0513AC */ jal icon_set_opacity
/* 419060 802A42D0 0200202D */ daddu $a0, $s0, $zero
/* 419064 802A42D4 0C0511F8 */ jal draw_icon_2
/* 419068 802A42D8 0200202D */ daddu $a0, $s0, $zero
/* 41906C 802A42DC 3C02802B */ lui $v0, %hi(D_802AD10C)
/* 419070 802A42E0 8042D10C */ lb $v0, %lo(D_802AD10C)($v0)
/* 41906C 802A42DC 3C02802B */ lui $v0, %hi(battle_menu_moveScrollLine)
/* 419070 802A42E0 8042D10C */ lb $v0, %lo(battle_menu_moveScrollLine)($v0)
/* 419074 802A42E4 1840000E */ blez $v0, .L802A4320
/* 419078 802A42E8 00000000 */ nop
/* 41907C 802A42EC 8FA9004C */ lw $t1, 0x4c($sp)
/* 419080 802A42F0 3C10802B */ lui $s0, %hi(D_802AD11C)
/* 419084 802A42F4 8E10D11C */ lw $s0, %lo(D_802AD11C)($s0)
/* 419080 802A42F0 3C10802B */ lui $s0, %hi(battle_menu_moveUpArrowIcon)
/* 419084 802A42F4 8E10D11C */ lw $s0, %lo(battle_menu_moveUpArrowIcon)($s0)
/* 419088 802A42F8 25250048 */ addiu $a1, $t1, 0x48
/* 41908C 802A42FC 8FA90050 */ lw $t1, 0x50($sp)
/* 419090 802A4300 0200202D */ daddu $a0, $s0, $zero
@ -450,14 +450,14 @@ glabel L802A3D00_418A90
.L802A4320:
/* 4190B0 802A4320 3C02802B */ lui $v0, %hi(D_802AD10D)
/* 4190B4 802A4324 8042D10D */ lb $v0, %lo(D_802AD10D)($v0)
/* 4190B8 802A4328 3C03802B */ lui $v1, %hi(D_802AD4A4)
/* 4190BC 802A432C 8C63D4A4 */ lw $v1, %lo(D_802AD4A4)($v1)
/* 4190B8 802A4328 3C03802B */ lui $v1, %hi(battle_menu_moveOptionCount)
/* 4190BC 802A432C 8C63D4A4 */ lw $v1, %lo(battle_menu_moveOptionCount)($v1)
/* 4190C0 802A4330 0043102A */ slt $v0, $v0, $v1
/* 4190C4 802A4334 1040000E */ beqz $v0, .L802A4370
/* 4190C8 802A4338 00000000 */ nop
/* 4190CC 802A433C 8FA9004C */ lw $t1, 0x4c($sp)
/* 4190D0 802A4340 3C10802B */ lui $s0, %hi(D_802AD120)
/* 4190D4 802A4344 8E10D120 */ lw $s0, %lo(D_802AD120)($s0)
/* 4190D0 802A4340 3C10802B */ lui $s0, %hi(battle_menu_moveDownArrowIcon)
/* 4190D4 802A4344 8E10D120 */ lw $s0, %lo(battle_menu_moveDownArrowIcon)($s0)
/* 4190D8 802A4348 25250048 */ addiu $a1, $t1, 0x48
/* 4190DC 802A434C 8FA90050 */ lw $t1, 0x50($sp)
/* 4190E0 802A4350 0200202D */ daddu $a0, $s0, $zero
@ -469,13 +469,13 @@ glabel L802A3D00_418A90
/* 4190F8 802A4368 0C0511EA */ jal draw_icon_0
/* 4190FC 802A436C 0200202D */ daddu $a0, $s0, $zero
.L802A4370:
/* 419100 802A4370 3C03802B */ lui $v1, %hi(D_802AD108)
/* 419104 802A4374 8063D108 */ lb $v1, %lo(D_802AD108)($v1)
/* 419100 802A4370 3C03802B */ lui $v1, %hi(battle_menu_moveState)
/* 419104 802A4374 8063D108 */ lb $v1, %lo(battle_menu_moveState)($v1)
/* 419108 802A4378 2402FFFF */ addiu $v0, $zero, -1
/* 41910C 802A437C 1462000B */ bne $v1, $v0, .L802A43AC
/* 419110 802A4380 00000000 */ nop
/* 419114 802A4384 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 419118 802A4388 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 419114 802A4384 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 419118 802A4388 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 41911C 802A438C 14400005 */ bnez $v0, .L802A43A4
/* 419120 802A4390 00000000 */ nop
/* 419124 802A4394 0C03A674 */ jal status_menu_stop_blinking_fp

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802A43DC
/* 41916C 802A43DC 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 419170 802A43E0 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 41916C 802A43DC 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 419170 802A43E0 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 419174 802A43E4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 419178 802A43E8 14400009 */ bnez $v0, .L802A4410
/* 41917C 802A43EC AFBF0018 */ sw $ra, 0x18($sp)
@ -11,8 +11,8 @@ glabel func_802A43DC
/* 419184 802A43F4 34840045 */ ori $a0, $a0, 0x45
/* 419188 802A43F8 24A50010 */ addiu $a1, $a1, 0x10
/* 41918C 802A43FC 24C60002 */ addiu $a2, $a2, 2
/* 419190 802A4400 3C07802B */ lui $a3, %hi(D_802AD116)
/* 419194 802A4404 84E7D116 */ lh $a3, %lo(D_802AD116)($a3)
/* 419190 802A4400 3C07802B */ lui $a3, %hi(battle_menu_moveTextOpacity)
/* 419194 802A4404 84E7D116 */ lh $a3, %lo(battle_menu_moveTextOpacity)($a3)
/* 419198 802A4408 080A910B */ j .L802A442C
/* 41919C 802A440C 24020030 */ addiu $v0, $zero, 0x30
.L802A4410:
@ -20,8 +20,8 @@ glabel func_802A43DC
/* 4191A4 802A4414 3484003A */ ori $a0, $a0, 0x3a
/* 4191A8 802A4418 24A50006 */ addiu $a1, $a1, 6
/* 4191AC 802A441C 24C60002 */ addiu $a2, $a2, 2
/* 4191B0 802A4420 3C07802B */ lui $a3, %hi(D_802AD116)
/* 4191B4 802A4424 84E7D116 */ lh $a3, %lo(D_802AD116)($a3)
/* 4191B0 802A4420 3C07802B */ lui $a3, %hi(battle_menu_moveTextOpacity)
/* 4191B4 802A4424 84E7D116 */ lh $a3, %lo(battle_menu_moveTextOpacity)($a3)
/* 4191B8 802A4428 24020031 */ addiu $v0, $zero, 0x31
.L802A442C:
/* 4191BC 802A442C AFA20010 */ sw $v0, 0x10($sp)

View File

@ -5,14 +5,14 @@ glabel func_802A4448
/* 4191D8 802A4448 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4191DC 802A444C 24A50010 */ addiu $a1, $a1, 0x10
/* 4191E0 802A4450 AFB00010 */ sw $s0, 0x10($sp)
/* 4191E4 802A4454 3C10802B */ lui $s0, %hi(D_802AD188)
/* 4191E8 802A4458 8E10D188 */ lw $s0, %lo(D_802AD188)($s0)
/* 4191E4 802A4454 3C10802B */ lui $s0, %hi(battle_menu_moveTitleIcon)
/* 4191E8 802A4458 8E10D188 */ lw $s0, %lo(battle_menu_moveTitleIcon)($s0)
/* 4191EC 802A445C 24C6000F */ addiu $a2, $a2, 0xf
/* 4191F0 802A4460 AFBF0014 */ sw $ra, 0x14($sp)
/* 4191F4 802A4464 0C051261 */ jal set_icon_render_pos
/* 4191F8 802A4468 0200202D */ daddu $a0, $s0, $zero
/* 4191FC 802A446C 3C05802B */ lui $a1, %hi(D_802AD116)
/* 419200 802A4470 84A5D116 */ lh $a1, %lo(D_802AD116)($a1)
/* 4191FC 802A446C 3C05802B */ lui $a1, %hi(battle_menu_moveTextOpacity)
/* 419200 802A4470 84A5D116 */ lh $a1, %lo(battle_menu_moveTextOpacity)($a1)
/* 419204 802A4474 0C0513AC */ jal icon_set_opacity
/* 419208 802A4478 0200202D */ daddu $a0, $s0, $zero
/* 41920C 802A447C 0C0511EA */ jal draw_icon_0

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802A4494
/* 419224 802A4494 3C02802B */ lui $v0, %hi(D_802AD108)
/* 419228 802A4498 9042D108 */ lbu $v0, %lo(D_802AD108)($v0)
/* 419224 802A4494 3C02802B */ lui $v0, %hi(battle_menu_moveState)
/* 419228 802A4498 9042D108 */ lbu $v0, %lo(battle_menu_moveState)($v0)
/* 41922C 802A449C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 419230 802A44A0 24420001 */ addiu $v0, $v0, 1
/* 419234 802A44A4 00021600 */ sll $v0, $v0, 0x18
@ -22,22 +22,22 @@ glabel L802A44D0_419260
/* 419264 802A44D4 8042D10F */ lb $v0, %lo(D_802AD10F)($v0)
/* 419268 802A44D8 10400013 */ beqz $v0, .L802A4528
/* 41926C 802A44DC 00000000 */ nop
/* 419270 802A44E0 3C02802B */ lui $v0, %hi(D_802AD109)
/* 419274 802A44E4 8042D109 */ lb $v0, %lo(D_802AD109)($v0)
/* 419278 802A44E8 3C03802B */ lui $v1, %hi(D_802AD114)
/* 41927C 802A44EC 8463D114 */ lh $v1, %lo(D_802AD114)($v1)
/* 419280 802A44F0 3C07802B */ lui $a3, %hi(D_802AD116)
/* 419284 802A44F4 84E7D116 */ lh $a3, %lo(D_802AD116)($a3)
/* 419270 802A44E0 3C02802B */ lui $v0, %hi(battle_menu_moveCursorPos)
/* 419274 802A44E4 8042D109 */ lb $v0, %lo(battle_menu_moveCursorPos)($v0)
/* 419278 802A44E8 3C03802B */ lui $v1, %hi(battle_menu_moveTextColor)
/* 41927C 802A44EC 8463D114 */ lh $v1, %lo(battle_menu_moveTextColor)($v1)
/* 419280 802A44F0 3C07802B */ lui $a3, %hi(battle_menu_moveTextOpacity)
/* 419284 802A44F4 84E7D116 */ lh $a3, %lo(battle_menu_moveTextOpacity)($a3)
/* 419288 802A44F8 00021080 */ sll $v0, $v0, 2
/* 41928C 802A44FC 3C01802B */ lui $at, %hi(D_802AD1F8)
/* 41928C 802A44FC 3C01802B */ lui $at, %hi(battle_menu_moveOptionIndexMap)
/* 419290 802A4500 00220821 */ addu $at, $at, $v0
/* 419294 802A4504 8C22D1F8 */ lw $v0, %lo(D_802AD1F8)($at)
/* 419294 802A4504 8C22D1F8 */ lw $v0, %lo(battle_menu_moveOptionIndexMap)($at)
/* 419298 802A4508 AFA30010 */ sw $v1, 0x10($sp)
/* 41929C 802A450C AFA00014 */ sw $zero, 0x14($sp)
/* 4192A0 802A4510 00021080 */ sll $v0, $v0, 2
/* 4192A4 802A4514 3C04802B */ lui $a0, %hi(D_802AD570)
/* 4192A4 802A4514 3C04802B */ lui $a0, %hi(battle_menu_moveOptionDescriptions)
/* 4192A8 802A4518 00822021 */ addu $a0, $a0, $v0
/* 4192AC 802A451C 8C84D570 */ lw $a0, %lo(D_802AD570)($a0)
/* 4192AC 802A451C 8C84D570 */ lw $a0, %lo(battle_menu_moveOptionDescriptions)($a0)
/* 4192B0 802A4520 0C04993B */ jal draw_string
/* 4192B4 802A4524 24A50008 */ addiu $a1, $a1, 8
.L802A4528:

View File

@ -17,8 +17,8 @@ glabel func_802A4534
/* 4192F4 802A4564 361000C3 */ ori $s0, $s0, 0xc3
.L802A4568:
/* 4192F8 802A4568 3C10001D */ lui $s0, 0x1d
/* 4192FC 802A456C 3C02802B */ lui $v0, %hi(D_802AD4A0)
/* 419300 802A4570 8C42D4A0 */ lw $v0, %lo(D_802AD4A0)($v0)
/* 4192FC 802A456C 3C02802B */ lui $v0, %hi(battle_menu_hasSpiritsMenu)
/* 419300 802A4570 8C42D4A0 */ lw $v0, %lo(battle_menu_hasSpiritsMenu)($v0)
/* 419304 802A4574 14400003 */ bnez $v0, .L802A4584
/* 419308 802A4578 361000A0 */ ori $s0, $s0, 0xa0
/* 41930C 802A457C 3C10001D */ lui $s0, 0x1d

View File

@ -182,18 +182,18 @@ glabel L802A9DAC_41EB3C
/* 41EB80 802A9DF0 AE220000 */ sw $v0, ($s1)
.L802A9DF4:
/* 41EB84 802A9DF4 24020008 */ addiu $v0, $zero, 8
/* 41EB88 802A9DF8 3C07802B */ lui $a3, %hi(D_802AD0D0)
/* 41EB8C 802A9DFC 24E7D0D0 */ addiu $a3, $a3, %lo(D_802AD0D0)
/* 41EB88 802A9DF8 3C07802B */ lui $a3, %hi(battle_menu_isEnabled)
/* 41EB8C 802A9DFC 24E7D0D0 */ addiu $a3, $a3, %lo(battle_menu_isEnabled)
/* 41EB90 802A9E00 A640017C */ sh $zero, 0x17c($s2)
/* 41EB94 802A9E04 3C01802B */ lui $at, %hi(D_802AD0B8)
/* 41EB98 802A9E08 AC22D0B8 */ sw $v0, %lo(D_802AD0B8)($at)
/* 41EB94 802A9E04 3C01802B */ lui $at, %hi(battle_menu_submenuIDs)
/* 41EB98 802A9E08 AC22D0B8 */ sw $v0, %lo(battle_menu_submenuIDs)($at)
/* 41EB9C 802A9E0C 24020001 */ addiu $v0, $zero, 1
/* 41EBA0 802A9E10 3C08802B */ lui $t0, %hi(D_802AD0E8)
/* 41EBA4 802A9E14 2508D0E8 */ addiu $t0, $t0, %lo(D_802AD0E8)
/* 41EBA0 802A9E10 3C08802B */ lui $t0, %hi(battle_menu_isMessageDisabled)
/* 41EBA4 802A9E14 2508D0E8 */ addiu $t0, $t0, %lo(battle_menu_isMessageDisabled)
/* 41EBA8 802A9E18 3C06802B */ lui $a2, %hi(D_802AB720)
/* 41EBAC 802A9E1C 24C6B720 */ addiu $a2, $a2, %lo(D_802AB720)
/* 41EBB0 802A9E20 3C05802B */ lui $a1, %hi(D_802AD078)
/* 41EBB4 802A9E24 24A5D078 */ addiu $a1, $a1, %lo(D_802AD078)
/* 41EBB0 802A9E20 3C05802B */ lui $a1, %hi(main_battle_menu_iconScripts)
/* 41EBB4 802A9E24 24A5D078 */ addiu $a1, $a1, %lo(main_battle_menu_iconScripts)
/* 41EBB8 802A9E28 ACE20000 */ sw $v0, ($a3)
/* 41EBBC 802A9E2C AD000000 */ sw $zero, ($t0)
/* 41EBC0 802A9E30 8CC30000 */ lw $v1, ($a2)
@ -202,8 +202,8 @@ glabel L802A9DAC_41EB3C
/* 41EBCC 802A9E3C 8C84B728 */ lw $a0, %lo(D_802AB728)($a0)
/* 41EBD0 802A9E40 30420100 */ andi $v0, $v0, 0x100
/* 41EBD4 802A9E44 ACA30000 */ sw $v1, ($a1)
/* 41EBD8 802A9E48 3C01802B */ lui $at, %hi(D_802AD090)
/* 41EBDC 802A9E4C AC24D090 */ sw $a0, %lo(D_802AD090)($at)
/* 41EBD8 802A9E48 3C01802B */ lui $at, %hi(battle_menu_messageIDs)
/* 41EBDC 802A9E4C AC24D090 */ sw $a0, %lo(battle_menu_messageIDs)($at)
/* 41EBE0 802A9E50 14400006 */ bnez $v0, .L802A9E6C
/* 41EBE4 802A9E54 0000882D */ daddu $s1, $zero, $zero
/* 41EBE8 802A9E58 ACE00000 */ sw $zero, ($a3)
@ -225,8 +225,8 @@ glabel L802A9DAC_41EB3C
/* 41EC20 802A9E90 AC20D104 */ sw $zero, %lo(D_802AD104)($at)
/* 41EC24 802A9E94 00511023 */ subu $v0, $v0, $s1
.L802A9E98:
/* 41EC28 802A9E98 3C01802B */ lui $at, %hi(D_802AD0AC)
/* 41EC2C 802A9E9C AC30D0AC */ sw $s0, %lo(D_802AD0AC)($at)
/* 41EC28 802A9E98 3C01802B */ lui $at, %hi(main_menu_numOptions)
/* 41EC2C 802A9E9C AC30D0AC */ sw $s0, %lo(main_menu_numOptions)($at)
/* 41EC30 802A9EA0 3C01802B */ lui $at, %hi(D_802AD0A8)
/* 41EC34 802A9EA4 AC20D0A8 */ sw $zero, %lo(D_802AD0A8)($at)
/* 41EC38 802A9EA8 3C01802B */ lui $at, %hi(D_802AD0B0)

View File

@ -218,18 +218,18 @@ glabel L802AA394_41F124
/* 41F168 802AA3D8 AE220000 */ sw $v0, ($s1)
.L802AA3DC:
/* 41F16C 802AA3DC 24020008 */ addiu $v0, $zero, 8
/* 41F170 802AA3E0 3C07802B */ lui $a3, %hi(D_802AD0D0)
/* 41F174 802AA3E4 24E7D0D0 */ addiu $a3, $a3, %lo(D_802AD0D0)
/* 41F170 802AA3E0 3C07802B */ lui $a3, %hi(battle_menu_isEnabled)
/* 41F174 802AA3E4 24E7D0D0 */ addiu $a3, $a3, %lo(battle_menu_isEnabled)
/* 41F178 802AA3E8 A640017C */ sh $zero, 0x17c($s2)
/* 41F17C 802AA3EC 3C01802B */ lui $at, %hi(D_802AD0B8)
/* 41F180 802AA3F0 AC22D0B8 */ sw $v0, %lo(D_802AD0B8)($at)
/* 41F17C 802AA3EC 3C01802B */ lui $at, %hi(battle_menu_submenuIDs)
/* 41F180 802AA3F0 AC22D0B8 */ sw $v0, %lo(battle_menu_submenuIDs)($at)
/* 41F184 802AA3F4 24020001 */ addiu $v0, $zero, 1
/* 41F188 802AA3F8 3C08802B */ lui $t0, %hi(D_802AD0E8)
/* 41F18C 802AA3FC 2508D0E8 */ addiu $t0, $t0, %lo(D_802AD0E8)
/* 41F188 802AA3F8 3C08802B */ lui $t0, %hi(battle_menu_isMessageDisabled)
/* 41F18C 802AA3FC 2508D0E8 */ addiu $t0, $t0, %lo(battle_menu_isMessageDisabled)
/* 41F190 802AA400 3C06802B */ lui $a2, %hi(D_802AB72C)
/* 41F194 802AA404 24C6B72C */ addiu $a2, $a2, %lo(D_802AB72C)
/* 41F198 802AA408 3C05802B */ lui $a1, %hi(D_802AD078)
/* 41F19C 802AA40C 24A5D078 */ addiu $a1, $a1, %lo(D_802AD078)
/* 41F198 802AA408 3C05802B */ lui $a1, %hi(main_battle_menu_iconScripts)
/* 41F19C 802AA40C 24A5D078 */ addiu $a1, $a1, %lo(main_battle_menu_iconScripts)
/* 41F1A0 802AA410 ACE20000 */ sw $v0, ($a3)
/* 41F1A4 802AA414 AD000000 */ sw $zero, ($t0)
/* 41F1A8 802AA418 8CC30000 */ lw $v1, ($a2)
@ -238,8 +238,8 @@ glabel L802AA394_41F124
/* 41F1B4 802AA424 8C84B734 */ lw $a0, %lo(D_802AB734)($a0)
/* 41F1B8 802AA428 30420100 */ andi $v0, $v0, 0x100
/* 41F1BC 802AA42C ACA30000 */ sw $v1, ($a1)
/* 41F1C0 802AA430 3C01802B */ lui $at, %hi(D_802AD090)
/* 41F1C4 802AA434 AC24D090 */ sw $a0, %lo(D_802AD090)($at)
/* 41F1C0 802AA430 3C01802B */ lui $at, %hi(battle_menu_messageIDs)
/* 41F1C4 802AA434 AC24D090 */ sw $a0, %lo(battle_menu_messageIDs)($at)
/* 41F1C8 802AA438 14400006 */ bnez $v0, .L802AA454
/* 41F1CC 802AA43C 0000882D */ daddu $s1, $zero, $zero
/* 41F1D0 802AA440 ACE00000 */ sw $zero, ($a3)
@ -261,8 +261,8 @@ glabel L802AA394_41F124
/* 41F208 802AA478 AC20D104 */ sw $zero, %lo(D_802AD104)($at)
/* 41F20C 802AA47C 00511023 */ subu $v0, $v0, $s1
.L802AA480:
/* 41F210 802AA480 3C01802B */ lui $at, %hi(D_802AD0AC)
/* 41F214 802AA484 AC30D0AC */ sw $s0, %lo(D_802AD0AC)($at)
/* 41F210 802AA480 3C01802B */ lui $at, %hi(main_menu_numOptions)
/* 41F214 802AA484 AC30D0AC */ sw $s0, %lo(main_menu_numOptions)($at)
/* 41F218 802AA488 3C01802B */ lui $at, %hi(D_802AD0A8)
/* 41F21C 802AA48C AC20D0A8 */ sw $zero, %lo(D_802AD0A8)($at)
/* 41F220 802AA490 3C01802B */ lui $at, %hi(D_802AD0B0)

View File

@ -229,25 +229,25 @@ glabel L802A84D0_41D260
/* 41D2B4 802A8524 0C098C9A */ jal func_80263268
/* 41D2B8 802A8528 00000000 */ nop
/* 41D2BC 802A852C 24040007 */ addiu $a0, $zero, 7
/* 41D2C0 802A8530 3C13802B */ lui $s3, %hi(D_802AD0D0)
/* 41D2C4 802A8534 2673D0D0 */ addiu $s3, $s3, %lo(D_802AD0D0)
/* 41D2C8 802A8538 3C15802B */ lui $s5, %hi(D_802AD0E8)
/* 41D2CC 802A853C 26B5D0E8 */ addiu $s5, $s5, %lo(D_802AD0E8)
/* 41D2C0 802A8530 3C13802B */ lui $s3, %hi(battle_menu_isEnabled)
/* 41D2C4 802A8534 2673D0D0 */ addiu $s3, $s3, %lo(battle_menu_isEnabled)
/* 41D2C8 802A8538 3C15802B */ lui $s5, %hi(battle_menu_isMessageDisabled)
/* 41D2CC 802A853C 26B5D0E8 */ addiu $s5, $s5, %lo(battle_menu_isMessageDisabled)
/* 41D2D0 802A8540 3C03802B */ lui $v1, %hi(D_802AB478)
/* 41D2D4 802A8544 2463B478 */ addiu $v1, $v1, %lo(D_802AB478)
/* 41D2D8 802A8548 3C12802B */ lui $s2, %hi(D_802AD078)
/* 41D2DC 802A854C 2652D078 */ addiu $s2, $s2, %lo(D_802AD078)
/* 41D2E0 802A8550 3C01802B */ lui $at, %hi(D_802AD0B8)
/* 41D2E4 802A8554 AC24D0B8 */ sw $a0, %lo(D_802AD0B8)($at)
/* 41D2D8 802A8548 3C12802B */ lui $s2, %hi(main_battle_menu_iconScripts)
/* 41D2DC 802A854C 2652D078 */ addiu $s2, $s2, %lo(main_battle_menu_iconScripts)
/* 41D2E0 802A8550 3C01802B */ lui $at, %hi(battle_menu_submenuIDs)
/* 41D2E4 802A8554 AC24D0B8 */ sw $a0, %lo(battle_menu_submenuIDs)($at)
/* 41D2E8 802A8558 AE710000 */ sw $s1, ($s3)
/* 41D2EC 802A855C AEA00000 */ sw $zero, ($s5)
/* 41D2F0 802A8560 8C620000 */ lw $v0, ($v1)
/* 41D2F4 802A8564 3C16802B */ lui $s6, %hi(D_802AB4C0)
/* 41D2F8 802A8568 26D6B4C0 */ addiu $s6, $s6, %lo(D_802AB4C0)
/* 41D2F4 802A8564 3C16802B */ lui $s6, %hi(battle_menu_centeredMessages)
/* 41D2F8 802A8568 26D6B4C0 */ addiu $s6, $s6, %lo(battle_menu_centeredMessages)
/* 41D2FC 802A856C AE420000 */ sw $v0, ($s2)
/* 41D300 802A8570 8EC2001C */ lw $v0, 0x1c($s6)
/* 41D304 802A8574 3C1E802B */ lui $fp, %hi(D_802AD090)
/* 41D308 802A8578 27DED090 */ addiu $fp, $fp, %lo(D_802AD090)
/* 41D304 802A8574 3C1E802B */ lui $fp, %hi(battle_menu_messageIDs)
/* 41D308 802A8578 27DED090 */ addiu $fp, $fp, %lo(battle_menu_messageIDs)
/* 41D30C 802A857C AFC20000 */ sw $v0, ($fp)
/* 41D310 802A8580 96820070 */ lhu $v0, 0x70($s4)
/* 41D314 802A8584 30420080 */ andi $v0, $v0, 0x80
@ -344,8 +344,8 @@ glabel L802A84D0_41D260
.L802A86D8:
/* 41D468 802A86D8 24100003 */ addiu $s0, $zero, 3
.L802A86DC:
/* 41D46C 802A86DC 3C01802B */ lui $at, %hi(D_802AD0AC)
/* 41D470 802A86E0 AC30D0AC */ sw $s0, %lo(D_802AD0AC)($at)
/* 41D46C 802A86DC 3C01802B */ lui $at, %hi(main_menu_numOptions)
/* 41D470 802A86E0 AC30D0AC */ sw $s0, %lo(main_menu_numOptions)($at)
/* 41D474 802A86E4 24100001 */ addiu $s0, $zero, 1
/* 41D478 802A86E8 24020002 */ addiu $v0, $zero, 2
/* 41D47C 802A86EC 00511023 */ subu $v0, $v0, $s1
@ -572,8 +572,8 @@ glabel L802A89F0_41D780
/* 41D798 802A8A08 24150008 */ addiu $s5, $zero, 8
.L802A8A0C:
/* 41D79C 802A8A0C 02912821 */ addu $a1, $s4, $s1
/* 41D7A0 802A8A10 3C02802B */ lui $v0, %hi(D_802AD5E8)
/* 41D7A4 802A8A14 2442D5E8 */ addiu $v0, $v0, %lo(D_802AD5E8)
/* 41D7A0 802A8A10 3C02802B */ lui $v0, %hi(battle_menu_moveOptionCantUseTypes)
/* 41D7A4 802A8A14 2442D5E8 */ addiu $v0, $v0, %lo(battle_menu_moveOptionCantUseTypes)
/* 41D7A8 802A8A18 02222021 */ addu $a0, $s1, $v0
/* 41D7AC 802A8A1C 90A301DE */ lbu $v1, 0x1de($a1)
/* 41D7B0 802A8A20 3C188009 */ lui $t8, %hi(D_8008F060)
@ -601,8 +601,8 @@ glabel L802A89F0_41D780
/* 41D800 802A8A70 A0A001F6 */ sb $zero, 0x1f6($a1)
/* 41D804 802A8A74 A0980000 */ sb $t8, ($a0)
.L802A8A78:
/* 41D808 802A8A78 3C04802B */ lui $a0, %hi(D_802AD260)
/* 41D80C 802A8A7C 2484D260 */ addiu $a0, $a0, %lo(D_802AD260)
/* 41D808 802A8A78 3C04802B */ lui $a0, %hi(battle_menu_moveOptionIconScripts)
/* 41D80C 802A8A7C 2484D260 */ addiu $a0, $a0, %lo(battle_menu_moveOptionIconScripts)
/* 41D810 802A8A80 82E30012 */ lb $v1, 0x12($s7)
/* 41D814 802A8A84 00113080 */ sll $a2, $s1, 2
/* 41D818 802A8A88 00031080 */ sll $v0, $v1, 2
@ -626,39 +626,39 @@ glabel L802A89F0_41D780
/* 41D860 802A8AD0 AC820000 */ sw $v0, ($a0)
.L802A8AD4:
/* 41D864 802A8AD4 90A201DE */ lbu $v0, 0x1de($a1)
/* 41D868 802A8AD8 3C01802B */ lui $at, %hi(D_802AD4B0)
/* 41D868 802A8AD8 3C01802B */ lui $at, %hi(battle_menu_moveIndices)
/* 41D86C 802A8ADC 00260821 */ addu $at, $at, $a2
/* 41D870 802A8AE0 AC22D4B0 */ sw $v0, %lo(D_802AD4B0)($at)
/* 41D870 802A8AE0 AC22D4B0 */ sw $v0, %lo(battle_menu_moveIndices)($at)
/* 41D874 802A8AE4 80A201F6 */ lb $v0, 0x1f6($a1)
/* 41D878 802A8AE8 3C01802B */ lui $at, %hi(D_802AD510)
/* 41D878 802A8AE8 3C01802B */ lui $at, %hi(battle_menu_moveOptionsEnabled)
/* 41D87C 802A8AEC 00260821 */ addu $at, $at, $a2
/* 41D880 802A8AF0 AC22D510 */ sw $v0, %lo(D_802AD510)($at)
/* 41D880 802A8AF0 AC22D510 */ sw $v0, %lo(battle_menu_moveOptionsEnabled)($at)
/* 41D884 802A8AF4 8CE20000 */ lw $v0, ($a3)
/* 41D888 802A8AF8 3C01802B */ lui $at, %hi(D_802AD2C0)
/* 41D888 802A8AF8 3C01802B */ lui $at, %hi(battle_menu_moveOptionNames)
/* 41D88C 802A8AFC 00260821 */ addu $at, $at, $a2
/* 41D890 802A8B00 AC22D2C0 */ sw $v0, %lo(D_802AD2C0)($at)
/* 41D890 802A8B00 AC22D2C0 */ sw $v0, %lo(battle_menu_moveOptionNames)($at)
/* 41D894 802A8B04 8CE20008 */ lw $v0, 8($a3)
/* 41D898 802A8B08 3C01802B */ lui $at, %hi(D_802AD570)
/* 41D898 802A8B08 3C01802B */ lui $at, %hi(battle_menu_moveOptionDescriptions)
/* 41D89C 802A8B0C 00260821 */ addu $at, $at, $a2
/* 41D8A0 802A8B10 AC22D570 */ sw $v0, %lo(D_802AD570)($at)
/* 41D8A0 802A8B10 AC22D570 */ sw $v0, %lo(battle_menu_moveOptionDescriptions)($at)
/* 41D8A4 802A8B14 80E20011 */ lb $v0, 0x11($a3)
/* 41D8A8 802A8B18 0260202D */ daddu $a0, $s3, $zero
/* 41D8AC 802A8B1C 3C01802B */ lui $at, %hi(D_802AD320)
/* 41D8AC 802A8B1C 3C01802B */ lui $at, %hi(battle_menu_moveOptionDisplayCosts)
/* 41D8B0 802A8B20 00260821 */ addu $at, $at, $a2
/* 41D8B4 802A8B24 AC22D320 */ sw $v0, %lo(D_802AD320)($at)
/* 41D8B4 802A8B24 AC22D320 */ sw $v0, %lo(battle_menu_moveOptionDisplayCosts)($at)
/* 41D8B8 802A8B28 80E20012 */ lb $v0, 0x12($a3)
/* 41D8BC 802A8B2C 24050018 */ addiu $a1, $zero, 0x18
/* 41D8C0 802A8B30 3C01802B */ lui $at, %hi(D_802AD5D0)
/* 41D8C0 802A8B30 3C01802B */ lui $at, %hi(battle_menu_moveOptionSortPriorities)
/* 41D8C4 802A8B34 00310821 */ addu $at, $at, $s1
/* 41D8C8 802A8B38 A031D5D0 */ sb $s1, %lo(D_802AD5D0)($at)
/* 41D8CC 802A8B3C 3C01802B */ lui $at, %hi(D_802AD440)
/* 41D8C8 802A8B38 A031D5D0 */ sb $s1, %lo(battle_menu_moveOptionSortPriorities)($at)
/* 41D8CC 802A8B3C 3C01802B */ lui $at, %hi(battle_menu_moveOptionBPCosts)
/* 41D8D0 802A8B40 00260821 */ addu $at, $at, $a2
/* 41D8D4 802A8B44 AC22D440 */ sw $v0, %lo(D_802AD440)($at)
/* 41D8D8 802A8B48 3C02802B */ lui $v0, %hi(D_802AD380)
/* 41D8DC 802A8B4C 2442D380 */ addiu $v0, $v0, %lo(D_802AD380)
/* 41D8D4 802A8B44 AC22D440 */ sw $v0, %lo(battle_menu_moveOptionBPCosts)($at)
/* 41D8D8 802A8B48 3C02802B */ lui $v0, %hi(battle_menu_moveOptionDisplayCostReductions)
/* 41D8DC 802A8B4C 2442D380 */ addiu $v0, $v0, %lo(battle_menu_moveOptionDisplayCostReductions)
/* 41D8E0 802A8B50 00C28021 */ addu $s0, $a2, $v0
/* 41D8E4 802A8B54 3C02802B */ lui $v0, %hi(D_802AD3E0)
/* 41D8E8 802A8B58 2442D3E0 */ addiu $v0, $v0, %lo(D_802AD3E0)
/* 41D8E4 802A8B54 3C02802B */ lui $v0, %hi(battle_menu_moveOptionDisplayCostReductionColors)
/* 41D8E8 802A8B58 2442D3E0 */ addiu $v0, $v0, %lo(battle_menu_moveOptionDisplayCostReductionColors)
/* 41D8EC 802A8B5C 00C29021 */ addu $s2, $a2, $v0
/* 41D8F0 802A8B60 AE000000 */ sw $zero, ($s0)
/* 41D8F4 802A8B64 0C099CAB */ jal heroes_is_ability_active
@ -701,10 +701,10 @@ glabel L802A89F0_41D780
.L802A8BEC:
/* 41D97C 802A8BEC 8291005D */ lb $s1, 0x5d($s4)
/* 41D980 802A8BF0 9282020E */ lbu $v0, 0x20e($s4)
/* 41D984 802A8BF4 3C01802B */ lui $at, %hi(D_802AD4A0)
/* 41D988 802A8BF8 AC20D4A0 */ sw $zero, %lo(D_802AD4A0)($at)
/* 41D98C 802A8BFC 3C01802B */ lui $at, %hi(D_802AD4A4)
/* 41D990 802A8C00 AC22D4A4 */ sw $v0, %lo(D_802AD4A4)($at)
/* 41D984 802A8BF4 3C01802B */ lui $at, %hi(battle_menu_hasSpiritsMenu)
/* 41D988 802A8BF8 AC20D4A0 */ sw $zero, %lo(battle_menu_hasSpiritsMenu)($at)
/* 41D98C 802A8BFC 3C01802B */ lui $at, %hi(battle_menu_moveOptionCount)
/* 41D990 802A8C00 AC22D4A4 */ sw $v0, %lo(battle_menu_moveOptionCount)($at)
/* 41D994 802A8C04 3C01802B */ lui $at, %hi(D_802AD4A8)
/* 41D998 802A8C08 AC31D4A8 */ sw $s1, %lo(D_802AD4A8)($at)
/* 41D99C 802A8C0C 0C0A89A1 */ jal func_802A2684
@ -1125,26 +1125,26 @@ glabel L802A91D0_41DF60
/* 41DF90 802A9200 2652F060 */ addiu $s2, $s2, %lo(D_8008F060)
/* 41DF94 802A9204 3C0F802B */ lui $t7, %hi(D_802AB398)
/* 41DF98 802A9208 25EFB398 */ addiu $t7, $t7, %lo(D_802AB398)
/* 41DF9C 802A920C 3C10802B */ lui $s0, %hi(D_802AD5D0)
/* 41DFA0 802A9210 2610D5D0 */ addiu $s0, $s0, %lo(D_802AD5D0)
/* 41DFA4 802A9214 3C0E802B */ lui $t6, %hi(D_802AD3E0)
/* 41DFA8 802A9218 25CED3E0 */ addiu $t6, $t6, %lo(D_802AD3E0)
/* 41DFAC 802A921C 3C0D802B */ lui $t5, %hi(D_802AD380)
/* 41DFB0 802A9220 25ADD380 */ addiu $t5, $t5, %lo(D_802AD380)
/* 41DFB4 802A9224 3C0C802B */ lui $t4, %hi(D_802AD570)
/* 41DFB8 802A9228 258CD570 */ addiu $t4, $t4, %lo(D_802AD570)
/* 41DFBC 802A922C 3C0B802B */ lui $t3, %hi(D_802AD2C0)
/* 41DFC0 802A9230 256BD2C0 */ addiu $t3, $t3, %lo(D_802AD2C0)
/* 41DFC4 802A9234 3C0A802B */ lui $t2, %hi(D_802AD510)
/* 41DFC8 802A9238 254AD510 */ addiu $t2, $t2, %lo(D_802AD510)
/* 41DFCC 802A923C 3C09802B */ lui $t1, %hi(D_802AD4B0)
/* 41DFD0 802A9240 2529D4B0 */ addiu $t1, $t1, %lo(D_802AD4B0)
/* 41DFD4 802A9244 3C08802B */ lui $t0, %hi(D_802AD440)
/* 41DFD8 802A9248 2508D440 */ addiu $t0, $t0, %lo(D_802AD440)
/* 41DFDC 802A924C 3C06802B */ lui $a2, %hi(D_802AD320)
/* 41DFE0 802A9250 24C6D320 */ addiu $a2, $a2, %lo(D_802AD320)
/* 41DFE4 802A9254 3C05802B */ lui $a1, %hi(D_802AD260)
/* 41DFE8 802A9258 24A5D260 */ addiu $a1, $a1, %lo(D_802AD260)
/* 41DF9C 802A920C 3C10802B */ lui $s0, %hi(battle_menu_moveOptionSortPriorities)
/* 41DFA0 802A9210 2610D5D0 */ addiu $s0, $s0, %lo(battle_menu_moveOptionSortPriorities)
/* 41DFA4 802A9214 3C0E802B */ lui $t6, %hi(battle_menu_moveOptionDisplayCostReductionColors)
/* 41DFA8 802A9218 25CED3E0 */ addiu $t6, $t6, %lo(battle_menu_moveOptionDisplayCostReductionColors)
/* 41DFAC 802A921C 3C0D802B */ lui $t5, %hi(battle_menu_moveOptionDisplayCostReductions)
/* 41DFB0 802A9220 25ADD380 */ addiu $t5, $t5, %lo(battle_menu_moveOptionDisplayCostReductions)
/* 41DFB4 802A9224 3C0C802B */ lui $t4, %hi(battle_menu_moveOptionDescriptions)
/* 41DFB8 802A9228 258CD570 */ addiu $t4, $t4, %lo(battle_menu_moveOptionDescriptions)
/* 41DFBC 802A922C 3C0B802B */ lui $t3, %hi(battle_menu_moveOptionNames)
/* 41DFC0 802A9230 256BD2C0 */ addiu $t3, $t3, %lo(battle_menu_moveOptionNames)
/* 41DFC4 802A9234 3C0A802B */ lui $t2, %hi(battle_menu_moveOptionsEnabled)
/* 41DFC8 802A9238 254AD510 */ addiu $t2, $t2, %lo(battle_menu_moveOptionsEnabled)
/* 41DFCC 802A923C 3C09802B */ lui $t1, %hi(battle_menu_moveIndices)
/* 41DFD0 802A9240 2529D4B0 */ addiu $t1, $t1, %lo(battle_menu_moveIndices)
/* 41DFD4 802A9244 3C08802B */ lui $t0, %hi(battle_menu_moveOptionBPCosts)
/* 41DFD8 802A9248 2508D440 */ addiu $t0, $t0, %lo(battle_menu_moveOptionBPCosts)
/* 41DFDC 802A924C 3C06802B */ lui $a2, %hi(battle_menu_moveOptionDisplayCosts)
/* 41DFE0 802A9250 24C6D320 */ addiu $a2, $a2, %lo(battle_menu_moveOptionDisplayCosts)
/* 41DFE4 802A9254 3C05802B */ lui $a1, %hi(battle_menu_moveOptionIconScripts)
/* 41DFE8 802A9258 24A5D260 */ addiu $a1, $a1, %lo(battle_menu_moveOptionIconScripts)
.L802A925C:
/* 41DFEC 802A925C 02912021 */ addu $a0, $s4, $s1
/* 41DFF0 802A9260 908301DE */ lbu $v1, 0x1de($a0)
@ -1203,10 +1203,10 @@ glabel L802A91D0_41DF60
/* 41E0B8 802A9328 82910062 */ lb $s1, 0x62($s4)
/* 41E0BC 802A932C 9282020E */ lbu $v0, 0x20e($s4)
/* 41E0C0 802A9330 24030001 */ addiu $v1, $zero, 1
/* 41E0C4 802A9334 3C01802B */ lui $at, %hi(D_802AD4A0)
/* 41E0C8 802A9338 AC23D4A0 */ sw $v1, %lo(D_802AD4A0)($at)
/* 41E0CC 802A933C 3C01802B */ lui $at, %hi(D_802AD4A4)
/* 41E0D0 802A9340 AC22D4A4 */ sw $v0, %lo(D_802AD4A4)($at)
/* 41E0C4 802A9334 3C01802B */ lui $at, %hi(battle_menu_hasSpiritsMenu)
/* 41E0C8 802A9338 AC23D4A0 */ sw $v1, %lo(battle_menu_hasSpiritsMenu)($at)
/* 41E0CC 802A933C 3C01802B */ lui $at, %hi(battle_menu_moveOptionCount)
/* 41E0D0 802A9340 AC22D4A4 */ sw $v0, %lo(battle_menu_moveOptionCount)($at)
/* 41E0D4 802A9344 3C01802B */ lui $at, %hi(D_802AD4A8)
/* 41E0D8 802A9348 AC31D4A8 */ sw $s1, %lo(D_802AD4A8)($at)
/* 41E0DC 802A934C 0C0A89A1 */ jal func_802A2684

View File

@ -228,18 +228,18 @@ glabel L802A5C50_41A9E0
/* 41AA70 802A5CE0 3C03802B */ lui $v1, %hi(D_802AB478)
/* 41AA74 802A5CE4 8C63B478 */ lw $v1, %lo(D_802AB478)($v1)
/* 41AA78 802A5CE8 24020007 */ addiu $v0, $zero, 7
/* 41AA7C 802A5CEC 3C01802B */ lui $at, %hi(D_802AD0B8)
/* 41AA80 802A5CF0 AC22D0B8 */ sw $v0, %lo(D_802AD0B8)($at)
/* 41AA7C 802A5CEC 3C01802B */ lui $at, %hi(battle_menu_submenuIDs)
/* 41AA80 802A5CF0 AC22D0B8 */ sw $v0, %lo(battle_menu_submenuIDs)($at)
/* 41AA84 802A5CF4 24020001 */ addiu $v0, $zero, 1
/* 41AA88 802A5CF8 3C01802B */ lui $at, %hi(D_802AD0D0)
/* 41AA8C 802A5CFC AC22D0D0 */ sw $v0, %lo(D_802AD0D0)($at)
/* 41AA88 802A5CF8 3C01802B */ lui $at, %hi(battle_menu_isEnabled)
/* 41AA8C 802A5CFC AC22D0D0 */ sw $v0, %lo(battle_menu_isEnabled)($at)
/* 41AA90 802A5D00 3C02802B */ lui $v0, %hi(D_802AB4DC)
/* 41AA94 802A5D04 8C42B4DC */ lw $v0, %lo(D_802AB4DC)($v0)
/* 41AA98 802A5D08 3C01802B */ lui $at, %hi(D_802AD078)
/* 41AA9C 802A5D0C AC23D078 */ sw $v1, %lo(D_802AD078)($at)
/* 41AA98 802A5D08 3C01802B */ lui $at, %hi(main_battle_menu_iconScripts)
/* 41AA9C 802A5D0C AC23D078 */ sw $v1, %lo(main_battle_menu_iconScripts)($at)
/* 41AAA0 802A5D10 82C30083 */ lb $v1, 0x83($s6)
/* 41AAA4 802A5D14 3C04802B */ lui $a0, %hi(D_802AD090)
/* 41AAA8 802A5D18 2484D090 */ addiu $a0, $a0, %lo(D_802AD090)
/* 41AAA4 802A5D14 3C04802B */ lui $a0, %hi(battle_menu_messageIDs)
/* 41AAA8 802A5D18 2484D090 */ addiu $a0, $a0, %lo(battle_menu_messageIDs)
/* 41AAAC 802A5D1C 107E0006 */ beq $v1, $fp, .L802A5D38
/* 41AAB0 802A5D20 AC820000 */ sw $v0, ($a0)
/* 41AAB4 802A5D24 8E020000 */ lw $v0, ($s0)
@ -252,8 +252,8 @@ glabel L802A5C50_41A9E0
/* 41AACC 802A5D3C 34420054 */ ori $v0, $v0, 0x54
/* 41AAD0 802A5D40 AC820000 */ sw $v0, ($a0)
.L802A5D44:
/* 41AAD4 802A5D44 3C08802B */ lui $t0, %hi(D_802AD0E8)
/* 41AAD8 802A5D48 2508D0E8 */ addiu $t0, $t0, %lo(D_802AD0E8)
/* 41AAD4 802A5D44 3C08802B */ lui $t0, %hi(battle_menu_isMessageDisabled)
/* 41AAD8 802A5D48 2508D0E8 */ addiu $t0, $t0, %lo(battle_menu_isMessageDisabled)
/* 41AADC 802A5D4C 00141880 */ sll $v1, $s4, 2
/* 41AAE0 802A5D50 00682021 */ addu $a0, $v1, $t0
/* 41AAE4 802A5D54 AC800000 */ sw $zero, ($a0)
@ -263,12 +263,12 @@ glabel L802A5C50_41A9E0
/* 41AAF4 802A5D64 00000000 */ nop
/* 41AAF8 802A5D68 3C02802B */ lui $v0, %hi(D_802AB47C)
/* 41AAFC 802A5D6C 8C42B47C */ lw $v0, %lo(D_802AB47C)($v0)
/* 41AB00 802A5D70 3C01802B */ lui $at, %hi(D_802AD0D0)
/* 41AB00 802A5D70 3C01802B */ lui $at, %hi(battle_menu_isEnabled)
/* 41AB04 802A5D74 00230821 */ addu $at, $at, $v1
/* 41AB08 802A5D78 AC20D0D0 */ sw $zero, %lo(D_802AD0D0)($at)
/* 41AB0C 802A5D7C 3C01802B */ lui $at, %hi(D_802AD078)
/* 41AB08 802A5D78 AC20D0D0 */ sw $zero, %lo(battle_menu_isEnabled)($at)
/* 41AB0C 802A5D7C 3C01802B */ lui $at, %hi(main_battle_menu_iconScripts)
/* 41AB10 802A5D80 00230821 */ addu $at, $at, $v1
/* 41AB14 802A5D84 AC22D078 */ sw $v0, %lo(D_802AD078)($at)
/* 41AB14 802A5D84 AC22D078 */ sw $v0, %lo(main_battle_menu_iconScripts)($at)
/* 41AB18 802A5D88 24020048 */ addiu $v0, $zero, 0x48
/* 41AB1C 802A5D8C AC820000 */ sw $v0, ($a0)
.L802A5D90:
@ -280,8 +280,8 @@ glabel L802A5C50_41A9E0
/* 41AB30 802A5DA0 82C2007D */ lb $v0, 0x7d($s6)
/* 41AB34 802A5DA4 04400034 */ bltz $v0, .L802A5E78
/* 41AB38 802A5DA8 26940001 */ addiu $s4, $s4, 1
/* 41AB3C 802A5DAC 3C03802B */ lui $v1, %hi(D_802AD078)
/* 41AB40 802A5DB0 2463D078 */ addiu $v1, $v1, %lo(D_802AD078)
/* 41AB3C 802A5DAC 3C03802B */ lui $v1, %hi(main_battle_menu_iconScripts)
/* 41AB40 802A5DB0 2463D078 */ addiu $v1, $v1, %lo(main_battle_menu_iconScripts)
/* 41AB44 802A5DB4 00142080 */ sll $a0, $s4, 2
/* 41AB48 802A5DB8 3C07802B */ lui $a3, %hi(D_802AB388)
/* 41AB4C 802A5DBC 24E7B388 */ addiu $a3, $a3, %lo(D_802AB388)
@ -289,19 +289,19 @@ glabel L802A5C50_41A9E0
/* 41AB54 802A5DC4 8CE20000 */ lw $v0, ($a3)
/* 41AB58 802A5DC8 24090002 */ addiu $t1, $zero, 2
/* 41AB5C 802A5DCC ACC20000 */ sw $v0, ($a2)
/* 41AB60 802A5DD0 3C02802B */ lui $v0, %hi(D_802AD0D0)
/* 41AB64 802A5DD4 2442D0D0 */ addiu $v0, $v0, %lo(D_802AD0D0)
/* 41AB60 802A5DD0 3C02802B */ lui $v0, %hi(battle_menu_isEnabled)
/* 41AB64 802A5DD4 2442D0D0 */ addiu $v0, $v0, %lo(battle_menu_isEnabled)
/* 41AB68 802A5DD8 00822821 */ addu $a1, $a0, $v0
/* 41AB6C 802A5DDC 24020001 */ addiu $v0, $zero, 1
/* 41AB70 802A5DE0 3C01802B */ lui $at, %hi(D_802AD0B8)
/* 41AB70 802A5DE0 3C01802B */ lui $at, %hi(battle_menu_submenuIDs)
/* 41AB74 802A5DE4 00240821 */ addu $at, $at, $a0
/* 41AB78 802A5DE8 AC29D0B8 */ sw $t1, %lo(D_802AD0B8)($at)
/* 41AB78 802A5DE8 AC29D0B8 */ sw $t1, %lo(battle_menu_submenuIDs)($at)
/* 41AB7C 802A5DEC ACA20000 */ sw $v0, ($a1)
/* 41AB80 802A5DF0 3C02802B */ lui $v0, %hi(D_802AB4C8)
/* 41AB84 802A5DF4 8C42B4C8 */ lw $v0, %lo(D_802AB4C8)($v0)
/* 41AB88 802A5DF8 3C01802B */ lui $at, %hi(D_802AD090)
/* 41AB88 802A5DF8 3C01802B */ lui $at, %hi(battle_menu_messageIDs)
/* 41AB8C 802A5DFC 00240821 */ addu $at, $at, $a0
/* 41AB90 802A5E00 AC22D090 */ sw $v0, %lo(D_802AD090)($at)
/* 41AB90 802A5E00 AC22D090 */ sw $v0, %lo(battle_menu_messageIDs)($at)
/* 41AB94 802A5E04 82C2007D */ lb $v0, 0x7d($s6)
/* 41AB98 802A5E08 14400006 */ bnez $v0, .L802A5E24
/* 41AB9C 802A5E0C 00881821 */ addu $v1, $a0, $t0
@ -336,47 +336,47 @@ glabel L802A5C50_41A9E0
.L802A5E74:
/* 41AC04 802A5E74 26940001 */ addiu $s4, $s4, 1
.L802A5E78:
/* 41AC08 802A5E78 3C0C802B */ lui $t4, %hi(D_802AD078)
/* 41AC0C 802A5E7C 258CD078 */ addiu $t4, $t4, %lo(D_802AD078)
/* 41AC08 802A5E78 3C0C802B */ lui $t4, %hi(main_battle_menu_iconScripts)
/* 41AC0C 802A5E7C 258CD078 */ addiu $t4, $t4, %lo(main_battle_menu_iconScripts)
/* 41AC10 802A5E80 00141880 */ sll $v1, $s4, 2
/* 41AC14 802A5E84 006C3021 */ addu $a2, $v1, $t4
/* 41AC18 802A5E88 3C0B802B */ lui $t3, %hi(D_802AD0D0)
/* 41AC1C 802A5E8C 256BD0D0 */ addiu $t3, $t3, %lo(D_802AD0D0)
/* 41AC18 802A5E88 3C0B802B */ lui $t3, %hi(battle_menu_isEnabled)
/* 41AC1C 802A5E8C 256BD0D0 */ addiu $t3, $t3, %lo(battle_menu_isEnabled)
/* 41AC20 802A5E90 006B2821 */ addu $a1, $v1, $t3
/* 41AC24 802A5E94 24090001 */ addiu $t1, $zero, 1
/* 41AC28 802A5E98 3C0A802B */ lui $t2, %hi(D_802AB4C0)
/* 41AC2C 802A5E9C 254AB4C0 */ addiu $t2, $t2, %lo(D_802AB4C0)
/* 41AC28 802A5E98 3C0A802B */ lui $t2, %hi(battle_menu_centeredMessages)
/* 41AC2C 802A5E9C 254AB4C0 */ addiu $t2, $t2, %lo(battle_menu_centeredMessages)
/* 41AC30 802A5EA0 82A20000 */ lb $v0, ($s5)
/* 41AC34 802A5EA4 24420001 */ addiu $v0, $v0, 1
/* 41AC38 802A5EA8 000210C0 */ sll $v0, $v0, 3
/* 41AC3C 802A5EAC 3C01802B */ lui $at, %hi(D_802AB348)
/* 41AC3C 802A5EAC 3C01802B */ lui $at, %hi(battle_menu_iconScripts)
/* 41AC40 802A5EB0 00220821 */ addu $at, $at, $v0
/* 41AC44 802A5EB4 8C22B348 */ lw $v0, %lo(D_802AB348)($at)
/* 41AC48 802A5EB8 3C04802B */ lui $a0, %hi(D_802AB348)
/* 41AC4C 802A5EBC 2484B348 */ addiu $a0, $a0, %lo(D_802AB348)
/* 41AC44 802A5EB4 8C22B348 */ lw $v0, %lo(battle_menu_iconScripts)($at)
/* 41AC48 802A5EB8 3C04802B */ lui $a0, %hi(battle_menu_iconScripts)
/* 41AC4C 802A5EBC 2484B348 */ addiu $a0, $a0, %lo(battle_menu_iconScripts)
/* 41AC50 802A5EC0 ACC20000 */ sw $v0, ($a2)
/* 41AC54 802A5EC4 3C01802B */ lui $at, %hi(D_802AD0B8)
/* 41AC54 802A5EC4 3C01802B */ lui $at, %hi(battle_menu_submenuIDs)
/* 41AC58 802A5EC8 00230821 */ addu $at, $at, $v1
/* 41AC5C 802A5ECC AC20D0B8 */ sw $zero, %lo(D_802AD0B8)($at)
/* 41AC5C 802A5ECC AC20D0B8 */ sw $zero, %lo(battle_menu_submenuIDs)($at)
/* 41AC60 802A5ED0 ACA90000 */ sw $t1, ($a1)
/* 41AC64 802A5ED4 8D420000 */ lw $v0, ($t2)
/* 41AC68 802A5ED8 3C07802B */ lui $a3, %hi(D_802AD0B8)
/* 41AC6C 802A5EDC 24E7D0B8 */ addiu $a3, $a3, %lo(D_802AD0B8)
/* 41AC70 802A5EE0 3C01802B */ lui $at, %hi(D_802AD090)
/* 41AC68 802A5ED8 3C07802B */ lui $a3, %hi(battle_menu_submenuIDs)
/* 41AC6C 802A5EDC 24E7D0B8 */ addiu $a3, $a3, %lo(battle_menu_submenuIDs)
/* 41AC70 802A5EE0 3C01802B */ lui $at, %hi(battle_menu_messageIDs)
/* 41AC74 802A5EE4 00230821 */ addu $at, $at, $v1
/* 41AC78 802A5EE8 AC22D090 */ sw $v0, %lo(D_802AD090)($at)
/* 41AC78 802A5EE8 AC22D090 */ sw $v0, %lo(battle_menu_messageIDs)($at)
/* 41AC7C 802A5EEC 82C2007E */ lb $v0, 0x7e($s6)
/* 41AC80 802A5EF0 3C08802B */ lui $t0, %hi(D_802AD090)
/* 41AC84 802A5EF4 2508D090 */ addiu $t0, $t0, %lo(D_802AD090)
/* 41AC80 802A5EF0 3C08802B */ lui $t0, %hi(battle_menu_messageIDs)
/* 41AC84 802A5EF4 2508D090 */ addiu $t0, $t0, %lo(battle_menu_messageIDs)
/* 41AC88 802A5EF8 1C400008 */ bgtz $v0, .L802A5F1C
/* 41AC8C 802A5EFC 00000000 */ nop
/* 41AC90 802A5F00 8C820000 */ lw $v0, ($a0)
/* 41AC94 802A5F04 ACC20000 */ sw $v0, ($a2)
/* 41AC98 802A5F08 24020043 */ addiu $v0, $zero, 0x43
/* 41AC9C 802A5F0C ACA00000 */ sw $zero, ($a1)
/* 41ACA0 802A5F10 3C01802B */ lui $at, %hi(D_802AD0E8)
/* 41ACA0 802A5F10 3C01802B */ lui $at, %hi(battle_menu_isMessageDisabled)
/* 41ACA4 802A5F14 00230821 */ addu $at, $at, $v1
/* 41ACA8 802A5F18 AC22D0E8 */ sw $v0, %lo(D_802AD0E8)($at)
/* 41ACA8 802A5F18 AC22D0E8 */ sw $v0, %lo(battle_menu_isMessageDisabled)($at)
.L802A5F1C:
/* 41ACAC 802A5F1C 96C20070 */ lhu $v0, 0x70($s6)
/* 41ACB0 802A5F20 30420001 */ andi $v0, $v0, 1
@ -386,9 +386,9 @@ glabel L802A5C50_41A9E0
/* 41ACC0 802A5F30 ACC20000 */ sw $v0, ($a2)
/* 41ACC4 802A5F34 24020048 */ addiu $v0, $zero, 0x48
/* 41ACC8 802A5F38 ACA00000 */ sw $zero, ($a1)
/* 41ACCC 802A5F3C 3C01802B */ lui $at, %hi(D_802AD0E8)
/* 41ACCC 802A5F3C 3C01802B */ lui $at, %hi(battle_menu_isMessageDisabled)
/* 41ACD0 802A5F40 00230821 */ addu $at, $at, $v1
/* 41ACD4 802A5F44 AC22D0E8 */ sw $v0, %lo(D_802AD0E8)($at)
/* 41ACD4 802A5F44 AC22D0E8 */ sw $v0, %lo(battle_menu_isMessageDisabled)($at)
.L802A5F48:
/* 41ACD8 802A5F48 82C200AF */ lb $v0, 0xaf($s6)
/* 41ACDC 802A5F4C 04400008 */ bltz $v0, .L802A5F70
@ -397,9 +397,9 @@ glabel L802A5C50_41A9E0
/* 41ACE8 802A5F58 ACC20000 */ sw $v0, ($a2)
/* 41ACEC 802A5F5C 24020048 */ addiu $v0, $zero, 0x48
/* 41ACF0 802A5F60 ACA00000 */ sw $zero, ($a1)
/* 41ACF4 802A5F64 3C01802B */ lui $at, %hi(D_802AD0E8)
/* 41ACF4 802A5F64 3C01802B */ lui $at, %hi(battle_menu_isMessageDisabled)
/* 41ACF8 802A5F68 00230821 */ addu $at, $at, $v1
/* 41ACFC 802A5F6C AC22D0E8 */ sw $v0, %lo(D_802AD0E8)($at)
/* 41ACFC 802A5F6C AC22D0E8 */ sw $v0, %lo(battle_menu_isMessageDisabled)($at)
.L802A5F70:
/* 41AD00 802A5F70 82C2004C */ lb $v0, 0x4c($s6)
/* 41AD04 802A5F74 50400001 */ beql $v0, $zero, .L802A5F7C
@ -431,9 +431,9 @@ glabel L802A5C50_41A9E0
/* 41AD68 802A5FD8 ACC20000 */ sw $v0, ($a2)
/* 41AD6C 802A5FDC 24020044 */ addiu $v0, $zero, 0x44
/* 41AD70 802A5FE0 ACA00000 */ sw $zero, ($a1)
/* 41AD74 802A5FE4 3C01802B */ lui $at, %hi(D_802AD0E8)
/* 41AD74 802A5FE4 3C01802B */ lui $at, %hi(battle_menu_isMessageDisabled)
/* 41AD78 802A5FE8 00240821 */ addu $at, $at, $a0
/* 41AD7C 802A5FEC AC22D0E8 */ sw $v0, %lo(D_802AD0E8)($at)
/* 41AD7C 802A5FEC AC22D0E8 */ sw $v0, %lo(battle_menu_isMessageDisabled)($at)
.L802A5FF0:
/* 41AD80 802A5FF0 96C20070 */ lhu $v0, 0x70($s6)
/* 41AD84 802A5FF4 30420002 */ andi $v0, $v0, 2
@ -443,9 +443,9 @@ glabel L802A5C50_41A9E0
/* 41AD94 802A6004 ACC20000 */ sw $v0, ($a2)
/* 41AD98 802A6008 24020048 */ addiu $v0, $zero, 0x48
/* 41AD9C 802A600C ACA00000 */ sw $zero, ($a1)
/* 41ADA0 802A6010 3C01802B */ lui $at, %hi(D_802AD0E8)
/* 41ADA0 802A6010 3C01802B */ lui $at, %hi(battle_menu_isMessageDisabled)
/* 41ADA4 802A6014 00240821 */ addu $at, $at, $a0
/* 41ADA8 802A6018 AC22D0E8 */ sw $v0, %lo(D_802AD0E8)($at)
/* 41ADA8 802A6018 AC22D0E8 */ sw $v0, %lo(battle_menu_isMessageDisabled)($at)
.L802A601C:
/* 41ADAC 802A601C 82C200AE */ lb $v0, 0xae($s6)
/* 41ADB0 802A6020 04400008 */ bltz $v0, .L802A6044
@ -454,9 +454,9 @@ glabel L802A5C50_41A9E0
/* 41ADBC 802A602C ACC20000 */ sw $v0, ($a2)
/* 41ADC0 802A6030 24020048 */ addiu $v0, $zero, 0x48
/* 41ADC4 802A6034 ACA00000 */ sw $zero, ($a1)
/* 41ADC8 802A6038 3C01802B */ lui $at, %hi(D_802AD0E8)
/* 41ADC8 802A6038 3C01802B */ lui $at, %hi(battle_menu_isMessageDisabled)
/* 41ADCC 802A603C 00240821 */ addu $at, $at, $a0
/* 41ADD0 802A6040 AC22D0E8 */ sw $v0, %lo(D_802AD0E8)($at)
/* 41ADD0 802A6040 AC22D0E8 */ sw $v0, %lo(battle_menu_isMessageDisabled)($at)
.L802A6044:
/* 41ADD4 802A6044 82C2004C */ lb $v0, 0x4c($s6)
/* 41ADD8 802A6048 50490001 */ beql $v0, $t1, .L802A6050
@ -467,29 +467,29 @@ glabel L802A5C50_41A9E0
/* 41ADE4 802A6054 82A2028E */ lb $v0, 0x28e($s5)
/* 41ADE8 802A6058 10400027 */ beqz $v0, .L802A60F8
/* 41ADEC 802A605C 00141880 */ sll $v1, $s4, 2
/* 41ADF0 802A6060 3C04802B */ lui $a0, %hi(D_802AD078)
/* 41ADF4 802A6064 2484D078 */ addiu $a0, $a0, %lo(D_802AD078)
/* 41ADF0 802A6060 3C04802B */ lui $a0, %hi(main_battle_menu_iconScripts)
/* 41ADF4 802A6064 2484D078 */ addiu $a0, $a0, %lo(main_battle_menu_iconScripts)
/* 41ADF8 802A6068 3C06802B */ lui $a2, %hi(D_802AB390)
/* 41ADFC 802A606C 24C6B390 */ addiu $a2, $a2, %lo(D_802AB390)
/* 41AE00 802A6070 00642821 */ addu $a1, $v1, $a0
/* 41AE04 802A6074 8CC20000 */ lw $v0, ($a2)
/* 41AE08 802A6078 24070008 */ addiu $a3, $zero, 8
/* 41AE0C 802A607C ACA20000 */ sw $v0, ($a1)
/* 41AE10 802A6080 3C02802B */ lui $v0, %hi(D_802AD0D0)
/* 41AE14 802A6084 2442D0D0 */ addiu $v0, $v0, %lo(D_802AD0D0)
/* 41AE10 802A6080 3C02802B */ lui $v0, %hi(battle_menu_isEnabled)
/* 41AE14 802A6084 2442D0D0 */ addiu $v0, $v0, %lo(battle_menu_isEnabled)
/* 41AE18 802A6088 00622021 */ addu $a0, $v1, $v0
/* 41AE1C 802A608C 24020001 */ addiu $v0, $zero, 1
/* 41AE20 802A6090 3C01802B */ lui $at, %hi(D_802AD0B8)
/* 41AE20 802A6090 3C01802B */ lui $at, %hi(battle_menu_submenuIDs)
/* 41AE24 802A6094 00230821 */ addu $at, $at, $v1
/* 41AE28 802A6098 AC27D0B8 */ sw $a3, %lo(D_802AD0B8)($at)
/* 41AE28 802A6098 AC27D0B8 */ sw $a3, %lo(battle_menu_submenuIDs)($at)
/* 41AE2C 802A609C AC820000 */ sw $v0, ($a0)
/* 41AE30 802A60A0 3C02802B */ lui $v0, %hi(D_802AB4E0)
/* 41AE34 802A60A4 8C42B4E0 */ lw $v0, %lo(D_802AB4E0)($v0)
/* 41AE38 802A60A8 3C01802B */ lui $at, %hi(D_802AD090)
/* 41AE38 802A60A8 3C01802B */ lui $at, %hi(battle_menu_messageIDs)
/* 41AE3C 802A60AC 00230821 */ addu $at, $at, $v1
/* 41AE40 802A60B0 AC22D090 */ sw $v0, %lo(D_802AD090)($at)
/* 41AE44 802A60B4 3C02802B */ lui $v0, %hi(D_802AD0E8)
/* 41AE48 802A60B8 2442D0E8 */ addiu $v0, $v0, %lo(D_802AD0E8)
/* 41AE40 802A60B0 AC22D090 */ sw $v0, %lo(battle_menu_messageIDs)($at)
/* 41AE44 802A60B4 3C02802B */ lui $v0, %hi(battle_menu_isMessageDisabled)
/* 41AE48 802A60B8 2442D0E8 */ addiu $v0, $v0, %lo(battle_menu_isMessageDisabled)
/* 41AE4C 802A60BC 00621821 */ addu $v1, $v1, $v0
/* 41AE50 802A60C0 AC600000 */ sw $zero, ($v1)
/* 41AE54 802A60C4 96C20070 */ lhu $v0, 0x70($s6)
@ -510,8 +510,8 @@ glabel L802A5C50_41A9E0
.L802A60F8:
/* 41AE88 802A60F8 24020002 */ addiu $v0, $zero, 2
/* 41AE8C 802A60FC 005E1023 */ subu $v0, $v0, $fp
/* 41AE90 802A6100 3C01802B */ lui $at, %hi(D_802AD0AC)
/* 41AE94 802A6104 AC34D0AC */ sw $s4, %lo(D_802AD0AC)($at)
/* 41AE90 802A6100 3C01802B */ lui $at, %hi(main_menu_numOptions)
/* 41AE94 802A6104 AC34D0AC */ sw $s4, %lo(main_menu_numOptions)($at)
/* 41AE98 802A6108 3C01802B */ lui $at, %hi(D_802AD0A8)
/* 41AE9C 802A610C AC20D0A8 */ sw $zero, %lo(D_802AD0A8)($at)
/* 41AEA0 802A6110 3C01802B */ lui $at, %hi(D_802AD0B0)
@ -991,8 +991,8 @@ glabel L802A6170_41AF00
/* 41B548 802A67B8 006E9021 */ addu $s2, $v1, $t6
/* 41B54C 802A67BC 3C0E8008 */ lui $t6, %hi(gItemTable)
/* 41B550 802A67C0 25CE78E0 */ addiu $t6, $t6, %lo(gItemTable)
/* 41B554 802A67C4 3C03802B */ lui $v1, %hi(D_802AD5E8)
/* 41B558 802A67C8 2463D5E8 */ addiu $v1, $v1, %lo(D_802AD5E8)
/* 41B554 802A67C4 3C03802B */ lui $v1, %hi(battle_menu_moveOptionCantUseTypes)
/* 41B558 802A67C8 2463D5E8 */ addiu $v1, $v1, %lo(battle_menu_moveOptionCantUseTypes)
/* 41B55C 802A67CC 844201AE */ lh $v0, 0x1ae($v0)
/* 41B560 802A67D0 02632021 */ addu $a0, $s3, $v1
/* 41B564 802A67D4 00021140 */ sll $v0, $v0, 5
@ -1028,8 +1028,8 @@ glabel L802A6170_41AF00
/* 41B5D0 802A6840 A28001F6 */ sb $zero, 0x1f6($s4)
/* 41B5D4 802A6844 A0820000 */ sb $v0, ($a0)
.L802A6848:
/* 41B5D8 802A6848 3C03802B */ lui $v1, %hi(D_802AD260)
/* 41B5DC 802A684C 2463D260 */ addiu $v1, $v1, %lo(D_802AD260)
/* 41B5D8 802A6848 3C03802B */ lui $v1, %hi(battle_menu_moveOptionIconScripts)
/* 41B5DC 802A684C 2463D260 */ addiu $v1, $v1, %lo(battle_menu_moveOptionIconScripts)
/* 41B5E0 802A6850 00138080 */ sll $s0, $s3, 2
/* 41B5E4 802A6854 8EA20000 */ lw $v0, ($s5)
/* 41B5E8 802A6858 02031821 */ addu $v1, $s0, $v1
@ -1042,22 +1042,22 @@ glabel L802A6170_41AF00
.L802A6874:
/* 41B604 802A6874 82420011 */ lb $v0, 0x11($s2)
/* 41B608 802A6878 02E0202D */ daddu $a0, $s7, $zero
/* 41B60C 802A687C 3C01802B */ lui $at, %hi(D_802AD320)
/* 41B60C 802A687C 3C01802B */ lui $at, %hi(battle_menu_moveOptionDisplayCosts)
/* 41B610 802A6880 00300821 */ addu $at, $at, $s0
/* 41B614 802A6884 AC22D320 */ sw $v0, %lo(D_802AD320)($at)
/* 41B614 802A6884 AC22D320 */ sw $v0, %lo(battle_menu_moveOptionDisplayCosts)($at)
/* 41B618 802A6888 82420012 */ lb $v0, 0x12($s2)
/* 41B61C 802A688C 24050018 */ addiu $a1, $zero, 0x18
/* 41B620 802A6890 3C01802B */ lui $at, %hi(D_802AD5D0)
/* 41B620 802A6890 3C01802B */ lui $at, %hi(battle_menu_moveOptionSortPriorities)
/* 41B624 802A6894 00330821 */ addu $at, $at, $s3
/* 41B628 802A6898 A020D5D0 */ sb $zero, %lo(D_802AD5D0)($at)
/* 41B62C 802A689C 3C01802B */ lui $at, %hi(D_802AD440)
/* 41B628 802A6898 A020D5D0 */ sb $zero, %lo(battle_menu_moveOptionSortPriorities)($at)
/* 41B62C 802A689C 3C01802B */ lui $at, %hi(battle_menu_moveOptionBPCosts)
/* 41B630 802A68A0 00300821 */ addu $at, $at, $s0
/* 41B634 802A68A4 AC22D440 */ sw $v0, %lo(D_802AD440)($at)
/* 41B638 802A68A8 3C02802B */ lui $v0, %hi(D_802AD380)
/* 41B63C 802A68AC 2442D380 */ addiu $v0, $v0, %lo(D_802AD380)
/* 41B634 802A68A4 AC22D440 */ sw $v0, %lo(battle_menu_moveOptionBPCosts)($at)
/* 41B638 802A68A8 3C02802B */ lui $v0, %hi(battle_menu_moveOptionDisplayCostReductions)
/* 41B63C 802A68AC 2442D380 */ addiu $v0, $v0, %lo(battle_menu_moveOptionDisplayCostReductions)
/* 41B640 802A68B0 02028821 */ addu $s1, $s0, $v0
/* 41B644 802A68B4 3C02802B */ lui $v0, %hi(D_802AD3E0)
/* 41B648 802A68B8 2442D3E0 */ addiu $v0, $v0, %lo(D_802AD3E0)
/* 41B644 802A68B4 3C02802B */ lui $v0, %hi(battle_menu_moveOptionDisplayCostReductionColors)
/* 41B648 802A68B8 2442D3E0 */ addiu $v0, $v0, %lo(battle_menu_moveOptionDisplayCostReductionColors)
/* 41B64C 802A68BC 0202A821 */ addu $s5, $s0, $v0
/* 41B650 802A68C0 AE200000 */ sw $zero, ($s1)
/* 41B654 802A68C4 0C099CAB */ jal heroes_is_ability_active
@ -1086,21 +1086,21 @@ glabel L802A6170_41AF00
/* 41B6AC 802A691C AE230000 */ sw $v1, ($s1)
/* 41B6B0 802A6920 AEA20000 */ sw $v0, ($s5)
.L802A6924:
/* 41B6B4 802A6924 3C01802B */ lui $at, %hi(D_802AD4B0)
/* 41B6B4 802A6924 3C01802B */ lui $at, %hi(battle_menu_moveIndices)
/* 41B6B8 802A6928 00300821 */ addu $at, $at, $s0
/* 41B6BC 802A692C AC33D4B0 */ sw $s3, %lo(D_802AD4B0)($at)
/* 41B6BC 802A692C AC33D4B0 */ sw $s3, %lo(battle_menu_moveIndices)($at)
/* 41B6C0 802A6930 828201F6 */ lb $v0, 0x1f6($s4)
/* 41B6C4 802A6934 3C01802B */ lui $at, %hi(D_802AD510)
/* 41B6C4 802A6934 3C01802B */ lui $at, %hi(battle_menu_moveOptionsEnabled)
/* 41B6C8 802A6938 00300821 */ addu $at, $at, $s0
/* 41B6CC 802A693C AC22D510 */ sw $v0, %lo(D_802AD510)($at)
/* 41B6CC 802A693C AC22D510 */ sw $v0, %lo(battle_menu_moveOptionsEnabled)($at)
/* 41B6D0 802A6940 8E420000 */ lw $v0, ($s2)
/* 41B6D4 802A6944 3C01802B */ lui $at, %hi(D_802AD2C0)
/* 41B6D4 802A6944 3C01802B */ lui $at, %hi(battle_menu_moveOptionNames)
/* 41B6D8 802A6948 00300821 */ addu $at, $at, $s0
/* 41B6DC 802A694C AC22D2C0 */ sw $v0, %lo(D_802AD2C0)($at)
/* 41B6DC 802A694C AC22D2C0 */ sw $v0, %lo(battle_menu_moveOptionNames)($at)
/* 41B6E0 802A6950 8E420008 */ lw $v0, 8($s2)
/* 41B6E4 802A6954 3C01802B */ lui $at, %hi(D_802AD570)
/* 41B6E4 802A6954 3C01802B */ lui $at, %hi(battle_menu_moveOptionDescriptions)
/* 41B6E8 802A6958 00300821 */ addu $at, $at, $s0
/* 41B6EC 802A695C AC22D570 */ sw $v0, %lo(D_802AD570)($at)
/* 41B6EC 802A695C AC22D570 */ sw $v0, %lo(battle_menu_moveOptionDescriptions)($at)
/* 41B6F0 802A6960 92C2020E */ lbu $v0, 0x20e($s6)
/* 41B6F4 802A6964 26730001 */ addiu $s3, $s3, 1
/* 41B6F8 802A6968 0262102A */ slt $v0, $s3, $v0
@ -1108,12 +1108,12 @@ glabel L802A6170_41AF00
/* 41B700 802A6970 02D3A021 */ addu $s4, $s6, $s3
/* 41B704 802A6974 92C2020E */ lbu $v0, 0x20e($s6)
.L802A6978:
/* 41B708 802A6978 3C01802B */ lui $at, %hi(D_802AD4A0)
/* 41B70C 802A697C AC20D4A0 */ sw $zero, %lo(D_802AD4A0)($at)
/* 41B708 802A6978 3C01802B */ lui $at, %hi(battle_menu_hasSpiritsMenu)
/* 41B70C 802A697C AC20D4A0 */ sw $zero, %lo(battle_menu_hasSpiritsMenu)($at)
/* 41B710 802A6980 3C01802B */ lui $at, %hi(D_802AD4A8)
/* 41B714 802A6984 AC3ED4A8 */ sw $fp, %lo(D_802AD4A8)($at)
/* 41B718 802A6988 3C01802B */ lui $at, %hi(D_802AD4A4)
/* 41B71C 802A698C AC22D4A4 */ sw $v0, %lo(D_802AD4A4)($at)
/* 41B718 802A6988 3C01802B */ lui $at, %hi(battle_menu_moveOptionCount)
/* 41B71C 802A698C AC22D4A4 */ sw $v0, %lo(battle_menu_moveOptionCount)($at)
/* 41B720 802A6990 0C0A89A1 */ jal func_802A2684
/* 41B724 802A6994 00000000 */ nop
/* 41B728 802A6998 080AA04F */ j .L802A813C
@ -1778,16 +1778,16 @@ glabel L802A72E4_41C074
/* 41C07C 802A72EC 0000982D */ daddu $s3, $zero, $zero
/* 41C080 802A72F0 3C0D8009 */ lui $t5, %hi(D_8008F060)
/* 41C084 802A72F4 25ADF060 */ addiu $t5, $t5, %lo(D_8008F060)
/* 41C088 802A72F8 3C0C802B */ lui $t4, %hi(D_802AD5E8)
/* 41C08C 802A72FC 258CD5E8 */ addiu $t4, $t4, %lo(D_802AD5E8)
/* 41C088 802A72F8 3C0C802B */ lui $t4, %hi(battle_menu_moveOptionCantUseTypes)
/* 41C08C 802A72FC 258CD5E8 */ addiu $t4, $t4, %lo(battle_menu_moveOptionCantUseTypes)
/* 41C090 802A7300 240BFFFF */ addiu $t3, $zero, -1
/* 41C094 802A7304 24070048 */ addiu $a3, $zero, 0x48
/* 41C098 802A7308 240AFFFE */ addiu $t2, $zero, -2
/* 41C09C 802A730C 24090001 */ addiu $t1, $zero, 1
/* 41C0A0 802A7310 3C08802B */ lui $t0, %hi(D_802AB398)
/* 41C0A4 802A7314 2508B398 */ addiu $t0, $t0, %lo(D_802AB398)
/* 41C0A8 802A7318 3C06802B */ lui $a2, %hi(D_802AD260)
/* 41C0AC 802A731C 24C6D260 */ addiu $a2, $a2, %lo(D_802AD260)
/* 41C0A8 802A7318 3C06802B */ lui $a2, %hi(battle_menu_moveOptionIconScripts)
/* 41C0AC 802A731C 24C6D260 */ addiu $a2, $a2, %lo(battle_menu_moveOptionIconScripts)
.L802A7320:
/* 41C0B0 802A7320 02D32021 */ addu $a0, $s6, $s3
/* 41C0B4 802A7324 908201DE */ lbu $v0, 0x1de($a0)
@ -1839,37 +1839,37 @@ glabel L802A72E4_41C074
/* 41C15C 802A73CC ACC20000 */ sw $v0, ($a2)
.L802A73D0:
/* 41C160 802A73D0 82420011 */ lb $v0, 0x11($s2)
/* 41C164 802A73D4 3C01802B */ lui $at, %hi(D_802AD320)
/* 41C164 802A73D4 3C01802B */ lui $at, %hi(battle_menu_moveOptionDisplayCosts)
/* 41C168 802A73D8 00230821 */ addu $at, $at, $v1
/* 41C16C 802A73DC AC22D320 */ sw $v0, %lo(D_802AD320)($at)
/* 41C16C 802A73DC AC22D320 */ sw $v0, %lo(battle_menu_moveOptionDisplayCosts)($at)
/* 41C170 802A73E0 82420012 */ lb $v0, 0x12($s2)
/* 41C174 802A73E4 3C01802B */ lui $at, %hi(D_802AD5D0)
/* 41C174 802A73E4 3C01802B */ lui $at, %hi(battle_menu_moveOptionSortPriorities)
/* 41C178 802A73E8 00330821 */ addu $at, $at, $s3
/* 41C17C 802A73EC A020D5D0 */ sb $zero, %lo(D_802AD5D0)($at)
/* 41C180 802A73F0 3C01802B */ lui $at, %hi(D_802AD4B0)
/* 41C17C 802A73EC A020D5D0 */ sb $zero, %lo(battle_menu_moveOptionSortPriorities)($at)
/* 41C180 802A73F0 3C01802B */ lui $at, %hi(battle_menu_moveIndices)
/* 41C184 802A73F4 00230821 */ addu $at, $at, $v1
/* 41C188 802A73F8 AC33D4B0 */ sw $s3, %lo(D_802AD4B0)($at)
/* 41C18C 802A73FC 3C01802B */ lui $at, %hi(D_802AD440)
/* 41C188 802A73F8 AC33D4B0 */ sw $s3, %lo(battle_menu_moveIndices)($at)
/* 41C18C 802A73FC 3C01802B */ lui $at, %hi(battle_menu_moveOptionBPCosts)
/* 41C190 802A7400 00230821 */ addu $at, $at, $v1
/* 41C194 802A7404 AC22D440 */ sw $v0, %lo(D_802AD440)($at)
/* 41C194 802A7404 AC22D440 */ sw $v0, %lo(battle_menu_moveOptionBPCosts)($at)
/* 41C198 802A7408 808201F6 */ lb $v0, 0x1f6($a0)
/* 41C19C 802A740C 3C01802B */ lui $at, %hi(D_802AD510)
/* 41C19C 802A740C 3C01802B */ lui $at, %hi(battle_menu_moveOptionsEnabled)
/* 41C1A0 802A7410 00230821 */ addu $at, $at, $v1
/* 41C1A4 802A7414 AC22D510 */ sw $v0, %lo(D_802AD510)($at)
/* 41C1A4 802A7414 AC22D510 */ sw $v0, %lo(battle_menu_moveOptionsEnabled)($at)
/* 41C1A8 802A7418 8E420000 */ lw $v0, ($s2)
/* 41C1AC 802A741C 3C01802B */ lui $at, %hi(D_802AD2C0)
/* 41C1AC 802A741C 3C01802B */ lui $at, %hi(battle_menu_moveOptionNames)
/* 41C1B0 802A7420 00230821 */ addu $at, $at, $v1
/* 41C1B4 802A7424 AC22D2C0 */ sw $v0, %lo(D_802AD2C0)($at)
/* 41C1B4 802A7424 AC22D2C0 */ sw $v0, %lo(battle_menu_moveOptionNames)($at)
/* 41C1B8 802A7428 8E420008 */ lw $v0, 8($s2)
/* 41C1BC 802A742C 3C01802B */ lui $at, %hi(D_802AD380)
/* 41C1BC 802A742C 3C01802B */ lui $at, %hi(battle_menu_moveOptionDisplayCostReductions)
/* 41C1C0 802A7430 00230821 */ addu $at, $at, $v1
/* 41C1C4 802A7434 AC20D380 */ sw $zero, %lo(D_802AD380)($at)
/* 41C1C8 802A7438 3C01802B */ lui $at, %hi(D_802AD3E0)
/* 41C1C4 802A7434 AC20D380 */ sw $zero, %lo(battle_menu_moveOptionDisplayCostReductions)($at)
/* 41C1C8 802A7438 3C01802B */ lui $at, %hi(battle_menu_moveOptionDisplayCostReductionColors)
/* 41C1CC 802A743C 00230821 */ addu $at, $at, $v1
/* 41C1D0 802A7440 AC20D3E0 */ sw $zero, %lo(D_802AD3E0)($at)
/* 41C1D4 802A7444 3C01802B */ lui $at, %hi(D_802AD570)
/* 41C1D0 802A7440 AC20D3E0 */ sw $zero, %lo(battle_menu_moveOptionDisplayCostReductionColors)($at)
/* 41C1D4 802A7444 3C01802B */ lui $at, %hi(battle_menu_moveOptionDescriptions)
/* 41C1D8 802A7448 00230821 */ addu $at, $at, $v1
/* 41C1DC 802A744C AC22D570 */ sw $v0, %lo(D_802AD570)($at)
/* 41C1DC 802A744C AC22D570 */ sw $v0, %lo(battle_menu_moveOptionDescriptions)($at)
/* 41C1E0 802A7450 92C2020E */ lbu $v0, 0x20e($s6)
/* 41C1E4 802A7454 26730001 */ addiu $s3, $s3, 1
/* 41C1E8 802A7458 0262102A */ slt $v0, $s3, $v0
@ -1883,10 +1883,10 @@ glabel L802A72E4_41C074
/* 41C200 802A7470 82DE0052 */ lb $fp, 0x52($s6)
/* 41C204 802A7474 92C2020E */ lbu $v0, 0x20e($s6)
/* 41C208 802A7478 24030001 */ addiu $v1, $zero, 1
/* 41C20C 802A747C 3C01802B */ lui $at, %hi(D_802AD4A0)
/* 41C210 802A7480 AC23D4A0 */ sw $v1, %lo(D_802AD4A0)($at)
/* 41C214 802A7484 3C01802B */ lui $at, %hi(D_802AD4A4)
/* 41C218 802A7488 AC22D4A4 */ sw $v0, %lo(D_802AD4A4)($at)
/* 41C20C 802A747C 3C01802B */ lui $at, %hi(battle_menu_hasSpiritsMenu)
/* 41C210 802A7480 AC23D4A0 */ sw $v1, %lo(battle_menu_hasSpiritsMenu)($at)
/* 41C214 802A7484 3C01802B */ lui $at, %hi(battle_menu_moveOptionCount)
/* 41C218 802A7488 AC22D4A4 */ sw $v0, %lo(battle_menu_moveOptionCount)($at)
/* 41C21C 802A748C 3C01802B */ lui $at, %hi(D_802AD4A8)
/* 41C220 802A7490 AC3ED4A8 */ sw $fp, %lo(D_802AD4A8)($at)
/* 41C224 802A7494 0C0A89A1 */ jal func_802A2684
@ -2343,8 +2343,8 @@ glabel L802A7A24_41C7B4
/* 41C88C 802A7AFC 3C01802B */ lui $at, %hi(D_802AD640)
/* 41C890 802A7B00 00230821 */ addu $at, $at, $v1
/* 41C894 802A7B04 AC24D640 */ sw $a0, %lo(D_802AD640)($at)
/* 41C898 802A7B08 3C04802B */ lui $a0, %hi(D_802AB490)
/* 41C89C 802A7B0C 2484B490 */ addiu $a0, $a0, %lo(D_802AB490)
/* 41C898 802A7B08 3C04802B */ lui $a0, %hi(battle_menu_leftJustfiedMessages)
/* 41C89C 802A7B0C 2484B490 */ addiu $a0, $a0, %lo(battle_menu_leftJustfiedMessages)
/* 41C8A0 802A7B10 8C820024 */ lw $v0, 0x24($a0)
/* 41C8A4 802A7B14 3C09802B */ lui $t1, %hi(D_802AB488)
/* 41C8A8 802A7B18 2529B488 */ addiu $t1, $t1, %lo(D_802AB488)

View File

@ -2306,7 +2306,7 @@ D_802AD008 = 0x802AD008;
D_802AD000 = 0x802AD000;
D_802AD068 = 0x802AD068;
D_802AD001 = 0x802AD001;
D_802AD0AC = 0x802AD0AC;
main_menu_numOptions = 0x802AD0AC;
D_802AD028 = 0x802AD028;
D_802AD010 = 0x802AD010;
D_802AD040 = 0x802AD040;
@ -2325,7 +2325,7 @@ D_802AD070 = 0x802AD070;
D_802AD06B = 0x802AD06B;
D_802AD069 = 0x802AD069;
D_802AD06A = 0x802AD06A;
D_802AD078 = 0x802AD078;
main_battle_menu_iconScripts = 0x802AD078;
D_80292C00 = 0x80292C00;
D_80292BD8 = 0x80292BD8;
D_80292CF4 = 0x80292CF4;
@ -2337,45 +2337,45 @@ D_802AD00A = 0x802AD00A;
D_802AD06C = 0x802AD06C;
D_802AD002 = 0x802AD002;
D_802AD003 = 0x802AD003;
D_802AD0D0 = 0x802AD0D0;
battle_menu_isEnabled = 0x802AD0D0;
D_802AD0EB = 0x802AD0EB;
jtbl_802AB770 = 0x802AB770;
D_802AB7F0 = 0x802AB7F0;
D_802AB7F8 = 0x802AB7F8;
D_802AB800 = 0x802AB800;
D_802AD090 = 0x802AD090;
battle_menu_messageIDs = 0x802AD090;
D_802AD104 = 0x802AD104;
D_802AD4A8 = 0x802AD4A8;
D_802AD4A4 = 0x802AD4A4;
D_802AD108 = 0x802AD108;
D_802AD10C = 0x802AD10C;
D_802AD109 = 0x802AD109;
battle_menu_moveOptionCount = 0x802AD4A4;
battle_menu_moveState = 0x802AD108;
battle_menu_moveScrollLine = 0x802AD10C;
battle_menu_moveCursorPos = 0x802AD109;
D_802AD10A = 0x802AD10A;
D_802AD10E = 0x802AD10E;
D_802AD10D = 0x802AD10D;
D_802AD116 = 0x802AD116;
battle_menu_moveTextOpacity = 0x802AD116;
D_802AD10F = 0x802AD10F;
D_802AD110 = 0x802AD110;
battle_menu_moveScrollOffset = 0x802AD110;
D_802AD112 = 0x802AD112;
D_802AD600 = 0x802AD600;
D_802AD4A0 = 0x802AD4A0;
D_802AD128 = 0x802AD128;
D_802AD118 = 0x802AD118;
D_802AD11C = 0x802AD11C;
D_802AD120 = 0x802AD120;
D_802AD188 = 0x802AD188;
D_802AD190 = 0x802AD190;
D_802AD114 = 0x802AD114;
battle_menu_moveOptionActive = 0x802AD600;
battle_menu_hasSpiritsMenu = 0x802AD4A0;
battle_menu_moveOptionIconIDs = 0x802AD128;
battle_menu_moveCursorIcon = 0x802AD118;
battle_menu_moveUpArrowIcon = 0x802AD11C;
battle_menu_moveDownArrowIcon = 0x802AD120;
battle_menu_moveTitleIcon = 0x802AD188;
battle_menu_moveOptionCostUnitIconIDs = 0x802AD190;
battle_menu_moveTextColor = 0x802AD114;
jtbl_802AB808 = 0x802AB808;
D_802AD1F0 = 0x802AD1F0;
D_802AD1F2 = 0x802AD1F2;
D_802AD1F8 = 0x802AD1F8;
D_802AD5D0 = 0x802AD5D0;
D_802AD320 = 0x802AD320;
D_802AD440 = 0x802AD440;
D_802AD260 = 0x802AD260;
battle_menu_moveX = 0x802AD1F0;
battle_menu_moveY = 0x802AD1F2;
battle_menu_moveOptionIndexMap = 0x802AD1F8;
battle_menu_moveOptionSortPriorities = 0x802AD5D0;
battle_menu_moveOptionDisplayCosts = 0x802AD320;
battle_menu_moveOptionBPCosts = 0x802AD440;
battle_menu_moveOptionIconScripts = 0x802AD260;
D_80108974 = 0x80108974;
D_802AD3E0 = 0x802AD3E0;
battle_menu_moveOptionDisplayCostReductionColors = 0x802AD3E0;
D_80107638 = 0x80107638;
D_80107664 = 0x80107664;
D_80107690 = 0x80107690;
@ -2383,18 +2383,18 @@ D_801076E8 = 0x801076E8;
D_80107714 = 0x80107714;
D_80107740 = 0x80107740;
D_802AD4A7 = 0x802AD4A7;
D_802AD510 = 0x802AD510;
battle_menu_moveOptionsEnabled = 0x802AD510;
D_802AD258 = 0x802AD258;
D_802AD5E8 = 0x802AD5E8;
battle_menu_moveOptionCantUseTypes = 0x802AD5E8;
D_802AB340 = 0x802AB340;
D_802AD10B = 0x802AD10B;
jtbl_802AB8C0 = 0x802AB8C0;
D_802AD2C0 = 0x802AD2C0;
D_802AD380 = 0x802AD380;
battle_menu_moveOptionNames = 0x802AD2C0;
battle_menu_moveOptionDisplayCostReductions = 0x802AD380;
D_801076BC = 0x801076BC;
D_8010776C = 0x8010776C;
jtbl_802AB970 = 0x802AB970;
D_802AD570 = 0x802AD570;
battle_menu_moveOptionDescriptions = 0x802AD570;
D_802AB344 = 0x802AB344;
D_802AD608 = 0x802AD608;
D_802AD673 = 0x802AD673;
@ -2431,14 +2431,14 @@ jtbl_802ABB58 = 0x802ABB58;
D_802AD6C0 = 0x802AD6C0;
jtbl_802ABBD8 = 0x802ABBD8;
D_802AB478 = 0x802AB478;
D_802AD0B8 = 0x802AD0B8;
battle_menu_submenuIDs = 0x802AD0B8;
D_802AB4DC = 0x802AB4DC;
D_802AD0E8 = 0x802AD0E8;
battle_menu_isMessageDisabled = 0x802AD0E8;
D_802AB47C = 0x802AB47C;
D_802AB388 = 0x802AB388;
D_802AB4C8 = 0x802AB4C8;
D_802AB4C0 = 0x802AB4C0;
D_802AB348 = 0x802AB348;
battle_menu_centeredMessages = 0x802AB4C0;
battle_menu_iconScripts = 0x802AB348;
D_802AB368 = 0x802AB368;
D_802AB390 = 0x802AB390;
D_802AB4E0 = 0x802AB4E0;
@ -2452,7 +2452,7 @@ D_802AB4F0 = 0x802AB4F0;
D_8008F9C0 = 0x8008F9C0;
D_8008FA4C = 0x8008FA4C;
D_8008FA60 = 0x8008FA60;
D_802AD4B0 = 0x802AD4B0;
battle_menu_moveIndices = 0x802AD4B0;
D_802AD4B3 = 0x802AD4B3;
D_802AD603 = 0x802AD603;
D_802ACCD0 = 0x802ACCD0;
@ -2469,7 +2469,7 @@ D_802AB3F8 = 0x802AB3F8;
D_802AB438 = 0x802AB438;
D_802AD6A8 = 0x802AD6A8;
D_802AB480 = 0x802AB480;
D_802AB490 = 0x802AB490;
battle_menu_leftJustfiedMessages = 0x802AB490;
D_802AB488 = 0x802AB488;
D_802AD670 = 0x802AD670;
D_802AD67B = 0x802AD67B;