mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
asm update
This commit is contained in:
parent
43f11633a3
commit
c61554b7e9
@ -6,8 +6,8 @@ glabel pause_cleanup
|
||||
/* 137A4C 8024470C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 137A50 80244710 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 137A54 80244714 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 137A58 80244718 3C118027 */ lui $s1, 0x8027
|
||||
/* 137A5C 8024471C 263100E8 */ addiu $s1, $s1, 0xe8
|
||||
/* 137A58 80244718 3C118027 */ lui $s1, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 137A5C 8024471C 263100E8 */ addiu $s1, $s1, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 137A60 80244720 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
.L80244724:
|
||||
/* 137A64 80244724 8E240000 */ lw $a0, ($s1)
|
||||
|
@ -8,12 +8,12 @@ glabel pause_handle_input
|
||||
/* 137770 80244430 AFB60048 */ sw $s6, 0x48($sp)
|
||||
/* 137774 80244434 00A0B02D */ daddu $s6, $a1, $zero
|
||||
/* 137778 80244438 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 13777C 8024443C 3C028027 */ lui $v0, 0x8027
|
||||
/* 137780 80244440 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 13777C 8024443C 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 137780 80244440 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 137784 80244444 3C05F840 */ lui $a1, 0xf840
|
||||
/* 137788 80244448 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 13778C 8024444C 3C138027 */ lui $s3, 0x8027
|
||||
/* 137790 80244450 8E7300C8 */ lw $s3, 0xc8($s3)
|
||||
/* 13778C 8024444C 3C138027 */ lui $s3, %hi(gPauseMenuCurrentDescString)
|
||||
/* 137790 80244450 8E7300C8 */ lw $s3, %lo(gPauseMenuCurrentDescString)($s3)
|
||||
/* 137794 80244454 AFBF004C */ sw $ra, 0x4c($sp)
|
||||
/* 137798 80244458 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 13779C 8024445C AFB20038 */ sw $s2, 0x38($sp)
|
||||
@ -46,10 +46,10 @@ glabel pause_handle_input
|
||||
/* 137800 802444C0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 137804 802444C4 3C05F840 */ lui $a1, 0xf840
|
||||
/* 137808 802444C8 34A55BDE */ ori $a1, $a1, 0x5bde
|
||||
/* 13780C 802444CC 3C108027 */ lui $s0, 0x8027
|
||||
/* 137810 802444D0 261000C4 */ addiu $s0, $s0, 0xc4
|
||||
/* 137814 802444D4 3C118027 */ lui $s1, 0x8027
|
||||
/* 137818 802444D8 263100C0 */ addiu $s1, $s1, 0xc0
|
||||
/* 13780C 802444CC 3C108027 */ lui $s0, %hi(gPauseMenuPressedButtons)
|
||||
/* 137810 802444D0 261000C4 */ addiu $s0, $s0, %lo(gPauseMenuPressedButtons)
|
||||
/* 137814 802444D4 3C118027 */ lui $s1, %hi(gPauseMenuHeldButtons)
|
||||
/* 137818 802444D8 263100C0 */ addiu $s1, $s1, %lo(gPauseMenuHeldButtons)
|
||||
/* 13781C 802444DC AE150000 */ sw $s5, ($s0)
|
||||
/* 137820 802444E0 0C0B1EAF */ jal get_variable
|
||||
/* 137824 802444E4 AE360000 */ sw $s6, ($s1)
|
||||
@ -62,8 +62,8 @@ glabel pause_handle_input
|
||||
/* 13783C 802444FC 30821000 */ andi $v0, $a0, 0x1000
|
||||
/* 137840 80244500 14400007 */ bnez $v0, .L80244520
|
||||
/* 137844 80244504 00000000 */ nop
|
||||
/* 137848 80244508 3C028027 */ lui $v0, 0x8027
|
||||
/* 13784C 8024450C 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 137848 80244508 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 13784C 8024450C 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 137850 80244510 1440000B */ bnez $v0, .L80244540
|
||||
/* 137854 80244514 30824000 */ andi $v0, $a0, 0x4000
|
||||
/* 137858 80244518 10400009 */ beqz $v0, .L80244540
|
||||
@ -80,8 +80,8 @@ glabel pause_handle_input
|
||||
.L80244540:
|
||||
/* 137880 80244540 3C048027 */ lui $a0, 0x8027
|
||||
/* 137884 80244544 24840118 */ addiu $a0, $a0, 0x118
|
||||
/* 137888 80244548 3C038027 */ lui $v1, 0x8027
|
||||
/* 13788C 8024454C 8C6300CC */ lw $v1, 0xcc($v1)
|
||||
/* 137888 80244548 3C038027 */ lui $v1, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13788C 8024454C 8C6300CC */ lw $v1, %lo(gPauseMenuCurrentDescIconScript)($v1)
|
||||
/* 137890 80244550 8C820000 */ lw $v0, ($a0)
|
||||
/* 137894 80244554 54620001 */ bnel $v1, $v0, .L8024455C
|
||||
/* 137898 80244558 AC830000 */ sw $v1, ($a0)
|
||||
@ -125,8 +125,8 @@ glabel pause_handle_input
|
||||
/* 137924 802445E4 3C018027 */ lui $at, 0x8027
|
||||
/* 137928 802445E8 AC20010C */ sw $zero, 0x10c($at)
|
||||
.L802445EC:
|
||||
/* 13792C 802445EC 3C028027 */ lui $v0, 0x8027
|
||||
/* 137930 802445F0 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13792C 802445EC 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 137930 802445F0 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 137934 802445F4 30420008 */ andi $v0, $v0, 8
|
||||
/* 137938 802445F8 10400008 */ beqz $v0, .L8024461C
|
||||
/* 13793C 802445FC 00000000 */ nop
|
||||
@ -138,8 +138,8 @@ glabel pause_handle_input
|
||||
/* 137954 80244614 AC620000 */ sw $v0, ($v1)
|
||||
/* 137958 80244618 AC600000 */ sw $zero, ($v1)
|
||||
.L8024461C:
|
||||
/* 13795C 8024461C 3C028027 */ lui $v0, 0x8027
|
||||
/* 137960 80244620 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13795C 8024461C 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 137960 80244620 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 137964 80244624 30420004 */ andi $v0, $v0, 4
|
||||
/* 137968 80244628 1040000B */ beqz $v0, .L80244658
|
||||
/* 13796C 8024462C 00000000 */ nop
|
||||
|
@ -22,8 +22,8 @@ glabel pause_init
|
||||
/* 1373E4 802440A4 26731ECC */ addiu $s3, $s3, 0x1ecc
|
||||
/* 1373E8 802440A8 3C108025 */ lui $s0, %hi(gPauseMenuIconScripts)
|
||||
/* 1373EC 802440AC 2610EF60 */ addiu $s0, $s0, %lo(gPauseMenuIconScripts)
|
||||
/* 1373F0 802440B0 3C128027 */ lui $s2, 0x8027
|
||||
/* 1373F4 802440B4 265200E8 */ addiu $s2, $s2, 0xe8
|
||||
/* 1373F0 802440B0 3C128027 */ lui $s2, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 1373F4 802440B4 265200E8 */ addiu $s2, $s2, %lo(gPauseMenuCommonIconIDs)
|
||||
.L802440B8:
|
||||
/* 1373F8 802440B8 0C050529 */ jal create_icon
|
||||
/* 1373FC 802440BC 8E040000 */ lw $a0, ($s0)
|
||||
@ -46,8 +46,8 @@ glabel pause_init
|
||||
/* 13743C 802440FC 24050004 */ addiu $a1, $zero, 4
|
||||
/* 137440 80244100 3C108025 */ lui $s0, %hi(gPauseMenuTabs)
|
||||
/* 137444 80244104 2610EF80 */ addiu $s0, $s0, %lo(gPauseMenuTabs)
|
||||
/* 137448 80244108 3C028027 */ lui $v0, 0x8027
|
||||
/* 13744C 8024410C 8C4200E8 */ lw $v0, 0xe8($v0)
|
||||
/* 137448 80244108 3C028027 */ lui $v0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 13744C 8024410C 8C4200E8 */ lw $v0, %lo(gPauseMenuCommonIconIDs)($v0)
|
||||
/* 137450 80244110 3C018027 */ lui $at, 0x8027
|
||||
/* 137454 80244114 AC2200D0 */ sw $v0, 0xd0($at)
|
||||
/* 137458 80244118 0C051FCC */ jal func_80147F30
|
||||
@ -62,12 +62,12 @@ glabel pause_init
|
||||
/* 13747C 8024413C AC20010C */ sw $zero, 0x10c($at)
|
||||
/* 137480 80244140 3C018027 */ lui $at, 0x8027
|
||||
/* 137484 80244144 AC200118 */ sw $zero, 0x118($at)
|
||||
/* 137488 80244148 3C018027 */ lui $at, 0x8027
|
||||
/* 13748C 8024414C AC2000C8 */ sw $zero, 0xc8($at)
|
||||
/* 137490 80244150 3C018027 */ lui $at, 0x8027
|
||||
/* 137494 80244154 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 137498 80244158 3C018027 */ lui $at, 0x8027
|
||||
/* 13749C 8024415C A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 137488 80244148 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13748C 8024414C AC2000C8 */ sw $zero, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 137490 80244150 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 137494 80244154 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 137498 80244158 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13749C 8024415C A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
.L80244160:
|
||||
/* 1374A0 80244160 8E040000 */ lw $a0, ($s0)
|
||||
/* 1374A4 80244164 8C82000C */ lw $v0, 0xc($a0)
|
||||
|
@ -55,8 +55,8 @@ glabel pause_tabs_draw_badges
|
||||
/* 1380C0 80244D80 8E040004 */ lw $a0, 4($s0)
|
||||
/* 1380C4 80244D84 0C0511F8 */ jal draw_icon_2
|
||||
/* 1380C8 80244D88 00000000 */ nop
|
||||
/* 1380CC 80244D8C 3C028027 */ lui $v0, 0x8027
|
||||
/* 1380D0 80244D90 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 1380CC 80244D8C 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 1380D0 80244D90 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 1380D4 80244D94 1440000C */ bnez $v0, .L80244DC8
|
||||
/* 1380D8 80244D98 00000000 */ nop
|
||||
/* 1380DC 80244D9C 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -55,8 +55,8 @@ glabel pause_tabs_draw_items
|
||||
/* 1381E8 80244EA8 8E040008 */ lw $a0, 8($s0)
|
||||
/* 1381EC 80244EAC 0C0511F8 */ jal draw_icon_2
|
||||
/* 1381F0 80244EB0 00000000 */ nop
|
||||
/* 1381F4 80244EB4 3C028027 */ lui $v0, 0x8027
|
||||
/* 1381F8 80244EB8 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 1381F4 80244EB4 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 1381F8 80244EB8 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 1381FC 80244EBC 1440000C */ bnez $v0, .L80244EF0
|
||||
/* 138200 80244EC0 00000000 */ nop
|
||||
/* 138204 80244EC4 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -55,8 +55,8 @@ glabel pause_tabs_draw_map
|
||||
/* 138560 80245220 8E040014 */ lw $a0, 0x14($s0)
|
||||
/* 138564 80245224 0C0511F8 */ jal draw_icon_2
|
||||
/* 138568 80245228 00000000 */ nop
|
||||
/* 13856C 8024522C 3C028027 */ lui $v0, 0x8027
|
||||
/* 138570 80245230 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 13856C 8024522C 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 138570 80245230 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 138574 80245234 1440000C */ bnez $v0, .L80245268
|
||||
/* 138578 80245238 00000000 */ nop
|
||||
/* 13857C 8024523C 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -55,8 +55,8 @@ glabel pause_tabs_draw_party
|
||||
/* 138310 80244FD0 8E04000C */ lw $a0, 0xc($s0)
|
||||
/* 138314 80244FD4 0C0511F8 */ jal draw_icon_2
|
||||
/* 138318 80244FD8 00000000 */ nop
|
||||
/* 13831C 80244FDC 3C028027 */ lui $v0, 0x8027
|
||||
/* 138320 80244FE0 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 13831C 80244FDC 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 138320 80244FE0 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 138324 80244FE4 1440000C */ bnez $v0, .L80245018
|
||||
/* 138328 80244FE8 00000000 */ nop
|
||||
/* 13832C 80244FEC 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -55,8 +55,8 @@ glabel pause_tabs_draw_spirits
|
||||
/* 138438 802450F8 8E040010 */ lw $a0, 0x10($s0)
|
||||
/* 13843C 802450FC 0C0511F8 */ jal draw_icon_2
|
||||
/* 138440 80245100 00000000 */ nop
|
||||
/* 138444 80245104 3C028027 */ lui $v0, 0x8027
|
||||
/* 138448 80245108 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 138444 80245104 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 138448 80245108 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 13844C 8024510C 1440000C */ bnez $v0, .L80245140
|
||||
/* 138450 80245110 00000000 */ nop
|
||||
/* 138454 80245114 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -55,8 +55,8 @@ glabel pause_tabs_draw_stats
|
||||
/* 137F98 80244C58 8E040000 */ lw $a0, ($s0)
|
||||
/* 137F9C 80244C5C 0C0511F8 */ jal draw_icon_2
|
||||
/* 137FA0 80244C60 00000000 */ nop
|
||||
/* 137FA4 80244C64 3C028027 */ lui $v0, 0x8027
|
||||
/* 137FA8 80244C68 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 137FA4 80244C64 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 137FA8 80244C68 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 137FAC 80244C6C 1440000C */ bnez $v0, .L80244CA0
|
||||
/* 137FB0 80244C70 00000000 */ nop
|
||||
/* 137FB4 80244C74 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -6,8 +6,8 @@ glabel pause_tabs_handle_input
|
||||
/* 138698 80245358 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13869C 8024535C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1386A0 80245360 3C030004 */ lui $v1, 4
|
||||
/* 1386A4 80245364 3C028027 */ lui $v0, 0x8027
|
||||
/* 1386A8 80245368 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 1386A4 80245364 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 1386A8 80245368 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 1386AC 8024536C 34632000 */ ori $v1, $v1, 0x2000
|
||||
/* 1386B0 80245370 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1386B4 80245374 00431024 */ and $v0, $v0, $v1
|
||||
@ -45,8 +45,8 @@ glabel pause_tabs_handle_input
|
||||
/* 13872C 802453EC 00000000 */ nop
|
||||
.L802453F0:
|
||||
/* 138730 802453F0 3C030008 */ lui $v1, 8
|
||||
/* 138734 802453F4 3C028027 */ lui $v0, 0x8027
|
||||
/* 138738 802453F8 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 138734 802453F4 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 138738 802453F8 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13873C 802453FC 34630010 */ ori $v1, $v1, 0x10
|
||||
/* 138740 80245400 00431024 */ and $v0, $v0, $v1
|
||||
/* 138744 80245404 1040001D */ beqz $v0, .L8024547C
|
||||
@ -122,8 +122,8 @@ glabel pause_tabs_handle_input
|
||||
/* 138850 80245510 0C05272D */ jal play_sound
|
||||
/* 138854 80245514 AE220000 */ sw $v0, ($s1)
|
||||
.L80245518:
|
||||
/* 138858 80245518 3C028027 */ lui $v0, 0x8027
|
||||
/* 13885C 8024551C 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 138858 80245518 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13885C 8024551C 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 138860 80245520 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 138864 80245524 10400016 */ beqz $v0, .L80245580
|
||||
/* 138868 80245528 00000000 */ nop
|
||||
@ -146,8 +146,8 @@ glabel pause_tabs_handle_input
|
||||
/* 1388AC 8024556C 82020001 */ lb $v0, 1($s0)
|
||||
/* 1388B0 80245570 00511021 */ addu $v0, $v0, $s1
|
||||
/* 1388B4 80245574 90420000 */ lbu $v0, ($v0)
|
||||
/* 1388B8 80245578 3C018027 */ lui $at, 0x8027
|
||||
/* 1388BC 8024557C A02200D4 */ sb $v0, 0xd4($at)
|
||||
/* 1388B8 80245578 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 1388BC 8024557C A02200D4 */ sb $v0, %lo(gPauseMenuCurrentTab)($at)
|
||||
.L80245580:
|
||||
/* 1388C0 80245580 82020001 */ lb $v0, 1($s0)
|
||||
/* 1388C4 80245584 00021080 */ sll $v0, $v0, 2
|
||||
@ -158,9 +158,9 @@ glabel pause_tabs_handle_input
|
||||
/* 1388D8 80245598 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1388DC 8024559C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1388E0 802455A0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1388E4 802455A4 3C018027 */ lui $at, 0x8027
|
||||
/* 1388E8 802455A8 AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 1388EC 802455AC 3C018027 */ lui $at, 0x8027
|
||||
/* 1388F0 802455B0 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 1388E4 802455A4 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 1388E8 802455A8 AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 1388EC 802455AC 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 1388F0 802455B0 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 1388F4 802455B4 03E00008 */ jr $ra
|
||||
/* 1388F8 802455B8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -24,8 +24,8 @@ glabel pause_textbox_draw_contents
|
||||
/* 1368FC 802435BC 1040000B */ beqz $v0, .L802435EC
|
||||
/* 136900 802435C0 02752821 */ addu $a1, $s3, $s5
|
||||
/* 136904 802435C4 24A5FFFC */ addiu $a1, $a1, -4
|
||||
/* 136908 802435C8 3C108027 */ lui $s0, 0x8027
|
||||
/* 13690C 802435CC 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 136908 802435C8 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 13690C 802435CC 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 136910 802435D0 8E040004 */ lw $a0, 4($s0)
|
||||
/* 136914 802435D4 0C051261 */ jal set_icon_render_pos
|
||||
/* 136918 802435D8 26860004 */ addiu $a2, $s4, 4
|
||||
@ -40,8 +40,8 @@ glabel pause_textbox_draw_contents
|
||||
/* 136938 802435F8 1040000B */ beqz $v0, .L80243628
|
||||
/* 13693C 802435FC 02752821 */ addu $a1, $s3, $s5
|
||||
/* 136940 80243600 24A5FFFC */ addiu $a1, $a1, -4
|
||||
/* 136944 80243604 3C108027 */ lui $s0, 0x8027
|
||||
/* 136948 80243608 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 136944 80243604 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 136948 80243608 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 13694C 8024360C 02963021 */ addu $a2, $s4, $s6
|
||||
/* 136950 80243610 8E040008 */ lw $a0, 8($s0)
|
||||
/* 136954 80243614 0C051261 */ jal set_icon_render_pos
|
||||
@ -134,8 +134,8 @@ glabel pause_textbox_draw_contents
|
||||
/* 136AAC 8024376C 26860010 */ addiu $a2, $s4, 0x10
|
||||
/* 136AB0 80243770 0060102D */ daddu $v0, $v1, $zero
|
||||
/* 136AB4 80243774 AC500000 */ sw $s0, ($v0)
|
||||
/* 136AB8 80243778 3C108027 */ lui $s0, 0x8027
|
||||
/* 136ABC 8024377C 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 136AB8 80243778 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 136ABC 8024377C 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 136AC0 80243780 AC440004 */ sw $a0, 4($v0)
|
||||
/* 136AC4 80243784 8E04000C */ lw $a0, 0xc($s0)
|
||||
/* 136AC8 80243788 24630008 */ addiu $v1, $v1, 8
|
||||
|
@ -460,9 +460,9 @@ glabel pause_tutorial_draw_contents
|
||||
/* 13723C 80243EFC 8C42F090 */ lw $v0, -0xf70($v0)
|
||||
/* 137240 80243F00 8FAE0128 */ lw $t6, 0x128($sp)
|
||||
/* 137244 80243F04 00021080 */ sll $v0, $v0, 2
|
||||
/* 137248 80243F08 3C048027 */ lui $a0, 0x8027
|
||||
/* 137248 80243F08 3C048027 */ lui $a0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 13724C 80243F0C 00822021 */ addu $a0, $a0, $v0
|
||||
/* 137250 80243F10 8C8400E8 */ lw $a0, 0xe8($a0)
|
||||
/* 137250 80243F10 8C8400E8 */ lw $a0, %lo(gPauseMenuCommonIconIDs)($a0)
|
||||
/* 137254 80243F14 0C051261 */ jal set_icon_render_pos
|
||||
/* 137258 80243F18 25C60034 */ addiu $a2, $t6, 0x34
|
||||
/* 13725C 80243F1C 8EA20000 */ lw $v0, ($s5)
|
||||
@ -471,9 +471,9 @@ glabel pause_tutorial_draw_contents
|
||||
/* 137268 80243F28 00220821 */ addu $at, $at, $v0
|
||||
/* 13726C 80243F2C 8C22F090 */ lw $v0, -0xf70($at)
|
||||
/* 137270 80243F30 00021080 */ sll $v0, $v0, 2
|
||||
/* 137274 80243F34 3C048027 */ lui $a0, 0x8027
|
||||
/* 137274 80243F34 3C048027 */ lui $a0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 137278 80243F38 00822021 */ addu $a0, $a0, $v0
|
||||
/* 13727C 80243F3C 8C8400E8 */ lw $a0, 0xe8($a0)
|
||||
/* 13727C 80243F3C 8C8400E8 */ lw $a0, %lo(gPauseMenuCommonIconIDs)($a0)
|
||||
/* 137280 80243F40 0C051280 */ jal set_icon_flags
|
||||
/* 137284 80243F44 34058000 */ ori $a1, $zero, 0x8000
|
||||
/* 137288 80243F48 8EA20000 */ lw $v0, ($s5)
|
||||
@ -483,9 +483,9 @@ glabel pause_tutorial_draw_contents
|
||||
/* 137298 80243F58 8C22F090 */ lw $v0, -0xf70($at)
|
||||
/* 13729C 80243F5C 3C053F00 */ lui $a1, 0x3f00
|
||||
/* 1372A0 80243F60 00021080 */ sll $v0, $v0, 2
|
||||
/* 1372A4 80243F64 3C048027 */ lui $a0, 0x8027
|
||||
/* 1372A4 80243F64 3C048027 */ lui $a0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 1372A8 80243F68 00822021 */ addu $a0, $a0, $v0
|
||||
/* 1372AC 80243F6C 8C8400E8 */ lw $a0, 0xe8($a0)
|
||||
/* 1372AC 80243F6C 8C8400E8 */ lw $a0, %lo(gPauseMenuCommonIconIDs)($a0)
|
||||
/* 1372B0 80243F70 0C051308 */ jal func_80144C20
|
||||
/* 1372B4 80243F74 00000000 */ nop
|
||||
/* 1372B8 80243F78 8EA20000 */ lw $v0, ($s5)
|
||||
@ -494,14 +494,14 @@ glabel pause_tutorial_draw_contents
|
||||
/* 1372C4 80243F84 00220821 */ addu $at, $at, $v0
|
||||
/* 1372C8 80243F88 8C22F090 */ lw $v0, -0xf70($at)
|
||||
/* 1372CC 80243F8C 00021080 */ sll $v0, $v0, 2
|
||||
/* 1372D0 80243F90 3C048027 */ lui $a0, 0x8027
|
||||
/* 1372D0 80243F90 3C048027 */ lui $a0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 1372D4 80243F94 00822021 */ addu $a0, $a0, $v0
|
||||
/* 1372D8 80243F98 8C8400E8 */ lw $a0, 0xe8($a0)
|
||||
/* 1372D8 80243F98 8C8400E8 */ lw $a0, %lo(gPauseMenuCommonIconIDs)($a0)
|
||||
/* 1372DC 80243F9C 0C0511F8 */ jal draw_icon_2
|
||||
/* 1372E0 80243FA0 00000000 */ nop
|
||||
/* 1372E4 80243FA4 8EA20000 */ lw $v0, ($s5)
|
||||
/* 1372E8 80243FA8 3C108027 */ lui $s0, 0x8027
|
||||
/* 1372EC 80243FAC 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 1372E8 80243FA8 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 1372EC 80243FAC 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 1372F0 80243FB0 00021080 */ sll $v0, $v0, 2
|
||||
/* 1372F4 80243FB4 3C038025 */ lui $v1, 0x8025
|
||||
/* 1372F8 80243FB8 00621821 */ addu $v1, $v1, $v0
|
||||
|
@ -17,8 +17,8 @@ glabel pause_update_cursor
|
||||
/* 13684C 8024350C 50400001 */ beql $v0, $zero, .L80243514
|
||||
/* 136850 80243510 240500FF */ addiu $a1, $zero, 0xff
|
||||
.L80243514:
|
||||
/* 136854 80243514 3C108027 */ lui $s0, 0x8027
|
||||
/* 136858 80243518 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 136854 80243514 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 136858 80243518 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 13685C 8024351C 0C0513AC */ jal icon_set_opacity
|
||||
/* 136860 80243520 8E040000 */ lw $a0, ($s0)
|
||||
/* 136864 80243524 8E040000 */ lw $a0, ($s0)
|
||||
|
@ -248,8 +248,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13ABEC 802478AC 1440FFFB */ bnez $v0, .L8024789C
|
||||
/* 13ABF0 802478B0 26520002 */ addiu $s2, $s2, 2
|
||||
.L802478B4:
|
||||
/* 13ABF4 802478B4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13ABF8 802478B8 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13ABF4 802478B4 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13ABF8 802478B8 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13ABFC 802478BC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 13AC00 802478C0 14620029 */ bne $v1, $v0, .L80247968
|
||||
/* 13AC04 802478C4 24020001 */ addiu $v0, $zero, 1
|
||||
@ -518,8 +518,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13AFEC 80247CAC 000210C0 */ sll $v0, $v0, 3
|
||||
/* 13AFF0 80247CB0 004A1021 */ addu $v0, $v0, $t2
|
||||
/* 13AFF4 80247CB4 8C420000 */ lw $v0, ($v0)
|
||||
/* 13AFF8 80247CB8 3C018027 */ lui $at, 0x8027
|
||||
/* 13AFFC 80247CBC AC2200CC */ sw $v0, 0xcc($at)
|
||||
/* 13AFF8 80247CB8 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13AFFC 80247CBC AC2200CC */ sw $v0, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
.L80247CC0:
|
||||
/* 13B000 80247CC0 8FAB0084 */ lw $t3, 0x84($sp)
|
||||
/* 13B004 80247CC4 1560000F */ bnez $t3, .L80247D04
|
||||
@ -935,8 +935,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13B608 802482C8 00000000 */ nop
|
||||
/* 13B60C 802482CC 30630FFF */ andi $v1, $v1, 0xfff
|
||||
/* 13B610 802482D0 00431025 */ or $v0, $v0, $v1
|
||||
/* 13B614 802482D4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13B618 802482D8 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13B614 802482D4 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13B618 802482D8 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13B61C 802482DC ACA20004 */ sw $v0, 4($a1)
|
||||
/* 13B620 802482E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 13B624 802482E4 1462002A */ bne $v1, $v0, .L80248390
|
||||
@ -1460,8 +1460,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13BDE0 80248AA0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 13BDE4 80248AA4 0C04993B */ jal draw_string
|
||||
/* 13BDE8 80248AA8 AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* 13BDEC 80248AAC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13BDF0 80248AB0 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13BDEC 80248AAC 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13BDF0 80248AB0 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13BDF4 80248AB4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 13BDF8 80248AB8 14620050 */ bne $v1, $v0, .L80248BFC
|
||||
/* 13BDFC 80248ABC 00000000 */ nop
|
||||
|
@ -17,8 +17,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C418 802490D8 3C018027 */ lui $at, 0x8027
|
||||
/* 13C41C 802490DC 00220821 */ addu $at, $at, $v0
|
||||
/* 13C420 802490E0 9022028A */ lbu $v0, 0x28a($at)
|
||||
/* 13C424 802490E4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C428 802490E8 8C6300C4 */ lw $v1, 0xc4($v1)
|
||||
/* 13C424 802490E4 3C038027 */ lui $v1, %hi(gPauseMenuPressedButtons)
|
||||
/* 13C428 802490E8 8C6300C4 */ lw $v1, %lo(gPauseMenuPressedButtons)($v1)
|
||||
/* 13C42C 802490EC 14400002 */ bnez $v0, .L802490F8
|
||||
/* 13C430 802490F0 0122001A */ div $zero, $t1, $v0
|
||||
/* 13C434 802490F4 0007000D */ break 7
|
||||
@ -107,8 +107,8 @@ glabel pause_badges_handle_input
|
||||
.L8024921C:
|
||||
/* 13C55C 8024921C 14600005 */ bnez $v1, .L80249234
|
||||
/* 13C560 80249220 00000000 */ nop
|
||||
/* 13C564 80249224 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C568 80249228 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13C564 80249224 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C568 80249228 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13C56C 8024922C 10400003 */ beqz $v0, .L8024923C
|
||||
/* 13C570 80249230 00000000 */ nop
|
||||
.L80249234:
|
||||
@ -125,8 +125,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C598 80249258 3C020001 */ lui $v0, 1
|
||||
/* 13C59C 8024925C 3C108027 */ lui $s0, 0x8027
|
||||
/* 13C5A0 80249260 2610039C */ addiu $s0, $s0, 0x39c
|
||||
/* 13C5A4 80249264 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C5A8 80249268 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13C5A4 80249264 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C5A8 80249268 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13C5AC 8024926C 3C030003 */ lui $v1, 3
|
||||
/* 13C5B0 80249270 00431024 */ and $v0, $v0, $v1
|
||||
/* 13C5B4 80249274 8E030000 */ lw $v1, ($s0)
|
||||
@ -145,8 +145,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C5E4 802492A4 08092543 */ j .L8024950C
|
||||
/* 13C5E8 802492A8 00000000 */ nop
|
||||
.L802492AC:
|
||||
/* 13C5EC 802492AC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C5F0 802492B0 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13C5EC 802492AC 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C5F0 802492B0 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13C5F4 802492B4 34422000 */ ori $v0, $v0, 0x2000
|
||||
/* 13C5F8 802492B8 00621024 */ and $v0, $v1, $v0
|
||||
/* 13C5FC 802492BC 10400022 */ beqz $v0, .L80249348
|
||||
@ -189,8 +189,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C684 80249344 90A50289 */ lbu $a1, 0x289($a1)
|
||||
.L80249348:
|
||||
/* 13C688 80249348 3C020002 */ lui $v0, 2
|
||||
/* 13C68C 8024934C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C690 80249350 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13C68C 8024934C 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C690 80249350 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13C694 80249354 34420010 */ ori $v0, $v0, 0x10
|
||||
/* 13C698 80249358 00621024 */ and $v0, $v1, $v0
|
||||
/* 13C69C 8024935C 10400030 */ beqz $v0, .L80249420
|
||||
@ -262,8 +262,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C798 80249458 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13C79C 8024945C 10620012 */ beq $v1, $v0, .L802494A8
|
||||
/* 13C7A0 80249460 3C020004 */ lui $v0, 4
|
||||
/* 13C7A4 80249464 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C7A8 80249468 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13C7A4 80249464 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C7A8 80249468 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13C7AC 8024946C 00621024 */ and $v0, $v1, $v0
|
||||
/* 13C7B0 80249470 10400006 */ beqz $v0, .L8024948C
|
||||
/* 13C7B4 80249474 3C020008 */ lui $v0, 8
|
||||
@ -325,13 +325,13 @@ glabel pause_badges_handle_input
|
||||
/* 13C880 80249540 3C018008 */ lui $at, %hi(gItemTable+0x10)
|
||||
/* 13C884 80249544 00220821 */ addu $at, $at, $v0
|
||||
/* 13C888 80249548 8C2278F0 */ lw $v0, %lo(gItemTable+0x10)($at)
|
||||
/* 13C88C 8024954C 3C018027 */ lui $at, 0x8027
|
||||
/* 13C890 80249550 AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13C88C 8024954C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13C890 80249550 AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13C894 80249554 08092566 */ j .L80249598
|
||||
/* 13C898 80249558 00000000 */ nop
|
||||
.L8024955C:
|
||||
/* 13C89C 8024955C 3C018027 */ lui $at, 0x8027
|
||||
/* 13C8A0 80249560 AC2000C8 */ sw $zero, 0xc8($at)
|
||||
/* 13C89C 8024955C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13C8A0 80249560 AC2000C8 */ sw $zero, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13C8A4 80249564 08092564 */ j .L80249590
|
||||
/* 13C8A8 80249568 00000000 */ nop
|
||||
.L8024956C:
|
||||
@ -343,14 +343,14 @@ glabel pause_badges_handle_input
|
||||
.L80249580:
|
||||
/* 13C8C0 80249580 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13C8C4 80249584 00000000 */ nop
|
||||
/* 13C8C8 80249588 3C018027 */ lui $at, 0x8027
|
||||
/* 13C8CC 8024958C AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13C8C8 80249588 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13C8CC 8024958C AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
.L80249590:
|
||||
/* 13C8D0 80249590 3C018027 */ lui $at, 0x8027
|
||||
/* 13C8D4 80249594 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 13C8D0 80249590 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13C8D4 80249594 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
.L80249598:
|
||||
/* 13C8D8 80249598 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C8DC 8024959C 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13C8D8 80249598 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13C8DC 8024959C 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13C8E0 802495A0 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 13C8E4 802495A4 10400017 */ beqz $v0, .L80249604
|
||||
/* 13C8E8 802495A8 00000000 */ nop
|
||||
@ -361,8 +361,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C8FC 802495BC 00000000 */ nop
|
||||
/* 13C900 802495C0 0C05272D */ jal play_sound
|
||||
/* 13C904 802495C4 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13C908 802495C8 3C018027 */ lui $at, 0x8027
|
||||
/* 13C90C 802495CC A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 13C908 802495C8 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13C90C 802495CC A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 13C910 802495D0 08092581 */ j .L80249604
|
||||
/* 13C914 802495D4 00000000 */ nop
|
||||
.L802495D8:
|
||||
|
@ -1130,8 +1130,8 @@ glabel pause_stats_draw_contents
|
||||
/* 139D84 80246A44 080919BF */ j .L802466FC
|
||||
/* 139D88 80246A48 26100014 */ addiu $s0, $s0, 0x14
|
||||
.L80246A4C:
|
||||
/* 139D8C 80246A4C 3C038027 */ lui $v1, 0x8027
|
||||
/* 139D90 80246A50 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 139D8C 80246A4C 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 139D90 80246A50 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 139D94 80246A54 24020001 */ addiu $v0, $zero, 1
|
||||
/* 139D98 80246A58 1462000F */ bne $v1, $v0, .L80246A98
|
||||
/* 139D9C 80246A5C 2404001F */ addiu $a0, $zero, 0x1f
|
||||
|
@ -5,8 +5,8 @@ glabel pause_stats_handle_input
|
||||
/* 139EB4 80246B74 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 139EB8 80246B78 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 139EBC 80246B7C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 139EC0 80246B80 3C028027 */ lui $v0, 0x8027
|
||||
/* 139EC4 80246B84 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 139EC0 80246B80 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 139EC4 80246B84 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 139EC8 80246B88 3C030004 */ lui $v1, 4
|
||||
/* 139ECC 80246B8C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 139ED0 80246B90 AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -43,8 +43,8 @@ glabel pause_stats_handle_input
|
||||
/* 139F48 80246C08 1082FFE6 */ beq $a0, $v0, .L80246BA4
|
||||
/* 139F4C 80246C0C 00000000 */ nop
|
||||
.L80246C10:
|
||||
/* 139F50 80246C10 3C028027 */ lui $v0, 0x8027
|
||||
/* 139F54 80246C14 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 139F50 80246C10 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 139F54 80246C14 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 139F58 80246C18 3C030008 */ lui $v1, 8
|
||||
/* 139F5C 80246C1C 00431024 */ and $v0, $v0, $v1
|
||||
/* 139F60 80246C20 1040001E */ beqz $v0, .L80246C9C
|
||||
@ -80,8 +80,8 @@ glabel pause_stats_handle_input
|
||||
/* 139FD4 80246C94 1082FFE6 */ beq $a0, $v0, .L80246C30
|
||||
/* 139FD8 80246C98 00000000 */ nop
|
||||
.L80246C9C:
|
||||
/* 139FDC 80246C9C 3C028027 */ lui $v0, 0x8027
|
||||
/* 139FE0 80246CA0 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 139FDC 80246C9C 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 139FE0 80246CA0 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 139FE4 80246CA4 3C030001 */ lui $v1, 1
|
||||
/* 139FE8 80246CA8 00431024 */ and $v0, $v0, $v1
|
||||
/* 139FEC 80246CAC 1040001D */ beqz $v0, .L80246D24
|
||||
@ -116,8 +116,8 @@ glabel pause_stats_handle_input
|
||||
/* 13A05C 80246D1C 1082FFE5 */ beq $a0, $v0, .L80246CB4
|
||||
/* 13A060 80246D20 00000000 */ nop
|
||||
.L80246D24:
|
||||
/* 13A064 80246D24 3C028027 */ lui $v0, 0x8027
|
||||
/* 13A068 80246D28 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13A064 80246D24 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13A068 80246D28 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13A06C 80246D2C 3C030002 */ lui $v1, 2
|
||||
/* 13A070 80246D30 00431024 */ and $v0, $v0, $v1
|
||||
/* 13A074 80246D34 10400020 */ beqz $v0, .L80246DB8
|
||||
@ -268,19 +268,19 @@ glabel pause_stats_handle_input
|
||||
/* 13A280 80246F40 8C84F3B8 */ lw $a0, -0xc48($a0)
|
||||
/* 13A284 80246F44 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13A288 80246F48 00912021 */ addu $a0, $a0, $s1
|
||||
/* 13A28C 80246F4C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13A290 80246F50 8C6300C4 */ lw $v1, 0xc4($v1)
|
||||
/* 13A294 80246F54 3C018027 */ lui $at, 0x8027
|
||||
/* 13A298 80246F58 AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13A29C 80246F5C 3C018027 */ lui $at, 0x8027
|
||||
/* 13A2A0 80246F60 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 13A28C 80246F4C 3C038027 */ lui $v1, %hi(gPauseMenuPressedButtons)
|
||||
/* 13A290 80246F50 8C6300C4 */ lw $v1, %lo(gPauseMenuPressedButtons)($v1)
|
||||
/* 13A294 80246F54 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13A298 80246F58 AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13A29C 80246F5C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13A2A0 80246F60 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 13A2A4 80246F64 30634000 */ andi $v1, $v1, 0x4000
|
||||
/* 13A2A8 80246F68 10600005 */ beqz $v1, .L80246F80
|
||||
/* 13A2AC 80246F6C 00000000 */ nop
|
||||
/* 13A2B0 80246F70 0C05272D */ jal play_sound
|
||||
/* 13A2B4 80246F74 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13A2B8 80246F78 3C018027 */ lui $at, 0x8027
|
||||
/* 13A2BC 80246F7C A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 13A2B8 80246F78 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13A2BC 80246F7C A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
.L80246F80:
|
||||
/* 13A2C0 80246F80 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 13A2C4 80246F84 8FB10014 */ lw $s1, 0x14($sp)
|
||||
|
@ -212,8 +212,8 @@ glabel pause_items_draw_contents
|
||||
/* 13CFC8 80249C88 AFA20068 */ sw $v0, 0x68($sp)
|
||||
/* 13CFCC 80249C8C 0040B82D */ daddu $s7, $v0, $zero
|
||||
/* 13CFD0 80249C90 3A027FFE */ xori $v0, $s0, 0x7ffe
|
||||
/* 13CFD4 80249C94 3C038027 */ lui $v1, 0x8027
|
||||
/* 13CFD8 80249C98 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13CFD4 80249C94 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13CFD8 80249C98 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13CFDC 80249C9C 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 13CFE0 80249CA0 AFA20074 */ sw $v0, 0x74($sp)
|
||||
/* 13CFE4 80249CA4 24020003 */ addiu $v0, $zero, 3
|
||||
@ -348,8 +348,8 @@ glabel pause_items_draw_contents
|
||||
/* 13D1CC 80249E8C 000210C0 */ sll $v0, $v0, 3
|
||||
/* 13D1D0 80249E90 004B1021 */ addu $v0, $v0, $t3
|
||||
/* 13D1D4 80249E94 8C420000 */ lw $v0, ($v0)
|
||||
/* 13D1D8 80249E98 3C018027 */ lui $at, 0x8027
|
||||
/* 13D1DC 80249E9C AC2200CC */ sw $v0, 0xcc($at)
|
||||
/* 13D1D8 80249E98 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13D1DC 80249E9C AC2200CC */ sw $v0, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
.L80249EA0:
|
||||
/* 13D1E0 80249EA0 00161400 */ sll $v0, $s6, 0x10
|
||||
/* 13D1E4 80249EA4 000212C3 */ sra $v0, $v0, 0xb
|
||||
@ -509,8 +509,8 @@ glabel pause_items_draw_contents
|
||||
/* 13D424 8024A0E4 00000000 */ nop
|
||||
/* 13D428 8024A0E8 30630FFF */ andi $v1, $v1, 0xfff
|
||||
/* 13D42C 8024A0EC 00431025 */ or $v0, $v0, $v1
|
||||
/* 13D430 8024A0F0 3C038027 */ lui $v1, 0x8027
|
||||
/* 13D434 8024A0F4 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13D430 8024A0F0 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13D434 8024A0F4 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13D438 8024A0F8 ACA20004 */ sw $v0, 4($a1)
|
||||
/* 13D43C 8024A0FC 24020003 */ addiu $v0, $zero, 3
|
||||
/* 13D440 8024A100 1462002A */ bne $v1, $v0, .L8024A1AC
|
||||
@ -678,8 +678,8 @@ glabel pause_items_draw_contents
|
||||
/* 13D698 8024A358 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 13D69C 8024A35C 0C04993B */ jal draw_string
|
||||
/* 13D6A0 8024A360 AFA80014 */ sw $t0, 0x14($sp)
|
||||
/* 13D6A4 8024A364 3C038027 */ lui $v1, 0x8027
|
||||
/* 13D6A8 8024A368 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13D6A4 8024A364 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13D6A8 8024A368 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13D6AC 8024A36C 24020003 */ addiu $v0, $zero, 3
|
||||
/* 13D6B0 8024A370 1462004E */ bne $v1, $v0, .L8024A4AC
|
||||
/* 13D6B4 8024A374 00000000 */ nop
|
||||
|
@ -13,8 +13,8 @@ glabel pause_items_handle_input
|
||||
/* 13DB38 8024A7F8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DB3C 8024A7FC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13DB40 8024A800 906304D2 */ lbu $v1, 0x4d2($v1)
|
||||
/* 13DB44 8024A804 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DB48 8024A808 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13DB44 8024A804 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13DB48 8024A808 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13DB4C 8024A80C 3C098027 */ lui $t1, 0x8027
|
||||
/* 13DB50 8024A810 8D2905C0 */ lw $t1, 0x5c0($t1)
|
||||
/* 13DB54 8024A814 30428000 */ andi $v0, $v0, 0x8000
|
||||
@ -65,8 +65,8 @@ glabel pause_items_handle_input
|
||||
/* 13DBF8 8024A8B8 3C020001 */ lui $v0, 1
|
||||
/* 13DBFC 8024A8BC 3C108027 */ lui $s0, 0x8027
|
||||
/* 13DC00 8024A8C0 261005E4 */ addiu $s0, $s0, 0x5e4
|
||||
/* 13DC04 8024A8C4 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DC08 8024A8C8 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13DC04 8024A8C4 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13DC08 8024A8C8 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13DC0C 8024A8CC 3C030003 */ lui $v1, 3
|
||||
/* 13DC10 8024A8D0 00431024 */ and $v0, $v0, $v1
|
||||
/* 13DC14 8024A8D4 8E030000 */ lw $v1, ($s0)
|
||||
@ -85,8 +85,8 @@ glabel pause_items_handle_input
|
||||
/* 13DC44 8024A904 08092ADB */ j .L8024AB6C
|
||||
/* 13DC48 8024A908 00000000 */ nop
|
||||
.L8024A90C:
|
||||
/* 13DC4C 8024A90C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DC50 8024A910 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13DC4C 8024A90C 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13DC50 8024A910 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13DC54 8024A914 34422000 */ ori $v0, $v0, 0x2000
|
||||
/* 13DC58 8024A918 00621024 */ and $v0, $v1, $v0
|
||||
/* 13DC5C 8024A91C 10400022 */ beqz $v0, .L8024A9A8
|
||||
@ -129,8 +129,8 @@ glabel pause_items_handle_input
|
||||
/* 13DCE4 8024A9A4 90A504D1 */ lbu $a1, 0x4d1($a1)
|
||||
.L8024A9A8:
|
||||
/* 13DCE8 8024A9A8 3C020002 */ lui $v0, 2
|
||||
/* 13DCEC 8024A9AC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DCF0 8024A9B0 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13DCEC 8024A9AC 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13DCF0 8024A9B0 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13DCF4 8024A9B4 34420010 */ ori $v0, $v0, 0x10
|
||||
/* 13DCF8 8024A9B8 00621024 */ and $v0, $v1, $v0
|
||||
/* 13DCFC 8024A9BC 10400030 */ beqz $v0, .L8024AA80
|
||||
@ -202,8 +202,8 @@ glabel pause_items_handle_input
|
||||
/* 13DDF8 8024AAB8 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13DDFC 8024AABC 10620012 */ beq $v1, $v0, .L8024AB08
|
||||
/* 13DE00 8024AAC0 3C020004 */ lui $v0, 4
|
||||
/* 13DE04 8024AAC4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DE08 8024AAC8 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13DE04 8024AAC4 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13DE08 8024AAC8 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13DE0C 8024AACC 00621024 */ and $v0, $v1, $v0
|
||||
/* 13DE10 8024AAD0 10400006 */ beqz $v0, .L8024AAEC
|
||||
/* 13DE14 8024AAD4 3C020008 */ lui $v0, 8
|
||||
@ -265,13 +265,13 @@ glabel pause_items_handle_input
|
||||
/* 13DEE0 8024ABA0 3C018008 */ lui $at, %hi(gItemTable+0x10)
|
||||
/* 13DEE4 8024ABA4 00220821 */ addu $at, $at, $v0
|
||||
/* 13DEE8 8024ABA8 8C2278F0 */ lw $v0, %lo(gItemTable+0x10)($at)
|
||||
/* 13DEEC 8024ABAC 3C018027 */ lui $at, 0x8027
|
||||
/* 13DEF0 8024ABB0 AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13DEEC 8024ABAC 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13DEF0 8024ABB0 AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13DEF4 8024ABB4 08092AFE */ j .L8024ABF8
|
||||
/* 13DEF8 8024ABB8 00000000 */ nop
|
||||
.L8024ABBC:
|
||||
/* 13DEFC 8024ABBC 3C018027 */ lui $at, 0x8027
|
||||
/* 13DF00 8024ABC0 AC2000C8 */ sw $zero, 0xc8($at)
|
||||
/* 13DEFC 8024ABBC 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13DF00 8024ABC0 AC2000C8 */ sw $zero, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13DF04 8024ABC4 08092AFC */ j .L8024ABF0
|
||||
/* 13DF08 8024ABC8 00000000 */ nop
|
||||
.L8024ABCC:
|
||||
@ -283,14 +283,14 @@ glabel pause_items_handle_input
|
||||
.L8024ABE0:
|
||||
/* 13DF20 8024ABE0 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13DF24 8024ABE4 00000000 */ nop
|
||||
/* 13DF28 8024ABE8 3C018027 */ lui $at, 0x8027
|
||||
/* 13DF2C 8024ABEC AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13DF28 8024ABE8 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13DF2C 8024ABEC AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
.L8024ABF0:
|
||||
/* 13DF30 8024ABF0 3C018027 */ lui $at, 0x8027
|
||||
/* 13DF34 8024ABF4 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 13DF30 8024ABF0 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13DF34 8024ABF4 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
.L8024ABF8:
|
||||
/* 13DF38 8024ABF8 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DF3C 8024ABFC 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13DF38 8024ABF8 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13DF3C 8024ABFC 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13DF40 8024AC00 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 13DF44 8024AC04 1040000F */ beqz $v0, .L8024AC44
|
||||
/* 13DF48 8024AC08 00000000 */ nop
|
||||
@ -301,8 +301,8 @@ glabel pause_items_handle_input
|
||||
/* 13DF5C 8024AC1C 00000000 */ nop
|
||||
/* 13DF60 8024AC20 0C05272D */ jal play_sound
|
||||
/* 13DF64 8024AC24 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13DF68 8024AC28 3C018027 */ lui $at, 0x8027
|
||||
/* 13DF6C 8024AC2C A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 13DF68 8024AC28 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13DF6C 8024AC2C A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 13DF70 8024AC30 08092B11 */ j .L8024AC44
|
||||
/* 13DF74 8024AC34 00000000 */ nop
|
||||
.L8024AC38:
|
||||
|
@ -366,8 +366,8 @@ glabel pause_partners_draw_contents
|
||||
/* 13E7A8 8024B468 2463A66C */ addiu $v1, $v1, -0x5994
|
||||
/* 13E7AC 8024B46C 34A50002 */ ori $a1, $a1, 2
|
||||
/* 13E7B0 8024B470 8C620000 */ lw $v0, ($v1)
|
||||
/* 13E7B4 8024B474 3C128027 */ lui $s2, 0x8027
|
||||
/* 13E7B8 8024B478 265200D4 */ addiu $s2, $s2, 0xd4
|
||||
/* 13E7B4 8024B474 3C128027 */ lui $s2, %hi(gPauseMenuCurrentTab)
|
||||
/* 13E7B8 8024B478 265200D4 */ addiu $s2, $s2, %lo(gPauseMenuCurrentTab)
|
||||
/* 13E7BC 8024B47C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 13E7C0 8024B480 24420008 */ addiu $v0, $v0, 8
|
||||
/* 13E7C4 8024B484 AC620000 */ sw $v0, ($v1)
|
||||
|
@ -175,8 +175,8 @@ glabel pause_partners_draw_movelist
|
||||
/* 13F2FC 8024BFBC 2A420004 */ slti $v0, $s2, 4
|
||||
/* 13F300 8024BFC0 1440FF8B */ bnez $v0, .L8024BDF0
|
||||
/* 13F304 8024BFC4 26730001 */ addiu $s3, $s3, 1
|
||||
/* 13F308 8024BFC8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13F30C 8024BFCC 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13F308 8024BFC8 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13F30C 8024BFCC 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13F310 8024BFD0 24020004 */ addiu $v0, $zero, 4
|
||||
/* 13F314 8024BFD4 14620010 */ bne $v1, $v0, .L8024C018
|
||||
/* 13F318 8024BFD8 24020001 */ addiu $v0, $zero, 1
|
||||
|
@ -16,14 +16,14 @@ glabel pause_partners_handle_input
|
||||
/* 13F6A4 8024C364 8C4206AC */ lw $v0, 0x6ac($v0)
|
||||
/* 13F6A8 8024C368 10400006 */ beqz $v0, .L8024C384
|
||||
/* 13F6AC 8024C36C 00000000 */ nop
|
||||
/* 13F6B0 8024C370 3C028027 */ lui $v0, 0x8027
|
||||
/* 13F6B4 8024C374 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13F6B0 8024C370 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13F6B4 8024C374 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13F6B8 8024C378 30422010 */ andi $v0, $v0, 0x2010
|
||||
/* 13F6BC 8024C37C 1040003E */ beqz $v0, .L8024C478
|
||||
/* 13F6C0 8024C380 00000000 */ nop
|
||||
.L8024C384:
|
||||
/* 13F6C4 8024C384 3C038027 */ lui $v1, 0x8027
|
||||
/* 13F6C8 8024C388 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13F6C4 8024C384 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13F6C8 8024C388 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13F6CC 8024C38C 3C020004 */ lui $v0, 4
|
||||
/* 13F6D0 8024C390 00621024 */ and $v0, $v1, $v0
|
||||
/* 13F6D4 8024C394 10400002 */ beqz $v0, .L8024C3A0
|
||||
@ -162,8 +162,8 @@ glabel pause_partners_handle_input
|
||||
/* 13F8B8 8024C578 50800001 */ beql $a0, $zero, .L8024C580
|
||||
/* 13F8BC 8024C57C 24040002 */ addiu $a0, $zero, 2
|
||||
.L8024C580:
|
||||
/* 13F8C0 8024C580 3C058027 */ lui $a1, 0x8027
|
||||
/* 13F8C4 8024C584 24A500C0 */ addiu $a1, $a1, 0xc0
|
||||
/* 13F8C0 8024C580 3C058027 */ lui $a1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13F8C4 8024C584 24A500C0 */ addiu $a1, $a1, %lo(gPauseMenuHeldButtons)
|
||||
/* 13F8C8 8024C588 8CA20000 */ lw $v0, ($a1)
|
||||
/* 13F8CC 8024C58C 3C030001 */ lui $v1, 1
|
||||
/* 13F8D0 8024C590 00431024 */ and $v0, $v0, $v1
|
||||
@ -205,8 +205,8 @@ glabel pause_partners_handle_input
|
||||
/* 13F950 8024C610 0C05272D */ jal play_sound
|
||||
/* 13F954 8024C614 240400C7 */ addiu $a0, $zero, 0xc7
|
||||
.L8024C618:
|
||||
/* 13F958 8024C618 3C028027 */ lui $v0, 0x8027
|
||||
/* 13F95C 8024C61C 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13F958 8024C618 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13F95C 8024C61C 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13F960 8024C620 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 13F964 8024C624 1040000E */ beqz $v0, .L8024C660
|
||||
/* 13F968 8024C628 00000000 */ nop
|
||||
@ -224,8 +224,8 @@ glabel pause_partners_handle_input
|
||||
/* 13F998 8024C658 080931E4 */ j .L8024C790
|
||||
/* 13F99C 8024C65C 00000000 */ nop
|
||||
.L8024C660:
|
||||
/* 13F9A0 8024C660 3C028027 */ lui $v0, 0x8027
|
||||
/* 13F9A4 8024C664 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13F9A0 8024C660 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13F9A4 8024C664 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13F9A8 8024C668 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 13F9AC 8024C66C 10400013 */ beqz $v0, .L8024C6BC
|
||||
/* 13F9B0 8024C670 00000000 */ nop
|
||||
@ -234,8 +234,8 @@ glabel pause_partners_handle_input
|
||||
/* 13F9BC 8024C67C 8C620000 */ lw $v0, ($v1)
|
||||
/* 13F9C0 8024C680 54400007 */ bnel $v0, $zero, .L8024C6A0
|
||||
/* 13F9C4 8024C684 AC600000 */ sw $zero, ($v1)
|
||||
/* 13F9C8 8024C688 3C018027 */ lui $at, 0x8027
|
||||
/* 13F9CC 8024C68C A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 13F9C8 8024C688 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13F9CC 8024C68C A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 13F9D0 8024C690 0C05272D */ jal play_sound
|
||||
/* 13F9D4 8024C694 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13F9D8 8024C698 080931E4 */ j .L8024C790
|
||||
@ -251,8 +251,8 @@ glabel pause_partners_handle_input
|
||||
.L8024C6BC:
|
||||
/* 13F9FC 8024C6BC 3C028027 */ lui $v0, 0x8027
|
||||
/* 13FA00 8024C6C0 8C4206AC */ lw $v0, 0x6ac($v0)
|
||||
/* 13FA04 8024C6C4 3C018027 */ lui $at, 0x8027
|
||||
/* 13FA08 8024C6C8 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 13FA04 8024C6C4 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13FA08 8024C6C8 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 13FA0C 8024C6CC 1440000C */ bnez $v0, .L8024C700
|
||||
/* 13FA10 8024C6D0 00000000 */ nop
|
||||
/* 13FA14 8024C6D4 3C028027 */ lui $v0, 0x8027
|
||||
@ -304,8 +304,8 @@ glabel pause_partners_handle_input
|
||||
/* 13FAC0 8024C780 00220821 */ addu $at, $at, $v0
|
||||
/* 13FAC4 8024C784 8C22F06C */ lw $v0, -0xf94($at)
|
||||
.L8024C788:
|
||||
/* 13FAC8 8024C788 3C018027 */ lui $at, 0x8027
|
||||
/* 13FACC 8024C78C AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13FAC8 8024C788 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13FACC 8024C78C AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
.L8024C790:
|
||||
/* 13FAD0 8024C790 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 13FAD4 8024C794 8FB10014 */ lw $s1, 0x14($sp)
|
||||
|
@ -525,8 +525,8 @@ glabel pause_spirits_draw_contents
|
||||
/* 140538 8024D1F8 AFB80044 */ sw $t8, 0x44($sp)
|
||||
/* 14053C 8024D1FC 0C03D4B8 */ jal draw_box
|
||||
/* 140540 8024D200 AFA20048 */ sw $v0, 0x48($sp)
|
||||
/* 140544 8024D204 3C038027 */ lui $v1, 0x8027
|
||||
/* 140548 8024D208 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 140544 8024D204 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 140548 8024D208 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 14054C 8024D20C 24020005 */ addiu $v0, $zero, 5
|
||||
/* 140550 8024D210 1462000E */ bne $v1, $v0, .L8024D24C
|
||||
/* 140554 8024D214 24040027 */ addiu $a0, $zero, 0x27
|
||||
|
@ -14,8 +14,8 @@ glabel pause_spirits_draw_title
|
||||
/* 1405F8 8024D2B8 0C039D59 */ jal get_player_data
|
||||
/* 1405FC 8024D2BC 00E0882D */ daddu $s1, $a3, $zero
|
||||
/* 140600 8024D2C0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 140604 8024D2C4 3C038027 */ lui $v1, 0x8027
|
||||
/* 140608 8024D2C8 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 140604 8024D2C4 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 140608 8024D2C8 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 14060C 8024D2CC 24020005 */ addiu $v0, $zero, 5
|
||||
/* 140610 8024D2D0 1462001C */ bne $v1, $v0, .L8024D344
|
||||
/* 140614 8024D2D4 00000000 */ nop
|
||||
|
@ -5,8 +5,8 @@ glabel pause_spirits_handle_input
|
||||
/* 14078C 8024D44C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 140790 8024D450 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 140794 8024D454 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 140798 8024D458 3C028027 */ lui $v0, 0x8027
|
||||
/* 14079C 8024D45C 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 140798 8024D458 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 14079C 8024D45C 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 1407A0 8024D460 3C030004 */ lui $v1, 4
|
||||
/* 1407A4 8024D464 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 1407A8 8024D468 92070003 */ lbu $a3, 3($s0)
|
||||
@ -42,8 +42,8 @@ glabel pause_spirits_handle_input
|
||||
/* 14081C 8024D4DC 1082FFE6 */ beq $a0, $v0, .L8024D478
|
||||
/* 140820 8024D4E0 00000000 */ nop
|
||||
.L8024D4E4:
|
||||
/* 140824 8024D4E4 3C028027 */ lui $v0, 0x8027
|
||||
/* 140828 8024D4E8 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 140824 8024D4E4 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 140828 8024D4E8 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 14082C 8024D4EC 3C030008 */ lui $v1, 8
|
||||
/* 140830 8024D4F0 00431024 */ and $v0, $v0, $v1
|
||||
/* 140834 8024D4F4 1040001E */ beqz $v0, .L8024D570
|
||||
@ -79,8 +79,8 @@ glabel pause_spirits_handle_input
|
||||
/* 1408A8 8024D568 1082FFE6 */ beq $a0, $v0, .L8024D504
|
||||
/* 1408AC 8024D56C 00000000 */ nop
|
||||
.L8024D570:
|
||||
/* 1408B0 8024D570 3C028027 */ lui $v0, 0x8027
|
||||
/* 1408B4 8024D574 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 1408B0 8024D570 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 1408B4 8024D574 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 1408B8 8024D578 3C030001 */ lui $v1, 1
|
||||
/* 1408BC 8024D57C 00431024 */ and $v0, $v0, $v1
|
||||
/* 1408C0 8024D580 10400029 */ beqz $v0, .L8024D628
|
||||
@ -130,8 +130,8 @@ glabel pause_spirits_handle_input
|
||||
/* 140960 8024D620 1082FFE5 */ beq $a0, $v0, .L8024D5B8
|
||||
/* 140964 8024D624 00000000 */ nop
|
||||
.L8024D628:
|
||||
/* 140968 8024D628 3C028027 */ lui $v0, 0x8027
|
||||
/* 14096C 8024D62C 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 140968 8024D628 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 14096C 8024D62C 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 140970 8024D630 3C030002 */ lui $v1, 2
|
||||
/* 140974 8024D634 00431024 */ and $v0, $v0, $v1
|
||||
/* 140978 8024D638 1040002F */ beqz $v0, .L8024D6F8
|
||||
@ -219,20 +219,20 @@ glabel pause_spirits_handle_input
|
||||
/* 140AA8 8024D768 0C05272D */ jal play_sound
|
||||
/* 140AAC 8024D76C 240400C7 */ addiu $a0, $zero, 0xc7
|
||||
.L8024D770:
|
||||
/* 140AB0 8024D770 3C028027 */ lui $v0, 0x8027
|
||||
/* 140AB4 8024D774 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 140AB0 8024D770 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 140AB4 8024D774 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 140AB8 8024D778 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 140ABC 8024D77C 10400007 */ beqz $v0, .L8024D79C
|
||||
/* 140AC0 8024D780 00000000 */ nop
|
||||
/* 140AC4 8024D784 3C018027 */ lui $at, 0x8027
|
||||
/* 140AC8 8024D788 A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 140AC4 8024D784 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 140AC8 8024D788 A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 140ACC 8024D78C 0C05272D */ jal play_sound
|
||||
/* 140AD0 8024D790 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 140AD4 8024D794 080935FC */ j .L8024D7F0
|
||||
/* 140AD8 8024D798 00000000 */ nop
|
||||
.L8024D79C:
|
||||
/* 140ADC 8024D79C 3C018027 */ lui $at, 0x8027
|
||||
/* 140AE0 8024D7A0 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 140ADC 8024D79C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 140AE0 8024D7A0 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 140AE4 8024D7A4 0C039D59 */ jal get_player_data
|
||||
/* 140AE8 8024D7A8 00000000 */ nop
|
||||
/* 140AEC 8024D7AC 92030003 */ lbu $v1, 3($s0)
|
||||
@ -252,8 +252,8 @@ glabel pause_spirits_handle_input
|
||||
/* 140B20 8024D7E0 34420031 */ ori $v0, $v0, 0x31
|
||||
/* 140B24 8024D7E4 00621021 */ addu $v0, $v1, $v0
|
||||
.L8024D7E8:
|
||||
/* 140B28 8024D7E8 3C018027 */ lui $at, 0x8027
|
||||
/* 140B2C 8024D7EC AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 140B28 8024D7E8 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 140B2C 8024D7EC AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
.L8024D7F0:
|
||||
/* 140B30 8024D7F0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 140B34 8024D7F4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
|
@ -27,8 +27,8 @@ glabel pause_spirits_update
|
||||
/* 140B94 8024D854 0242102A */ slt $v0, $s2, $v0
|
||||
/* 140B98 8024D858 1040000B */ beqz $v0, .L8024D888
|
||||
/* 140B9C 8024D85C 00000000 */ nop
|
||||
/* 140BA0 8024D860 3C028027 */ lui $v0, 0x8027
|
||||
/* 140BA4 8024D864 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 140BA0 8024D860 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 140BA4 8024D864 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 140BA8 8024D868 14540007 */ bne $v0, $s4, .L8024D888
|
||||
/* 140BAC 8024D86C 00000000 */ nop
|
||||
/* 140BB0 8024D870 92A20003 */ lbu $v0, 3($s5)
|
||||
|
@ -414,8 +414,8 @@ glabel pause_map_draw_contents
|
||||
/* 14148C 8024E14C 8E040000 */ lw $a0, ($s0)
|
||||
/* 141490 8024E150 0C0511F8 */ jal draw_icon_2
|
||||
/* 141494 8024E154 00000000 */ nop
|
||||
/* 141498 8024E158 3C138027 */ lui $s3, 0x8027
|
||||
/* 14149C 8024E15C 267300D4 */ addiu $s3, $s3, 0xd4
|
||||
/* 141498 8024E158 3C138027 */ lui $s3, %hi(gPauseMenuCurrentTab)
|
||||
/* 14149C 8024E15C 267300D4 */ addiu $s3, $s3, %lo(gPauseMenuCurrentTab)
|
||||
/* 1414A0 8024E160 82700000 */ lb $s0, ($s3)
|
||||
/* 1414A4 8024E164 24020006 */ addiu $v0, $zero, 6
|
||||
/* 1414A8 8024E168 16020081 */ bne $s0, $v0, .L8024E370
|
||||
|
@ -9,8 +9,8 @@ glabel pause_map_draw_title
|
||||
/* 14189C 8024E55C 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* 1418A0 8024E560 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 1418A4 8024E564 00E0902D */ daddu $s2, $a3, $zero
|
||||
/* 1418A8 8024E568 3C038027 */ lui $v1, 0x8027
|
||||
/* 1418AC 8024E56C 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 1418A8 8024E568 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 1418AC 8024E56C 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 1418B0 8024E570 24020006 */ addiu $v0, $zero, 6
|
||||
/* 1418B4 8024E574 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 1418B8 8024E578 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
|
@ -234,27 +234,27 @@ glabel pause_map_handle_input
|
||||
/* 141F1C 8024EBDC 45030001 */ bc1tl .L8024EBE4
|
||||
/* 141F20 8024EBE0 E4A20000 */ swc1 $f2, ($a1)
|
||||
.L8024EBE4:
|
||||
/* 141F24 8024EBE4 3C028027 */ lui $v0, 0x8027
|
||||
/* 141F28 8024EBE8 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 141F24 8024EBE4 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 141F28 8024EBE8 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 141F2C 8024EBEC 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 141F30 8024EBF0 10400007 */ beqz $v0, .L8024EC10
|
||||
/* 141F34 8024EBF4 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 141F38 8024EBF8 0C05272D */ jal play_sound
|
||||
/* 141F3C 8024EBFC 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 141F40 8024EC00 3C018027 */ lui $at, 0x8027
|
||||
/* 141F44 8024EC04 A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 141F40 8024EC00 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 141F44 8024EC04 A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 141F48 8024EC08 08093B27 */ j .L8024EC9C
|
||||
/* 141F4C 8024EC0C 00000000 */ nop
|
||||
.L8024EC10:
|
||||
/* 141F50 8024EC10 3C118027 */ lui $s1, 0x8027
|
||||
/* 141F54 8024EC14 2631071C */ addiu $s1, $s1, 0x71c
|
||||
/* 141F58 8024EC18 3C018027 */ lui $at, 0x8027
|
||||
/* 141F5C 8024EC1C AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 141F58 8024EC18 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 141F5C 8024EC1C AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 141F60 8024EC20 8E260000 */ lw $a2, ($s1)
|
||||
/* 141F64 8024EC24 14C20005 */ bne $a2, $v0, .L8024EC3C
|
||||
/* 141F68 8024EC28 3C03001D */ lui $v1, 0x1d
|
||||
/* 141F6C 8024EC2C 3C018027 */ lui $at, 0x8027
|
||||
/* 141F70 8024EC30 AC2000C8 */ sw $zero, 0xc8($at)
|
||||
/* 141F6C 8024EC2C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 141F70 8024EC30 AC2000C8 */ sw $zero, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 141F74 8024EC34 08093B27 */ j .L8024EC9C
|
||||
/* 141F78 8024EC38 00000000 */ nop
|
||||
.L8024EC3C:
|
||||
@ -262,8 +262,8 @@ glabel pause_map_handle_input
|
||||
/* 141F80 8024EC40 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 141F84 8024EC44 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 141F88 8024EC48 34A50180 */ ori $a1, $a1, 0x180
|
||||
/* 141F8C 8024EC4C 3C108027 */ lui $s0, 0x8027
|
||||
/* 141F90 8024EC50 261000C8 */ addiu $s0, $s0, 0xc8
|
||||
/* 141F8C 8024EC4C 3C108027 */ lui $s0, %hi(gPauseMenuCurrentDescString)
|
||||
/* 141F90 8024EC50 261000C8 */ addiu $s0, $s0, %lo(gPauseMenuCurrentDescString)
|
||||
/* 141F94 8024EC54 00061040 */ sll $v0, $a2, 1
|
||||
/* 141F98 8024EC58 00461021 */ addu $v0, $v0, $a2
|
||||
/* 141F9C 8024EC5C 00431021 */ addu $v0, $v0, $v1
|
||||
|
@ -61,6 +61,7 @@ f32 cos_rad(f32 x);
|
||||
s16 round(f32);
|
||||
f32 atan2(f32 startX, f32 startZ, f32 endX, f32 endZ);
|
||||
f32 clamp_angle(f32 theta);
|
||||
s32 sign(s32 value);
|
||||
s32 func_80055448(s32);
|
||||
s32 func_80055464(s32, s32);
|
||||
s32 func_800554A4(s32, s32);
|
||||
|
@ -120,6 +120,12 @@ extern s32 D_800A0960;
|
||||
extern s32 D_800A0964;
|
||||
|
||||
// Pause
|
||||
extern s32 gPauseMenuHeldButtons;
|
||||
extern s32 gPauseMenuPressedButtons;
|
||||
extern s32 gPauseMenuCurrentDescString;
|
||||
extern Bytecode* gPauseMenuCurrentDescIconScript;
|
||||
extern s8 gPauseMenuCurrentTab;
|
||||
extern s32 gPauseMenuCommonIconIDs[8];
|
||||
extern s32 gPauseMenuTabIconIDs[6];
|
||||
extern PauseItemPage gItemMenuPages[20];
|
||||
extern s32 gPauseMenuStrings[348];
|
||||
@ -129,8 +135,8 @@ extern s32 gPauseMenuCursorPos[2];
|
||||
extern s32 gPauseMenuCursorOpacity;
|
||||
extern s32 gPauseMenuTargetPos[2];
|
||||
extern s32 gPauseMenuCursorTargetOpacity;
|
||||
extern s8 gPauseMenuTextScrollInterpEasingLUT[16];
|
||||
extern s8 gPauseMenuPageScrollInterpEasingLUT[16];
|
||||
extern u8 gPauseMenuTextScrollInterpEasingLUT[16];
|
||||
extern u8 gPauseMenuPageScrollInterpEasingLUT[16];
|
||||
|
||||
// Badges
|
||||
extern PauseItemPage gBadgeMenuPages[20];
|
||||
|
@ -37,7 +37,34 @@ INCLUDE_ASM(s32, "code_135EE0", func_80243388);
|
||||
|
||||
INCLUDE_ASM(s32, "code_135EE0", pause_interp_text_scroll);
|
||||
|
||||
// Slight ordering issue with the sign flip at the beginning
|
||||
#ifdef NON_MATCHING
|
||||
s32 pause_interp_vertical_scroll(s32 deltaBefore) {
|
||||
s32 val;
|
||||
s32 s;
|
||||
s32 db;
|
||||
|
||||
db = deltaBefore;
|
||||
if (deltaBefore < 0) {
|
||||
db = -deltaBefore;
|
||||
}
|
||||
|
||||
s = sign(deltaBefore);
|
||||
|
||||
if (db >= 16) {
|
||||
val = db / 2;
|
||||
if (val > 20) {
|
||||
val = 20;
|
||||
}
|
||||
} else {
|
||||
val = gPauseMenuPageScrollInterpEasingLUT[db];
|
||||
}
|
||||
|
||||
return val * s;
|
||||
}
|
||||
#else
|
||||
INCLUDE_ASM(s32, "code_135EE0", pause_interp_vertical_scroll);
|
||||
#endif
|
||||
|
||||
INCLUDE_ASM(s32, "code_135EE0", pause_update_cursor);
|
||||
|
||||
|
@ -156,6 +156,13 @@ gPauseMenuCursorTargetOpacity = 0x8024EFB0;
|
||||
gPauseMenuTextScrollInterpEasingLUT = 0x8024F0AC;
|
||||
gPauseMenuPageScrollInterpEasingLUT = 0x8024F0BC;
|
||||
|
||||
gPauseMenuHeldButtons = 0x802700C0;
|
||||
gPauseMenuPressedButtons = 0x802700C4;
|
||||
gPauseMenuCurrentDescString = 0x802700C8;
|
||||
gPauseMenuCurrentDescIconScript = 0x802700CC;
|
||||
gPauseMenuCurrentTab = 0x802700D4;
|
||||
gPauseMenuCommonIconIDs = 0x802700E8;
|
||||
|
||||
gPauseMenuTabIconIDs = 0x80270130;
|
||||
gStatsMenuIconIDs = 0x80270150;
|
||||
gBadgeMenuItemIDs = 0x80270180;
|
||||
|
Loading…
Reference in New Issue
Block a user