From aa29eb5553c8278949230ceff532dacaeff7d949 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Fri, 21 Apr 2023 10:33:49 +0200 Subject: [PATCH] Pal pause (#1011) * PAL pause segment * PAL pause_gfx_en segment * Apply name changes * Merge gPauseBadgesElements * Rename ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE * Split PAL and monolingual arrays --- include/enums.h | 2 +- src/item_table.inc.c | 12 +- src/pause/pause_badges.c | 48 +- src/pause/pause_common.h | 191 +- src/pause/pause_gfx.c | 91 +- src/pause/pause_gfx_en.c | 16 + src/pause/pause_items.c | 4 + src/pause/pause_map.c | 13 +- src/pause/pause_partners.c | 37 + src/pause/pause_stats.c | 40 +- src/pause/pause_tabs.c | 73 +- tools/splat_ext/msg_pal_en.yaml | 37 + .../pause_badges/pause_badges_draw_contents.s | 1745 +++++++++++++++++ .../pause/pause_badges/pause_badges_init.s | 77 + .../pause/pause_gfx/pause_draw_menu_label.s | 99 + .../pause_items/pause_items_draw_contents.s | 839 ++++++++ .../pause_partners_draw_movelist.s | 225 +++ .../pause_partners_draw_movelist_title.s | 33 + .../pause_partners/pause_partners_init.s | 197 ++ .../pause_stats/pause_stats_draw_contents.s | 1229 ++++++++++++ .../pause/pause_tabs/pause_tabs_init.s | 66 + ver/pal/splat.yaml | 80 +- ver/pal/symbol_addrs.txt | 29 + ver/pal/undefined_syms.txt | 92 + 24 files changed, 5161 insertions(+), 114 deletions(-) create mode 100644 src/pause/pause_gfx_en.c create mode 100644 ver/pal/asm/nonmatchings/pause/pause_badges/pause_badges_draw_contents.s create mode 100644 ver/pal/asm/nonmatchings/pause/pause_badges/pause_badges_init.s create mode 100644 ver/pal/asm/nonmatchings/pause/pause_gfx/pause_draw_menu_label.s create mode 100644 ver/pal/asm/nonmatchings/pause/pause_items/pause_items_draw_contents.s create mode 100644 ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_draw_movelist.s create mode 100644 ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_draw_movelist_title.s create mode 100644 ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_init.s create mode 100644 ver/pal/asm/nonmatchings/pause/pause_stats/pause_stats_draw_contents.s create mode 100644 ver/pal/asm/nonmatchings/pause/pause_tabs/pause_tabs_init.s diff --git a/include/enums.h b/include/enums.h index 903b7d44a8..1538e6f083 100644 --- a/include/enums.h +++ b/include/enums.h @@ -2172,7 +2172,7 @@ enum ItemTypeFlags { ITEM_TYPE_FLAG_BADGE = 0x0040, ITEM_TYPE_FLAG_FOOD_OR_DRINK = 0x0080, ITEM_TYPE_FLAG_USE_DRINK_ANIMATION = 0x0100, - ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE = 0x0200, + ITEM_TYPE_FLAG_ENTITY_COLLECTABLE = 0x0200, ITEM_TYPE_FLAG_ENTITY_FULLSIZE = 0x1000, }; diff --git a/src/item_table.inc.c b/src/item_table.inc.c index f6c33298bb..32af4186f2 100644 --- a/src/item_table.inc.c +++ b/src/item_table.inc.c @@ -4473,7 +4473,7 @@ ItemData gItemTable[] = { .hudElemID = ITEM_HS_INDEX(HES_Item_Coin), .sortValue = 0, .targetFlags = TARGET_FLAG_PLAYER, - .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE, + .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTABLE, .moveID = MOVE_NONE, .potencyA = 0, .potencyB = 0 @@ -4486,7 +4486,7 @@ ItemData gItemTable[] = { .hudElemID = ITEM_HS_INDEX(HES_Item_HeartPiece), .sortValue = 0, .targetFlags = TARGET_FLAG_PLAYER, - .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE, + .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTABLE, .moveID = MOVE_NONE, .potencyA = 0, .potencyB = 0 @@ -4499,7 +4499,7 @@ ItemData gItemTable[] = { .hudElemID = ITEM_HS_INDEX(HES_Item_StarPoint), .sortValue = 0, .targetFlags = TARGET_FLAG_PLAYER, - .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE, + .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTABLE, .moveID = MOVE_NONE, .potencyA = 0, .potencyB = 0 @@ -4512,7 +4512,7 @@ ItemData gItemTable[] = { .hudElemID = ITEM_HS_INDEX(HES_Item_HeartPoint), .sortValue = 0, .targetFlags = TARGET_FLAG_PLAYER, - .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE | ITEM_TYPE_FLAG_ENTITY_FULLSIZE, + .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTABLE | ITEM_TYPE_FLAG_ENTITY_FULLSIZE, .moveID = MOVE_NONE, .potencyA = 0, .potencyB = 0 @@ -4525,7 +4525,7 @@ ItemData gItemTable[] = { .hudElemID = ITEM_HS_INDEX(HES_Item_FlowerPoint), .sortValue = 0, .targetFlags = TARGET_FLAG_PLAYER, - .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE | ITEM_TYPE_FLAG_ENTITY_FULLSIZE, + .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTABLE | ITEM_TYPE_FLAG_ENTITY_FULLSIZE, .moveID = MOVE_NONE, .potencyA = 0, .potencyB = 0 @@ -4538,7 +4538,7 @@ ItemData gItemTable[] = { .hudElemID = ITEM_HS_INDEX(HES_Item_StarPiece), .sortValue = 0, .targetFlags = TARGET_FLAG_PLAYER, - .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTIBLE | ITEM_TYPE_FLAG_ENTITY_FULLSIZE, + .typeFlags = ITEM_TYPE_FLAG_ENTITY_COLLECTABLE | ITEM_TYPE_FLAG_ENTITY_FULLSIZE, .moveID = MOVE_NONE, .potencyA = 0, .potencyB = 0 diff --git a/src/pause/pause_badges.c b/src/pause/pause_badges.c index b7eea9829d..b45440e2cf 100644 --- a/src/pause/pause_badges.c +++ b/src/pause/pause_badges.c @@ -50,6 +50,42 @@ static s32 gPauseBadgesIconIDs[22]; #define OFFSET_3_Y 74 #endif +#if VERSION_PAL +HudScript* gPauseBadgesElements[][22] = { + [LANGUAGE_EN] = { + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_ListPrevPage, &HES_ListNextPage, + &HES_Dash, &HES_LabelBpNeeded, &HES_StatusStar1 + }, + [LANGUAGE_DE] = { + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_ListPrevPage, &HES_ListNextPage, + &HES_Dash, &HES_LabelBpNeeded_de, &HES_StatusStar1 + }, + [LANGUAGE_FR] = { + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_ListPrevPage, &HES_ListNextPage, + &HES_Dash, &HES_LabelBpNeeded_fr, &HES_StatusStar1 + }, + [LANGUAGE_ES] = { + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, + &HES_StatBp, &HES_ListPrevPage, &HES_ListNextPage, + &HES_Dash, &HES_LabelBpNeeded_es, &HES_StatusStar1 + }, +}; +#else HudScript* gPauseBadgesElements[] = { &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, &HES_StatBp, @@ -58,6 +94,8 @@ HudScript* gPauseBadgesElements[] = { &HES_StatBp, &HES_ListPrevPage, &HES_ListNextPage, &HES_Dash, &HES_LabelBpNeeded, &HES_StatusStar1 }; +#endif + MenuWindowBP gPauseBadgesWindowBPs[] = { { .windowID = WINDOW_ID_PAUSE_BADGES, @@ -277,6 +315,9 @@ void pause_badges_draw_bp_orbs(s32 orbState, s32 x, s32 y) { } } +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_badges", pause_badges_draw_contents); +#else void pause_badges_draw_contents(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) { s32 pageIndex, i; s32 badgeIndex; @@ -705,6 +746,7 @@ void pause_badges_draw_contents(MenuPanel* menu, s32 baseX, s32 baseY, s32 width } } } +#endif void pause_badges_load_badges(s32 onlyEquipped) { PlayerData* playerData = &gPlayerData; @@ -790,6 +832,9 @@ void pause_badges_load_badges(s32 onlyEquipped) { gPauseBadgesTargetScrollPos = gPauseBadgesCurrentScrollPos = pause_badges_get_pos_y(0, 0); } +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_badges", pause_badges_init); +#else void pause_badges_init(MenuPanel* panel) { s32 i; @@ -819,6 +864,7 @@ void pause_badges_init(MenuPanel* panel) { setup_pause_menu_tab(gPauseBadgesWindowBPs, ARRAY_COUNT(gPauseBadgesWindowBPs)); panel->initialized = TRUE; } +#endif void pause_badges_handle_input(MenuPanel* panel) { s32 selectedIndex = gPauseBadgesSelectedIndex; @@ -964,7 +1010,7 @@ void pause_badges_handle_input(MenuPanel* panel) { gPauseCurrentDescIconScript = NULL; } } else { - gPauseCurrentDescMsg = pause_get_menu_msg(gPauseBadgesCurrentTab == 0 ? 0x4C : 0x4D); + gPauseCurrentDescMsg = pause_get_menu_msg(gPauseBadgesCurrentTab == 0 ? PAUSE_MSG_BAGDE_DESC_ALL : PAUSE_MSG_BAGDE_DESC_ACTIVE); gPauseCurrentDescIconScript = NULL; } diff --git a/src/pause/pause_common.h b/src/pause/pause_common.h index 90fc4e0db9..f7a5f2669b 100644 --- a/src/pause/pause_common.h +++ b/src/pause/pause_common.h @@ -46,6 +46,11 @@ extern HudScript HES_ListPrevPage; extern HudScript HES_ListNextPage; extern HudScript HES_Dash; extern HudScript HES_LabelBpNeeded; +#if VERSION_PAL +extern HudScript HES_LabelBpNeeded_de; +extern HudScript HES_LabelBpNeeded_fr; +extern HudScript HES_LabelBpNeeded_es; +#endif extern HudScript HES_FPCost; extern HudScript HES_PartnerRank; extern HudScript HES_MoveDiamond; @@ -139,93 +144,105 @@ enum PauseMenuLabels { }; enum PauseMenuMessages { - PAUSE_MSG_NONE = 0x00, - PAUSE_MSG_TUT_NAME_BADGES = 0x01, - PAUSE_MSG_TUT_UNUSED_1 = 0x02, - PAUSE_MSG_TUT_UNUSED_2 = 0x03, - PAUSE_MSG_TUT_UNUSED_3 = 0x04, - PAUSE_MSG_TUT_UNUSED_4 = 0x05, - PAUSE_MSG_TUT_UNUSED_5 = 0x06, - PAUSE_MSG_TUT_UNUSED_6 = 0x07, - PAUSE_MSG_TUT_UNUSED_7 = 0x08, - PAUSE_MSG_TUT_DESC_1 = 0x09, - PAUSE_MSG_TUT_DESC_2 = 0x0A, - PAUSE_MSG_TUT_DESC_3 = 0x0B, - PAUSE_MSG_TUT_DESC_4 = 0x0C, - PAUSE_MSG_TUT_DESC_5 = 0x0D, - PAUSE_MSG_TUT_DESC_6 = 0x0E, - PAUSE_MSG_TUT_DESC_7 = 0x0F, - PAUSE_MSG_TUT_CMD_1 = 0x10, - PAUSE_MSG_TUT_CMD_2 = 0x11, - PAUSE_MSG_TUT_CMD_3 = 0x12, - PAUSE_MSG_TUT_CMD_4 = 0x13, - PAUSE_MSG_TUT_CMD_5 = 0x14, - PAUSE_MSG_TUT_CMD_6 = 0x15, - PAUSE_MSG_TUT_CMD_7 = 0x16, - PAUSE_MSG_17 = 0x17, - PAUSE_MSG_18 = 0x18, - PAUSE_MSG_19 = 0x19, - PAUSE_MSG_1A = 0x1A, - PAUSE_MSG_TAB_STATS = 0x1B, - PAUSE_MSG_TAB_BADGES = 0x1C, - PAUSE_MSG_TAB_ITEMS = 0x1D, - PAUSE_MSG_TAB_PARTY = 0x1E, - PAUSE_MSG_TAB_SPIRITS = 0x1F, - PAUSE_MSG_TAB_MAP = 0x20, - PAUSE_MSG_TIP_CONTROLS = 0x21, - PAUSE_MSG_TIP_HP = 0x22, - PAUSE_MSG_TIP_FP = 0x23, - PAUSE_MSG_TIP_BP = 0x24, - PAUSE_MSG_TIP_BOOTS_1 = 0x25, - PAUSE_MSG_TIP_BOOTS_2 = 0x26, - PAUSE_MSG_TIP_BOOTS_3 = 0x27, - PAUSE_MSG_TIP_HAMMER_0 = 0x28, - PAUSE_MSG_TIP_HAMMER_1 = 0x29, - PAUSE_MSG_TIP_HAMMER_2 = 0x2A, - PAUSE_MSG_TIP_HAMMER_3 = 0x2B, - PAUSE_MSG_TIP_STAR_POWER = 0x2C, - PAUSE_MSG_TIP_STAR_POINTS = 0x2D, - PAUSE_MSG_TIP_COINS = 0x2E, - PAUSE_MSG_TIP_SECRETS = 0x2F, - PAUSE_MSG_TIP_STAR_PIECES = 0x30, - PAUSE_MSG_TIP_TIME = 0x31, - PAUSE_MSG_LBL_COINS = 0x32, - PAUSE_MSG_LBL_STAR_POINTS = 0x33, - PAUSE_MSG_LBL_STAR_PIECES = 0x34, - PAUSE_MSG_LBL_TIME = 0x35, - PAUSE_MSG_LBL_HP = 0x36, - PAUSE_MSG_LBL_FP = 0x37, - PAUSE_MSG_LBL_BP = 0x38, - PAUSE_MSG_SLASH = 0x39, - PAUSE_MSG_DOT = 0x3A, - PAUSE_MSG_3B = 0x3B, - PAUSE_MSG_3C = 0x3C, - PAUSE_MSG_3D = 0x3D, - PAUSE_MSG_3E = 0x3E, - PAUSE_MSG_3F = 0x3F, - PAUSE_MSG_40 = 0x40, - PAUSE_MSG_41 = 0x41, - PAUSE_MSG_42 = 0x42, - PAUSE_MSG_MARIO = 0x43, - PAUSE_MSG_LEVEL = 0x44, - PAUSE_MSG_NO_BADGE = 0x45, - PAUSE_MSG_BADGE_BP = 0x46, - PAUSE_MSG_ALL_BADGES = 0x47, - PAUSE_MSG_ACTIVE = 0x48, - PAUSE_MSG_BADGES = 0x49, - PAUSE_MSG_NOT_ENOUGH_BP = 0x4A, - PAUSE_MSG_DONT_WEAR_MORE = 0x4B, - PAUSE_MSG_BAGDE_DESC_ALL = 0x4C, - PAUSE_MSG_BAGDE_DESC_ACTIVE = 0x4D, - PAUSE_MSG_BAGDE_DESC_NONE = 0x4E, - PAUSE_MSG_KEY_ITEMS = 0x4F, - PAUSE_MSG_CONSUMABLES = 0x50, - PAUSE_MSG_DESC_CONSUMABLES = 0x51, - PAUSE_MSG_DESC_KEY_ITEMS = 0x52, - PAUSE_MSG_PARTNER_HP = 0x53, - PAUSE_MSG_PARTNER_FP = 0x54, - PAUSE_MSG_PARTNER_ABILITIES = 0x55, - PAUSE_MSG_UNKNOWN_SPIRIT = 0x56, + /* 0x00 */ PAUSE_MSG_NONE, + /* 0x01 */ PAUSE_MSG_TUT_NAME_BADGES, + /* 0x02 */ PAUSE_MSG_TUT_UNUSED_1, + /* 0x03 */ PAUSE_MSG_TUT_UNUSED_2, + /* 0x04 */ PAUSE_MSG_TUT_UNUSED_3, + /* 0x05 */ PAUSE_MSG_TUT_UNUSED_4, + /* 0x06 */ PAUSE_MSG_TUT_UNUSED_5, + /* 0x07 */ PAUSE_MSG_TUT_UNUSED_6, + /* 0x08 */ PAUSE_MSG_TUT_UNUSED_7, + /* 0x09 */ PAUSE_MSG_TUT_DESC_1, + /* 0x0A */ PAUSE_MSG_TUT_DESC_2, + /* 0x0B */ PAUSE_MSG_TUT_DESC_3, + /* 0x0C */ PAUSE_MSG_TUT_DESC_4, + /* 0x0D */ PAUSE_MSG_TUT_DESC_5, + /* 0x0E */ PAUSE_MSG_TUT_DESC_6, + /* 0x0F */ PAUSE_MSG_TUT_DESC_7, + /* 0x10 */ PAUSE_MSG_TUT_CMD_1, + /* 0x11 */ PAUSE_MSG_TUT_CMD_2, + /* 0x12 */ PAUSE_MSG_TUT_CMD_3, + /* 0x13 */ PAUSE_MSG_TUT_CMD_4, + /* 0x14 */ PAUSE_MSG_TUT_CMD_5, + /* 0x15 */ PAUSE_MSG_TUT_CMD_6, + /* 0x16 */ PAUSE_MSG_TUT_CMD_7, +#if !VERSION_PAL + /* 0x17 */ PAUSE_MSG_17, + /* 0x18 */ PAUSE_MSG_18, + /* 0x19 */ PAUSE_MSG_19, + /* 0x1A */ PAUSE_MSG_1A, +#endif + /* 0x1B */ PAUSE_MSG_TAB_STATS, + /* 0x1C */ PAUSE_MSG_TAB_BADGES, + /* 0x1D */ PAUSE_MSG_TAB_ITEMS, + /* 0x1E */ PAUSE_MSG_TAB_PARTY, + /* 0x1F */ PAUSE_MSG_TAB_SPIRITS, + /* 0x20 */ PAUSE_MSG_TAB_MAP, + /* 0x21 */ PAUSE_MSG_TIP_CONTROLS, + /* 0x22 */ PAUSE_MSG_TIP_HP, + /* 0x23 */ PAUSE_MSG_TIP_FP, + /* 0x24 */ PAUSE_MSG_TIP_BP, + /* 0x25 */ PAUSE_MSG_TIP_BOOTS_1, + /* 0x26 */ PAUSE_MSG_TIP_BOOTS_2, + /* 0x27 */ PAUSE_MSG_TIP_BOOTS_3, + /* 0x28 */ PAUSE_MSG_TIP_HAMMER_0, + /* 0x29 */ PAUSE_MSG_TIP_HAMMER_1, + /* 0x2A */ PAUSE_MSG_TIP_HAMMER_2, + /* 0x2B */ PAUSE_MSG_TIP_HAMMER_3, + /* 0x2C */ PAUSE_MSG_TIP_STAR_POWER, + /* 0x2D */ PAUSE_MSG_TIP_STAR_POINTS, + /* 0x2E */ PAUSE_MSG_TIP_COINS, + /* 0x2F */ PAUSE_MSG_TIP_SECRETS, + /* 0x30 */ PAUSE_MSG_TIP_STAR_PIECES, + /* 0x31 */ PAUSE_MSG_TIP_TIME, + /* 0x32 */ PAUSE_MSG_LBL_COINS, + /* 0x33 */ PAUSE_MSG_LBL_STAR_POINTS, + /* 0x34 */ PAUSE_MSG_LBL_STAR_PIECES, + /* 0x35 */ PAUSE_MSG_LBL_TIME, + /* 0x36 */ PAUSE_MSG_LBL_HP, + /* 0x37 */ PAUSE_MSG_LBL_FP, + /* 0x38 */ PAUSE_MSG_LBL_BP, + /* 0x39 */ PAUSE_MSG_SLASH, + /* 0x3A */ PAUSE_MSG_DOT, +#if !VERSION_PAL + /* 0x3B */ PAUSE_MSG_3B, +#endif + /* 0x3C */ PAUSE_MSG_3C, + /* 0x3D */ PAUSE_MSG_3D, + /* 0x3E */ PAUSE_MSG_3E, +#if !VERSION_PAL + /* 0x3F */ PAUSE_MSG_3F, +#endif + /* 0x40 */ PAUSE_MSG_40, + /* 0x41 */ PAUSE_MSG_41, + /* 0x42 */ PAUSE_MSG_42, + /* 0x43 */ PAUSE_MSG_MARIO, + /* 0x44 */ PAUSE_MSG_LEVEL, + /* 0x45 */ PAUSE_MSG_NO_BADGE, + /* 0x46 */ PAUSE_MSG_BADGE_BP, + /* 0x47 */ PAUSE_MSG_ALL_BADGES, +#if VERSION_PAL + /* */ PAUSE_MSG_PAL_42, +#endif + /* 0x48 */ PAUSE_MSG_ACTIVE, + /* 0x49 */ PAUSE_MSG_BADGES, + /* 0x4A */ PAUSE_MSG_NOT_ENOUGH_BP, + /* 0x4B */ PAUSE_MSG_DONT_WEAR_MORE, + /* 0x4C */ PAUSE_MSG_BAGDE_DESC_ALL, + /* 0x4D */ PAUSE_MSG_BAGDE_DESC_ACTIVE, + /* 0x4E */ PAUSE_MSG_BAGDE_DESC_NONE, + /* 0x4F */ PAUSE_MSG_KEY_ITEMS, +#if VERSION_PAL + /* */ PAUSE_MSG_PAL_4B, +#endif + /* 0x50 */ PAUSE_MSG_CONSUMABLES, + /* 0x51 */ PAUSE_MSG_DESC_CONSUMABLES, + /* 0x52 */ PAUSE_MSG_DESC_KEY_ITEMS, + /* 0x53 */ PAUSE_MSG_PARTNER_HP, + /* 0x54 */ PAUSE_MSG_PARTNER_FP, + /* 0x55 */ PAUSE_MSG_PARTNER_ABILITIES, + /* 0x56 */ PAUSE_MSG_UNKNOWN_SPIRIT, }; #endif diff --git a/src/pause/pause_gfx.c b/src/pause/pause_gfx.c index 62496cac99..298003985f 100644 --- a/src/pause/pause_gfx.c +++ b/src/pause/pause_gfx.c @@ -31,6 +31,7 @@ #include "pause/map_location.png.inc.c" #include "pause/map_path_marker.png.inc.c" #include "pause/map_arrows.png.inc.c" +#if !VERSION_PAL #include "pause/banner_hp.png.inc.c" #include "pause/banner_hp.pal.inc.c" #include "pause/banner_fp.png.inc.c" @@ -47,9 +48,29 @@ #include "pause/available.pal.inc.c" #include "pause/prompt_check_abilities.png.inc.c" #include "pause/prompt_check_abilities.pal.inc.c" +#endif #include "pause/stats_bar.png.inc.c" #include "pause/stats_bar.pal.inc.c" +#if VERSION_PAL +extern u8 pause_prompt_check_abilities_png[]; +extern u8 pause_available_png[]; +extern u8 pause_available_pal[]; +extern u8 pause_banner_star_energy_png[]; +extern u8 pause_prompt_check_abilities_pal[]; +extern u8 pause_banner_hammer_png[]; +extern u8 pause_banner_hammer_pal[]; +extern u8 pause_banner_boots_png[]; +extern u8 pause_banner_hp_pal[]; +extern u8 pause_banner_hp_png[]; +extern u8 pause_banner_fp_pal[]; +extern u8 pause_banner_fp_png[]; +extern u8 pause_banner_bp_pal[]; +extern u8 pause_banner_bp_png[]; +extern u8 pause_banner_boots_pal[]; +extern u8 pause_banner_star_energy_pal[]; +#endif + Gfx gPauseDLBannerHp[] = { gsDPPipeSync(), gsSPTexture(-1, -1, 0, G_TX_RENDERTILE, G_ON), @@ -318,6 +339,26 @@ Gfx gPauseDLSpiritsBg[] = { gsSPEndDisplayList(), }; +#if VERSION_PAL +u8 D_PAL_80271B10[] = { 0x71, 0x71, 0x78, 0x71 }; +u8 D_PAL_80271B14[] = { 0x6A, 0x6A, 0x72, 0x6A }; +u8 D_PAL_80271B18[] = { 0x10, 0x10, 0x0F, 0x10 }; +u8 D_PAL_80271B1C[] = { 0x3D, 0x3D, 0x3C, 0x3D }; +u8 D_PAL_80271B20[] = { 0x43, 0x43, 0x42, 0x43 }; +u8 D_PAL_80271B24[] = { 0x8F, 0x7F, 0x88, 0x7C }; +u8 D_PAL_80271B28[] = { 0x9B, 0x88, 0x93, 0x84 }; +u8 D_PAL_80271B2C[] = { 0x1A, 0x1F, 0x23, 0x18 }; +u8 D_PAL_80271B30[] = { 0x00, 0x26, 0x36, 0x1A }; +u8 D_PAL_80271B34[] = { 0x19, 0x19, 0x16, 0x12 }; +u8 D_PAL_80271B38[] = { 0x0C, 0x08, 0x0B, 0x08 }; +u8 D_PAL_80271B3C[] = { 0x85, 0x80, 0x80, 0x80 }; +u8 D_PAL_80271B40[] = { 0x8C, 0x96, 0x96, 0x96 }; +u8 D_PAL_80271B44[] = { 0x7D, 0x87, 0x87, 0x87 }; +u8 D_PAL_80271B48[] = { 0x66, 0x70, 0x70, 0x70 }; +u8 D_PAL_80271B4C[] = { 0x0C, 0x0C, 0x12, 0x0C }; +u8 D_PAL_80271B50[] = { 0x50, 0x60, 0x52, 0x5F }; +#endif + #if VERSION_IQUE u8 gPauseMsg_17[] = { 0x8F, 0x0C, 0x75, 0x12, 0xFD }; u8 gPauseMsg_18[] = { 0x7B, 0x0E, 0x7C, 0x0E, 0xFD }; @@ -354,7 +395,7 @@ u8 gPauseMsg_53[] = { 0x28, 0x30, 0xFD }; u8 gPauseMsg_54[] = { 0x26, 0x30, 0xFD }; u8 gPauseMsg_55[] = { 0x6A, 0x11, 0x8B, 0x06, 0xFD }; u8 gPauseMsg_56[] = { 0x74, 0x08, 0x74, 0x08, 0x74, 0x08, 0xFD }; -#else +#elif VERSION_US u8 gPauseMsg_17[] = { 0x33, 0x54, 0x41, 0x54, 0x53, 0xFD }; // Stats[End] u8 gPauseMsg_18[] = { 0x22, 0x41, 0x44, 0x47, 0x45, 0xFD }; // Badge[End] u8 gPauseMsg_19[] = { 0x29, 0x54, 0x45, 0x4D, 0x53, 0xFD }; // Items[End] @@ -390,6 +431,38 @@ u8 gPauseMsg_53[] = { MSG_CHAR_UPPER_H, MSG_CHAR_UPPER_P, MSG_CHAR_READ_END }; u8 gPauseMsg_54[] = { MSG_CHAR_UPPER_F, MSG_CHAR_UPPER_P, MSG_CHAR_READ_END }; // FP[End] u8 gPauseMsg_55[] = { 0x21, 0x42, 0x49, 0x4C, 0x49, 0x54, 0x49, 0x45, 0x53, 0xFD }; // Abilities[End] u8 gPauseMsg_56[] = { MSG_CHAR_QUESTION, MSG_CHAR_QUESTION, MSG_CHAR_QUESTION, MSG_CHAR_READ_END }; // ???[End] +#elif VERSION_PAL +#define gPauseMsg_32 MSG_PAL_Menu_0039 /* Coins */ +#define gPauseMsg_33 MSG_PAL_Menu_003A /* Star Points */ +#define gPauseMsg_34 MSG_PAL_Menu_003B /* Star Pieces */ +#define gPauseMsg_35 MSG_PAL_Menu_003C /* Play Time */ +#define gPauseMsg_36 MSG_PAL_Menu_003D /* HP */ +#define gPauseMsg_37 MSG_PAL_Menu_003E /* FP */ +#define gPauseMsg_38 MSG_PAL_Menu_003F /* BP */ +#define gPauseMsg_39 MSG_PAL_Menu_0040 /* / */ +#define gPauseMsg_3A MSG_PAL_Menu_0041 /* . */ +#define gPauseMsg_3C MSG_PAL_Menu_0042 /* Boots */ +#define gPauseMsg_3D MSG_PAL_Menu_0043 /* Super Boots */ +#define gPauseMsg_3E MSG_PAL_Menu_0044 /* Ultra Boots */ +#define gPauseMsg_40 MSG_PAL_Menu_0045 /* Hammer */ +#define gPauseMsg_41 MSG_PAL_Menu_0046 /* Super Hammer */ +#define gPauseMsg_42 MSG_PAL_Menu_0047 /* Ultra Hammer */ +#define gPauseMsg_43 MSG_PAL_Menu_0048 /* Mario */ +#define gPauseMsg_44 MSG_PAL_Menu_0049 /* Level */ +#define gPauseMsg_46 MSG_PAL_Menu_003F /* BP */ +#define gPauseMsg_47 MSG_PAL_Menu_004A /* All Badges */ +#define gPauseMsg_PAL_42 MSG_PAL_Menu_004B /* [END] */ +#define gPauseMsg_48 MSG_PAL_Menu_004C /* Active */ +#define gPauseMsg_49 MSG_PAL_Menu_004D /* Badges */ +#define gPauseMsg_4A MSG_PAL_Menu_004E /* Not Enough BP! */ +#define gPauseMsg_4B MSG_PAL_Menu_004F /* Don't wear more! */ +#define gPauseMsg_4F MSG_PAL_Menu_0051 /* Key Items */ +#define gPauseMsg_PAL_4B MSG_PAL_Menu_0052 /* [END] */ +#define gPauseMsg_50 MSG_PAL_Menu_0050 /* Items */ +#define gPauseMsg_53 MSG_PAL_Menu_003D /* HP */ +#define gPauseMsg_54 MSG_PAL_Menu_003E /* FP */ +#define gPauseMsg_55 MSG_PAL_Menu_0053 /* Abilities */ +#define gPauseMsg_56 MSG_PAL_Menu_0054 /* ??? */ #endif s32 gPauseMessages[] = { @@ -416,10 +489,12 @@ s32 gPauseMessages[] = { [PAUSE_MSG_TUT_CMD_5] MSG_MenuTip_BadgeTutorial_13, [PAUSE_MSG_TUT_CMD_6] MSG_MenuTip_BadgeTutorial_14, [PAUSE_MSG_TUT_CMD_7] MSG_MenuTip_BadgeTutorial_15, +#if !VERSION_PAL [PAUSE_MSG_17] (s32) gPauseMsg_17, [PAUSE_MSG_18] (s32) gPauseMsg_18, [PAUSE_MSG_19] (s32) gPauseMsg_19, [PAUSE_MSG_1A] (s32) gPauseMsg_1A, +#endif [PAUSE_MSG_TAB_STATS] MSG_MenuTip_StatsTab, [PAUSE_MSG_TAB_BADGES] MSG_MenuTip_BadgesTab, [PAUSE_MSG_TAB_ITEMS] MSG_MenuTip_ItemsTab, @@ -452,11 +527,15 @@ s32 gPauseMessages[] = { [PAUSE_MSG_LBL_BP] (s32) gPauseMsg_38, [PAUSE_MSG_SLASH] (s32) gPauseMsg_39, [PAUSE_MSG_DOT] (s32) gPauseMsg_3A, +#if !VERSION_PAL [PAUSE_MSG_3B] (s32) gPauseMsg_3B, +#endif [PAUSE_MSG_3C] (s32) gPauseMsg_3C, [PAUSE_MSG_3D] (s32) gPauseMsg_3D, [PAUSE_MSG_3E] (s32) gPauseMsg_3E, +#if !VERSION_PAL [PAUSE_MSG_3F] (s32) gPauseMsg_3F, +#endif [PAUSE_MSG_40] (s32) gPauseMsg_40, [PAUSE_MSG_41] (s32) gPauseMsg_41, [PAUSE_MSG_42] (s32) gPauseMsg_42, @@ -465,6 +544,9 @@ s32 gPauseMessages[] = { [PAUSE_MSG_NO_BADGE] MSG_MenuTip_None, [PAUSE_MSG_BADGE_BP] (s32) gPauseMsg_46, [PAUSE_MSG_ALL_BADGES] (s32) gPauseMsg_47, +#if VERSION_PAL + [PAUSE_MSG_PAL_42] (s32) gPauseMsg_PAL_42, +#endif [PAUSE_MSG_ACTIVE] (s32) gPauseMsg_48, [PAUSE_MSG_BADGES] (s32) gPauseMsg_49, [PAUSE_MSG_NOT_ENOUGH_BP] (s32) gPauseMsg_4A, @@ -473,6 +555,9 @@ s32 gPauseMessages[] = { [PAUSE_MSG_BAGDE_DESC_ACTIVE] MSG_MenuTip_BadgeTab_Equipped, [PAUSE_MSG_BAGDE_DESC_NONE] MSG_MenuTip_None, [PAUSE_MSG_KEY_ITEMS] (s32) gPauseMsg_4F, +#if VERSION_PAL + [PAUSE_MSG_PAL_4B] (s32) gPauseMsg_PAL_4B, +#endif [PAUSE_MSG_CONSUMABLES] (s32) gPauseMsg_50, [PAUSE_MSG_DESC_CONSUMABLES] MSG_MenuTip_ItemTab_Consumables, [PAUSE_MSG_DESC_KEY_ITEMS] MSG_MenuTip_ItemTab_KeyItems, @@ -498,6 +583,9 @@ s32 pause_get_menu_msg(s32 index) { return gPauseMessages[index]; } +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_gfx", pause_draw_menu_label); +#else void pause_draw_menu_label(s32 index, s32 x, s32 y) { s32 xOffset = 64; @@ -520,6 +608,7 @@ void pause_draw_menu_label(s32 index, s32 x, s32 y) { gSPDisplayList(gMainGfxPos++, gPauseDLLabels[index]); pause_draw_rect(x * 4, y * 4, (x + xOffset) * 4, (y + 16) * 4, 0, 0, 0, 0x400, 0x400); } +#endif BSS s8 gPauseBufferPal1[512]; BSS s8 gPauseBufferImg1[15752]; diff --git a/src/pause/pause_gfx_en.c b/src/pause/pause_gfx_en.c new file mode 100644 index 0000000000..dfe095fc0c --- /dev/null +++ b/src/pause/pause_gfx_en.c @@ -0,0 +1,16 @@ +#include "pause/banner_hp.png.inc.c" +#include "pause/banner_hp.pal.inc.c" +#include "pause/banner_fp.png.inc.c" +#include "pause/banner_fp.pal.inc.c" +#include "pause/banner_bp.png.inc.c" +#include "pause/banner_bp.pal.inc.c" +#include "pause/banner_boots.png.inc.c" +#include "pause/banner_boots.pal.inc.c" +#include "pause/banner_hammer.png.inc.c" +#include "pause/banner_hammer.pal.inc.c" +#include "pause/banner_star_energy.png.inc.c" +#include "pause/banner_star_energy.pal.inc.c" +#include "pause/available.png.inc.c" +#include "pause/available.pal.inc.c" +#include "pause/prompt_check_abilities.png.inc.c" +#include "pause/prompt_check_abilities.pal.inc.c" diff --git a/src/pause/pause_items.c b/src/pause/pause_items.c index eb72068df6..da65397ce8 100644 --- a/src/pause/pause_items.c +++ b/src/pause/pause_items.c @@ -104,6 +104,9 @@ s32 pause_items_scroll_offset_x(s32 beforeX) { return beforeX; } +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_items", pause_items_draw_contents); +#else void pause_items_draw_contents(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) { s32 i, pageIndex, itemIndex; s32 totalItemIndex; @@ -347,6 +350,7 @@ void pause_items_draw_contents(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, } } } +#endif void pause_items_load_items(s32 invItems) { PlayerData* playerData = &gPlayerData; diff --git a/src/pause/pause_map.c b/src/pause/pause_map.c index d4f9fdd45a..1a8e986557 100644 --- a/src/pause/pause_map.c +++ b/src/pause/pause_map.c @@ -1,6 +1,14 @@ #include "pause_common.h" #include "message_ids.h" +#if VERSION_PAL +#define MAP_TITLE_X 36 +#define MAP_TITLE_WIDTH 220 +#else +#define MAP_TITLE_X 56 +#define MAP_TITLE_WIDTH 180 +#endif + extern Gfx gPauseDLWorldMap[]; extern u8 pause_world_map_png[]; extern Gfx gPauseDLPathPoints[]; @@ -98,6 +106,7 @@ PauseMapSpace gPauseMapSpaces[] = { { .pos = { .x = 88, .y = 22 }, .parent = 31, .pathLength = 3, .path = gPauseMapPaths[32], .afterRequirement = STORY_EPILOGUE, .id = LOCATION_PEACHS_CASTLE }, { .pos = { .x = 98, .y = 147 }, .parent = 0, .pathLength = 0, .path = gPauseMapPaths[33], .afterRequirement = STORY_61, .id = LOCATION_MARIOS_HOUSE } }; + s32 gPauseMapArrowWobble[] = { 0, 2, 3, 3, 4, 4, 4, 4, 3, 2, 1, 0 }; MenuWindowBP gPauseMapWindowBPs[] = { { @@ -117,8 +126,8 @@ MenuWindowBP gPauseMapWindowBPs[] = { { .windowID = WINDOW_ID_PAUSE_MAP_TITLE, .unk_01 = 0, - .pos = { .x = 56, .y = 124 }, - .width = 180, + .pos = { .x = MAP_TITLE_X, .y = 124 }, + .width = MAP_TITLE_WIDTH, .height = 20, .priority = WINDOW_PRIORITY_0, .fpDrawContents = &pause_map_draw_title, diff --git a/src/pause/pause_partners.c b/src/pause/pause_partners.c index 2239edac4a..4a02e54bdd 100644 --- a/src/pause/pause_partners.c +++ b/src/pause/pause_partners.c @@ -35,10 +35,35 @@ static f32 gPausePartnersRotAngle; static s32 gPausePartnersLevel; static s32 gPausePartnersNumPartners; +#if VERSION_PAL +extern HudScript HES_FPCost_de; +extern HudScript HES_FPCost_fr; +extern HudScript HES_FPCost_es; + +HudScript* gPausePartnersIconScripts[][8] = { + [LANGUAGE_EN] = { + &HES_FPCost, &HES_StatFp_1, &HES_PartnerRank, &HES_PartnerRank, + &HES_MoveDiamond, &HES_MoveBlueOrb, &HES_MoveGreenOrb, &HES_MoveRedOrb + }, + [LANGUAGE_DE] = { + &HES_FPCost_de, &HES_StatFp_1, &HES_PartnerRank, &HES_PartnerRank, + &HES_MoveDiamond, &HES_MoveBlueOrb, &HES_MoveGreenOrb, &HES_MoveRedOrb + }, + [LANGUAGE_FR] = { + &HES_FPCost_fr, &HES_StatFp_1, &HES_PartnerRank, &HES_PartnerRank, + &HES_MoveDiamond, &HES_MoveBlueOrb, &HES_MoveGreenOrb, &HES_MoveRedOrb + }, + [LANGUAGE_ES] = { + &HES_FPCost_es, &HES_StatFp_1, &HES_PartnerRank, &HES_PartnerRank, + &HES_MoveDiamond, &HES_MoveBlueOrb, &HES_MoveGreenOrb, &HES_MoveRedOrb + }, +}; +#else HudScript* gPausePartnersIconScripts[] = { &HES_FPCost, &HES_StatFp_1, &HES_PartnerRank, &HES_PartnerRank, &HES_MoveDiamond, &HES_MoveBlueOrb, &HES_MoveGreenOrb, &HES_MoveRedOrb }; +#endif Vp gPausePartnersViewport = { .vp = { @@ -470,6 +495,9 @@ void pause_partners_draw_title(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, } } +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_partners", pause_partners_draw_movelist); +#else void pause_partners_draw_movelist(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) { s32 i; s32 moveNameID; @@ -527,16 +555,24 @@ void pause_partners_draw_movelist(MenuPanel* menu, s32 baseX, s32 baseY, s32 wid pause_set_cursor_pos(WINDOW_ID_PAUSE_PARTNERS_MOVELIST, baseX - 2, baseY + 28 + gPausePartnersSelectedMove * 13); } } +#endif +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_partners", pause_partners_draw_movelist_title); +#else void pause_partners_draw_movelist_title(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) { draw_msg(pause_get_menu_msg(PAUSE_MSG_PARTNER_ABILITIES), baseX + 12, baseY + 1, 255, -1, DRAW_MSG_STYLE_MENU); } +#endif void pause_partners_draw_movelist_flower(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) { hud_element_set_render_pos(gPausePartnersIconIDs[1], baseX + 17, baseY + 16); hud_element_draw_without_clipping(gPausePartnersIconIDs[1]); } +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_partners", pause_partners_init); +#else void pause_partners_init(MenuPanel* panel) { s32 i; PlayerData* playerData = get_player_data(); @@ -583,6 +619,7 @@ void pause_partners_init(MenuPanel* panel) { pause_partners_load_portrait(0); panel->initialized = TRUE; } +#endif void pause_partners_handle_input(MenuPanel* panel) { s32 delta; diff --git a/src/pause/pause_stats.c b/src/pause/pause_stats.c index bad05ba32a..d6825db984 100644 --- a/src/pause/pause_stats.c +++ b/src/pause/pause_stats.c @@ -68,10 +68,15 @@ HudScript* gStatsMenuElements[] = { [STAT_ICON_TIMES] &HES_StatTimes, }; +#if VERSION_PAL +#define PAUSE_MSG_3B PAUSE_MSG_NO_BADGE +#define PAUSE_MSG_3F PAUSE_MSG_NO_BADGE +#endif + HudScript* gStatsBootsElements[] = { &HES_StatBoots0, &HES_StatBoots1, &HES_StatBoots2, &HES_StatBoots3 }; HudScript* gStatsHammerElements[] = { &HES_StatHammer0, &HES_StatHammer1, &HES_StatHammer2, &HES_StatHammer3 }; -s32 gPauseStatsBootsMessages[] = { 59, 60, 61, 62 }; -s32 gPauseStatsHammerMessages[] = { 63, 64, 65, 66 }; +s32 gPauseStatsBootsMessages[] = { PAUSE_MSG_3B, PAUSE_MSG_3C, PAUSE_MSG_3D, PAUSE_MSG_3E }; +s32 gPauseStatsHammerMessages[] = { PAUSE_MSG_3F, PAUSE_MSG_40, PAUSE_MSG_41, PAUSE_MSG_42 }; s8 gPauseStatsGridData[] = { 0, 4, 1, 5, @@ -81,6 +86,16 @@ s8 gPauseStatsGridData[] = { 3, 9, 3, 10 }; + +#if VERSION_PAL +#define STAR_POWER_X 122 +#define COLLECTABLES_X 127 +#else +#define STAR_POWER_X 132 +#define COLLECTABLES_X 125 +#endif + + StatsEntryData gStatsMenuEntries[] = { { .cursorX = 9, .cursorY = 20, .baseMsgID = PAUSE_MSG_TIP_CONTROLS }, { .cursorX = 17, .cursorY = 55, .baseMsgID = PAUSE_MSG_TIP_HP }, @@ -88,12 +103,17 @@ StatsEntryData gStatsMenuEntries[] = { { .cursorX = 17, .cursorY = 124, .baseMsgID = PAUSE_MSG_TIP_BP }, { .cursorX = 138, .cursorY = 28, .baseMsgID = PAUSE_MSG_TIP_BOOTS_1 }, { .cursorX = 138, .cursorY = 53, .baseMsgID = PAUSE_MSG_TIP_HAMMER_0 }, - { .cursorX = 132, .cursorY = 76, .baseMsgID = PAUSE_MSG_TIP_STAR_POWER }, - { .cursorX = 125, .cursorY = 91, .baseMsgID = PAUSE_MSG_TIP_STAR_POINTS }, - { .cursorX = 125, .cursorY = 106, .baseMsgID = PAUSE_MSG_TIP_COINS }, - { .cursorX = 125, .cursorY = 121, .baseMsgID = PAUSE_MSG_TIP_SECRETS }, - { .cursorX = 125, .cursorY = 138, .baseMsgID = PAUSE_MSG_TIP_TIME }, -}; + { .cursorX = STAR_POWER_X, .cursorY = 76, .baseMsgID = PAUSE_MSG_TIP_STAR_POWER }, + { .cursorX = COLLECTABLES_X, .cursorY = 91, .baseMsgID = PAUSE_MSG_TIP_STAR_POINTS }, + { .cursorX = COLLECTABLES_X, .cursorY = 106, .baseMsgID = PAUSE_MSG_TIP_COINS }, + { .cursorX = COLLECTABLES_X, .cursorY = 121, .baseMsgID = PAUSE_MSG_TIP_SECRETS }, + { .cursorX = COLLECTABLES_X, .cursorY = 138, .baseMsgID = PAUSE_MSG_TIP_TIME }, +}; + +#if VERSION_PAL +s32 D_pause_80253814[] = { 0, -16, -7, -19 }; +#endif + HudScript* gPauseStatsSPIncElements[] = { &HES_StatusSPIncrement1, &HES_StatusSPIncrement3, &HES_StatusSPIncrement2, &HES_StatusSPIncrement4, &HES_StatusSPIncrement5, &HES_StatusSPIncrement6, @@ -143,6 +163,9 @@ MenuPanel gPausePanelStats = { }; +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_stats", pause_stats_draw_contents); +#else void pause_stats_draw_contents(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening) { StatsEntryData* statsEntryData; PlayerData* playerData; @@ -573,6 +596,7 @@ void pause_stats_draw_contents(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, pause_set_cursor_pos(WINDOW_ID_PAUSE_STATS, baseX + entry->cursorX, baseY + entry->cursorY); } } +#endif void pause_stats_init(MenuPanel* panel) { s32 i; diff --git a/src/pause/pause_tabs.c b/src/pause/pause_tabs.c index af1b86eda9..e34f8f8e1b 100644 --- a/src/pause/pause_tabs.c +++ b/src/pause/pause_tabs.c @@ -1,5 +1,11 @@ #include "pause_common.h" +#if VERSION_PAL +#define TABS_CURSOR_OFFSET_X (-4) +#else +#define TABS_CURSOR_OFFSET_X (0) +#endif + extern MenuPanel* gPausePanels[]; void pause_tabs_draw_stats(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening); void pause_tabs_draw_badges(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 height, s32 opacity, s32 darkening); @@ -17,8 +23,50 @@ static s32 gPauseTabsIconIDs[6]; static s32 gPauseTabsPreviousTab; static s32 gPauseTabsHorizScrollPos; +#if VERSION_PAL +extern HudScript HES_HeaderStats_de; +extern HudScript HES_HeaderBadges_de; +extern HudScript HES_HeaderItems_de; +extern HudScript HES_HeaderParty_de; +extern HudScript HES_HeaderSpirits_de; +extern HudScript HES_HeaderMap_de; + +extern HudScript HES_HeaderStats_fr; +extern HudScript HES_HeaderBadges_fr; +extern HudScript HES_HeaderItems_fr; +extern HudScript HES_HeaderParty_fr; +extern HudScript HES_HeaderSpirits_fr; +extern HudScript HES_HeaderMap_fr; + +extern HudScript HES_HeaderStats_es; +extern HudScript HES_HeaderBadges_es; +extern HudScript HES_HeaderItems_es; +extern HudScript HES_HeaderParty_es; +extern HudScript HES_HeaderSpirits_es; +extern HudScript HES_HeaderMap_es; + +HudScript* gPauseTabsHudScripts[][6] = { + [LANGUAGE_EN] = { + &HES_HeaderStats, &HES_HeaderBadges, &HES_HeaderItems, + &HES_HeaderParty, &HES_HeaderSpirits, &HES_HeaderMap + }, + [LANGUAGE_DE] = { + &HES_HeaderStats_de, &HES_HeaderBadges_de, &HES_HeaderItems_de, + &HES_HeaderParty_de, &HES_HeaderSpirits_de, &HES_HeaderMap_de + }, + [LANGUAGE_FR] = { + &HES_HeaderStats_fr, &HES_HeaderBadges_fr, &HES_HeaderItems_fr, + &HES_HeaderParty_fr, &HES_HeaderSpirits_fr, &HES_HeaderMap_fr + }, + [LANGUAGE_ES] = { + &HES_HeaderStats_es, &HES_HeaderBadges_es, &HES_HeaderItems_es, + &HES_HeaderParty_es, &HES_HeaderSpirits_es, &HES_HeaderMap_es + }, +}; +#else HudScript* gPauseTabsHudScripts[] = { &HES_HeaderStats, &HES_HeaderBadges, &HES_HeaderItems, &HES_HeaderParty, &HES_HeaderSpirits, &HES_HeaderMap }; +#endif s8 gPauseTabsGridData[] = { 0, 1, 2, 3, 4, 5 }; u8 gPauseTabsPanelIDs[] = { 1, 2, 3, 4, 5, 6 }; u8 gPauseTabsWindowIDs[] = { WINDOW_ID_PAUSE_TAB_STATS, WINDOW_ID_PAUSE_TAB_BADGES, WINDOW_ID_PAUSE_TAB_ITEMS, WINDOW_ID_PAUSE_TAB_PARTY, WINDOW_ID_PAUSE_TAB_SPIRITS, WINDOW_ID_PAUSE_TAB_MAP }; @@ -124,7 +172,14 @@ MenuWindowBP gPauseTabsWindowBPs[] = { } }; s32 gPauseTabsCurrentTab = 0; -s32 gPauseTabsMessages[] = { 27, 28, 29, 30, 31, 32 }; +s32 gPauseTabsMessages[] = { + PAUSE_MSG_TAB_STATS, + PAUSE_MSG_TAB_BADGES, + PAUSE_MSG_TAB_ITEMS, + PAUSE_MSG_TAB_PARTY, + PAUSE_MSG_TAB_SPIRITS, + PAUSE_MSG_TAB_MAP, +}; u8 gPauseTabsInterpTable[] = { 0, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8 }; s32 gPauseDoBasicWindowUpdate = TRUE; // TODO rename (eth name) MenuPanel gPausePanelTabs = { @@ -159,7 +214,7 @@ void pause_tabs_draw_stats(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 hud_element_draw_without_clipping(gPauseTabsIconIDs[0]); if (gPauseMenuCurrentTab == 0) { if (gPauseTabsWindowIDs[menu->col] == 25) { - pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX, baseY + 6); + pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6); } } } @@ -177,7 +232,7 @@ void pause_tabs_draw_badges(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s3 hud_element_draw_without_clipping(gPauseTabsIconIDs[1]); if (gPauseMenuCurrentTab == 0) { if (gPauseTabsWindowIDs[menu->col] == 26) { - pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX, baseY + 6); + pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6); } } } @@ -195,7 +250,7 @@ void pause_tabs_draw_items(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 hud_element_draw_without_clipping(gPauseTabsIconIDs[2]); if (gPauseMenuCurrentTab == 0) { if (gPauseTabsWindowIDs[menu->col] == 27) { - pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX, baseY + 6); + pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6); } } } @@ -213,7 +268,7 @@ void pause_tabs_draw_party(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 hud_element_draw_without_clipping(gPauseTabsIconIDs[3]); if (gPauseMenuCurrentTab == 0) { if (gPauseTabsWindowIDs[menu->col] == 28) { - pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX, baseY + 6); + pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6); } } } @@ -231,7 +286,7 @@ void pause_tabs_draw_spirits(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s hud_element_draw_without_clipping(gPauseTabsIconIDs[4]); if (gPauseMenuCurrentTab == 0) { if (gPauseTabsWindowIDs[menu->col] == 29) { - pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX, baseY + 6); + pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6); } } } @@ -249,11 +304,14 @@ void pause_tabs_draw_map(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 h hud_element_draw_without_clipping(gPauseTabsIconIDs[5]); if (gPauseMenuCurrentTab == 0) { if (gPauseTabsWindowIDs[menu->col] == 30) { - pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX, baseY + 6); + pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6); } } } +#if VERSION_PAL +INCLUDE_ASM(void, "pause/pause_tabs", pause_tabs_init); +#else void pause_tabs_init(MenuPanel* tab) { s32 i; @@ -272,6 +330,7 @@ void pause_tabs_init(MenuPanel* tab) { tab->initialized = TRUE; gPauseTabsPreviousTab = 5; } +#endif void pause_tabs_handle_input(MenuPanel* tab) { Window* pauseWindows; diff --git a/tools/splat_ext/msg_pal_en.yaml b/tools/splat_ext/msg_pal_en.yaml index 4efd2b15e4..3047f8f710 100644 --- a/tools/splat_ext/msg_pal_en.yaml +++ b/tools/splat_ext/msg_pal_en.yaml @@ -5852,6 +5852,43 @@ - [0x1F, 0x0032, MenuTip_0032] - [0x1F, 0x0033, MenuTip_0033] - [0x1F, 0x0034, MenuTip_0034] +- [0x1F, 0x0035, PAL_Menu_0035] +- [0x1F, 0x0036, PAL_Menu_0036] +- [0x1F, 0x0037, PAL_Menu_0037] +- [0x1F, 0x0038, PAL_Menu_0038] +- [0x1F, 0x0039, PAL_Menu_0039] +- [0x1F, 0x003A, PAL_Menu_003A] +- [0x1F, 0x003B, PAL_Menu_003B] +- [0x1F, 0x003C, PAL_Menu_003C] +- [0x1F, 0x003D, PAL_Menu_003D] +- [0x1F, 0x003E, PAL_Menu_003E] +- [0x1F, 0x003F, PAL_Menu_003F] +- [0x1F, 0x0040, PAL_Menu_0040] +- [0x1F, 0x0041, PAL_Menu_0041] +- [0x1F, 0x0042, PAL_Menu_0042] +- [0x1F, 0x0043, PAL_Menu_0043] +- [0x1F, 0x0044, PAL_Menu_0044] +- [0x1F, 0x0045, PAL_Menu_0045] +- [0x1F, 0x0046, PAL_Menu_0046] +- [0x1F, 0x0047, PAL_Menu_0047] +- [0x1F, 0x0048, PAL_Menu_0048] +- [0x1F, 0x0049, PAL_Menu_0049] +- [0x1F, 0x004A, PAL_Menu_004A] +- [0x1F, 0x004B, PAL_Menu_004B] +- [0x1F, 0x004C, PAL_Menu_004C] +- [0x1F, 0x004D, PAL_Menu_004D] +- [0x1F, 0x004E, PAL_Menu_004E] +- [0x1F, 0x004F, PAL_Menu_004F] +- [0x1F, 0x0050, PAL_Menu_0050] +- [0x1F, 0x0051, PAL_Menu_0051] +- [0x1F, 0x0052, PAL_Menu_0052] +- [0x1F, 0x0053, PAL_Menu_0053] +- [0x1F, 0x0054, PAL_Menu_0054] +- [0x1F, 0x0055, PAL_Menu_0055] +- [0x1F, 0x0056, PAL_Menu_0056] +- [0x1F, 0x0057, PAL_Menu_0057] +- [0x1F, 0x0058, PAL_Menu_0058] +- [0x1F, 0x0059, PAL_Menu_0059] - [0x20, 0x0000, Document_Letter_Mario01_Body] - [0x20, 0x0001, Document_Letter_Mario01_From] - [0x20, 0x0002, Document_Letter_Mario02_Body] diff --git a/ver/pal/asm/nonmatchings/pause/pause_badges/pause_badges_draw_contents.s b/ver/pal/asm/nonmatchings/pause/pause_badges/pause_badges_draw_contents.s new file mode 100644 index 0000000000..2994cda645 --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_badges/pause_badges_draw_contents.s @@ -0,0 +1,1745 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +.section .rodata +glabel D_pause_80272380 +/* 1671C0 80272380 3FC999999999999A */ .double 0.200000000000000011 +/* 1671C8 80272388 00000000 */ .double 0 + + +.section .text +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_badges_draw_contents +/* 140378 8024B538 27BDFF40 */ addiu $sp, $sp, -0xC0 +/* 14037C 8024B53C 240A0001 */ addiu $t2, $zero, 0x1 +/* 140380 8024B540 3C028027 */ lui $v0, %hi(gPauseBadgesCurrentPage) +/* 140384 8024B544 8C422650 */ lw $v0, %lo(gPauseBadgesCurrentPage)($v0) +/* 140388 8024B548 3C038027 */ lui $v1, %hi(gPauseBadgesPages) +/* 14038C 8024B54C 24632658 */ addiu $v1, $v1, %lo(gPauseBadgesPages) +/* 140390 8024B550 AFBF00BC */ sw $ra, 0xBC($sp) +/* 140394 8024B554 AFBE00B8 */ sw $fp, 0xB8($sp) +/* 140398 8024B558 AFB700B4 */ sw $s7, 0xB4($sp) +/* 14039C 8024B55C AFB600B0 */ sw $s6, 0xB0($sp) +/* 1403A0 8024B560 AFB500AC */ sw $s5, 0xAC($sp) +/* 1403A4 8024B564 AFB400A8 */ sw $s4, 0xA8($sp) +/* 1403A8 8024B568 AFB300A4 */ sw $s3, 0xA4($sp) +/* 1403AC 8024B56C AFB200A0 */ sw $s2, 0xA0($sp) +/* 1403B0 8024B570 AFB1009C */ sw $s1, 0x9C($sp) +/* 1403B4 8024B574 AFB00098 */ sw $s0, 0x98($sp) +/* 1403B8 8024B578 AFA500C4 */ sw $a1, 0xC4($sp) +/* 1403BC 8024B57C AFA600C8 */ sw $a2, 0xC8($sp) +/* 1403C0 8024B580 AFA700CC */ sw $a3, 0xCC($sp) +/* 1403C4 8024B584 AFA00070 */ sw $zero, 0x70($sp) +/* 1403C8 8024B588 AFA00074 */ sw $zero, 0x74($sp) +/* 1403CC 8024B58C AFAA0064 */ sw $t2, 0x64($sp) +/* 1403D0 8024B590 01428004 */ sllv $s0, $v0, $t2 +/* 1403D4 8024B594 02028021 */ addu $s0, $s0, $v0 +/* 1403D8 8024B598 00108080 */ sll $s0, $s0, 2 +/* 1403DC 8024B59C 0C0921C1 */ jal pause_get_total_equipped_bp_cost +/* 1403E0 8024B5A0 02038021 */ addu $s0, $s0, $v1 +/* 1403E4 8024B5A4 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1403E8 8024B5A8 92090002 */ lbu $t1, 0x2($s0) +/* 1403EC 8024B5AC 8FAA00CC */ lw $t2, 0xCC($sp) +/* 1403F0 8024B5B0 25660054 */ addiu $a2, $t3, 0x54 +/* 1403F4 8024B5B4 8FAB00D0 */ lw $t3, 0xD0($sp) +/* 1403F8 8024B5B8 2543FFAC */ addiu $v1, $t2, -0x54 +/* 1403FC 8024B5BC AFA30014 */ sw $v1, 0x14($sp) +/* 140400 8024B5C0 240300FF */ addiu $v1, $zero, 0xFF +/* 140404 8024B5C4 AFA3001C */ sw $v1, 0x1C($sp) +/* 140408 8024B5C8 24030140 */ addiu $v1, $zero, 0x140 +/* 14040C 8024B5CC AFA30044 */ sw $v1, 0x44($sp) +/* 140410 8024B5D0 240300F0 */ addiu $v1, $zero, 0xF0 +/* 140414 8024B5D4 AFA30048 */ sw $v1, 0x48($sp) +/* 140418 8024B5D8 3C038027 */ lui $v1, %hi(gPauseBadgesSelectedIndex) +/* 14041C 8024B5DC 8C632748 */ lw $v1, %lo(gPauseBadgesSelectedIndex)($v1) +/* 140420 8024B5E0 AFAB0018 */ sw $t3, 0x18($sp) +/* 140424 8024B5E4 15200002 */ bnez $t1, .Lpause_8024B5F0 +/* 140428 8024B5E8 0069001A */ div $zero, $v1, $t1 +/* 14042C 8024B5EC 0007000D */ break 7 +.Lpause_8024B5F0: +/* 140430 8024B5F0 2401FFFF */ addiu $at, $zero, -0x1 +/* 140434 8024B5F4 15210004 */ bne $t1, $at, .Lpause_8024B608 +/* 140438 8024B5F8 3C018000 */ lui $at, (0x80000000 >> 16) +/* 14043C 8024B5FC 14610002 */ bne $v1, $at, .Lpause_8024B608 +/* 140440 8024B600 00000000 */ nop +/* 140444 8024B604 0006000D */ break 6 +.Lpause_8024B608: +/* 140448 8024B608 00005012 */ mflo $t2 +/* 14044C 8024B60C 00005810 */ mfhi $t3 +/* 140450 8024B610 24040004 */ addiu $a0, $zero, 0x4 +/* 140454 8024B614 8FA700C8 */ lw $a3, 0xC8($sp) +/* 140458 8024B618 3C088011 */ lui $t0, %hi(gPlayerData+0x8) +/* 14045C 8024B61C 8108DD98 */ lb $t0, %lo(gPlayerData+0x8)($t0) +/* 140460 8024B620 3C058027 */ lui $a1, %hi(gPauseWS_15) +/* 140464 8024B624 24A52018 */ addiu $a1, $a1, %lo(gPauseWS_15) +/* 140468 8024B628 AFA00010 */ sw $zero, 0x10($sp) +/* 14046C 8024B62C AFA00020 */ sw $zero, 0x20($sp) +/* 140470 8024B630 AFA00024 */ sw $zero, 0x24($sp) +/* 140474 8024B634 AFA00028 */ sw $zero, 0x28($sp) +/* 140478 8024B638 AFA0002C */ sw $zero, 0x2C($sp) +/* 14047C 8024B63C AFA00030 */ sw $zero, 0x30($sp) +/* 140480 8024B640 AFA00034 */ sw $zero, 0x34($sp) +/* 140484 8024B644 AFA00038 */ sw $zero, 0x38($sp) +/* 140488 8024B648 AFA0003C */ sw $zero, 0x3C($sp) +/* 14048C 8024B64C AFA00040 */ sw $zero, 0x40($sp) +/* 140490 8024B650 AFA0004C */ sw $zero, 0x4C($sp) +/* 140494 8024B654 01024023 */ subu $t0, $t0, $v0 +/* 140498 8024B658 AFA8006C */ sw $t0, 0x6C($sp) +/* 14049C 8024B65C AFAA0060 */ sw $t2, 0x60($sp) +/* 1404A0 8024B660 0C03C5C4 */ jal draw_box +/* 1404A4 8024B664 AFAB005C */ sw $t3, 0x5C($sp) +/* 1404A8 8024B668 3C108027 */ lui $s0, %hi(gPauseBadgesIconIDs) +/* 1404AC 8024B66C 26102778 */ addiu $s0, $s0, %lo(gPauseBadgesIconIDs) +/* 1404B0 8024B670 8FAA00C4 */ lw $t2, 0xC4($sp) +/* 1404B4 8024B674 8E040050 */ lw $a0, 0x50($s0) +/* 1404B8 8024B678 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 1404BC 8024B67C 254500F1 */ addiu $a1, $t2, 0xF1 +/* 1404C0 8024B680 0C050D4D */ jal hud_element_set_render_pos +/* 1404C4 8024B684 2566000B */ addiu $a2, $t3, 0xB +/* 1404C8 8024B688 8E040050 */ lw $a0, 0x50($s0) +/* 1404CC 8024B68C 240A000A */ addiu $t2, $zero, 0xA +/* 1404D0 8024B690 0C050CE4 */ jal hud_element_draw_without_clipping +/* 1404D4 8024B694 AFAA0068 */ sw $t2, 0x68($sp) +/* 1404D8 8024B698 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 1404DC 8024B69C 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1404E0 8024B6A0 2546000E */ addiu $a2, $t2, 0xE +/* 1404E4 8024B6A4 8FAA00CC */ lw $t2, 0xCC($sp) +/* 1404E8 8024B6A8 25640001 */ addiu $a0, $t3, 0x1 +/* 1404EC 8024B6AC 016A1021 */ addu $v0, $t3, $t2 +/* 1404F0 8024B6B0 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 1404F4 8024B6B4 8FAA00D0 */ lw $t2, 0xD0($sp) +/* 1404F8 8024B6B8 2447FFFF */ addiu $a3, $v0, -0x1 +/* 1404FC 8024B6BC 016A1021 */ addu $v0, $t3, $t2 +/* 140500 8024B6C0 1C800002 */ bgtz $a0, .Lpause_8024B6CC +/* 140504 8024B6C4 2448FFF7 */ addiu $t0, $v0, -0x9 +/* 140508 8024B6C8 24040001 */ addiu $a0, $zero, 0x1 +.Lpause_8024B6CC: +/* 14050C 8024B6CC 58C00001 */ blezl $a2, .Lpause_8024B6D4 +/* 140510 8024B6D0 24060001 */ addiu $a2, $zero, 0x1 +.Lpause_8024B6D4: +/* 140514 8024B6D4 18E005F6 */ blez $a3, .Lpause_8024CEB0 +/* 140518 8024B6D8 00000000 */ nop +/* 14051C 8024B6DC 190005F4 */ blez $t0, .Lpause_8024CEB0 +/* 140520 8024B6E0 2882013F */ slti $v0, $a0, 0x13F +/* 140524 8024B6E4 104005F2 */ beqz $v0, .Lpause_8024CEB0 +/* 140528 8024B6E8 28C200EF */ slti $v0, $a2, 0xEF +/* 14052C 8024B6EC 104005F0 */ beqz $v0, .Lpause_8024CEB0 +/* 140530 8024B6F0 28E2013F */ slti $v0, $a3, 0x13F +/* 140534 8024B6F4 50400001 */ beql $v0, $zero, .Lpause_8024B6FC +/* 140538 8024B6F8 2407013F */ addiu $a3, $zero, 0x13F +.Lpause_8024B6FC: +/* 14053C 8024B6FC 290200EF */ slti $v0, $t0, 0xEF +/* 140540 8024B700 50400001 */ beql $v0, $zero, .Lpause_8024B708 +/* 140544 8024B704 240800EF */ addiu $t0, $zero, 0xEF +.Lpause_8024B708: +/* 140548 8024B708 3C038009 */ lui $v1, %hi(gMainGfxPos) +/* 14054C 8024B70C 24636A44 */ addiu $v1, $v1, %lo(gMainGfxPos) +/* 140550 8024B710 44841000 */ mtc1 $a0, $f2 +/* 140554 8024B714 00000000 */ nop +/* 140558 8024B718 468010A0 */ cvt.s.w $f2, $f2 +/* 14055C 8024B71C 44860000 */ mtc1 $a2, $f0 +/* 140560 8024B720 00000000 */ nop +/* 140564 8024B724 46800020 */ cvt.s.w $f0, $f0 +/* 140568 8024B728 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 14056C 8024B72C 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 140570 8024B730 3C014080 */ lui $at, (0x40800000 >> 16) +/* 140574 8024B734 44812000 */ mtc1 $at, $f4 +/* 140578 8024B738 3C04ED00 */ lui $a0, (0xED000000 >> 16) +/* 14057C 8024B73C AFA00058 */ sw $zero, 0x58($sp) +/* 140580 8024B740 AFA00054 */ sw $zero, 0x54($sp) +/* 140584 8024B744 256B0077 */ addiu $t3, $t3, 0x77 +/* 140588 8024B748 46041082 */ mul.s $f2, $f2, $f4 +/* 14058C 8024B74C 00000000 */ nop +/* 140590 8024B750 254A0011 */ addiu $t2, $t2, 0x11 +/* 140594 8024B754 AFAB007C */ sw $t3, 0x7C($sp) +/* 140598 8024B758 AFAA0080 */ sw $t2, 0x80($sp) +/* 14059C 8024B75C 8C620000 */ lw $v0, 0x0($v1) +/* 1405A0 8024B760 46040002 */ mul.s $f0, $f0, $f4 +/* 1405A4 8024B764 00000000 */ nop +/* 1405A8 8024B768 0040282D */ daddu $a1, $v0, $zero +/* 1405AC 8024B76C 24420008 */ addiu $v0, $v0, 0x8 +/* 1405B0 8024B770 AC620000 */ sw $v0, 0x0($v1) +/* 1405B4 8024B774 4600118D */ trunc.w.s $f6, $f2 +/* 1405B8 8024B778 44023000 */ mfc1 $v0, $f6 +/* 1405BC 8024B77C 00000000 */ nop +/* 1405C0 8024B780 30420FFF */ andi $v0, $v0, 0xFFF +/* 1405C4 8024B784 00021300 */ sll $v0, $v0, 12 +/* 1405C8 8024B788 4600018D */ trunc.w.s $f6, $f0 +/* 1405CC 8024B78C 44033000 */ mfc1 $v1, $f6 +/* 1405D0 8024B790 44871000 */ mtc1 $a3, $f2 +/* 1405D4 8024B794 00000000 */ nop +/* 1405D8 8024B798 468010A0 */ cvt.s.w $f2, $f2 +/* 1405DC 8024B79C 46041082 */ mul.s $f2, $f2, $f4 +/* 1405E0 8024B7A0 00000000 */ nop +/* 1405E4 8024B7A4 30630FFF */ andi $v1, $v1, 0xFFF +/* 1405E8 8024B7A8 00641825 */ or $v1, $v1, $a0 +/* 1405EC 8024B7AC 00431025 */ or $v0, $v0, $v1 +/* 1405F0 8024B7B0 44880000 */ mtc1 $t0, $f0 +/* 1405F4 8024B7B4 00000000 */ nop +/* 1405F8 8024B7B8 46800020 */ cvt.s.w $f0, $f0 +/* 1405FC 8024B7BC 46040002 */ mul.s $f0, $f0, $f4 +/* 140600 8024B7C0 00000000 */ nop +/* 140604 8024B7C4 ACA20000 */ sw $v0, 0x0($a1) +/* 140608 8024B7C8 4600118D */ trunc.w.s $f6, $f2 +/* 14060C 8024B7CC 44023000 */ mfc1 $v0, $f6 +/* 140610 8024B7D0 00000000 */ nop +/* 140614 8024B7D4 30420FFF */ andi $v0, $v0, 0xFFF +/* 140618 8024B7D8 00021300 */ sll $v0, $v0, 12 +/* 14061C 8024B7DC 4600018D */ trunc.w.s $f6, $f0 +/* 140620 8024B7E0 44033000 */ mfc1 $v1, $f6 +/* 140624 8024B7E4 00000000 */ nop +/* 140628 8024B7E8 30630FFF */ andi $v1, $v1, 0xFFF +/* 14062C 8024B7EC 00431025 */ or $v0, $v0, $v1 +/* 140630 8024B7F0 ACA20004 */ sw $v0, 0x4($a1) +.Lpause_8024B7F4: +/* 140634 8024B7F4 AFA00050 */ sw $zero, 0x50($sp) +.Lpause_8024B7F8: +/* 140638 8024B7F8 8FAB0050 */ lw $t3, 0x50($sp) +/* 14063C 8024B7FC 3C028027 */ lui $v0, %hi(gPauseBadgesPages) +/* 140640 8024B800 24422658 */ addiu $v0, $v0, %lo(gPauseBadgesPages) +/* 140644 8024B804 000B1840 */ sll $v1, $t3, 1 +/* 140648 8024B808 006B1821 */ addu $v1, $v1, $t3 +/* 14064C 8024B80C 00031880 */ sll $v1, $v1, 2 +/* 140650 8024B810 00621821 */ addu $v1, $v1, $v0 +/* 140654 8024B814 AFA30078 */ sw $v1, 0x78($sp) +/* 140658 8024B818 90620000 */ lbu $v0, 0x0($v1) +/* 14065C 8024B81C 10400261 */ beqz $v0, .Lpause_8024C1A4 +/* 140660 8024B820 0160202D */ daddu $a0, $t3, $zero +/* 140664 8024B824 0C092C66 */ jal pause_badges_get_pos_y +/* 140668 8024B828 0000282D */ daddu $a1, $zero, $zero +/* 14066C 8024B82C 8FAA0078 */ lw $t2, 0x78($sp) +/* 140670 8024B830 8D420008 */ lw $v0, 0x8($t2) +/* 140674 8024B834 18400256 */ blez $v0, .Lpause_8024C190 +/* 140678 8024B838 0000F02D */ daddu $fp, $zero, $zero +/* 14067C 8024B83C 3C0BE3E3 */ lui $t3, (0xE3E3E3FF >> 16) +/* 140680 8024B840 356BE3FF */ ori $t3, $t3, (0xE3E3E3FF & 0xFFFF) +/* 140684 8024B844 AFAB0090 */ sw $t3, 0x90($sp) +/* 140688 8024B848 3C0A6666 */ lui $t2, (0x66666667 >> 16) +/* 14068C 8024B84C 354A6667 */ ori $t2, $t2, (0x66666667 & 0xFFFF) +/* 140690 8024B850 AFAA0094 */ sw $t2, 0x94($sp) +.Lpause_8024B854: +/* 140694 8024B854 8FAB0078 */ lw $t3, 0x78($sp) +/* 140698 8024B858 3C128011 */ lui $s2, %hi(gPlayerData+0x208) +/* 14069C 8024B85C 2652DF98 */ addiu $s2, $s2, %lo(gPlayerData+0x208) +/* 1406A0 8024B860 AFA00084 */ sw $zero, 0x84($sp) +/* 1406A4 8024B864 8D620004 */ lw $v0, 0x4($t3) +/* 1406A8 8024B868 24037FFF */ addiu $v1, $zero, 0x7FFF +/* 1406AC 8024B86C AFA0008C */ sw $zero, 0x8C($sp) +/* 1406B0 8024B870 005E1021 */ addu $v0, $v0, $fp +/* 1406B4 8024B874 00021040 */ sll $v0, $v0, 1 +/* 1406B8 8024B878 3C118027 */ lui $s1, %hi(gPauseBadgesItemIds) +/* 1406BC 8024B87C 02228821 */ addu $s1, $s1, $v0 +/* 1406C0 8024B880 86312550 */ lh $s1, %lo(gPauseBadgesItemIds)($s1) +/* 1406C4 8024B884 3C138027 */ lui $s3, %hi(gPauseBadgesItemIds) +/* 1406C8 8024B888 02629821 */ addu $s3, $s3, $v0 +/* 1406CC 8024B88C 96732550 */ lhu $s3, %lo(gPauseBadgesItemIds)($s3) +/* 1406D0 8024B890 12230239 */ beq $s1, $v1, .Lpause_8024C178 +/* 1406D4 8024B894 0000A82D */ daddu $s5, $zero, $zero +/* 1406D8 8024B898 8FA40050 */ lw $a0, 0x50($sp) +/* 1406DC 8024B89C 0C092C4F */ jal pause_badges_get_pos_x +/* 1406E0 8024B8A0 03C0282D */ daddu $a1, $fp, $zero +/* 1406E4 8024B8A4 03C0282D */ daddu $a1, $fp, $zero +/* 1406E8 8024B8A8 8FA40050 */ lw $a0, 0x50($sp) +/* 1406EC 8024B8AC 0C092C66 */ jal pause_badges_get_pos_y +/* 1406F0 8024B8B0 0040B82D */ daddu $s7, $v0, $zero +/* 1406F4 8024B8B4 0040B02D */ daddu $s6, $v0, $zero +/* 1406F8 8024B8B8 3A227FFE */ xori $v0, $s1, 0x7FFE +/* 1406FC 8024B8BC 2C420001 */ sltiu $v0, $v0, 0x1 +/* 140700 8024B8C0 02A0802D */ daddu $s0, $s5, $zero +/* 140704 8024B8C4 0220182D */ daddu $v1, $s1, $zero +/* 140708 8024B8C8 AFA20088 */ sw $v0, 0x88($sp) +.Lpause_8024B8CC: +/* 14070C 8024B8CC 86420000 */ lh $v0, 0x0($s2) +/* 140710 8024B8D0 1062007D */ beq $v1, $v0, .Lpause_8024BAC8 +/* 140714 8024B8D4 26100001 */ addiu $s0, $s0, 0x1 +/* 140718 8024B8D8 2A020040 */ slti $v0, $s0, 0x40 +/* 14071C 8024B8DC 1440FFFB */ bnez $v0, .Lpause_8024B8CC +/* 140720 8024B8E0 26520002 */ addiu $s2, $s2, 0x2 +.Lpause_8024B8E4: +/* 140724 8024B8E4 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab) +/* 140728 8024B8E8 806324A4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1) +/* 14072C 8024B8EC 24020002 */ addiu $v0, $zero, 0x2 +/* 140730 8024B8F0 14620029 */ bne $v1, $v0, .Lpause_8024B998 +/* 140734 8024B8F4 24020001 */ addiu $v0, $zero, 0x1 +/* 140738 8024B8F8 3C038027 */ lui $v1, %hi(gPauseBadgesLevel) +/* 14073C 8024B8FC 8C632768 */ lw $v1, %lo(gPauseBadgesLevel)($v1) +/* 140740 8024B900 14620025 */ bne $v1, $v0, .Lpause_8024B998 +/* 140744 8024B904 00000000 */ nop +/* 140748 8024B908 8FA40050 */ lw $a0, 0x50($sp) +/* 14074C 8024B90C 0C092C82 */ jal pause_badges_get_column +/* 140750 8024B910 03C0282D */ daddu $a1, $fp, $zero +/* 140754 8024B914 8FAA005C */ lw $t2, 0x5C($sp) +/* 140758 8024B918 144A001F */ bne $v0, $t2, .Lpause_8024B998 +/* 14075C 8024B91C 00000000 */ nop +/* 140760 8024B920 8FA40050 */ lw $a0, 0x50($sp) +/* 140764 8024B924 0C092C94 */ jal pause_badges_get_row +/* 140768 8024B928 03C0282D */ daddu $a1, $fp, $zero +/* 14076C 8024B92C 8FAB0060 */ lw $t3, 0x60($sp) +/* 140770 8024B930 144B0019 */ bne $v0, $t3, .Lpause_8024B998 +/* 140774 8024B934 00131400 */ sll $v0, $s3, 16 +/* 140778 8024B938 24150001 */ addiu $s5, $zero, 0x1 +/* 14077C 8024B93C 8FAA0088 */ lw $t2, 0x88($sp) +/* 140780 8024B940 1540002A */ bnez $t2, .Lpause_8024B9EC +/* 140784 8024B944 00021403 */ sra $v0, $v0, 16 +/* 140788 8024B948 00021140 */ sll $v0, $v0, 5 +/* 14078C 8024B94C 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 140790 8024B950 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 140794 8024B954 004B1021 */ addu $v0, $v0, $t3 +/* 140798 8024B958 3C0A8009 */ lui $t2, %hi(gMoveTable) +/* 14079C 8024B95C 254AB400 */ addiu $t2, $t2, %lo(gMoveTable) +/* 1407A0 8024B960 9043001A */ lbu $v1, 0x1A($v0) +/* 1407A4 8024B964 8FAB0084 */ lw $t3, 0x84($sp) +/* 1407A8 8024B968 00031080 */ sll $v0, $v1, 2 +/* 1407AC 8024B96C 00431021 */ addu $v0, $v0, $v1 +/* 1407B0 8024B970 00021080 */ sll $v0, $v0, 2 +/* 1407B4 8024B974 004A1021 */ addu $v0, $v0, $t2 +/* 1407B8 8024B978 80420012 */ lb $v0, 0x12($v0) +/* 1407BC 8024B97C 15600006 */ bnez $t3, .Lpause_8024B998 +/* 1407C0 8024B980 AFA20070 */ sw $v0, 0x70($sp) +/* 1407C4 8024B984 8FAA006C */ lw $t2, 0x6C($sp) +/* 1407C8 8024B988 0142102A */ slt $v0, $t2, $v0 +/* 1407CC 8024B98C 14400002 */ bnez $v0, .Lpause_8024B998 +/* 1407D0 8024B990 02A0582D */ daddu $t3, $s5, $zero +/* 1407D4 8024B994 AFAB0074 */ sw $t3, 0x74($sp) +.Lpause_8024B998: +/* 1407D8 8024B998 8FAA0088 */ lw $t2, 0x88($sp) +/* 1407DC 8024B99C 15400014 */ bnez $t2, .Lpause_8024B9F0 +/* 1407E0 8024B9A0 0000902D */ daddu $s2, $zero, $zero +/* 1407E4 8024B9A4 00131400 */ sll $v0, $s3, 16 +/* 1407E8 8024B9A8 000212C3 */ sra $v0, $v0, 11 +/* 1407EC 8024B9AC 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 1407F0 8024B9B0 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 1407F4 8024B9B4 004B1021 */ addu $v0, $v0, $t3 +/* 1407F8 8024B9B8 3C0A8009 */ lui $t2, %hi(gMoveTable) +/* 1407FC 8024B9BC 254AB400 */ addiu $t2, $t2, %lo(gMoveTable) +/* 140800 8024B9C0 9043001A */ lbu $v1, 0x1A($v0) +/* 140804 8024B9C4 8FAB006C */ lw $t3, 0x6C($sp) +/* 140808 8024B9C8 00031080 */ sll $v0, $v1, 2 +/* 14080C 8024B9CC 00431021 */ addu $v0, $v0, $v1 +/* 140810 8024B9D0 00021080 */ sll $v0, $v0, 2 +/* 140814 8024B9D4 004A1021 */ addu $v0, $v0, $t2 +/* 140818 8024B9D8 80420012 */ lb $v0, 0x12($v0) +/* 14081C 8024B9DC 0162102A */ slt $v0, $t3, $v0 +/* 140820 8024B9E0 10400003 */ beqz $v0, .Lpause_8024B9F0 +/* 140824 8024B9E4 240A0001 */ addiu $t2, $zero, 0x1 +/* 140828 8024B9E8 AFAA008C */ sw $t2, 0x8C($sp) +.Lpause_8024B9EC: +/* 14082C 8024B9EC 0000902D */ daddu $s2, $zero, $zero +.Lpause_8024B9F0: +/* 140830 8024B9F0 12A00003 */ beqz $s5, .Lpause_8024BA00 +/* 140834 8024B9F4 0240A02D */ daddu $s4, $s2, $zero +/* 140838 8024B9F8 2412FFFF */ addiu $s2, $zero, -0x1 +/* 14083C 8024B9FC 0240A02D */ daddu $s4, $s2, $zero +.Lpause_8024BA00: +/* 140840 8024BA00 8FAB0054 */ lw $t3, 0x54($sp) +/* 140844 8024BA04 15600037 */ bnez $t3, .Lpause_8024BAE4 +/* 140848 8024BA08 240A0001 */ addiu $t2, $zero, 0x1 +/* 14084C 8024BA0C 240B000A */ addiu $t3, $zero, 0xA +/* 140850 8024BA10 AFAA0064 */ sw $t2, 0x64($sp) +/* 140854 8024BA14 12A00003 */ beqz $s5, .Lpause_8024BA24 +/* 140858 8024BA18 AFAB0068 */ sw $t3, 0x68($sp) +/* 14085C 8024BA1C 240A0009 */ addiu $t2, $zero, 0x9 +/* 140860 8024BA20 AFAA0064 */ sw $t2, 0x64($sp) +.Lpause_8024BA24: +/* 140864 8024BA24 8FAB0084 */ lw $t3, 0x84($sp) +/* 140868 8024BA28 1160002A */ beqz $t3, .Lpause_8024BAD4 +/* 14086C 8024BA2C 00000000 */ nop +/* 140870 8024BA30 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 140874 8024BA34 02E0202D */ daddu $a0, $s7, $zero +/* 140878 8024BA38 8FAA007C */ lw $t2, 0x7C($sp) +/* 14087C 8024BA3C 02C0202D */ daddu $a0, $s6, $zero +/* 140880 8024BA40 01428021 */ addu $s0, $t2, $v0 +/* 140884 8024BA44 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 140888 8024BA48 2610FFEC */ addiu $s0, $s0, -0x14 +/* 14088C 8024BA4C 24040004 */ addiu $a0, $zero, 0x4 +/* 140890 8024BA50 3C058027 */ lui $a1, %hi(gPauseWS_14) +/* 140894 8024BA54 24A51FE0 */ addiu $a1, $a1, %lo(gPauseWS_14) +/* 140898 8024BA58 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 14089C 8024BA5C 0200302D */ daddu $a2, $s0, $zero +/* 1408A0 8024BA60 AFA00010 */ sw $zero, 0x10($sp) +/* 1408A4 8024BA64 AFA00020 */ sw $zero, 0x20($sp) +/* 1408A8 8024BA68 AFA00024 */ sw $zero, 0x24($sp) +/* 1408AC 8024BA6C AFA00028 */ sw $zero, 0x28($sp) +/* 1408B0 8024BA70 AFA0002C */ sw $zero, 0x2C($sp) +/* 1408B4 8024BA74 AFA00030 */ sw $zero, 0x30($sp) +/* 1408B8 8024BA78 AFA00034 */ sw $zero, 0x34($sp) +/* 1408BC 8024BA7C AFA00038 */ sw $zero, 0x38($sp) +/* 1408C0 8024BA80 AFA0003C */ sw $zero, 0x3C($sp) +/* 1408C4 8024BA84 AFA00040 */ sw $zero, 0x40($sp) +/* 1408C8 8024BA88 AFA0004C */ sw $zero, 0x4C($sp) +/* 1408CC 8024BA8C 01621021 */ addu $v0, $t3, $v0 +/* 1408D0 8024BA90 24470011 */ addiu $a3, $v0, 0x11 +/* 1408D4 8024BA94 240200C8 */ addiu $v0, $zero, 0xC8 +/* 1408D8 8024BA98 AFA20014 */ sw $v0, 0x14($sp) +/* 1408DC 8024BA9C 2402000D */ addiu $v0, $zero, 0xD +/* 1408E0 8024BAA0 AFA20018 */ sw $v0, 0x18($sp) +/* 1408E4 8024BAA4 240200FF */ addiu $v0, $zero, 0xFF +/* 1408E8 8024BAA8 AFA2001C */ sw $v0, 0x1C($sp) +/* 1408EC 8024BAAC 24020140 */ addiu $v0, $zero, 0x140 +/* 1408F0 8024BAB0 AFA20044 */ sw $v0, 0x44($sp) +/* 1408F4 8024BAB4 240200F0 */ addiu $v0, $zero, 0xF0 +/* 1408F8 8024BAB8 0C03C5C4 */ jal draw_box +/* 1408FC 8024BABC AFA20048 */ sw $v0, 0x48($sp) +/* 140900 8024BAC0 08092EB9 */ j .Lpause_8024BAE4 +/* 140904 8024BAC4 00000000 */ nop +.Lpause_8024BAC8: +/* 140908 8024BAC8 240A0001 */ addiu $t2, $zero, 0x1 +/* 14090C 8024BACC 08092E39 */ j .Lpause_8024B8E4 +/* 140910 8024BAD0 AFAA0084 */ sw $t2, 0x84($sp) +.Lpause_8024BAD4: +/* 140914 8024BAD4 8FAB008C */ lw $t3, 0x8C($sp) +/* 140918 8024BAD8 11600002 */ beqz $t3, .Lpause_8024BAE4 +/* 14091C 8024BADC 240A000B */ addiu $t2, $zero, 0xB +/* 140920 8024BAE0 AFAA0068 */ sw $t2, 0x68($sp) +.Lpause_8024BAE4: +/* 140924 8024BAE4 0C092CA8 */ jal pause_badges_is_visible +/* 140928 8024BAE8 02C0202D */ daddu $a0, $s6, $zero +/* 14092C 8024BAEC 104001A2 */ beqz $v0, .Lpause_8024C178 +/* 140930 8024BAF0 00000000 */ nop +/* 140934 8024BAF4 8FAB0054 */ lw $t3, 0x54($sp) +/* 140938 8024BAF8 15600058 */ bnez $t3, .Lpause_8024BC5C +/* 14093C 8024BAFC 24020001 */ addiu $v0, $zero, 0x1 +/* 140940 8024BB00 8FAA0088 */ lw $t2, 0x88($sp) +/* 140944 8024BB04 11400018 */ beqz $t2, .Lpause_8024BB68 +/* 140948 8024BB08 00131400 */ sll $v0, $s3, 16 +/* 14094C 8024BB0C 0C094C60 */ jal pause_get_menu_msg +/* 140950 8024BB10 2404003F */ addiu $a0, $zero, 0x3F +/* 140954 8024BB14 02E0202D */ daddu $a0, $s7, $zero +/* 140958 8024BB18 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 14095C 8024BB1C 0040882D */ daddu $s1, $v0, $zero +/* 140960 8024BB20 8FAB007C */ lw $t3, 0x7C($sp) +/* 140964 8024BB24 02C0202D */ daddu $a0, $s6, $zero +/* 140968 8024BB28 01628021 */ addu $s0, $t3, $v0 +/* 14096C 8024BB2C 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 140970 8024BB30 02128021 */ addu $s0, $s0, $s2 +/* 140974 8024BB34 0220202D */ daddu $a0, $s1, $zero +/* 140978 8024BB38 0200282D */ daddu $a1, $s0, $zero +/* 14097C 8024BB3C 240700FF */ addiu $a3, $zero, 0xFF +/* 140980 8024BB40 8FAA0080 */ lw $t2, 0x80($sp) +/* 140984 8024BB44 8FAB0068 */ lw $t3, 0x68($sp) +/* 140988 8024BB48 01421021 */ addu $v0, $t2, $v0 +/* 14098C 8024BB4C 8FAA0064 */ lw $t2, 0x64($sp) +/* 140990 8024BB50 00543021 */ addu $a2, $v0, $s4 +/* 140994 8024BB54 AFAB0010 */ sw $t3, 0x10($sp) +/* 140998 8024BB58 0C049403 */ jal draw_msg +/* 14099C 8024BB5C AFAA0014 */ sw $t2, 0x14($sp) +/* 1409A0 8024BB60 08092F15 */ j .Lpause_8024BC54 +/* 1409A4 8024BB64 00000000 */ nop +.Lpause_8024BB68: +/* 1409A8 8024BB68 000212C3 */ sra $v0, $v0, 11 +/* 1409AC 8024BB6C 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 1409B0 8024BB70 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 1409B4 8024BB74 004B8821 */ addu $s1, $v0, $t3 +/* 1409B8 8024BB78 8E220000 */ lw $v0, 0x0($s1) +/* 1409BC 8024BB7C 10400015 */ beqz $v0, .Lpause_8024BBD4 +/* 1409C0 8024BB80 00000000 */ nop +/* 1409C4 8024BB84 18400013 */ blez $v0, .Lpause_8024BBD4 +/* 1409C8 8024BB88 00000000 */ nop +/* 1409CC 8024BB8C 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 1409D0 8024BB90 02E0202D */ daddu $a0, $s7, $zero +/* 1409D4 8024BB94 8FAA007C */ lw $t2, 0x7C($sp) +/* 1409D8 8024BB98 02C0202D */ daddu $a0, $s6, $zero +/* 1409DC 8024BB9C 01428021 */ addu $s0, $t2, $v0 +/* 1409E0 8024BBA0 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 1409E4 8024BBA4 02128021 */ addu $s0, $s0, $s2 +/* 1409E8 8024BBA8 0200282D */ daddu $a1, $s0, $zero +/* 1409EC 8024BBAC 8FAB0080 */ lw $t3, 0x80($sp) +/* 1409F0 8024BBB0 8FAA0068 */ lw $t2, 0x68($sp) +/* 1409F4 8024BBB4 01621021 */ addu $v0, $t3, $v0 +/* 1409F8 8024BBB8 8FAB0064 */ lw $t3, 0x64($sp) +/* 1409FC 8024BBBC 240700FF */ addiu $a3, $zero, 0xFF +/* 140A00 8024BBC0 AFAA0010 */ sw $t2, 0x10($sp) +/* 140A04 8024BBC4 AFAB0014 */ sw $t3, 0x14($sp) +/* 140A08 8024BBC8 8E240000 */ lw $a0, 0x0($s1) +/* 140A0C 8024BBCC 0C049403 */ jal draw_msg +/* 140A10 8024BBD0 00543021 */ addu $a2, $v0, $s4 +.Lpause_8024BBD4: +/* 140A14 8024BBD4 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 140A18 8024BBD8 02E0202D */ daddu $a0, $s7, $zero +/* 140A1C 8024BBDC 02C0202D */ daddu $a0, $s6, $zero +/* 140A20 8024BBE0 8FAA00C4 */ lw $t2, 0xC4($sp) +/* 140A24 8024BBE4 245000EB */ addiu $s0, $v0, 0xEB +/* 140A28 8024BBE8 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 140A2C 8024BBEC 01508021 */ addu $s0, $t2, $s0 +/* 140A30 8024BBF0 0200282D */ daddu $a1, $s0, $zero +/* 140A34 8024BBF4 24420011 */ addiu $v0, $v0, 0x11 +/* 140A38 8024BBF8 00131C00 */ sll $v1, $s3, 16 +/* 140A3C 8024BBFC 00031AC3 */ sra $v1, $v1, 11 +/* 140A40 8024BC00 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 140A44 8024BC04 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 140A48 8024BC08 006B1821 */ addu $v1, $v1, $t3 +/* 140A4C 8024BC0C 3C0B8009 */ lui $t3, %hi(gMoveTable) +/* 140A50 8024BC10 256BB400 */ addiu $t3, $t3, %lo(gMoveTable) +/* 140A54 8024BC14 24070001 */ addiu $a3, $zero, 0x1 +/* 140A58 8024BC18 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 140A5C 8024BC1C 9063001A */ lbu $v1, 0x1A($v1) +/* 140A60 8024BC20 01423021 */ addu $a2, $t2, $v0 +/* 140A64 8024BC24 00031080 */ sll $v0, $v1, 2 +/* 140A68 8024BC28 00431021 */ addu $v0, $v0, $v1 +/* 140A6C 8024BC2C 00021080 */ sll $v0, $v0, 2 +/* 140A70 8024BC30 004B1021 */ addu $v0, $v0, $t3 +/* 140A74 8024BC34 80440012 */ lb $a0, 0x12($v0) +/* 140A78 8024BC38 8FAA0068 */ lw $t2, 0x68($sp) +/* 140A7C 8024BC3C 240200FF */ addiu $v0, $zero, 0xFF +/* 140A80 8024BC40 AFA20014 */ sw $v0, 0x14($sp) +/* 140A84 8024BC44 24020003 */ addiu $v0, $zero, 0x3 +/* 140A88 8024BC48 AFA20018 */ sw $v0, 0x18($sp) +/* 140A8C 8024BC4C 0C04986F */ jal draw_number +/* 140A90 8024BC50 AFAA0010 */ sw $t2, 0x10($sp) +.Lpause_8024BC54: +/* 140A94 8024BC54 8FAB0054 */ lw $t3, 0x54($sp) +/* 140A98 8024BC58 24020001 */ addiu $v0, $zero, 0x1 +.Lpause_8024BC5C: +/* 140A9C 8024BC5C 15620060 */ bne $t3, $v0, .Lpause_8024BDE0 +/* 140AA0 8024BC60 3C052000 */ lui $a1, (0x20000000 >> 16) +/* 140AA4 8024BC64 8FAA0058 */ lw $t2, 0x58($sp) +/* 140AA8 8024BC68 000A1080 */ sll $v0, $t2, 2 +/* 140AAC 8024BC6C 3C0B8027 */ lui $t3, %hi(gPauseBadgesIconIDs) +/* 140AB0 8024BC70 256B2778 */ addiu $t3, $t3, %lo(gPauseBadgesIconIDs) +/* 140AB4 8024BC74 004B1021 */ addu $v0, $v0, $t3 +/* 140AB8 8024BC78 8C510000 */ lw $s1, 0x0($v0) +/* 140ABC 8024BC7C 0C050D77 */ jal hud_element_clear_flags +/* 140AC0 8024BC80 0220202D */ daddu $a0, $s1, $zero +/* 140AC4 8024BC84 0220202D */ daddu $a0, $s1, $zero +/* 140AC8 8024BC88 0C050D6C */ jal hud_element_set_flags +/* 140ACC 8024BC8C 34058000 */ ori $a1, $zero, 0x8000 +/* 140AD0 8024BC90 8FAA0088 */ lw $t2, 0x88($sp) +/* 140AD4 8024BC94 11400005 */ beqz $t2, .Lpause_8024BCAC +/* 140AD8 8024BC98 00000000 */ nop +/* 140ADC 8024BC9C 3C118027 */ lui $s1, %hi(gPauseBadgesIconIDs+0x54) +/* 140AE0 8024BCA0 8E3127CC */ lw $s1, %lo(gPauseBadgesIconIDs+0x54)($s1) +/* 140AE4 8024BCA4 08092F5D */ j .Lpause_8024BD74 +/* 140AE8 8024BCA8 00000000 */ nop +.Lpause_8024BCAC: +/* 140AEC 8024BCAC 12A00010 */ beqz $s5, .Lpause_8024BCF0 +/* 140AF0 8024BCB0 0220202D */ daddu $a0, $s1, $zero +/* 140AF4 8024BCB4 0C050D6C */ jal hud_element_set_flags +/* 140AF8 8024BCB8 3C052000 */ lui $a1, (0x20000000 >> 16) +/* 140AFC 8024BCBC 00131400 */ sll $v0, $s3, 16 +/* 140B00 8024BCC0 000212C3 */ sra $v0, $v0, 11 +/* 140B04 8024BCC4 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 140B08 8024BCC8 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 140B0C 8024BCCC 004B1021 */ addu $v0, $v0, $t3 +/* 140B10 8024BCD0 84420004 */ lh $v0, 0x4($v0) +/* 140B14 8024BCD4 3C0A8008 */ lui $t2, %hi(gItemHudScripts) +/* 140B18 8024BCD8 254A6A20 */ addiu $t2, $t2, %lo(gItemHudScripts) +/* 140B1C 8024BCDC 000210C0 */ sll $v0, $v0, 3 +/* 140B20 8024BCE0 004A1021 */ addu $v0, $v0, $t2 +/* 140B24 8024BCE4 8C420000 */ lw $v0, 0x0($v0) +/* 140B28 8024BCE8 3C018027 */ lui $at, %hi(gPauseCurrentDescIconScript) +/* 140B2C 8024BCEC AC22249C */ sw $v0, %lo(gPauseCurrentDescIconScript)($at) +.Lpause_8024BCF0: +/* 140B30 8024BCF0 8FAB0084 */ lw $t3, 0x84($sp) +/* 140B34 8024BCF4 1560000F */ bnez $t3, .Lpause_8024BD34 +/* 140B38 8024BCF8 00131400 */ sll $v0, $s3, 16 +/* 140B3C 8024BCFC 8FAA008C */ lw $t2, 0x8C($sp) +/* 140B40 8024BD00 1140000B */ beqz $t2, .Lpause_8024BD30 +/* 140B44 8024BD04 000212C3 */ sra $v0, $v0, 11 +/* 140B48 8024BD08 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 140B4C 8024BD0C 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 140B50 8024BD10 004B1021 */ addu $v0, $v0, $t3 +/* 140B54 8024BD14 84420004 */ lh $v0, 0x4($v0) +/* 140B58 8024BD18 3C0A8008 */ lui $t2, %hi(gItemHudScripts) +/* 140B5C 8024BD1C 254A6A20 */ addiu $t2, $t2, %lo(gItemHudScripts) +/* 140B60 8024BD20 000210C0 */ sll $v0, $v0, 3 +/* 140B64 8024BD24 004A1021 */ addu $v0, $v0, $t2 +/* 140B68 8024BD28 08092F57 */ j .Lpause_8024BD5C +/* 140B6C 8024BD2C 8C450004 */ lw $a1, 0x4($v0) +.Lpause_8024BD30: +/* 140B70 8024BD30 00131400 */ sll $v0, $s3, 16 +.Lpause_8024BD34: +/* 140B74 8024BD34 000212C3 */ sra $v0, $v0, 11 +/* 140B78 8024BD38 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 140B7C 8024BD3C 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 140B80 8024BD40 004B1021 */ addu $v0, $v0, $t3 +/* 140B84 8024BD44 84420004 */ lh $v0, 0x4($v0) +/* 140B88 8024BD48 3C0A8008 */ lui $t2, %hi(gItemHudScripts) +/* 140B8C 8024BD4C 254A6A20 */ addiu $t2, $t2, %lo(gItemHudScripts) +/* 140B90 8024BD50 000210C0 */ sll $v0, $v0, 3 +/* 140B94 8024BD54 004A1021 */ addu $v0, $v0, $t2 +/* 140B98 8024BD58 8C450000 */ lw $a1, 0x0($v0) +.Lpause_8024BD5C: +/* 140B9C 8024BD5C 0C050CEB */ jal hud_element_set_script +/* 140BA0 8024BD60 0220202D */ daddu $a0, $s1, $zero +/* 140BA4 8024BD64 3C053F2B */ lui $a1, (0x3F2BBA99 >> 16) +/* 140BA8 8024BD68 34A5BA99 */ ori $a1, $a1, (0x3F2BBA99 & 0xFFFF) +/* 140BAC 8024BD6C 0C050DF4 */ jal hud_element_set_scale +/* 140BB0 8024BD70 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024BD74: +/* 140BB4 8024BD74 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 140BB8 8024BD78 02E0202D */ daddu $a0, $s7, $zero +/* 140BBC 8024BD7C 02C0202D */ daddu $a0, $s6, $zero +/* 140BC0 8024BD80 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 140BC4 8024BD84 2450006B */ addiu $s0, $v0, 0x6B +/* 140BC8 8024BD88 01708021 */ addu $s0, $t3, $s0 +/* 140BCC 8024BD8C 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 140BD0 8024BD90 02128021 */ addu $s0, $s0, $s2 +/* 140BD4 8024BD94 0220202D */ daddu $a0, $s1, $zero +/* 140BD8 8024BD98 0200282D */ daddu $a1, $s0, $zero +/* 140BDC 8024BD9C 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 140BE0 8024BDA0 24420017 */ addiu $v0, $v0, 0x17 +/* 140BE4 8024BDA4 01421021 */ addu $v0, $t2, $v0 +/* 140BE8 8024BDA8 0C050D4D */ jal hud_element_set_render_pos +/* 140BEC 8024BDAC 00543021 */ addu $a2, $v0, $s4 +/* 140BF0 8024BDB0 8FAB0058 */ lw $t3, 0x58($sp) +/* 140BF4 8024BDB4 15600005 */ bnez $t3, .Lpause_8024BDCC +/* 140BF8 8024BDB8 00000000 */ nop +/* 140BFC 8024BDBC 0C050CE4 */ jal hud_element_draw_without_clipping +/* 140C00 8024BDC0 0220202D */ daddu $a0, $s1, $zero +/* 140C04 8024BDC4 08092F75 */ j .Lpause_8024BDD4 +/* 140C08 8024BDC8 00000000 */ nop +.Lpause_8024BDCC: +/* 140C0C 8024BDCC 0C050CDD */ jal hud_element_draw_next +/* 140C10 8024BDD0 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024BDD4: +/* 140C14 8024BDD4 8FAA0058 */ lw $t2, 0x58($sp) +/* 140C18 8024BDD8 254A0001 */ addiu $t2, $t2, 0x1 +/* 140C1C 8024BDDC AFAA0058 */ sw $t2, 0x58($sp) +.Lpause_8024BDE0: +/* 140C20 8024BDE0 8FAB0054 */ lw $t3, 0x54($sp) +/* 140C24 8024BDE4 24020002 */ addiu $v0, $zero, 0x2 +/* 140C28 8024BDE8 156200E3 */ bne $t3, $v0, .Lpause_8024C178 +/* 140C2C 8024BDEC 00000000 */ nop +/* 140C30 8024BDF0 8FAA0088 */ lw $t2, 0x88($sp) +/* 140C34 8024BDF4 154000E0 */ bnez $t2, .Lpause_8024C178 +/* 140C38 8024BDF8 00131400 */ sll $v0, $s3, 16 +/* 140C3C 8024BDFC 000212C3 */ sra $v0, $v0, 11 +/* 140C40 8024BE00 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 140C44 8024BE04 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 140C48 8024BE08 004B1021 */ addu $v0, $v0, $t3 +/* 140C4C 8024BE0C 9043001A */ lbu $v1, 0x1A($v0) +/* 140C50 8024BE10 3C0A8009 */ lui $t2, %hi(gMoveTable) +/* 140C54 8024BE14 254AB400 */ addiu $t2, $t2, %lo(gMoveTable) +/* 140C58 8024BE18 00031080 */ sll $v0, $v1, 2 +/* 140C5C 8024BE1C 00431021 */ addu $v0, $v0, $v1 +/* 140C60 8024BE20 00021080 */ sll $v0, $v0, 2 +/* 140C64 8024BE24 004A1021 */ addu $v0, $v0, $t2 +/* 140C68 8024BE28 80530012 */ lb $s3, 0x12($v0) +/* 140C6C 8024BE2C 2A62000B */ slti $v0, $s3, 0xB +/* 140C70 8024BE30 10400002 */ beqz $v0, .Lpause_8024BE3C +/* 140C74 8024BE34 24150001 */ addiu $s5, $zero, 0x1 +/* 140C78 8024BE38 24150004 */ addiu $s5, $zero, 0x4 +.Lpause_8024BE3C: +/* 140C7C 8024BE3C 3C04E300 */ lui $a0, (0xE3001201 >> 16) +/* 140C80 8024BE40 34841201 */ ori $a0, $a0, (0xE3001201 & 0xFFFF) +/* 140C84 8024BE44 3C058009 */ lui $a1, %hi(gMainGfxPos) +/* 140C88 8024BE48 8CA56A44 */ lw $a1, %lo(gMainGfxPos)($a1) +/* 140C8C 8024BE4C 3C02DE00 */ lui $v0, (0xDE000000 >> 16) +/* 140C90 8024BE50 00A0182D */ daddu $v1, $a1, $zero +/* 140C94 8024BE54 24A50008 */ addiu $a1, $a1, 0x8 +/* 140C98 8024BE58 AC620000 */ sw $v0, 0x0($v1) +/* 140C9C 8024BE5C 3C028027 */ lui $v0, %hi(gPauseDLOrbs) +/* 140CA0 8024BE60 24421818 */ addiu $v0, $v0, %lo(gPauseDLOrbs) +/* 140CA4 8024BE64 AC620004 */ sw $v0, 0x4($v1) +/* 140CA8 8024BE68 24A20008 */ addiu $v0, $a1, 0x8 +/* 140CAC 8024BE6C 3C018009 */ lui $at, %hi(gMainGfxPos) +/* 140CB0 8024BE70 AC256A44 */ sw $a1, %lo(gMainGfxPos)($at) +/* 140CB4 8024BE74 3C018009 */ lui $at, %hi(gMainGfxPos) +/* 140CB8 8024BE78 AC226A44 */ sw $v0, %lo(gMainGfxPos)($at) +/* 140CBC 8024BE7C 24022000 */ addiu $v0, $zero, 0x2000 +/* 140CC0 8024BE80 ACA40000 */ sw $a0, 0x0($a1) +/* 140CC4 8024BE84 ACA20004 */ sw $v0, 0x4($a1) +/* 140CC8 8024BE88 8FAB0084 */ lw $t3, 0x84($sp) +/* 140CCC 8024BE8C 15600081 */ bnez $t3, .Lpause_8024C094 +/* 140CD0 8024BE90 3C0300FF */ lui $v1, (0xFF64FF >> 16) +/* 140CD4 8024BE94 1A600032 */ blez $s3, .Lpause_8024BF60 +/* 140CD8 8024BE98 0000802D */ daddu $s0, $zero, $zero +/* 140CDC 8024BE9C 2A740005 */ slti $s4, $s3, 0x5 +.Lpause_8024BEA0: +/* 140CE0 8024BEA0 3C028009 */ lui $v0, %hi(gMainGfxPos) +/* 140CE4 8024BEA4 8C426A44 */ lw $v0, %lo(gMainGfxPos)($v0) +/* 140CE8 8024BEA8 02E0202D */ daddu $a0, $s7, $zero +/* 140CEC 8024BEAC 0040182D */ daddu $v1, $v0, $zero +/* 140CF0 8024BEB0 3C0AFA00 */ lui $t2, (0xFA000000 >> 16) +/* 140CF4 8024BEB4 AC6A0000 */ sw $t2, 0x0($v1) +/* 140CF8 8024BEB8 8FAB0090 */ lw $t3, 0x90($sp) +/* 140CFC 8024BEBC 24420008 */ addiu $v0, $v0, 0x8 +/* 140D00 8024BEC0 3C018009 */ lui $at, %hi(gMainGfxPos) +/* 140D04 8024BEC4 AC226A44 */ sw $v0, %lo(gMainGfxPos)($at) +/* 140D08 8024BEC8 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 140D0C 8024BECC AC6B0004 */ sw $t3, 0x4($v1) +/* 140D10 8024BED0 8FAA0094 */ lw $t2, 0x94($sp) +/* 140D14 8024BED4 02C0202D */ daddu $a0, $s6, $zero +/* 140D18 8024BED8 020A0018 */ mult $s0, $t2 +/* 140D1C 8024BEDC 244200EB */ addiu $v0, $v0, 0xEB +/* 140D20 8024BEE0 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 140D24 8024BEE4 00101FC3 */ sra $v1, $s0, 31 +/* 140D28 8024BEE8 01621021 */ addu $v0, $t3, $v0 +/* 140D2C 8024BEEC 00005010 */ mfhi $t2 +/* 140D30 8024BEF0 000A2843 */ sra $a1, $t2, 1 +/* 140D34 8024BEF4 00A38823 */ subu $s1, $a1, $v1 +/* 140D38 8024BEF8 00112880 */ sll $a1, $s1, 2 +/* 140D3C 8024BEFC 00B12821 */ addu $a1, $a1, $s1 +/* 140D40 8024BF00 02052823 */ subu $a1, $s0, $a1 +/* 140D44 8024BF04 00051840 */ sll $v1, $a1, 1 +/* 140D48 8024BF08 00651821 */ addu $v1, $v1, $a1 +/* 140D4C 8024BF0C 00031840 */ sll $v1, $v1, 1 +/* 140D50 8024BF10 24630001 */ addiu $v1, $v1, 0x1 +/* 140D54 8024BF14 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 140D58 8024BF18 00439021 */ addu $s2, $v0, $v1 +/* 140D5C 8024BF1C 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 140D60 8024BF20 24420011 */ addiu $v0, $v0, 0x11 +/* 140D64 8024BF24 01621021 */ addu $v0, $t3, $v0 +/* 140D68 8024BF28 16800006 */ bnez $s4, .Lpause_8024BF44 +/* 140D6C 8024BF2C 00553021 */ addu $a2, $v0, $s5 +/* 140D70 8024BF30 24C3FFFD */ addiu $v1, $a2, -0x3 +/* 140D74 8024BF34 00111040 */ sll $v0, $s1, 1 +/* 140D78 8024BF38 00511021 */ addu $v0, $v0, $s1 +/* 140D7C 8024BF3C 00021040 */ sll $v0, $v0, 1 +/* 140D80 8024BF40 00623021 */ addu $a2, $v1, $v0 +.Lpause_8024BF44: +/* 140D84 8024BF44 0000202D */ daddu $a0, $zero, $zero +/* 140D88 8024BF48 0C092D22 */ jal pause_badges_draw_bp_orbs +/* 140D8C 8024BF4C 0240282D */ daddu $a1, $s2, $zero +/* 140D90 8024BF50 26100001 */ addiu $s0, $s0, 0x1 +/* 140D94 8024BF54 0213102A */ slt $v0, $s0, $s3 +/* 140D98 8024BF58 1440FFD1 */ bnez $v0, .Lpause_8024BEA0 +/* 140D9C 8024BF5C 00000000 */ nop +.Lpause_8024BF60: +/* 140DA0 8024BF60 3C06E200 */ lui $a2, (0xE200001C >> 16) +/* 140DA4 8024BF64 34C6001C */ ori $a2, $a2, (0xE200001C & 0xFFFF) +/* 140DA8 8024BF68 3C050050 */ lui $a1, (0x504340 >> 16) +/* 140DAC 8024BF6C 34A54340 */ ori $a1, $a1, (0x504340 & 0xFFFF) +/* 140DB0 8024BF70 0000802D */ daddu $s0, $zero, $zero +/* 140DB4 8024BF74 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* 140DB8 8024BF78 3C048009 */ lui $a0, %hi(gMainGfxPos) +/* 140DBC 8024BF7C 8C846A44 */ lw $a0, %lo(gMainGfxPos)($a0) +/* 140DC0 8024BF80 240B00FF */ addiu $t3, $zero, 0xFF +/* 140DC4 8024BF84 0080182D */ daddu $v1, $a0, $zero +/* 140DC8 8024BF88 24840008 */ addiu $a0, $a0, 0x8 +/* 140DCC 8024BF8C AC620000 */ sw $v0, 0x0($v1) +/* 140DD0 8024BF90 24820008 */ addiu $v0, $a0, 0x8 +/* 140DD4 8024BF94 3C018009 */ lui $at, %hi(gMainGfxPos) +/* 140DD8 8024BF98 AC246A44 */ sw $a0, %lo(gMainGfxPos)($at) +/* 140DDC 8024BF9C 3C018009 */ lui $at, %hi(gMainGfxPos) +/* 140DE0 8024BFA0 AC226A44 */ sw $v0, %lo(gMainGfxPos)($at) +/* 140DE4 8024BFA4 24820010 */ addiu $v0, $a0, 0x10 +/* 140DE8 8024BFA8 AC600004 */ sw $zero, 0x4($v1) +/* 140DEC 8024BFAC 3C0AFA00 */ lui $t2, (0xFA000000 >> 16) +/* 140DF0 8024BFB0 3C018009 */ lui $at, %hi(gMainGfxPos) +/* 140DF4 8024BFB4 AC226A44 */ sw $v0, %lo(gMainGfxPos)($at) +/* 140DF8 8024BFB8 000B1400 */ sll $v0, $t3, 16 +/* 140DFC 8024BFBC AC8A0008 */ sw $t2, 0x8($a0) +/* 140E00 8024BFC0 240A0064 */ addiu $t2, $zero, 0x64 +/* 140E04 8024BFC4 000A1A00 */ sll $v1, $t2, 8 +/* 140E08 8024BFC8 00431025 */ or $v0, $v0, $v1 +/* 140E0C 8024BFCC 34420080 */ ori $v0, $v0, 0x80 +/* 140E10 8024BFD0 AC860000 */ sw $a2, 0x0($a0) +/* 140E14 8024BFD4 AC850004 */ sw $a1, 0x4($a0) +/* 140E18 8024BFD8 1A600067 */ blez $s3, .Lpause_8024C178 +/* 140E1C 8024BFDC AC82000C */ sw $v0, 0xC($a0) +/* 140E20 8024BFE0 2A740005 */ slti $s4, $s3, 0x5 +.Lpause_8024BFE4: +/* 140E24 8024BFE4 8FAB006C */ lw $t3, 0x6C($sp) +/* 140E28 8024BFE8 020B102A */ slt $v0, $s0, $t3 +/* 140E2C 8024BFEC 50400024 */ beql $v0, $zero, .Lpause_8024C080 +/* 140E30 8024BFF0 26100001 */ addiu $s0, $s0, 0x1 +/* 140E34 8024BFF4 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 140E38 8024BFF8 02E0202D */ daddu $a0, $s7, $zero +/* 140E3C 8024BFFC 8FAA0094 */ lw $t2, 0x94($sp) +/* 140E40 8024C000 02C0202D */ daddu $a0, $s6, $zero +/* 140E44 8024C004 020A0018 */ mult $s0, $t2 +/* 140E48 8024C008 244200EB */ addiu $v0, $v0, 0xEB +/* 140E4C 8024C00C 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 140E50 8024C010 00101FC3 */ sra $v1, $s0, 31 +/* 140E54 8024C014 01621021 */ addu $v0, $t3, $v0 +/* 140E58 8024C018 00005010 */ mfhi $t2 +/* 140E5C 8024C01C 000A2843 */ sra $a1, $t2, 1 +/* 140E60 8024C020 00A38823 */ subu $s1, $a1, $v1 +/* 140E64 8024C024 00112880 */ sll $a1, $s1, 2 +/* 140E68 8024C028 00B12821 */ addu $a1, $a1, $s1 +/* 140E6C 8024C02C 02052823 */ subu $a1, $s0, $a1 +/* 140E70 8024C030 00051840 */ sll $v1, $a1, 1 +/* 140E74 8024C034 00651821 */ addu $v1, $v1, $a1 +/* 140E78 8024C038 00031840 */ sll $v1, $v1, 1 +/* 140E7C 8024C03C 24630001 */ addiu $v1, $v1, 0x1 +/* 140E80 8024C040 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 140E84 8024C044 00439021 */ addu $s2, $v0, $v1 +/* 140E88 8024C048 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 140E8C 8024C04C 24420011 */ addiu $v0, $v0, 0x11 +/* 140E90 8024C050 01621021 */ addu $v0, $t3, $v0 +/* 140E94 8024C054 16800006 */ bnez $s4, .Lpause_8024C070 +/* 140E98 8024C058 00553021 */ addu $a2, $v0, $s5 +/* 140E9C 8024C05C 24C3FFFD */ addiu $v1, $a2, -0x3 +/* 140EA0 8024C060 00111040 */ sll $v0, $s1, 1 +/* 140EA4 8024C064 00511021 */ addu $v0, $v0, $s1 +/* 140EA8 8024C068 00021040 */ sll $v0, $v0, 1 +/* 140EAC 8024C06C 00623021 */ addu $a2, $v1, $v0 +.Lpause_8024C070: +/* 140EB0 8024C070 24040001 */ addiu $a0, $zero, 0x1 +/* 140EB4 8024C074 0C092D22 */ jal pause_badges_draw_bp_orbs +/* 140EB8 8024C078 0240282D */ daddu $a1, $s2, $zero +/* 140EBC 8024C07C 26100001 */ addiu $s0, $s0, 0x1 +.Lpause_8024C080: +/* 140EC0 8024C080 0213102A */ slt $v0, $s0, $s3 +/* 140EC4 8024C084 1440FFD7 */ bnez $v0, .Lpause_8024BFE4 +/* 140EC8 8024C088 00000000 */ nop +/* 140ECC 8024C08C 0809305E */ j .Lpause_8024C178 +/* 140ED0 8024C090 00000000 */ nop +.Lpause_8024C094: +/* 140ED4 8024C094 346364FF */ ori $v1, $v1, (0xFF64FF & 0xFFFF) +/* 140ED8 8024C098 0000802D */ daddu $s0, $zero, $zero +/* 140EDC 8024C09C 24A20010 */ addiu $v0, $a1, 0x10 +/* 140EE0 8024C0A0 3C0AFA00 */ lui $t2, (0xFA000000 >> 16) +/* 140EE4 8024C0A4 3C018009 */ lui $at, %hi(gMainGfxPos) +/* 140EE8 8024C0A8 AC226A44 */ sw $v0, %lo(gMainGfxPos)($at) +/* 140EEC 8024C0AC ACAA0008 */ sw $t2, 0x8($a1) +/* 140EF0 8024C0B0 1A600028 */ blez $s3, .Lpause_8024C154 +/* 140EF4 8024C0B4 ACA3000C */ sw $v1, 0xC($a1) +/* 140EF8 8024C0B8 2A740005 */ slti $s4, $s3, 0x5 +.Lpause_8024C0BC: +/* 140EFC 8024C0BC 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 140F00 8024C0C0 02E0202D */ daddu $a0, $s7, $zero +/* 140F04 8024C0C4 8FAA0094 */ lw $t2, 0x94($sp) +/* 140F08 8024C0C8 02C0202D */ daddu $a0, $s6, $zero +/* 140F0C 8024C0CC 020A0018 */ mult $s0, $t2 +/* 140F10 8024C0D0 244200EB */ addiu $v0, $v0, 0xEB +/* 140F14 8024C0D4 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 140F18 8024C0D8 00101FC3 */ sra $v1, $s0, 31 +/* 140F1C 8024C0DC 01621021 */ addu $v0, $t3, $v0 +/* 140F20 8024C0E0 00005010 */ mfhi $t2 +/* 140F24 8024C0E4 000A2843 */ sra $a1, $t2, 1 +/* 140F28 8024C0E8 00A38823 */ subu $s1, $a1, $v1 +/* 140F2C 8024C0EC 00112880 */ sll $a1, $s1, 2 +/* 140F30 8024C0F0 00B12821 */ addu $a1, $a1, $s1 +/* 140F34 8024C0F4 02052823 */ subu $a1, $s0, $a1 +/* 140F38 8024C0F8 00051840 */ sll $v1, $a1, 1 +/* 140F3C 8024C0FC 00651821 */ addu $v1, $v1, $a1 +/* 140F40 8024C100 00031840 */ sll $v1, $v1, 1 +/* 140F44 8024C104 24630001 */ addiu $v1, $v1, 0x1 +/* 140F48 8024C108 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 140F4C 8024C10C 00439021 */ addu $s2, $v0, $v1 +/* 140F50 8024C110 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 140F54 8024C114 24420011 */ addiu $v0, $v0, 0x11 +/* 140F58 8024C118 01621021 */ addu $v0, $t3, $v0 +/* 140F5C 8024C11C 16800006 */ bnez $s4, .Lpause_8024C138 +/* 140F60 8024C120 00553021 */ addu $a2, $v0, $s5 +/* 140F64 8024C124 24C3FFFD */ addiu $v1, $a2, -0x3 +/* 140F68 8024C128 00111040 */ sll $v0, $s1, 1 +/* 140F6C 8024C12C 00511021 */ addu $v0, $v0, $s1 +/* 140F70 8024C130 00021040 */ sll $v0, $v0, 1 +/* 140F74 8024C134 00623021 */ addu $a2, $v1, $v0 +.Lpause_8024C138: +/* 140F78 8024C138 24040002 */ addiu $a0, $zero, 0x2 +/* 140F7C 8024C13C 0C092D22 */ jal pause_badges_draw_bp_orbs +/* 140F80 8024C140 0240282D */ daddu $a1, $s2, $zero +/* 140F84 8024C144 26100001 */ addiu $s0, $s0, 0x1 +/* 140F88 8024C148 0213102A */ slt $v0, $s0, $s3 +/* 140F8C 8024C14C 1440FFDB */ bnez $v0, .Lpause_8024C0BC +/* 140F90 8024C150 00000000 */ nop +.Lpause_8024C154: +/* 140F94 8024C154 3C028009 */ lui $v0, %hi(gMainGfxPos) +/* 140F98 8024C158 8C426A44 */ lw $v0, %lo(gMainGfxPos)($v0) +/* 140F9C 8024C15C 0040182D */ daddu $v1, $v0, $zero +/* 140FA0 8024C160 24420008 */ addiu $v0, $v0, 0x8 +/* 140FA4 8024C164 3C018009 */ lui $at, %hi(gMainGfxPos) +/* 140FA8 8024C168 AC226A44 */ sw $v0, %lo(gMainGfxPos)($at) +/* 140FAC 8024C16C 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* 140FB0 8024C170 AC620000 */ sw $v0, 0x0($v1) +/* 140FB4 8024C174 AC600004 */ sw $zero, 0x4($v1) +.Lpause_8024C178: +/* 140FB8 8024C178 8FAA0078 */ lw $t2, 0x78($sp) +/* 140FBC 8024C17C 8D420008 */ lw $v0, 0x8($t2) +/* 140FC0 8024C180 27DE0001 */ addiu $fp, $fp, 0x1 +/* 140FC4 8024C184 03C2102A */ slt $v0, $fp, $v0 +/* 140FC8 8024C188 1440FDB2 */ bnez $v0, .Lpause_8024B854 +/* 140FCC 8024C18C 00000000 */ nop +.Lpause_8024C190: +/* 140FD0 8024C190 8FAB0050 */ lw $t3, 0x50($sp) +/* 140FD4 8024C194 256B0001 */ addiu $t3, $t3, 0x1 +/* 140FD8 8024C198 29620014 */ slti $v0, $t3, 0x14 +/* 140FDC 8024C19C 1440FD96 */ bnez $v0, .Lpause_8024B7F8 +/* 140FE0 8024C1A0 AFAB0050 */ sw $t3, 0x50($sp) +.Lpause_8024C1A4: +/* 140FE4 8024C1A4 8FAA0054 */ lw $t2, 0x54($sp) +/* 140FE8 8024C1A8 254A0001 */ addiu $t2, $t2, 0x1 +/* 140FEC 8024C1AC 29420003 */ slti $v0, $t2, 0x3 +/* 140FF0 8024C1B0 1440FD90 */ bnez $v0, .Lpause_8024B7F4 +/* 140FF4 8024C1B4 AFAA0054 */ sw $t2, 0x54($sp) +/* 140FF8 8024C1B8 3C098009 */ lui $t1, %hi(gMainGfxPos) +/* 140FFC 8024C1BC 25296A44 */ addiu $t1, $t1, %lo(gMainGfxPos) +/* 141000 8024C1C0 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141004 8024C1C4 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141008 8024C1C8 8D250000 */ lw $a1, 0x0($t1) +/* 14100C 8024C1CC 25640001 */ addiu $a0, $t3, 0x1 +/* 141010 8024C1D0 25460001 */ addiu $a2, $t2, 0x1 +/* 141014 8024C1D4 00A0182D */ daddu $v1, $a1, $zero +/* 141018 8024C1D8 8FAA00CC */ lw $t2, 0xCC($sp) +/* 14101C 8024C1DC 24A50008 */ addiu $a1, $a1, 0x8 +/* 141020 8024C1E0 016A1021 */ addu $v0, $t3, $t2 +/* 141024 8024C1E4 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 141028 8024C1E8 8FAA00D0 */ lw $t2, 0xD0($sp) +/* 14102C 8024C1EC 2447FFFF */ addiu $a3, $v0, -0x1 +/* 141030 8024C1F0 016A1021 */ addu $v0, $t3, $t2 +/* 141034 8024C1F4 2448FFFF */ addiu $t0, $v0, -0x1 +/* 141038 8024C1F8 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* 14103C 8024C1FC AD250000 */ sw $a1, 0x0($t1) +/* 141040 8024C200 AC620000 */ sw $v0, 0x0($v1) +/* 141044 8024C204 1C800002 */ bgtz $a0, .Lpause_8024C210 +/* 141048 8024C208 AC600004 */ sw $zero, 0x4($v1) +/* 14104C 8024C20C 24040001 */ addiu $a0, $zero, 0x1 +.Lpause_8024C210: +/* 141050 8024C210 58C00001 */ blezl $a2, .Lpause_8024C218 +/* 141054 8024C214 24060001 */ addiu $a2, $zero, 0x1 +.Lpause_8024C218: +/* 141058 8024C218 18E00325 */ blez $a3, .Lpause_8024CEB0 +/* 14105C 8024C21C 00000000 */ nop +/* 141060 8024C220 19000323 */ blez $t0, .Lpause_8024CEB0 +/* 141064 8024C224 2882013F */ slti $v0, $a0, 0x13F +/* 141068 8024C228 10400321 */ beqz $v0, .Lpause_8024CEB0 +/* 14106C 8024C22C 28C200EF */ slti $v0, $a2, 0xEF +/* 141070 8024C230 1040031F */ beqz $v0, .Lpause_8024CEB0 +/* 141074 8024C234 28E2013F */ slti $v0, $a3, 0x13F +/* 141078 8024C238 50400001 */ beql $v0, $zero, .Lpause_8024C240 +/* 14107C 8024C23C 2407013F */ addiu $a3, $zero, 0x13F +.Lpause_8024C240: +/* 141080 8024C240 290200EF */ slti $v0, $t0, 0xEF +/* 141084 8024C244 50400001 */ beql $v0, $zero, .Lpause_8024C24C +/* 141088 8024C248 240800EF */ addiu $t0, $zero, 0xEF +.Lpause_8024C24C: +/* 14108C 8024C24C 3C014080 */ lui $at, (0x40800000 >> 16) +/* 141090 8024C250 44812000 */ mtc1 $at, $f4 +/* 141094 8024C254 44840000 */ mtc1 $a0, $f0 +/* 141098 8024C258 00000000 */ nop +/* 14109C 8024C25C 46800020 */ cvt.s.w $f0, $f0 +/* 1410A0 8024C260 46040002 */ mul.s $f0, $f0, $f4 +/* 1410A4 8024C264 00000000 */ nop +/* 1410A8 8024C268 24A20008 */ addiu $v0, $a1, 0x8 +/* 1410AC 8024C26C 44861000 */ mtc1 $a2, $f2 +/* 1410B0 8024C270 00000000 */ nop +/* 1410B4 8024C274 468010A0 */ cvt.s.w $f2, $f2 +/* 1410B8 8024C278 3C04ED00 */ lui $a0, (0xED000000 >> 16) +/* 1410BC 8024C27C 46041082 */ mul.s $f2, $f2, $f4 +/* 1410C0 8024C280 00000000 */ nop +/* 1410C4 8024C284 AD220000 */ sw $v0, 0x0($t1) +/* 1410C8 8024C288 4600018D */ trunc.w.s $f6, $f0 +/* 1410CC 8024C28C 44023000 */ mfc1 $v0, $f6 +/* 1410D0 8024C290 00000000 */ nop +/* 1410D4 8024C294 30420FFF */ andi $v0, $v0, 0xFFF +/* 1410D8 8024C298 00021300 */ sll $v0, $v0, 12 +/* 1410DC 8024C29C 4600118D */ trunc.w.s $f6, $f2 +/* 1410E0 8024C2A0 44033000 */ mfc1 $v1, $f6 +/* 1410E4 8024C2A4 44871000 */ mtc1 $a3, $f2 +/* 1410E8 8024C2A8 00000000 */ nop +/* 1410EC 8024C2AC 468010A0 */ cvt.s.w $f2, $f2 +/* 1410F0 8024C2B0 46041082 */ mul.s $f2, $f2, $f4 +/* 1410F4 8024C2B4 00000000 */ nop +/* 1410F8 8024C2B8 30630FFF */ andi $v1, $v1, 0xFFF +/* 1410FC 8024C2BC 00641825 */ or $v1, $v1, $a0 +/* 141100 8024C2C0 00431025 */ or $v0, $v0, $v1 +/* 141104 8024C2C4 44880000 */ mtc1 $t0, $f0 +/* 141108 8024C2C8 00000000 */ nop +/* 14110C 8024C2CC 46800020 */ cvt.s.w $f0, $f0 +/* 141110 8024C2D0 46040002 */ mul.s $f0, $f0, $f4 +/* 141114 8024C2D4 00000000 */ nop +/* 141118 8024C2D8 ACA20000 */ sw $v0, 0x0($a1) +/* 14111C 8024C2DC 4600118D */ trunc.w.s $f6, $f2 +/* 141120 8024C2E0 44023000 */ mfc1 $v0, $f6 +/* 141124 8024C2E4 00000000 */ nop +/* 141128 8024C2E8 30420FFF */ andi $v0, $v0, 0xFFF +/* 14112C 8024C2EC 00021300 */ sll $v0, $v0, 12 +/* 141130 8024C2F0 4600018D */ trunc.w.s $f6, $f0 +/* 141134 8024C2F4 44033000 */ mfc1 $v1, $f6 +/* 141138 8024C2F8 00000000 */ nop +/* 14113C 8024C2FC 30630FFF */ andi $v1, $v1, 0xFFF +/* 141140 8024C300 00431025 */ or $v0, $v0, $v1 +/* 141144 8024C304 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab) +/* 141148 8024C308 806324A4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1) +/* 14114C 8024C30C ACA20004 */ sw $v0, 0x4($a1) +/* 141150 8024C310 24020002 */ addiu $v0, $zero, 0x2 +/* 141154 8024C314 1462002A */ bne $v1, $v0, .Lpause_8024C3C0 +/* 141158 8024C318 24020001 */ addiu $v0, $zero, 0x1 +/* 14115C 8024C31C 3C038027 */ lui $v1, %hi(gPauseBadgesLevel) +/* 141160 8024C320 8C632768 */ lw $v1, %lo(gPauseBadgesLevel)($v1) +/* 141164 8024C324 14620026 */ bne $v1, $v0, .Lpause_8024C3C0 +/* 141168 8024C328 00000000 */ nop +/* 14116C 8024C32C 3C118027 */ lui $s1, %hi(gPauseBadgesCurrentPage) +/* 141170 8024C330 26312650 */ addiu $s1, $s1, %lo(gPauseBadgesCurrentPage) +/* 141174 8024C334 8E220000 */ lw $v0, 0x0($s1) +/* 141178 8024C338 1840000E */ blez $v0, .Lpause_8024C374 +/* 14117C 8024C33C 24420001 */ addiu $v0, $v0, 0x1 +/* 141180 8024C340 3C108027 */ lui $s0, %hi(gPauseBadgesIconIDs) +/* 141184 8024C344 26102778 */ addiu $s0, $s0, %lo(gPauseBadgesIconIDs) +/* 141188 8024C348 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 14118C 8024C34C 8E040044 */ lw $a0, 0x44($s0) +/* 141190 8024C350 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141194 8024C354 25650116 */ addiu $a1, $t3, 0x116 +/* 141198 8024C358 0C050D4D */ jal hud_element_set_render_pos +/* 14119C 8024C35C 2546000E */ addiu $a2, $t2, 0xE +/* 1411A0 8024C360 8E040044 */ lw $a0, 0x44($s0) +/* 1411A4 8024C364 0C050CE4 */ jal hud_element_draw_without_clipping +/* 1411A8 8024C368 00000000 */ nop +/* 1411AC 8024C36C 8E220000 */ lw $v0, 0x0($s1) +/* 1411B0 8024C370 24420001 */ addiu $v0, $v0, 0x1 +.Lpause_8024C374: +/* 1411B4 8024C374 00021840 */ sll $v1, $v0, 1 +/* 1411B8 8024C378 00621821 */ addu $v1, $v1, $v0 +/* 1411BC 8024C37C 00031880 */ sll $v1, $v1, 2 +/* 1411C0 8024C380 3C028027 */ lui $v0, %hi(gPauseBadgesPages) +/* 1411C4 8024C384 00431021 */ addu $v0, $v0, $v1 +/* 1411C8 8024C388 90422658 */ lbu $v0, %lo(gPauseBadgesPages)($v0) +/* 1411CC 8024C38C 1040000C */ beqz $v0, .Lpause_8024C3C0 +/* 1411D0 8024C390 00000000 */ nop +/* 1411D4 8024C394 3C108027 */ lui $s0, %hi(gPauseBadgesIconIDs) +/* 1411D8 8024C398 26102778 */ addiu $s0, $s0, %lo(gPauseBadgesIconIDs) +/* 1411DC 8024C39C 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1411E0 8024C3A0 8E040048 */ lw $a0, 0x48($s0) +/* 1411E4 8024C3A4 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 1411E8 8024C3A8 25650116 */ addiu $a1, $t3, 0x116 +/* 1411EC 8024C3AC 0C050D4D */ jal hud_element_set_render_pos +/* 1411F0 8024C3B0 25460092 */ addiu $a2, $t2, 0x92 +/* 1411F4 8024C3B4 8E040048 */ lw $a0, 0x48($s0) +/* 1411F8 8024C3B8 0C050CE4 */ jal hud_element_draw_without_clipping +/* 1411FC 8024C3BC 00000000 */ nop +.Lpause_8024C3C0: +/* 141200 8024C3C0 3C108027 */ lui $s0, %hi(gPauseBadgesIconIDs) +/* 141204 8024C3C4 26102778 */ addiu $s0, $s0, %lo(gPauseBadgesIconIDs) +/* 141208 8024C3C8 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 14120C 8024C3CC 8E040040 */ lw $a0, 0x40($s0) +/* 141210 8024C3D0 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141214 8024C3D4 2565002B */ addiu $a1, $t3, 0x2B +/* 141218 8024C3D8 0C050D4D */ jal hud_element_set_render_pos +/* 14121C 8024C3DC 25460051 */ addiu $a2, $t2, 0x51 +/* 141220 8024C3E0 8E040040 */ lw $a0, 0x40($s0) +/* 141224 8024C3E4 0C050CE4 */ jal hud_element_draw_without_clipping +/* 141228 8024C3E8 2414000A */ addiu $s4, $zero, 0xA +/* 14122C 8024C3EC 0C094C60 */ jal pause_get_menu_msg +/* 141230 8024C3F0 24040040 */ addiu $a0, $zero, 0x40 +/* 141234 8024C3F4 0040202D */ daddu $a0, $v0, $zero +/* 141238 8024C3F8 240700FF */ addiu $a3, $zero, 0xFF +/* 14123C 8024C3FC 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141240 8024C400 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141244 8024C404 24020001 */ addiu $v0, $zero, 0x1 +/* 141248 8024C408 AFB40010 */ sw $s4, 0x10($sp) +/* 14124C 8024C40C AFA20014 */ sw $v0, 0x14($sp) +/* 141250 8024C410 25650010 */ addiu $a1, $t3, 0x10 +/* 141254 8024C414 2550004A */ addiu $s0, $t2, 0x4A +/* 141258 8024C418 0C049403 */ jal draw_msg +/* 14125C 8024C41C 0200302D */ daddu $a2, $s0, $zero +/* 141260 8024C420 0200302D */ daddu $a2, $s0, $zero +/* 141264 8024C424 24070001 */ addiu $a3, $zero, 0x1 +/* 141268 8024C428 241500FF */ addiu $s5, $zero, 0xFF +/* 14126C 8024C42C 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141270 8024C430 3C048011 */ lui $a0, %hi(gPlayerData+0x8) +/* 141274 8024C434 8084DD98 */ lb $a0, %lo(gPlayerData+0x8)($a0) +/* 141278 8024C438 24130003 */ addiu $s3, $zero, 0x3 +/* 14127C 8024C43C AFB40010 */ sw $s4, 0x10($sp) +/* 141280 8024C440 AFB50014 */ sw $s5, 0x14($sp) +/* 141284 8024C444 AFB30018 */ sw $s3, 0x18($sp) +/* 141288 8024C448 0C04986F */ jal draw_number +/* 14128C 8024C44C 25650045 */ addiu $a1, $t3, 0x45 +/* 141290 8024C450 0C0921C1 */ jal pause_get_total_equipped_bp_cost +/* 141294 8024C454 0000882D */ daddu $s1, $zero, $zero +/* 141298 8024C458 3C056666 */ lui $a1, (0x66666667 >> 16) +/* 14129C 8024C45C 3C048011 */ lui $a0, %hi(gPlayerData+0x8) +/* 1412A0 8024C460 8084DD98 */ lb $a0, %lo(gPlayerData+0x8)($a0) +/* 1412A4 8024C464 34A56667 */ ori $a1, $a1, (0x66666667 & 0xFFFF) +/* 1412A8 8024C468 2483FFFF */ addiu $v1, $a0, -0x1 +/* 1412AC 8024C46C 00650018 */ mult $v1, $a1 +/* 1412B0 8024C470 00829023 */ subu $s2, $a0, $v0 +/* 1412B4 8024C474 00031FC3 */ sra $v1, $v1, 31 +/* 1412B8 8024C478 00005010 */ mfhi $t2 +/* 1412BC 8024C47C 000A1083 */ sra $v0, $t2, 2 +/* 1412C0 8024C480 00431023 */ subu $v0, $v0, $v1 +/* 1412C4 8024C484 02621804 */ sllv $v1, $v0, $s3 +/* 1412C8 8024C488 0254102A */ slt $v0, $s2, $s4 +/* 1412CC 8024C48C 54400001 */ bnel $v0, $zero, .Lpause_8024C494 +/* 1412D0 8024C490 2411FFFC */ addiu $s1, $zero, -0x4 +.Lpause_8024C494: +/* 1412D4 8024C494 24040007 */ addiu $a0, $zero, 0x7 +/* 1412D8 8024C498 24620064 */ addiu $v0, $v1, 0x64 +/* 1412DC 8024C49C 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1412E0 8024C4A0 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 1412E4 8024C4A4 2565000C */ addiu $a1, $t3, 0xC +/* 1412E8 8024C4A8 01428021 */ addu $s0, $t2, $v0 +/* 1412EC 8024C4AC 0C094C65 */ jal pause_draw_menu_label +/* 1412F0 8024C4B0 0200302D */ daddu $a2, $s0, $zero +/* 1412F4 8024C4B4 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1412F8 8024C4B8 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 1412FC 8024C4BC 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 141300 8024C4C0 25620049 */ addiu $v0, $t3, 0x49 +/* 141304 8024C4C4 14730002 */ bne $v1, $s3, .Lpause_8024C4D0 +/* 141308 8024C4C8 00512821 */ addu $a1, $v0, $s1 +/* 14130C 8024C4CC 24A50008 */ addiu $a1, $a1, 0x8 +.Lpause_8024C4D0: +/* 141310 8024C4D0 0240202D */ daddu $a0, $s2, $zero +/* 141314 8024C4D4 0200302D */ daddu $a2, $s0, $zero +/* 141318 8024C4D8 24070001 */ addiu $a3, $zero, 0x1 +/* 14131C 8024C4DC AFB40010 */ sw $s4, 0x10($sp) +/* 141320 8024C4E0 AFB50014 */ sw $s5, 0x14($sp) +/* 141324 8024C4E4 0C04986F */ jal draw_number +/* 141328 8024C4E8 AFB30018 */ sw $s3, 0x18($sp) +/* 14132C 8024C4EC 3C05E300 */ lui $a1, (0xE3001201 >> 16) +/* 141330 8024C4F0 34A51201 */ ori $a1, $a1, (0xE3001201 & 0xFFFF) +/* 141334 8024C4F4 3C068009 */ lui $a2, %hi(gMainGfxPos) +/* 141338 8024C4F8 24C66A44 */ addiu $a2, $a2, %lo(gMainGfxPos) +/* 14133C 8024C4FC 0000882D */ daddu $s1, $zero, $zero +/* 141340 8024C500 3C02DE00 */ lui $v0, (0xDE000000 >> 16) +/* 141344 8024C504 0220B02D */ daddu $s6, $s1, $zero +/* 141348 8024C508 8CC30000 */ lw $v1, 0x0($a2) +/* 14134C 8024C50C 241700FF */ addiu $s7, $zero, 0xFF +/* 141350 8024C510 0060202D */ daddu $a0, $v1, $zero +/* 141354 8024C514 24630008 */ addiu $v1, $v1, 0x8 +/* 141358 8024C518 ACC30000 */ sw $v1, 0x0($a2) +/* 14135C 8024C51C 3C108011 */ lui $s0, %hi(gPlayerData+0x8) +/* 141360 8024C520 8210DD98 */ lb $s0, %lo(gPlayerData+0x8)($s0) +/* 141364 8024C524 241E0064 */ addiu $fp, $zero, 0x64 +/* 141368 8024C528 AC820000 */ sw $v0, 0x0($a0) +/* 14136C 8024C52C 3C028027 */ lui $v0, %hi(gPauseDLOrbs) +/* 141370 8024C530 24421818 */ addiu $v0, $v0, %lo(gPauseDLOrbs) +/* 141374 8024C534 AC820004 */ sw $v0, 0x4($a0) +/* 141378 8024C538 24620008 */ addiu $v0, $v1, 0x8 +/* 14137C 8024C53C ACC20000 */ sw $v0, 0x0($a2) +/* 141380 8024C540 24022000 */ addiu $v0, $zero, 0x2000 +/* 141384 8024C544 AC650000 */ sw $a1, 0x0($v1) +/* 141388 8024C548 1A000026 */ blez $s0, .Lpause_8024C5E4 +/* 14138C 8024C54C AC620004 */ sw $v0, 0x4($v1) +/* 141390 8024C550 00C0902D */ daddu $s2, $a2, $zero +/* 141394 8024C554 3C15FA00 */ lui $s5, (0xFA000000 >> 16) +/* 141398 8024C558 3C14E3E3 */ lui $s4, (0xE3E3E3FF >> 16) +/* 14139C 8024C55C 3694E3FF */ ori $s4, $s4, (0xE3E3E3FF & 0xFFFF) +/* 1413A0 8024C560 3C136666 */ lui $s3, (0x66666667 >> 16) +/* 1413A4 8024C564 36736667 */ ori $s3, $s3, (0x66666667 & 0xFFFF) +/* 1413A8 8024C568 0000202D */ daddu $a0, $zero, $zero +.Lpause_8024C56C: +/* 1413AC 8024C56C 8E420000 */ lw $v0, 0x0($s2) +/* 1413B0 8024C570 02330018 */ mult $s1, $s3 +/* 1413B4 8024C574 0040182D */ daddu $v1, $v0, $zero +/* 1413B8 8024C578 24420008 */ addiu $v0, $v0, 0x8 +/* 1413BC 8024C57C AE420000 */ sw $v0, 0x0($s2) +/* 1413C0 8024C580 001117C3 */ sra $v0, $s1, 31 +/* 1413C4 8024C584 AC750000 */ sw $s5, 0x0($v1) +/* 1413C8 8024C588 AC740004 */ sw $s4, 0x4($v1) +/* 1413CC 8024C58C 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1413D0 8024C590 00005010 */ mfhi $t2 +/* 1413D4 8024C594 000A3083 */ sra $a2, $t2, 2 +/* 1413D8 8024C598 00C23023 */ subu $a2, $a2, $v0 +/* 1413DC 8024C59C 00061080 */ sll $v0, $a2, 2 +/* 1413E0 8024C5A0 00461021 */ addu $v0, $v0, $a2 +/* 1413E4 8024C5A4 00021040 */ sll $v0, $v0, 1 +/* 1413E8 8024C5A8 02221023 */ subu $v0, $s1, $v0 +/* 1413EC 8024C5AC 00022840 */ sll $a1, $v0, 1 +/* 1413F0 8024C5B0 00A22821 */ addu $a1, $a1, $v0 +/* 1413F4 8024C5B4 00052840 */ sll $a1, $a1, 1 +/* 1413F8 8024C5B8 24A5000B */ addiu $a1, $a1, 0xB +/* 1413FC 8024C5BC 01652821 */ addu $a1, $t3, $a1 +/* 141400 8024C5C0 000630C0 */ sll $a2, $a2, 3 +/* 141404 8024C5C4 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141408 8024C5C8 24C6005C */ addiu $a2, $a2, 0x5C +/* 14140C 8024C5CC 0C092D22 */ jal pause_badges_draw_bp_orbs +/* 141410 8024C5D0 01463021 */ addu $a2, $t2, $a2 +/* 141414 8024C5D4 26310001 */ addiu $s1, $s1, 0x1 +/* 141418 8024C5D8 0230102A */ slt $v0, $s1, $s0 +/* 14141C 8024C5DC 1440FFE3 */ bnez $v0, .Lpause_8024C56C +/* 141420 8024C5E0 0000202D */ daddu $a0, $zero, $zero +.Lpause_8024C5E4: +/* 141424 8024C5E4 3C058009 */ lui $a1, %hi(gMainGfxPos) +/* 141428 8024C5E8 24A56A44 */ addiu $a1, $a1, %lo(gMainGfxPos) +/* 14142C 8024C5EC 8CA40000 */ lw $a0, 0x0($a1) +/* 141430 8024C5F0 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* 141434 8024C5F4 0080182D */ daddu $v1, $a0, $zero +/* 141438 8024C5F8 24840008 */ addiu $a0, $a0, 0x8 +/* 14143C 8024C5FC ACA40000 */ sw $a0, 0x0($a1) +/* 141440 8024C600 AC620000 */ sw $v0, 0x0($v1) +/* 141444 8024C604 AC600004 */ sw $zero, 0x4($v1) +/* 141448 8024C608 8FAB0074 */ lw $t3, 0x74($sp) +/* 14144C 8024C60C 11600089 */ beqz $t3, .Lpause_8024C834 +/* 141450 8024C610 24820008 */ addiu $v0, $a0, 0x8 +/* 141454 8024C614 ACA20000 */ sw $v0, 0x0($a1) +/* 141458 8024C618 3C02FA00 */ lui $v0, (0xFA000000 >> 16) +/* 14145C 8024C61C AC820000 */ sw $v0, 0x0($a0) +/* 141460 8024C620 00171400 */ sll $v0, $s7, 16 +/* 141464 8024C624 001E1A00 */ sll $v1, $fp, 8 +/* 141468 8024C628 00431025 */ or $v0, $v0, $v1 +/* 14146C 8024C62C 344200FF */ ori $v0, $v0, 0xFF +/* 141470 8024C630 AC820004 */ sw $v0, 0x4($a0) +/* 141474 8024C634 8FAA006C */ lw $t2, 0x6C($sp) +/* 141478 8024C638 8FAB0070 */ lw $t3, 0x70($sp) +/* 14147C 8024C63C 014B1023 */ subu $v0, $t2, $t3 +/* 141480 8024C640 1840001D */ blez $v0, .Lpause_8024C6B8 +/* 141484 8024C644 0000882D */ daddu $s1, $zero, $zero +/* 141488 8024C648 3C126666 */ lui $s2, (0x66666667 >> 16) +/* 14148C 8024C64C 36526667 */ ori $s2, $s2, (0x66666667 & 0xFFFF) +/* 141490 8024C650 0040802D */ daddu $s0, $v0, $zero +/* 141494 8024C654 02320018 */ mult $s1, $s2 +.Lpause_8024C658: +/* 141498 8024C658 24040002 */ addiu $a0, $zero, 0x2 +/* 14149C 8024C65C 001117C3 */ sra $v0, $s1, 31 +/* 1414A0 8024C660 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1414A4 8024C664 00005010 */ mfhi $t2 +/* 1414A8 8024C668 008A3007 */ srav $a2, $t2, $a0 +/* 1414AC 8024C66C 00C23023 */ subu $a2, $a2, $v0 +/* 1414B0 8024C670 00861004 */ sllv $v0, $a2, $a0 +/* 1414B4 8024C674 00461021 */ addu $v0, $v0, $a2 +/* 1414B8 8024C678 00021040 */ sll $v0, $v0, 1 +/* 1414BC 8024C67C 02221023 */ subu $v0, $s1, $v0 +/* 1414C0 8024C680 00022840 */ sll $a1, $v0, 1 +/* 1414C4 8024C684 00A22821 */ addu $a1, $a1, $v0 +/* 1414C8 8024C688 00052840 */ sll $a1, $a1, 1 +/* 1414CC 8024C68C 24A5000B */ addiu $a1, $a1, 0xB +/* 1414D0 8024C690 01652821 */ addu $a1, $t3, $a1 +/* 1414D4 8024C694 000630C0 */ sll $a2, $a2, 3 +/* 1414D8 8024C698 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 1414DC 8024C69C 24C6005C */ addiu $a2, $a2, 0x5C +/* 1414E0 8024C6A0 0C092D22 */ jal pause_badges_draw_bp_orbs +/* 1414E4 8024C6A4 01463021 */ addu $a2, $t2, $a2 +/* 1414E8 8024C6A8 26310001 */ addiu $s1, $s1, 0x1 +/* 1414EC 8024C6AC 0230102A */ slt $v0, $s1, $s0 +/* 1414F0 8024C6B0 1440FFE9 */ bnez $v0, .Lpause_8024C658 +/* 1414F4 8024C6B4 02320018 */ mult $s1, $s2 +.Lpause_8024C6B8: +/* 1414F8 8024C6B8 3C108009 */ lui $s0, %hi(gMainGfxPos) +/* 1414FC 8024C6BC 26106A44 */ addiu $s0, $s0, %lo(gMainGfxPos) +/* 141500 8024C6C0 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* 141504 8024C6C4 8E030000 */ lw $v1, 0x0($s0) +/* 141508 8024C6C8 8FAB006C */ lw $t3, 0x6C($sp) +/* 14150C 8024C6CC 8FAA0070 */ lw $t2, 0x70($sp) +/* 141510 8024C6D0 3C058007 */ lui $a1, %hi(gGameStatusPtr) +/* 141514 8024C6D4 8CA514AC */ lw $a1, %lo(gGameStatusPtr)($a1) +/* 141518 8024C6D8 016A8823 */ subu $s1, $t3, $t2 +/* 14151C 8024C6DC 0060202D */ daddu $a0, $v1, $zero +/* 141520 8024C6E0 AC820000 */ sw $v0, 0x0($a0) +/* 141524 8024C6E4 AC800004 */ sw $zero, 0x4($a0) +/* 141528 8024C6E8 94A40134 */ lhu $a0, 0x134($a1) +/* 14152C 8024C6EC 24630008 */ addiu $v1, $v1, 0x8 +/* 141530 8024C6F0 00041100 */ sll $v0, $a0, 4 +/* 141534 8024C6F4 00441023 */ subu $v0, $v0, $a0 +/* 141538 8024C6F8 44826000 */ mtc1 $v0, $f12 +/* 14153C 8024C6FC 00000000 */ nop +/* 141540 8024C700 46806320 */ cvt.s.w $f12, $f12 +/* 141544 8024C704 0C00A89B */ jal sin_deg +/* 141548 8024C708 AE030000 */ sw $v1, 0x0($s0) +/* 14154C 8024C70C 3C04E200 */ lui $a0, (0xE200001C >> 16) +/* 141550 8024C710 3484001C */ ori $a0, $a0, (0xE200001C & 0xFFFF) +/* 141554 8024C714 3C030050 */ lui $v1, (0x504340 >> 16) +/* 141558 8024C718 34634340 */ ori $v1, $v1, (0x504340 & 0xFFFF) +/* 14155C 8024C71C 3C013F80 */ lui $at, (0x3F800000 >> 16) +/* 141560 8024C720 44811000 */ mtc1 $at, $f2 +/* 141564 8024C724 8E050000 */ lw $a1, 0x0($s0) +/* 141568 8024C728 46020000 */ add.s $f0, $f0, $f2 +/* 14156C 8024C72C 00A0102D */ daddu $v0, $a1, $zero +/* 141570 8024C730 3C018027 */ lui $at, %hi(D_pause_80272380) +/* 141574 8024C734 D4222380 */ ldc1 $f2, %lo(D_pause_80272380)($at) +/* 141578 8024C738 46000021 */ cvt.d.s $f0, $f0 +/* 14157C 8024C73C 46220002 */ mul.d $f0, $f0, $f2 +/* 141580 8024C740 00000000 */ nop +/* 141584 8024C744 24A50008 */ addiu $a1, $a1, 0x8 +/* 141588 8024C748 AE050000 */ sw $a1, 0x0($s0) +/* 14158C 8024C74C AC440000 */ sw $a0, 0x0($v0) +/* 141590 8024C750 AC430004 */ sw $v1, 0x4($v0) +/* 141594 8024C754 3C013FE0 */ lui $at, (0x3FE00000 >> 16) +/* 141598 8024C758 44811800 */ mtc1 $at, $f3 +/* 14159C 8024C75C 44801000 */ mtc1 $zero, $f2 +/* 1415A0 8024C760 24A20008 */ addiu $v0, $a1, 0x8 +/* 1415A4 8024C764 AE020000 */ sw $v0, 0x0($s0) +/* 1415A8 8024C768 46220000 */ add.d $f0, $f0, $f2 +/* 1415AC 8024C76C 3C02FA00 */ lui $v0, (0xFA000000 >> 16) +/* 1415B0 8024C770 3C01437F */ lui $at, (0x437F0000 >> 16) +/* 1415B4 8024C774 44811000 */ mtc1 $at, $f2 +/* 1415B8 8024C778 46200020 */ cvt.s.d $f0, $f0 +/* 1415BC 8024C77C 46020002 */ mul.s $f0, $f0, $f2 +/* 1415C0 8024C780 00000000 */ nop +/* 1415C4 8024C784 ACA20000 */ sw $v0, 0x0($a1) +/* 1415C8 8024C788 00171400 */ sll $v0, $s7, 16 +/* 1415CC 8024C78C 001E1A00 */ sll $v1, $fp, 8 +/* 1415D0 8024C790 00431025 */ or $v0, $v0, $v1 +/* 1415D4 8024C794 4600018D */ trunc.w.s $f6, $f0 +/* 1415D8 8024C798 44043000 */ mfc1 $a0, $f6 +/* 1415DC 8024C79C 00000000 */ nop +/* 1415E0 8024C7A0 308400FF */ andi $a0, $a0, 0xFF +/* 1415E4 8024C7A4 00441025 */ or $v0, $v0, $a0 +/* 1415E8 8024C7A8 ACA20004 */ sw $v0, 0x4($a1) +/* 1415EC 8024C7AC 8FAB006C */ lw $t3, 0x6C($sp) +/* 1415F0 8024C7B0 022B102A */ slt $v0, $s1, $t3 +/* 1415F4 8024C7B4 10400046 */ beqz $v0, .Lpause_8024C8D0 +/* 1415F8 8024C7B8 00000000 */ nop +/* 1415FC 8024C7BC 3C106666 */ lui $s0, (0x66666667 >> 16) +/* 141600 8024C7C0 36106667 */ ori $s0, $s0, (0x66666667 & 0xFFFF) +/* 141604 8024C7C4 02300018 */ mult $s1, $s0 +.Lpause_8024C7C8: +/* 141608 8024C7C8 24040002 */ addiu $a0, $zero, 0x2 +/* 14160C 8024C7CC 001117C3 */ sra $v0, $s1, 31 +/* 141610 8024C7D0 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141614 8024C7D4 00005010 */ mfhi $t2 +/* 141618 8024C7D8 008A3007 */ srav $a2, $t2, $a0 +/* 14161C 8024C7DC 00C23023 */ subu $a2, $a2, $v0 +/* 141620 8024C7E0 00861004 */ sllv $v0, $a2, $a0 +/* 141624 8024C7E4 00461021 */ addu $v0, $v0, $a2 +/* 141628 8024C7E8 00021040 */ sll $v0, $v0, 1 +/* 14162C 8024C7EC 02221023 */ subu $v0, $s1, $v0 +/* 141630 8024C7F0 00022840 */ sll $a1, $v0, 1 +/* 141634 8024C7F4 00A22821 */ addu $a1, $a1, $v0 +/* 141638 8024C7F8 00052840 */ sll $a1, $a1, 1 +/* 14163C 8024C7FC 24A5000B */ addiu $a1, $a1, 0xB +/* 141640 8024C800 01652821 */ addu $a1, $t3, $a1 +/* 141644 8024C804 000630C0 */ sll $a2, $a2, 3 +/* 141648 8024C808 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 14164C 8024C80C 24C6005C */ addiu $a2, $a2, 0x5C +/* 141650 8024C810 0C092D22 */ jal pause_badges_draw_bp_orbs +/* 141654 8024C814 01463021 */ addu $a2, $t2, $a2 +/* 141658 8024C818 8FAB006C */ lw $t3, 0x6C($sp) +/* 14165C 8024C81C 26310001 */ addiu $s1, $s1, 0x1 +/* 141660 8024C820 022B102A */ slt $v0, $s1, $t3 +/* 141664 8024C824 1440FFE8 */ bnez $v0, .Lpause_8024C7C8 +/* 141668 8024C828 02300018 */ mult $s1, $s0 +/* 14166C 8024C82C 08093234 */ j .Lpause_8024C8D0 +/* 141670 8024C830 00000000 */ nop +.Lpause_8024C834: +/* 141674 8024C834 ACA20000 */ sw $v0, 0x0($a1) +/* 141678 8024C838 3C02FA00 */ lui $v0, (0xFA000000 >> 16) +/* 14167C 8024C83C AC820000 */ sw $v0, 0x0($a0) +/* 141680 8024C840 00171400 */ sll $v0, $s7, 16 +/* 141684 8024C844 001E1A00 */ sll $v1, $fp, 8 +/* 141688 8024C848 00431025 */ or $v0, $v0, $v1 +/* 14168C 8024C84C 344200FF */ ori $v0, $v0, 0xFF +/* 141690 8024C850 AC820004 */ sw $v0, 0x4($a0) +/* 141694 8024C854 8FAA006C */ lw $t2, 0x6C($sp) +/* 141698 8024C858 1940001D */ blez $t2, .Lpause_8024C8D0 +/* 14169C 8024C85C 0000882D */ daddu $s1, $zero, $zero +/* 1416A0 8024C860 3C106666 */ lui $s0, (0x66666667 >> 16) +/* 1416A4 8024C864 36106667 */ ori $s0, $s0, (0x66666667 & 0xFFFF) +/* 1416A8 8024C868 02300018 */ mult $s1, $s0 +.Lpause_8024C86C: +/* 1416AC 8024C86C 24040002 */ addiu $a0, $zero, 0x2 +/* 1416B0 8024C870 001117C3 */ sra $v0, $s1, 31 +/* 1416B4 8024C874 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1416B8 8024C878 00005010 */ mfhi $t2 +/* 1416BC 8024C87C 008A3007 */ srav $a2, $t2, $a0 +/* 1416C0 8024C880 00C23023 */ subu $a2, $a2, $v0 +/* 1416C4 8024C884 00861004 */ sllv $v0, $a2, $a0 +/* 1416C8 8024C888 00461021 */ addu $v0, $v0, $a2 +/* 1416CC 8024C88C 00021040 */ sll $v0, $v0, 1 +/* 1416D0 8024C890 02221023 */ subu $v0, $s1, $v0 +/* 1416D4 8024C894 00022840 */ sll $a1, $v0, 1 +/* 1416D8 8024C898 00A22821 */ addu $a1, $a1, $v0 +/* 1416DC 8024C89C 00052840 */ sll $a1, $a1, 1 +/* 1416E0 8024C8A0 24A5000B */ addiu $a1, $a1, 0xB +/* 1416E4 8024C8A4 01652821 */ addu $a1, $t3, $a1 +/* 1416E8 8024C8A8 000630C0 */ sll $a2, $a2, 3 +/* 1416EC 8024C8AC 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 1416F0 8024C8B0 24C6005C */ addiu $a2, $a2, 0x5C +/* 1416F4 8024C8B4 0C092D22 */ jal pause_badges_draw_bp_orbs +/* 1416F8 8024C8B8 01463021 */ addu $a2, $t2, $a2 +/* 1416FC 8024C8BC 8FAB006C */ lw $t3, 0x6C($sp) +/* 141700 8024C8C0 26310001 */ addiu $s1, $s1, 0x1 +/* 141704 8024C8C4 022B102A */ slt $v0, $s1, $t3 +/* 141708 8024C8C8 1440FFE8 */ bnez $v0, .Lpause_8024C86C +/* 14170C 8024C8CC 02300018 */ mult $s1, $s0 +.Lpause_8024C8D0: +/* 141710 8024C8D0 3C038009 */ lui $v1, %hi(gMainGfxPos) +/* 141714 8024C8D4 24636A44 */ addiu $v1, $v1, %lo(gMainGfxPos) +/* 141718 8024C8D8 8C620000 */ lw $v0, 0x0($v1) +/* 14171C 8024C8DC 0040202D */ daddu $a0, $v0, $zero +/* 141720 8024C8E0 24420008 */ addiu $v0, $v0, 0x8 +/* 141724 8024C8E4 AC620000 */ sw $v0, 0x0($v1) +/* 141728 8024C8E8 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* 14172C 8024C8EC AC820000 */ sw $v0, 0x0($a0) +/* 141730 8024C8F0 AC800004 */ sw $zero, 0x4($a0) +/* 141734 8024C8F4 3C038027 */ lui $v1, %hi(gPauseBadgesCurrentTab) +/* 141738 8024C8F8 8C63276C */ lw $v1, %lo(gPauseBadgesCurrentTab)($v1) +/* 14173C 8024C8FC 8FA600C4 */ lw $a2, 0xC4($sp) +/* 141740 8024C900 50600001 */ beql $v1, $zero, .Lpause_8024C908 +/* 141744 8024C904 24C60009 */ addiu $a2, $a2, 0x9 +.Lpause_8024C908: +/* 141748 8024C908 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 14174C 8024C90C 2402005B */ addiu $v0, $zero, 0x5B +/* 141750 8024C910 AFA20014 */ sw $v0, 0x14($sp) +/* 141754 8024C914 24020022 */ addiu $v0, $zero, 0x22 +/* 141758 8024C918 AFA20018 */ sw $v0, 0x18($sp) +/* 14175C 8024C91C 240200FF */ addiu $v0, $zero, 0xFF +/* 141760 8024C920 AFA2001C */ sw $v0, 0x1C($sp) +/* 141764 8024C924 24020001 */ addiu $v0, $zero, 0x1 +/* 141768 8024C928 AFA00010 */ sw $zero, 0x10($sp) +/* 14176C 8024C92C 14620004 */ bne $v1, $v0, .Lpause_8024C940 +/* 141770 8024C930 25470007 */ addiu $a3, $t2, 0x7 +/* 141774 8024C934 24020080 */ addiu $v0, $zero, 0x80 +/* 141778 8024C938 08093251 */ j .Lpause_8024C944 +/* 14177C 8024C93C AFA20020 */ sw $v0, 0x20($sp) +.Lpause_8024C940: +/* 141780 8024C940 AFA00020 */ sw $zero, 0x20($sp) +.Lpause_8024C944: +/* 141784 8024C944 24040004 */ addiu $a0, $zero, 0x4 +/* 141788 8024C948 3C058027 */ lui $a1, %hi(gPauseWS_13) +/* 14178C 8024C94C 24A51FA8 */ addiu $a1, $a1, %lo(gPauseWS_13) +/* 141790 8024C950 24020140 */ addiu $v0, $zero, 0x140 +/* 141794 8024C954 AFA20044 */ sw $v0, 0x44($sp) +/* 141798 8024C958 240200F0 */ addiu $v0, $zero, 0xF0 +/* 14179C 8024C95C AFA00024 */ sw $zero, 0x24($sp) +/* 1417A0 8024C960 AFA00028 */ sw $zero, 0x28($sp) +/* 1417A4 8024C964 AFA0002C */ sw $zero, 0x2C($sp) +/* 1417A8 8024C968 AFA00030 */ sw $zero, 0x30($sp) +/* 1417AC 8024C96C AFA00034 */ sw $zero, 0x34($sp) +/* 1417B0 8024C970 AFA00038 */ sw $zero, 0x38($sp) +/* 1417B4 8024C974 AFA0003C */ sw $zero, 0x3C($sp) +/* 1417B8 8024C978 AFA00040 */ sw $zero, 0x40($sp) +/* 1417BC 8024C97C AFA20048 */ sw $v0, 0x48($sp) +/* 1417C0 8024C980 0C03C5C4 */ jal draw_box +/* 1417C4 8024C984 AFA0004C */ sw $zero, 0x4C($sp) +/* 1417C8 8024C988 3C128015 */ lui $s2, %hi(gCurrentLanguage) +/* 1417CC 8024C98C 2652AE4C */ addiu $s2, $s2, %lo(gCurrentLanguage) +/* 1417D0 8024C990 8E420000 */ lw $v0, 0x0($s2) +/* 1417D4 8024C994 28420002 */ slti $v0, $v0, 0x2 +/* 1417D8 8024C998 10400013 */ beqz $v0, .Lpause_8024C9E8 +/* 1417DC 8024C99C 00000000 */ nop +/* 1417E0 8024C9A0 0C094C60 */ jal pause_get_menu_msg +/* 1417E4 8024C9A4 24040041 */ addiu $a0, $zero, 0x41 +/* 1417E8 8024C9A8 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 1417EC 8024C9AC 3C038027 */ lui $v1, %hi(gPauseBadgesCurrentTab) +/* 1417F0 8024C9B0 8C63276C */ lw $v1, %lo(gPauseBadgesCurrentTab)($v1) +/* 1417F4 8024C9B4 14600002 */ bnez $v1, .Lpause_8024C9C0 +/* 1417F8 8024C9B8 2565000A */ addiu $a1, $t3, 0xA +/* 1417FC 8024C9BC 25650013 */ addiu $a1, $t3, 0x13 +.Lpause_8024C9C0: +/* 141800 8024C9C0 240700FF */ addiu $a3, $zero, 0xFF +/* 141804 8024C9C4 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141808 8024C9C8 24080001 */ addiu $t0, $zero, 0x1 +/* 14180C 8024C9CC 14680002 */ bne $v1, $t0, .Lpause_8024C9D8 +/* 141810 8024C9D0 25460011 */ addiu $a2, $t2, 0x11 +/* 141814 8024C9D4 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024C9D8: +/* 141818 8024C9D8 0040202D */ daddu $a0, $v0, $zero +/* 14181C 8024C9DC AFA00010 */ sw $zero, 0x10($sp) +/* 141820 8024C9E0 080932A0 */ j .Lpause_8024CA80 +/* 141824 8024C9E4 AFA80014 */ sw $t0, 0x14($sp) +.Lpause_8024C9E8: +/* 141828 8024C9E8 0C094C60 */ jal pause_get_menu_msg +/* 14182C 8024C9EC 24040041 */ addiu $a0, $zero, 0x41 +/* 141830 8024C9F0 3C118027 */ lui $s1, %hi(gPauseBadgesCurrentTab) +/* 141834 8024C9F4 2631276C */ addiu $s1, $s1, %lo(gPauseBadgesCurrentTab) +/* 141838 8024C9F8 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 14183C 8024C9FC 8E230000 */ lw $v1, 0x0($s1) +/* 141840 8024CA00 14600002 */ bnez $v1, .Lpause_8024CA0C +/* 141844 8024CA04 2565000C */ addiu $a1, $t3, 0xC +/* 141848 8024CA08 25650015 */ addiu $a1, $t3, 0x15 +.Lpause_8024CA0C: +/* 14184C 8024CA0C 240700FF */ addiu $a3, $zero, 0xFF +/* 141850 8024CA10 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141854 8024CA14 24100001 */ addiu $s0, $zero, 0x1 +/* 141858 8024CA18 14700002 */ bne $v1, $s0, .Lpause_8024CA24 +/* 14185C 8024CA1C 2546000C */ addiu $a2, $t2, 0xC +/* 141860 8024CA20 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024CA24: +/* 141864 8024CA24 0040202D */ daddu $a0, $v0, $zero +/* 141868 8024CA28 AFA00010 */ sw $zero, 0x10($sp) +/* 14186C 8024CA2C 0C049403 */ jal draw_msg +/* 141870 8024CA30 AFB00014 */ sw $s0, 0x14($sp) +/* 141874 8024CA34 0C094C60 */ jal pause_get_menu_msg +/* 141878 8024CA38 24040042 */ addiu $a0, $zero, 0x42 +/* 14187C 8024CA3C 0040202D */ daddu $a0, $v0, $zero +/* 141880 8024CA40 24020002 */ addiu $v0, $zero, 0x2 +/* 141884 8024CA44 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141888 8024CA48 8E430000 */ lw $v1, 0x0($s2) +/* 14188C 8024CA4C 14620002 */ bne $v1, $v0, .Lpause_8024CA58 +/* 141890 8024CA50 25650018 */ addiu $a1, $t3, 0x18 +/* 141894 8024CA54 2565001A */ addiu $a1, $t3, 0x1A +.Lpause_8024CA58: +/* 141898 8024CA58 8E220000 */ lw $v0, 0x0($s1) +/* 14189C 8024CA5C 50400001 */ beql $v0, $zero, .Lpause_8024CA64 +/* 1418A0 8024CA60 24A50009 */ addiu $a1, $a1, 0x9 +.Lpause_8024CA64: +/* 1418A4 8024CA64 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 1418A8 8024CA68 240700FF */ addiu $a3, $zero, 0xFF +/* 1418AC 8024CA6C 14500002 */ bne $v0, $s0, .Lpause_8024CA78 +/* 1418B0 8024CA70 25460016 */ addiu $a2, $t2, 0x16 +/* 1418B4 8024CA74 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024CA78: +/* 1418B8 8024CA78 AFA00010 */ sw $zero, 0x10($sp) +/* 1418BC 8024CA7C AFB00014 */ sw $s0, 0x14($sp) +.Lpause_8024CA80: +/* 1418C0 8024CA80 0C049403 */ jal draw_msg +/* 1418C4 8024CA84 00000000 */ nop +/* 1418C8 8024CA88 24020001 */ addiu $v0, $zero, 0x1 +/* 1418CC 8024CA8C 3C038027 */ lui $v1, %hi(gPauseBadgesCurrentTab) +/* 1418D0 8024CA90 8C63276C */ lw $v1, %lo(gPauseBadgesCurrentTab)($v1) +/* 1418D4 8024CA94 8FA600C4 */ lw $a2, 0xC4($sp) +/* 1418D8 8024CA98 50620001 */ beql $v1, $v0, .Lpause_8024CAA0 +/* 1418DC 8024CA9C 24C60009 */ addiu $a2, $a2, 0x9 +.Lpause_8024CAA0: +/* 1418E0 8024CAA0 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 1418E4 8024CAA4 2402005B */ addiu $v0, $zero, 0x5B +/* 1418E8 8024CAA8 AFA20014 */ sw $v0, 0x14($sp) +/* 1418EC 8024CAAC 24020022 */ addiu $v0, $zero, 0x22 +/* 1418F0 8024CAB0 AFA20018 */ sw $v0, 0x18($sp) +/* 1418F4 8024CAB4 240200FF */ addiu $v0, $zero, 0xFF +/* 1418F8 8024CAB8 AFA00010 */ sw $zero, 0x10($sp) +/* 1418FC 8024CABC AFA2001C */ sw $v0, 0x1C($sp) +/* 141900 8024CAC0 14600004 */ bnez $v1, .Lpause_8024CAD4 +/* 141904 8024CAC4 25670025 */ addiu $a3, $t3, 0x25 +/* 141908 8024CAC8 24020080 */ addiu $v0, $zero, 0x80 +/* 14190C 8024CACC 080932B6 */ j .Lpause_8024CAD8 +/* 141910 8024CAD0 AFA20020 */ sw $v0, 0x20($sp) +.Lpause_8024CAD4: +/* 141914 8024CAD4 AFA00020 */ sw $zero, 0x20($sp) +.Lpause_8024CAD8: +/* 141918 8024CAD8 24040004 */ addiu $a0, $zero, 0x4 +/* 14191C 8024CADC 3C058027 */ lui $a1, %hi(gPauseWS_13) +/* 141920 8024CAE0 24A51FA8 */ addiu $a1, $a1, %lo(gPauseWS_13) +/* 141924 8024CAE4 24020140 */ addiu $v0, $zero, 0x140 +/* 141928 8024CAE8 AFA20044 */ sw $v0, 0x44($sp) +/* 14192C 8024CAEC 240200F0 */ addiu $v0, $zero, 0xF0 +/* 141930 8024CAF0 AFA00024 */ sw $zero, 0x24($sp) +/* 141934 8024CAF4 AFA00028 */ sw $zero, 0x28($sp) +/* 141938 8024CAF8 AFA0002C */ sw $zero, 0x2C($sp) +/* 14193C 8024CAFC AFA00030 */ sw $zero, 0x30($sp) +/* 141940 8024CB00 AFA00034 */ sw $zero, 0x34($sp) +/* 141944 8024CB04 AFA00038 */ sw $zero, 0x38($sp) +/* 141948 8024CB08 AFA0003C */ sw $zero, 0x3C($sp) +/* 14194C 8024CB0C AFA00040 */ sw $zero, 0x40($sp) +/* 141950 8024CB10 AFA20048 */ sw $v0, 0x48($sp) +/* 141954 8024CB14 0C03C5C4 */ jal draw_box +/* 141958 8024CB18 AFA0004C */ sw $zero, 0x4C($sp) +/* 14195C 8024CB1C 0C094C60 */ jal pause_get_menu_msg +/* 141960 8024CB20 24040043 */ addiu $a0, $zero, 0x43 +/* 141964 8024CB24 3C118027 */ lui $s1, %hi(gPauseBadgesCurrentTab) +/* 141968 8024CB28 2631276C */ addiu $s1, $s1, %lo(gPauseBadgesCurrentTab) +/* 14196C 8024CB2C 24100001 */ addiu $s0, $zero, 0x1 +/* 141970 8024CB30 8FAA00C4 */ lw $t2, 0xC4($sp) +/* 141974 8024CB34 8E230000 */ lw $v1, 0x0($s1) +/* 141978 8024CB38 14700002 */ bne $v1, $s0, .Lpause_8024CB44 +/* 14197C 8024CB3C 2545000C */ addiu $a1, $t2, 0xC +/* 141980 8024CB40 25450015 */ addiu $a1, $t2, 0x15 +.Lpause_8024CB44: +/* 141984 8024CB44 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 141988 8024CB48 240700FF */ addiu $a3, $zero, 0xFF +/* 14198C 8024CB4C 14600002 */ bnez $v1, .Lpause_8024CB58 +/* 141990 8024CB50 2566002A */ addiu $a2, $t3, 0x2A +/* 141994 8024CB54 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024CB58: +/* 141998 8024CB58 0040202D */ daddu $a0, $v0, $zero +/* 14199C 8024CB5C AFA00010 */ sw $zero, 0x10($sp) +/* 1419A0 8024CB60 0C049403 */ jal draw_msg +/* 1419A4 8024CB64 AFB00014 */ sw $s0, 0x14($sp) +/* 1419A8 8024CB68 0C094C60 */ jal pause_get_menu_msg +/* 1419AC 8024CB6C 24040044 */ addiu $a0, $zero, 0x44 +/* 1419B0 8024CB70 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 1419B4 8024CB74 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 1419B8 8024CB78 8FAA00C4 */ lw $t2, 0xC4($sp) +/* 1419BC 8024CB7C 3C018027 */ lui $at, %hi(D_PAL_80271B2C) +/* 1419C0 8024CB80 00230821 */ addu $at, $at, $v1 +/* 1419C4 8024CB84 90231B2C */ lbu $v1, %lo(D_PAL_80271B2C)($at) +/* 1419C8 8024CB88 01432821 */ addu $a1, $t2, $v1 +/* 1419CC 8024CB8C 8E230000 */ lw $v1, 0x0($s1) +/* 1419D0 8024CB90 50700001 */ beql $v1, $s0, .Lpause_8024CB98 +/* 1419D4 8024CB94 24A50009 */ addiu $a1, $a1, 0x9 +.Lpause_8024CB98: +/* 1419D8 8024CB98 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 1419DC 8024CB9C 240700FF */ addiu $a3, $zero, 0xFF +/* 1419E0 8024CBA0 14600002 */ bnez $v1, .Lpause_8024CBAC +/* 1419E4 8024CBA4 25660034 */ addiu $a2, $t3, 0x34 +/* 1419E8 8024CBA8 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024CBAC: +/* 1419EC 8024CBAC 0040202D */ daddu $a0, $v0, $zero +/* 1419F0 8024CBB0 AFA00010 */ sw $zero, 0x10($sp) +/* 1419F4 8024CBB4 0C049403 */ jal draw_msg +/* 1419F8 8024CBB8 AFB00014 */ sw $s0, 0x14($sp) +/* 1419FC 8024CBBC 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab) +/* 141A00 8024CBC0 806324A4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1) +/* 141A04 8024CBC4 24020002 */ addiu $v0, $zero, 0x2 +/* 141A08 8024CBC8 14620050 */ bne $v1, $v0, .Lpause_8024CD0C +/* 141A0C 8024CBCC 00000000 */ nop +/* 141A10 8024CBD0 3C028027 */ lui $v0, %hi(gPauseBadgesLevel) +/* 141A14 8024CBD4 8C422768 */ lw $v0, %lo(gPauseBadgesLevel)($v0) +/* 141A18 8024CBD8 14400009 */ bnez $v0, .Lpause_8024CC00 +/* 141A1C 8024CBDC 24040020 */ addiu $a0, $zero, 0x20 +/* 141A20 8024CBE0 8E260000 */ lw $a2, 0x0($s1) +/* 141A24 8024CBE4 8FAA00C4 */ lw $t2, 0xC4($sp) +/* 141A28 8024CBE8 8FAB00C8 */ lw $t3, 0xC8($sp) +/* 141A2C 8024CBEC 2545000A */ addiu $a1, $t2, 0xA +/* 141A30 8024CBF0 00063140 */ sll $a2, $a2, 5 +/* 141A34 8024CBF4 24C6001A */ addiu $a2, $a2, 0x1A +/* 141A38 8024CBF8 08093341 */ j .Lpause_8024CD04 +/* 141A3C 8024CBFC 01663021 */ addu $a2, $t3, $a2 +.Lpause_8024CC00: +/* 141A40 8024CC00 3C118027 */ lui $s1, %hi(gPauseBadgesCurrentPage) +/* 141A44 8024CC04 26312650 */ addiu $s1, $s1, %lo(gPauseBadgesCurrentPage) +/* 141A48 8024CC08 8E240000 */ lw $a0, 0x0($s1) +/* 141A4C 8024CC0C 3C128027 */ lui $s2, %hi(gPauseBadgesPages) +/* 141A50 8024CC10 26522658 */ addiu $s2, $s2, %lo(gPauseBadgesPages) +/* 141A54 8024CC14 00041040 */ sll $v0, $a0, 1 +/* 141A58 8024CC18 00441021 */ addu $v0, $v0, $a0 +/* 141A5C 8024CC1C 00021080 */ sll $v0, $v0, 2 +/* 141A60 8024CC20 00521021 */ addu $v0, $v0, $s2 +/* 141A64 8024CC24 90430001 */ lbu $v1, 0x1($v0) +/* 141A68 8024CC28 90420002 */ lbu $v0, 0x2($v0) +/* 141A6C 8024CC2C 00620018 */ mult $v1, $v0 +/* 141A70 8024CC30 3C108027 */ lui $s0, %hi(gPauseBadgesSelectedIndex) +/* 141A74 8024CC34 26102748 */ addiu $s0, $s0, %lo(gPauseBadgesSelectedIndex) +/* 141A78 8024CC38 8E050000 */ lw $a1, 0x0($s0) +/* 141A7C 8024CC3C 00005012 */ mflo $t2 +/* 141A80 8024CC40 0C092C4F */ jal pause_badges_get_pos_x +/* 141A84 8024CC44 00AA2823 */ subu $a1, $a1, $t2 +/* 141A88 8024CC48 8E240000 */ lw $a0, 0x0($s1) +/* 141A8C 8024CC4C 00041840 */ sll $v1, $a0, 1 +/* 141A90 8024CC50 00641821 */ addu $v1, $v1, $a0 +/* 141A94 8024CC54 00031880 */ sll $v1, $v1, 2 +/* 141A98 8024CC58 00721821 */ addu $v1, $v1, $s2 +/* 141A9C 8024CC5C 90650001 */ lbu $a1, 0x1($v1) +/* 141AA0 8024CC60 90630002 */ lbu $v1, 0x2($v1) +/* 141AA4 8024CC64 00A30018 */ mult $a1, $v1 +/* 141AA8 8024CC68 8E050000 */ lw $a1, 0x0($s0) +/* 141AAC 8024CC6C 0040802D */ daddu $s0, $v0, $zero +/* 141AB0 8024CC70 00005012 */ mflo $t2 +/* 141AB4 8024CC74 0C092C66 */ jal pause_badges_get_pos_y +/* 141AB8 8024CC78 00AA2823 */ subu $a1, $a1, $t2 +/* 141ABC 8024CC7C 0200202D */ daddu $a0, $s0, $zero +/* 141AC0 8024CC80 0C092CB6 */ jal pause_badges_scroll_offset_x +/* 141AC4 8024CC84 0040802D */ daddu $s0, $v0, $zero +/* 141AC8 8024CC88 0200202D */ daddu $a0, $s0, $zero +/* 141ACC 8024CC8C 0C092CB2 */ jal pause_badges_scroll_offset_y +/* 141AD0 8024CC90 0040802D */ daddu $s0, $v0, $zero +/* 141AD4 8024CC94 0040302D */ daddu $a2, $v0, $zero +/* 141AD8 8024CC98 04C10003 */ bgez $a2, .Lpause_8024CCA8 +/* 141ADC 8024CC9C 28C20071 */ slti $v0, $a2, 0x71 +/* 141AE0 8024CCA0 0809332C */ j .Lpause_8024CCB0 +/* 141AE4 8024CCA4 0000302D */ daddu $a2, $zero, $zero +.Lpause_8024CCA8: +/* 141AE8 8024CCA8 50400001 */ beql $v0, $zero, .Lpause_8024CCB0 +/* 141AEC 8024CCAC 24060070 */ addiu $a2, $zero, 0x70 +.Lpause_8024CCB0: +/* 141AF0 8024CCB0 3C038027 */ lui $v1, %hi(gPauseBadgesCurrentScrollPos) +/* 141AF4 8024CCB4 8C63275C */ lw $v1, %lo(gPauseBadgesCurrentScrollPos)($v1) +/* 141AF8 8024CCB8 3C028027 */ lui $v0, %hi(gPauseBadgesTargetScrollPos) +/* 141AFC 8024CCBC 8C422760 */ lw $v0, %lo(gPauseBadgesTargetScrollPos)($v0) +/* 141B00 8024CCC0 1062000A */ beq $v1, $v0, .Lpause_8024CCEC +/* 141B04 8024CCC4 24040020 */ addiu $a0, $zero, 0x20 +/* 141B08 8024CCC8 2605005D */ addiu $a1, $s0, 0x5D +/* 141B0C 8024CCCC 24C60017 */ addiu $a2, $a2, 0x17 +/* 141B10 8024CCD0 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141B14 8024CCD4 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141B18 8024CCD8 01652821 */ addu $a1, $t3, $a1 +/* 141B1C 8024CCDC 0C091AAF */ jal pause_set_cursor_pos_immediate +/* 141B20 8024CCE0 01463021 */ addu $a2, $t2, $a2 +/* 141B24 8024CCE4 08093343 */ j .Lpause_8024CD0C +/* 141B28 8024CCE8 00000000 */ nop +.Lpause_8024CCEC: +/* 141B2C 8024CCEC 2605005D */ addiu $a1, $s0, 0x5D +/* 141B30 8024CCF0 24C60017 */ addiu $a2, $a2, 0x17 +/* 141B34 8024CCF4 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141B38 8024CCF8 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141B3C 8024CCFC 01652821 */ addu $a1, $t3, $a1 +/* 141B40 8024CD00 01463021 */ addu $a2, $t2, $a2 +.Lpause_8024CD04: +/* 141B44 8024CD04 0C091B05 */ jal pause_set_cursor_pos +/* 141B48 8024CD08 00000000 */ nop +.Lpause_8024CD0C: +/* 141B4C 8024CD0C 3C108027 */ lui $s0, %hi(gPauseBadgesShowNotEnoughBP) +/* 141B50 8024CD10 26102770 */ addiu $s0, $s0, %lo(gPauseBadgesShowNotEnoughBP) +/* 141B54 8024CD14 8E020000 */ lw $v0, 0x0($s0) +/* 141B58 8024CD18 10400065 */ beqz $v0, .Lpause_8024CEB0 +/* 141B5C 8024CD1C 00000000 */ nop +/* 141B60 8024CD20 0C091AAC */ jal pause_set_cursor_opacity +/* 141B64 8024CD24 0000202D */ daddu $a0, $zero, $zero +/* 141B68 8024CD28 8E020000 */ lw $v0, 0x0($s0) +/* 141B6C 8024CD2C 24110001 */ addiu $s1, $zero, 0x1 +/* 141B70 8024CD30 54510038 */ bnel $v0, $s1, .Lpause_8024CE14 +/* 141B74 8024CD34 24040004 */ addiu $a0, $zero, 0x4 +/* 141B78 8024CD38 0C094C60 */ jal pause_get_menu_msg +/* 141B7C 8024CD3C 24040045 */ addiu $a0, $zero, 0x45 +/* 141B80 8024CD40 0040202D */ daddu $a0, $v0, $zero +/* 141B84 8024CD44 0C0493E5 */ jal get_msg_width +/* 141B88 8024CD48 0000282D */ daddu $a1, $zero, $zero +/* 141B8C 8024CD4C 24040004 */ addiu $a0, $zero, 0x4 +/* 141B90 8024CD50 3C058027 */ lui $a1, %hi(gPauseWS_13) +/* 141B94 8024CD54 24A51FA8 */ addiu $a1, $a1, %lo(gPauseWS_13) +/* 141B98 8024CD58 0040802D */ daddu $s0, $v0, $zero +/* 141B9C 8024CD5C 24060100 */ addiu $a2, $zero, 0x100 +/* 141BA0 8024CD60 00D03023 */ subu $a2, $a2, $s0 +/* 141BA4 8024CD64 000617C2 */ srl $v0, $a2, 31 +/* 141BA8 8024CD68 00C23021 */ addu $a2, $a2, $v0 +/* 141BAC 8024CD6C 02263007 */ srav $a2, $a2, $s1 +/* 141BB0 8024CD70 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141BB4 8024CD74 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141BB8 8024CD78 26020024 */ addiu $v0, $s0, 0x24 +/* 141BBC 8024CD7C AFA20014 */ sw $v0, 0x14($sp) +/* 141BC0 8024CD80 2402001A */ addiu $v0, $zero, 0x1A +/* 141BC4 8024CD84 AFA20018 */ sw $v0, 0x18($sp) +/* 141BC8 8024CD88 240200FF */ addiu $v0, $zero, 0xFF +/* 141BCC 8024CD8C AFA2001C */ sw $v0, 0x1C($sp) +/* 141BD0 8024CD90 24020140 */ addiu $v0, $zero, 0x140 +/* 141BD4 8024CD94 AFA20044 */ sw $v0, 0x44($sp) +/* 141BD8 8024CD98 240200F0 */ addiu $v0, $zero, 0xF0 +/* 141BDC 8024CD9C AFA00010 */ sw $zero, 0x10($sp) +/* 141BE0 8024CDA0 AFA00020 */ sw $zero, 0x20($sp) +/* 141BE4 8024CDA4 AFA00024 */ sw $zero, 0x24($sp) +/* 141BE8 8024CDA8 AFA00028 */ sw $zero, 0x28($sp) +/* 141BEC 8024CDAC AFA0002C */ sw $zero, 0x2C($sp) +/* 141BF0 8024CDB0 AFA00030 */ sw $zero, 0x30($sp) +/* 141BF4 8024CDB4 AFA00034 */ sw $zero, 0x34($sp) +/* 141BF8 8024CDB8 AFA00038 */ sw $zero, 0x38($sp) +/* 141BFC 8024CDBC AFA0003C */ sw $zero, 0x3C($sp) +/* 141C00 8024CDC0 AFA00040 */ sw $zero, 0x40($sp) +/* 141C04 8024CDC4 AFA20048 */ sw $v0, 0x48($sp) +/* 141C08 8024CDC8 AFA0004C */ sw $zero, 0x4C($sp) +/* 141C0C 8024CDCC 01663021 */ addu $a2, $t3, $a2 +/* 141C10 8024CDD0 0C03C5C4 */ jal draw_box +/* 141C14 8024CDD4 2547003C */ addiu $a3, $t2, 0x3C +/* 141C18 8024CDD8 0C094C60 */ jal pause_get_menu_msg +/* 141C1C 8024CDDC 24040045 */ addiu $a0, $zero, 0x45 +/* 141C20 8024CDE0 0040202D */ daddu $a0, $v0, $zero +/* 141C24 8024CDE4 24050124 */ addiu $a1, $zero, 0x124 +/* 141C28 8024CDE8 00B02823 */ subu $a1, $a1, $s0 +/* 141C2C 8024CDEC 000517C2 */ srl $v0, $a1, 31 +/* 141C30 8024CDF0 00A22821 */ addu $a1, $a1, $v0 +/* 141C34 8024CDF4 02252807 */ srav $a1, $a1, $s1 +/* 141C38 8024CDF8 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141C3C 8024CDFC 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141C40 8024CE00 240700FF */ addiu $a3, $zero, 0xFF +/* 141C44 8024CE04 AFA00010 */ sw $zero, 0x10($sp) +/* 141C48 8024CE08 AFB10014 */ sw $s1, 0x14($sp) +/* 141C4C 8024CE0C 080933AA */ j .Lpause_8024CEA8 +/* 141C50 8024CE10 01652821 */ addu $a1, $t3, $a1 +.Lpause_8024CE14: +/* 141C54 8024CE14 3C058027 */ lui $a1, %hi(gPauseWS_13) +/* 141C58 8024CE18 24A51FA8 */ addiu $a1, $a1, %lo(gPauseWS_13) +/* 141C5C 8024CE1C 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141C60 8024CE20 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141C64 8024CE24 240200AD */ addiu $v0, $zero, 0xAD +/* 141C68 8024CE28 AFA20014 */ sw $v0, 0x14($sp) +/* 141C6C 8024CE2C 2402001A */ addiu $v0, $zero, 0x1A +/* 141C70 8024CE30 AFA20018 */ sw $v0, 0x18($sp) +/* 141C74 8024CE34 240200FF */ addiu $v0, $zero, 0xFF +/* 141C78 8024CE38 AFA2001C */ sw $v0, 0x1C($sp) +/* 141C7C 8024CE3C 24020140 */ addiu $v0, $zero, 0x140 +/* 141C80 8024CE40 AFA20044 */ sw $v0, 0x44($sp) +/* 141C84 8024CE44 240200F0 */ addiu $v0, $zero, 0xF0 +/* 141C88 8024CE48 AFA00010 */ sw $zero, 0x10($sp) +/* 141C8C 8024CE4C AFA00020 */ sw $zero, 0x20($sp) +/* 141C90 8024CE50 AFA00024 */ sw $zero, 0x24($sp) +/* 141C94 8024CE54 AFA00028 */ sw $zero, 0x28($sp) +/* 141C98 8024CE58 AFA0002C */ sw $zero, 0x2C($sp) +/* 141C9C 8024CE5C AFA00030 */ sw $zero, 0x30($sp) +/* 141CA0 8024CE60 AFA00034 */ sw $zero, 0x34($sp) +/* 141CA4 8024CE64 AFA00038 */ sw $zero, 0x38($sp) +/* 141CA8 8024CE68 AFA0003C */ sw $zero, 0x3C($sp) +/* 141CAC 8024CE6C AFA00040 */ sw $zero, 0x40($sp) +/* 141CB0 8024CE70 AFA20048 */ sw $v0, 0x48($sp) +/* 141CB4 8024CE74 AFA0004C */ sw $zero, 0x4C($sp) +/* 141CB8 8024CE78 25660043 */ addiu $a2, $t3, 0x43 +/* 141CBC 8024CE7C 0C03C5C4 */ jal draw_box +/* 141CC0 8024CE80 2547003C */ addiu $a3, $t2, 0x3C +/* 141CC4 8024CE84 0C094C60 */ jal pause_get_menu_msg +/* 141CC8 8024CE88 24040046 */ addiu $a0, $zero, 0x46 +/* 141CCC 8024CE8C 0040202D */ daddu $a0, $v0, $zero +/* 141CD0 8024CE90 8FAB00C4 */ lw $t3, 0xC4($sp) +/* 141CD4 8024CE94 8FAA00C8 */ lw $t2, 0xC8($sp) +/* 141CD8 8024CE98 240700FF */ addiu $a3, $zero, 0xFF +/* 141CDC 8024CE9C AFA00010 */ sw $zero, 0x10($sp) +/* 141CE0 8024CEA0 AFB10014 */ sw $s1, 0x14($sp) +/* 141CE4 8024CEA4 2565005A */ addiu $a1, $t3, 0x5A +.Lpause_8024CEA8: +/* 141CE8 8024CEA8 0C049403 */ jal draw_msg +/* 141CEC 8024CEAC 25460042 */ addiu $a2, $t2, 0x42 +.Lpause_8024CEB0: +/* 141CF0 8024CEB0 8FBF00BC */ lw $ra, 0xBC($sp) +/* 141CF4 8024CEB4 8FBE00B8 */ lw $fp, 0xB8($sp) +/* 141CF8 8024CEB8 8FB700B4 */ lw $s7, 0xB4($sp) +/* 141CFC 8024CEBC 8FB600B0 */ lw $s6, 0xB0($sp) +/* 141D00 8024CEC0 8FB500AC */ lw $s5, 0xAC($sp) +/* 141D04 8024CEC4 8FB400A8 */ lw $s4, 0xA8($sp) +/* 141D08 8024CEC8 8FB300A4 */ lw $s3, 0xA4($sp) +/* 141D0C 8024CECC 8FB200A0 */ lw $s2, 0xA0($sp) +/* 141D10 8024CED0 8FB1009C */ lw $s1, 0x9C($sp) +/* 141D14 8024CED4 8FB00098 */ lw $s0, 0x98($sp) +/* 141D18 8024CED8 03E00008 */ jr $ra +/* 141D1C 8024CEDC 27BD00C0 */ addiu $sp, $sp, 0xC0 diff --git a/ver/pal/asm/nonmatchings/pause/pause_badges/pause_badges_init.s b/ver/pal/asm/nonmatchings/pause/pause_badges/pause_badges_init.s new file mode 100644 index 0000000000..bf03564f2c --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_badges/pause_badges_init.s @@ -0,0 +1,77 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_badges_init +/* 141F54 8024D114 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 141F58 8024D118 AFB20018 */ sw $s2, 0x18($sp) +/* 141F5C 8024D11C 0080902D */ daddu $s2, $a0, $zero +/* 141F60 8024D120 AFBF0020 */ sw $ra, 0x20($sp) +/* 141F64 8024D124 AFB3001C */ sw $s3, 0x1C($sp) +/* 141F68 8024D128 AFB10014 */ sw $s1, 0x14($sp) +/* 141F6C 8024D12C 0C092C21 */ jal pause_badges_count_all +/* 141F70 8024D130 AFB00010 */ sw $s0, 0x10($sp) +/* 141F74 8024D134 3C018027 */ lui $at, %hi(gPauseBadgesLevel) +/* 141F78 8024D138 AC202768 */ sw $zero, %lo(gPauseBadgesLevel)($at) +/* 141F7C 8024D13C 3C018027 */ lui $at, %hi(gPauseBadgesCurrentTab) +/* 141F80 8024D140 AC20276C */ sw $zero, %lo(gPauseBadgesCurrentTab)($at) +/* 141F84 8024D144 3C018027 */ lui $at, %hi(gPauseBadgesShowNotEnoughBP) +/* 141F88 8024D148 AC202770 */ sw $zero, %lo(gPauseBadgesShowNotEnoughBP)($at) +/* 141F8C 8024D14C 0C0933B8 */ jal pause_badges_load_badges +/* 141F90 8024D150 0000202D */ daddu $a0, $zero, $zero +/* 141F94 8024D154 3C038027 */ lui $v1, %hi(gPauseBadgesItemIds) +/* 141F98 8024D158 84632550 */ lh $v1, %lo(gPauseBadgesItemIds)($v1) +/* 141F9C 8024D15C 24027FFE */ addiu $v0, $zero, 0x7FFE +/* 141FA0 8024D160 14620003 */ bne $v1, $v0, .Lpause_8024D170 +/* 141FA4 8024D164 0000802D */ daddu $s0, $zero, $zero +/* 141FA8 8024D168 08093481 */ j .Lpause_8024D204 +/* 141FAC 8024D16C A2400000 */ sb $zero, 0x0($s2) +.Lpause_8024D170: +/* 141FB0 8024D170 3C138025 */ lui $s3, %hi(gPauseBadgesElements) +/* 141FB4 8024D174 267338C0 */ addiu $s3, $s3, %lo(gPauseBadgesElements) +/* 141FB8 8024D178 3C118027 */ lui $s1, %hi(gPauseBadgesIconIDs) +/* 141FBC 8024D17C 26312778 */ addiu $s1, $s1, %lo(gPauseBadgesIconIDs) +.Lpause_8024D180: +/* 141FC0 8024D180 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 141FC4 8024D184 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 141FC8 8024D188 00102080 */ sll $a0, $s0, 2 +/* 141FCC 8024D18C 00031040 */ sll $v0, $v1, 1 +/* 141FD0 8024D190 00431021 */ addu $v0, $v0, $v1 +/* 141FD4 8024D194 00021080 */ sll $v0, $v0, 2 +/* 141FD8 8024D198 00431023 */ subu $v0, $v0, $v1 +/* 141FDC 8024D19C 000210C0 */ sll $v0, $v0, 3 +/* 141FE0 8024D1A0 00822021 */ addu $a0, $a0, $v0 +/* 141FE4 8024D1A4 00932021 */ addu $a0, $a0, $s3 +/* 141FE8 8024D1A8 8C840000 */ lw $a0, 0x0($a0) +/* 141FEC 8024D1AC 0C050015 */ jal hud_element_create +/* 141FF0 8024D1B0 26100001 */ addiu $s0, $s0, 0x1 +/* 141FF4 8024D1B4 0040202D */ daddu $a0, $v0, $zero +/* 141FF8 8024D1B8 24050080 */ addiu $a1, $zero, 0x80 +/* 141FFC 8024D1BC 0C050D6C */ jal hud_element_set_flags +/* 142000 8024D1C0 AE240000 */ sw $a0, 0x0($s1) +/* 142004 8024D1C4 2A020016 */ slti $v0, $s0, 0x16 +/* 142008 8024D1C8 1440FFED */ bnez $v0, .Lpause_8024D180 +/* 14200C 8024D1CC 26310004 */ addiu $s1, $s1, 0x4 +/* 142010 8024D1D0 0000802D */ daddu $s0, $zero, $zero +/* 142014 8024D1D4 3C028025 */ lui $v0, %hi(gPauseBadgesWindowBPs) +/* 142018 8024D1D8 24423A20 */ addiu $v0, $v0, %lo(gPauseBadgesWindowBPs) +.Lpause_8024D1DC: +/* 14201C 8024D1DC AC520010 */ sw $s2, 0x10($v0) +/* 142020 8024D1E0 26100001 */ addiu $s0, $s0, 0x1 +/* 142024 8024D1E4 1A00FFFD */ blez $s0, .Lpause_8024D1DC +/* 142028 8024D1E8 24420024 */ addiu $v0, $v0, 0x24 +/* 14202C 8024D1EC 3C048025 */ lui $a0, %hi(gPauseBadgesWindowBPs) +/* 142030 8024D1F0 24843A20 */ addiu $a0, $a0, %lo(gPauseBadgesWindowBPs) +/* 142034 8024D1F4 0C051AB8 */ jal setup_pause_menu_tab +/* 142038 8024D1F8 24050001 */ addiu $a1, $zero, 0x1 +/* 14203C 8024D1FC 24020001 */ addiu $v0, $zero, 0x1 +/* 142040 8024D200 A2420000 */ sb $v0, 0x0($s2) +.Lpause_8024D204: +/* 142044 8024D204 8FBF0020 */ lw $ra, 0x20($sp) +/* 142048 8024D208 8FB3001C */ lw $s3, 0x1C($sp) +/* 14204C 8024D20C 8FB20018 */ lw $s2, 0x18($sp) +/* 142050 8024D210 8FB10014 */ lw $s1, 0x14($sp) +/* 142054 8024D214 8FB00010 */ lw $s0, 0x10($sp) +/* 142058 8024D218 03E00008 */ jr $ra +/* 14205C 8024D21C 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/pal/asm/nonmatchings/pause/pause_gfx/pause_draw_menu_label.s b/ver/pal/asm/nonmatchings/pause/pause_gfx/pause_draw_menu_label.s new file mode 100644 index 0000000000..636a988dfe --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_gfx/pause_draw_menu_label.s @@ -0,0 +1,99 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_draw_menu_label +/* 147FD4 80253194 27BDFFB8 */ addiu $sp, $sp, -0x48 +/* 147FD8 80253198 AFB1002C */ sw $s1, 0x2C($sp) +/* 147FDC 8025319C 0080882D */ daddu $s1, $a0, $zero +/* 147FE0 802531A0 AFB40038 */ sw $s4, 0x38($sp) +/* 147FE4 802531A4 00A0A02D */ daddu $s4, $a1, $zero +/* 147FE8 802531A8 00C0382D */ daddu $a3, $a2, $zero +/* 147FEC 802531AC AFB00028 */ sw $s0, 0x28($sp) +/* 147FF0 802531B0 24100040 */ addiu $s0, $zero, 0x40 +/* 147FF4 802531B4 24020008 */ addiu $v0, $zero, 0x8 +/* 147FF8 802531B8 AFBF0044 */ sw $ra, 0x44($sp) +/* 147FFC 802531BC AFB60040 */ sw $s6, 0x40($sp) +/* 148000 802531C0 AFB5003C */ sw $s5, 0x3C($sp) +/* 148004 802531C4 AFB30034 */ sw $s3, 0x34($sp) +/* 148008 802531C8 16220002 */ bne $s1, $v0, .Lpause_802531D4 +/* 14800C 802531CC AFB20030 */ sw $s2, 0x30($sp) +/* 148010 802531D0 24100080 */ addiu $s0, $zero, 0x80 +.Lpause_802531D4: +/* 148014 802531D4 24020003 */ addiu $v0, $zero, 0x3 +/* 148018 802531D8 52220001 */ beql $s1, $v0, .Lpause_802531E0 +/* 14801C 802531DC 24100030 */ addiu $s0, $zero, 0x30 +.Lpause_802531E0: +/* 148020 802531E0 24020004 */ addiu $v0, $zero, 0x4 +/* 148024 802531E4 52220001 */ beql $s1, $v0, .Lpause_802531EC +/* 148028 802531E8 24100030 */ addiu $s0, $zero, 0x30 +.Lpause_802531EC: +/* 14802C 802531EC 24160005 */ addiu $s6, $zero, 0x5 +/* 148030 802531F0 52360001 */ beql $s1, $s6, .Lpause_802531F8 +/* 148034 802531F4 24100030 */ addiu $s0, $zero, 0x30 +.Lpause_802531F8: +/* 148038 802531F8 24020006 */ addiu $v0, $zero, 0x6 +/* 14803C 802531FC 52220001 */ beql $s1, $v0, .Lpause_80253204 +/* 148040 80253200 241000A0 */ addiu $s0, $zero, 0xA0 +.Lpause_80253204: +/* 148044 80253204 00142080 */ sll $a0, $s4, 2 +/* 148048 80253208 0007A880 */ sll $s5, $a3, 2 +/* 14804C 8025320C 02A0282D */ daddu $a1, $s5, $zero +/* 148050 80253210 02903021 */ addu $a2, $s4, $s0 +/* 148054 80253214 00063080 */ sll $a2, $a2, 2 +/* 148058 80253218 3C098009 */ lui $t1, %hi(gMainGfxPos) +/* 14805C 8025321C 25296A44 */ addiu $t1, $t1, %lo(gMainGfxPos) +/* 148060 80253220 24E20010 */ addiu $v0, $a3, 0x10 +/* 148064 80253224 00029880 */ sll $s3, $v0, 2 +/* 148068 80253228 0260382D */ daddu $a3, $s3, $zero +/* 14806C 8025322C 3C02DE00 */ lui $v0, (0xDE000000 >> 16) +/* 148070 80253230 8D230000 */ lw $v1, 0x0($t1) +/* 148074 80253234 24120400 */ addiu $s2, $zero, 0x400 +/* 148078 80253238 0060402D */ daddu $t0, $v1, $zero +/* 14807C 8025323C AD020000 */ sw $v0, 0x0($t0) +/* 148080 80253240 00111080 */ sll $v0, $s1, 2 +/* 148084 80253244 3C018027 */ lui $at, %hi(gPauseDLLabels) +/* 148088 80253248 00220821 */ addu $at, $at, $v0 +/* 14808C 8025324C 8C221CA0 */ lw $v0, %lo(gPauseDLLabels)($at) +/* 148090 80253250 24630008 */ addiu $v1, $v1, 0x8 +/* 148094 80253254 AD230000 */ sw $v1, 0x0($t1) +/* 148098 80253258 AD020004 */ sw $v0, 0x4($t0) +/* 14809C 8025325C AFA00010 */ sw $zero, 0x10($sp) +/* 1480A0 80253260 AFA00014 */ sw $zero, 0x14($sp) +/* 1480A4 80253264 AFA00018 */ sw $zero, 0x18($sp) +/* 1480A8 80253268 AFB2001C */ sw $s2, 0x1C($sp) +/* 1480AC 8025326C 0C0921DA */ jal pause_draw_rect +/* 1480B0 80253270 AFB20020 */ sw $s2, 0x20($sp) +/* 1480B4 80253274 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 1480B8 80253278 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 1480BC 8025327C 24020001 */ addiu $v0, $zero, 0x1 +/* 1480C0 80253280 14620010 */ bne $v1, $v0, .Lpause_802532C4 +/* 1480C4 80253284 00000000 */ nop +/* 1480C8 80253288 1636000E */ bne $s1, $s6, .Lpause_802532C4 +/* 1480CC 8025328C 2684001E */ addiu $a0, $s4, 0x1E +/* 1480D0 80253290 00042080 */ sll $a0, $a0, 2 +/* 1480D4 80253294 02A0282D */ daddu $a1, $s5, $zero +/* 1480D8 80253298 02143021 */ addu $a2, $s0, $s4 +/* 1480DC 8025329C 24C6000A */ addiu $a2, $a2, 0xA +/* 1480E0 802532A0 00063080 */ sll $a2, $a2, 2 +/* 1480E4 802532A4 0260382D */ daddu $a3, $s3, $zero +/* 1480E8 802532A8 24020280 */ addiu $v0, $zero, 0x280 +/* 1480EC 802532AC AFA00010 */ sw $zero, 0x10($sp) +/* 1480F0 802532B0 AFA20014 */ sw $v0, 0x14($sp) +/* 1480F4 802532B4 AFA00018 */ sw $zero, 0x18($sp) +/* 1480F8 802532B8 AFB2001C */ sw $s2, 0x1C($sp) +/* 1480FC 802532BC 0C0921DA */ jal pause_draw_rect +/* 148100 802532C0 AFB20020 */ sw $s2, 0x20($sp) +.Lpause_802532C4: +/* 148104 802532C4 8FBF0044 */ lw $ra, 0x44($sp) +/* 148108 802532C8 8FB60040 */ lw $s6, 0x40($sp) +/* 14810C 802532CC 8FB5003C */ lw $s5, 0x3C($sp) +/* 148110 802532D0 8FB40038 */ lw $s4, 0x38($sp) +/* 148114 802532D4 8FB30034 */ lw $s3, 0x34($sp) +/* 148118 802532D8 8FB20030 */ lw $s2, 0x30($sp) +/* 14811C 802532DC 8FB1002C */ lw $s1, 0x2C($sp) +/* 148120 802532E0 8FB00028 */ lw $s0, 0x28($sp) +/* 148124 802532E4 03E00008 */ jr $ra +/* 148128 802532E8 27BD0048 */ addiu $sp, $sp, 0x48 +/* 14812C 802532EC 00000000 */ nop diff --git a/ver/pal/asm/nonmatchings/pause/pause_items/pause_items_draw_contents.s b/ver/pal/asm/nonmatchings/pause/pause_items/pause_items_draw_contents.s new file mode 100644 index 0000000000..090906a21e --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_items/pause_items_draw_contents.s @@ -0,0 +1,839 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_items_draw_contents +/* 142920 8024DAE0 27BDFF58 */ addiu $sp, $sp, -0xA8 +/* 142924 8024DAE4 3C038027 */ lui $v1, %hi(gPauseItemsCurrentPage) +/* 142928 8024DAE8 8C632898 */ lw $v1, %lo(gPauseItemsCurrentPage)($v1) +/* 14292C 8024DAEC 240A0001 */ addiu $t2, $zero, 0x1 +/* 142930 8024DAF0 AFA500AC */ sw $a1, 0xAC($sp) +/* 142934 8024DAF4 AFAA0060 */ sw $t2, 0x60($sp) +/* 142938 8024DAF8 8FAA00AC */ lw $t2, 0xAC($sp) +/* 14293C 8024DAFC AFA600B0 */ sw $a2, 0xB0($sp) +/* 142940 8024DB00 AFA700B4 */ sw $a3, 0xB4($sp) +/* 142944 8024DB04 8FA700B0 */ lw $a3, 0xB0($sp) +/* 142948 8024DB08 240B000A */ addiu $t3, $zero, 0xA +/* 14294C 8024DB0C AFAB0064 */ sw $t3, 0x64($sp) +/* 142950 8024DB10 8FAB00B4 */ lw $t3, 0xB4($sp) +/* 142954 8024DB14 AFBF00A4 */ sw $ra, 0xA4($sp) +/* 142958 8024DB18 AFBE00A0 */ sw $fp, 0xA0($sp) +/* 14295C 8024DB1C AFB7009C */ sw $s7, 0x9C($sp) +/* 142960 8024DB20 AFB60098 */ sw $s6, 0x98($sp) +/* 142964 8024DB24 AFB50094 */ sw $s5, 0x94($sp) +/* 142968 8024DB28 AFB40090 */ sw $s4, 0x90($sp) +/* 14296C 8024DB2C AFB3008C */ sw $s3, 0x8C($sp) +/* 142970 8024DB30 AFB20088 */ sw $s2, 0x88($sp) +/* 142974 8024DB34 AFB10084 */ sw $s1, 0x84($sp) +/* 142978 8024DB38 AFB00080 */ sw $s0, 0x80($sp) +/* 14297C 8024DB3C 25460044 */ addiu $a2, $t2, 0x44 +/* 142980 8024DB40 00031040 */ sll $v0, $v1, 1 +/* 142984 8024DB44 00431021 */ addu $v0, $v0, $v1 +/* 142988 8024DB48 00021080 */ sll $v0, $v0, 2 +/* 14298C 8024DB4C 3C088027 */ lui $t0, %hi(gPauseItemsPages+0x2) +/* 142990 8024DB50 01024021 */ addu $t0, $t0, $v0 +/* 142994 8024DB54 910828A2 */ lbu $t0, %lo(gPauseItemsPages+0x2)($t0) +/* 142998 8024DB58 8FAA00B8 */ lw $t2, 0xB8($sp) +/* 14299C 8024DB5C 2562FFBC */ addiu $v0, $t3, -0x44 +/* 1429A0 8024DB60 AFA20014 */ sw $v0, 0x14($sp) +/* 1429A4 8024DB64 240200FF */ addiu $v0, $zero, 0xFF +/* 1429A8 8024DB68 AFA00010 */ sw $zero, 0x10($sp) +/* 1429AC 8024DB6C AFA2001C */ sw $v0, 0x1C($sp) +/* 1429B0 8024DB70 AFA00020 */ sw $zero, 0x20($sp) +/* 1429B4 8024DB74 AFA00024 */ sw $zero, 0x24($sp) +/* 1429B8 8024DB78 AFA00028 */ sw $zero, 0x28($sp) +/* 1429BC 8024DB7C AFA0002C */ sw $zero, 0x2C($sp) +/* 1429C0 8024DB80 AFA00030 */ sw $zero, 0x30($sp) +/* 1429C4 8024DB84 AFA00034 */ sw $zero, 0x34($sp) +/* 1429C8 8024DB88 AFA00038 */ sw $zero, 0x38($sp) +/* 1429CC 8024DB8C AFA0003C */ sw $zero, 0x3C($sp) +/* 1429D0 8024DB90 AFAA0018 */ sw $t2, 0x18($sp) +/* 1429D4 8024DB94 AFA00040 */ sw $zero, 0x40($sp) +/* 1429D8 8024DB98 3C038027 */ lui $v1, %hi(gPauseItemsSelectedIndex) +/* 1429DC 8024DB9C 8C632990 */ lw $v1, %lo(gPauseItemsSelectedIndex)($v1) +/* 1429E0 8024DBA0 15000002 */ bnez $t0, .Lpause_8024DBAC +/* 1429E4 8024DBA4 0068001A */ div $zero, $v1, $t0 +/* 1429E8 8024DBA8 0007000D */ break 7 +.Lpause_8024DBAC: +/* 1429EC 8024DBAC 2401FFFF */ addiu $at, $zero, -0x1 +/* 1429F0 8024DBB0 15010004 */ bne $t0, $at, .Lpause_8024DBC4 +/* 1429F4 8024DBB4 3C018000 */ lui $at, (0x80000000 >> 16) +/* 1429F8 8024DBB8 14610002 */ bne $v1, $at, .Lpause_8024DBC4 +/* 1429FC 8024DBBC 00000000 */ nop +/* 142A00 8024DBC0 0006000D */ break 6 +.Lpause_8024DBC4: +/* 142A04 8024DBC4 00005012 */ mflo $t2 +/* 142A08 8024DBC8 00005810 */ mfhi $t3 +/* 142A0C 8024DBCC 24040004 */ addiu $a0, $zero, 0x4 +/* 142A10 8024DBD0 3C058027 */ lui $a1, %hi(gPauseWS_18) +/* 142A14 8024DBD4 24A520C0 */ addiu $a1, $a1, %lo(gPauseWS_18) +/* 142A18 8024DBD8 24020140 */ addiu $v0, $zero, 0x140 +/* 142A1C 8024DBDC AFA20044 */ sw $v0, 0x44($sp) +/* 142A20 8024DBE0 240200F0 */ addiu $v0, $zero, 0xF0 +/* 142A24 8024DBE4 AFA20048 */ sw $v0, 0x48($sp) +/* 142A28 8024DBE8 AFA0004C */ sw $zero, 0x4C($sp) +/* 142A2C 8024DBEC AFAA005C */ sw $t2, 0x5C($sp) +/* 142A30 8024DBF0 0C03C5C4 */ jal draw_box +/* 142A34 8024DBF4 AFAB0058 */ sw $t3, 0x58($sp) +/* 142A38 8024DBF8 3C108027 */ lui $s0, %hi(gPauseItemsPages) +/* 142A3C 8024DBFC 261028A0 */ addiu $s0, $s0, %lo(gPauseItemsPages) +/* 142A40 8024DC00 8FAB00B0 */ lw $t3, 0xB0($sp) +/* 142A44 8024DC04 8FAA00AC */ lw $t2, 0xAC($sp) +/* 142A48 8024DC08 25660007 */ addiu $a2, $t3, 0x7 +/* 142A4C 8024DC0C 8FAB00B4 */ lw $t3, 0xB4($sp) +/* 142A50 8024DC10 25440001 */ addiu $a0, $t2, 0x1 +/* 142A54 8024DC14 014B1021 */ addu $v0, $t2, $t3 +/* 142A58 8024DC18 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 142A5C 8024DC1C 8FAB00B8 */ lw $t3, 0xB8($sp) +/* 142A60 8024DC20 2447FFFF */ addiu $a3, $v0, -0x1 +/* 142A64 8024DC24 014B1021 */ addu $v0, $t2, $t3 +/* 142A68 8024DC28 1C800002 */ bgtz $a0, .Lpause_8024DC34 +/* 142A6C 8024DC2C 2448FFF9 */ addiu $t0, $v0, -0x7 +/* 142A70 8024DC30 24040001 */ addiu $a0, $zero, 0x1 +.Lpause_8024DC34: +/* 142A74 8024DC34 58C00001 */ blezl $a2, .Lpause_8024DC3C +/* 142A78 8024DC38 24060001 */ addiu $a2, $zero, 0x1 +.Lpause_8024DC3C: +/* 142A7C 8024DC3C 18E002AA */ blez $a3, .Lpause_8024E6E8 +/* 142A80 8024DC40 00000000 */ nop +/* 142A84 8024DC44 190002A8 */ blez $t0, .Lpause_8024E6E8 +/* 142A88 8024DC48 2882013F */ slti $v0, $a0, 0x13F +/* 142A8C 8024DC4C 104002A6 */ beqz $v0, .Lpause_8024E6E8 +/* 142A90 8024DC50 28C200EF */ slti $v0, $a2, 0xEF +/* 142A94 8024DC54 104002A4 */ beqz $v0, .Lpause_8024E6E8 +/* 142A98 8024DC58 28E2013F */ slti $v0, $a3, 0x13F +/* 142A9C 8024DC5C 50400001 */ beql $v0, $zero, .Lpause_8024DC64 +/* 142AA0 8024DC60 2407013F */ addiu $a3, $zero, 0x13F +.Lpause_8024DC64: +/* 142AA4 8024DC64 290200EF */ slti $v0, $t0, 0xEF +/* 142AA8 8024DC68 50400001 */ beql $v0, $zero, .Lpause_8024DC70 +/* 142AAC 8024DC6C 240800EF */ addiu $t0, $zero, 0xEF +.Lpause_8024DC70: +/* 142AB0 8024DC70 3C038009 */ lui $v1, %hi(gMainGfxPos) +/* 142AB4 8024DC74 24636A44 */ addiu $v1, $v1, %lo(gMainGfxPos) +/* 142AB8 8024DC78 44841000 */ mtc1 $a0, $f2 +/* 142ABC 8024DC7C 00000000 */ nop +/* 142AC0 8024DC80 468010A0 */ cvt.s.w $f2, $f2 +/* 142AC4 8024DC84 44860000 */ mtc1 $a2, $f0 +/* 142AC8 8024DC88 00000000 */ nop +/* 142ACC 8024DC8C 46800020 */ cvt.s.w $f0, $f0 +/* 142AD0 8024DC90 8FAA00AC */ lw $t2, 0xAC($sp) +/* 142AD4 8024DC94 8FAB00B0 */ lw $t3, 0xB0($sp) +/* 142AD8 8024DC98 3C014080 */ lui $at, (0x40800000 >> 16) +/* 142ADC 8024DC9C 44812000 */ mtc1 $at, $f4 +/* 142AE0 8024DCA0 3C04ED00 */ lui $a0, (0xED000000 >> 16) +/* 142AE4 8024DCA4 AFA00054 */ sw $zero, 0x54($sp) +/* 142AE8 8024DCA8 AFA00050 */ sw $zero, 0x50($sp) +/* 142AEC 8024DCAC 254A0077 */ addiu $t2, $t2, 0x77 +/* 142AF0 8024DCB0 46041082 */ mul.s $f2, $f2, $f4 +/* 142AF4 8024DCB4 00000000 */ nop +/* 142AF8 8024DCB8 256B0011 */ addiu $t3, $t3, 0x11 +/* 142AFC 8024DCBC AFAA006C */ sw $t2, 0x6C($sp) +/* 142B00 8024DCC0 AFAB0070 */ sw $t3, 0x70($sp) +/* 142B04 8024DCC4 8C620000 */ lw $v0, 0x0($v1) +/* 142B08 8024DCC8 46040002 */ mul.s $f0, $f0, $f4 +/* 142B0C 8024DCCC 00000000 */ nop +/* 142B10 8024DCD0 0040282D */ daddu $a1, $v0, $zero +/* 142B14 8024DCD4 24420008 */ addiu $v0, $v0, 0x8 +/* 142B18 8024DCD8 AC620000 */ sw $v0, 0x0($v1) +/* 142B1C 8024DCDC 4600118D */ trunc.w.s $f6, $f2 +/* 142B20 8024DCE0 44023000 */ mfc1 $v0, $f6 +/* 142B24 8024DCE4 00000000 */ nop +/* 142B28 8024DCE8 30420FFF */ andi $v0, $v0, 0xFFF +/* 142B2C 8024DCEC 00021300 */ sll $v0, $v0, 12 +/* 142B30 8024DCF0 4600018D */ trunc.w.s $f6, $f0 +/* 142B34 8024DCF4 44033000 */ mfc1 $v1, $f6 +/* 142B38 8024DCF8 44871000 */ mtc1 $a3, $f2 +/* 142B3C 8024DCFC 00000000 */ nop +/* 142B40 8024DD00 468010A0 */ cvt.s.w $f2, $f2 +/* 142B44 8024DD04 46041082 */ mul.s $f2, $f2, $f4 +/* 142B48 8024DD08 00000000 */ nop +/* 142B4C 8024DD0C 30630FFF */ andi $v1, $v1, 0xFFF +/* 142B50 8024DD10 00641825 */ or $v1, $v1, $a0 +/* 142B54 8024DD14 00431025 */ or $v0, $v0, $v1 +/* 142B58 8024DD18 44880000 */ mtc1 $t0, $f0 +/* 142B5C 8024DD1C 00000000 */ nop +/* 142B60 8024DD20 46800020 */ cvt.s.w $f0, $f0 +/* 142B64 8024DD24 46040002 */ mul.s $f0, $f0, $f4 +/* 142B68 8024DD28 00000000 */ nop +/* 142B6C 8024DD2C ACA20000 */ sw $v0, 0x0($a1) +/* 142B70 8024DD30 4600118D */ trunc.w.s $f6, $f2 +/* 142B74 8024DD34 44023000 */ mfc1 $v0, $f6 +/* 142B78 8024DD38 00000000 */ nop +/* 142B7C 8024DD3C 30420FFF */ andi $v0, $v0, 0xFFF +/* 142B80 8024DD40 00021300 */ sll $v0, $v0, 12 +/* 142B84 8024DD44 4600018D */ trunc.w.s $f6, $f0 +/* 142B88 8024DD48 44033000 */ mfc1 $v1, $f6 +/* 142B8C 8024DD4C 00000000 */ nop +/* 142B90 8024DD50 30630FFF */ andi $v1, $v1, 0xFFF +/* 142B94 8024DD54 00431025 */ or $v0, $v0, $v1 +/* 142B98 8024DD58 ACA20004 */ sw $v0, 0x4($a1) +.Lpause_8024DD5C: +/* 142B9C 8024DD5C 0000F02D */ daddu $fp, $zero, $zero +/* 142BA0 8024DD60 3C0B8027 */ lui $t3, %hi(gPauseItemsPages) +/* 142BA4 8024DD64 256B28A0 */ addiu $t3, $t3, %lo(gPauseItemsPages) +/* 142BA8 8024DD68 AFAB007C */ sw $t3, 0x7C($sp) +.Lpause_8024DD6C: +/* 142BAC 8024DD6C 8FAA007C */ lw $t2, 0x7C($sp) +/* 142BB0 8024DD70 91420000 */ lbu $v0, 0x0($t2) +/* 142BB4 8024DD74 104000E2 */ beqz $v0, .Lpause_8024E100 +/* 142BB8 8024DD78 00000000 */ nop +/* 142BBC 8024DD7C 03C0202D */ daddu $a0, $fp, $zero +/* 142BC0 8024DD80 0C093666 */ jal pause_items_get_pos_y +/* 142BC4 8024DD84 0000282D */ daddu $a1, $zero, $zero +/* 142BC8 8024DD88 8FAB007C */ lw $t3, 0x7C($sp) +/* 142BCC 8024DD8C 8D620008 */ lw $v0, 0x8($t3) +/* 142BD0 8024DD90 184000D5 */ blez $v0, .Lpause_8024E0E8 +/* 142BD4 8024DD94 0000902D */ daddu $s2, $zero, $zero +/* 142BD8 8024DD98 8FAA0054 */ lw $t2, 0x54($sp) +/* 142BDC 8024DD9C 3C0B8027 */ lui $t3, %hi(gPauseItemsIconIDs) +/* 142BE0 8024DDA0 256B29B8 */ addiu $t3, $t3, %lo(gPauseItemsIconIDs) +/* 142BE4 8024DDA4 000A1080 */ sll $v0, $t2, 2 +/* 142BE8 8024DDA8 004B5821 */ addu $t3, $v0, $t3 +/* 142BEC 8024DDAC AFAB0078 */ sw $t3, 0x78($sp) +.Lpause_8024DDB0: +/* 142BF0 8024DDB0 8FAA007C */ lw $t2, 0x7C($sp) +/* 142BF4 8024DDB4 3C0B8027 */ lui $t3, %hi(gPauseItemsItemIDs) +/* 142BF8 8024DDB8 256B27D0 */ addiu $t3, $t3, %lo(gPauseItemsItemIDs) +/* 142BFC 8024DDBC 8D420004 */ lw $v0, 0x4($t2) +/* 142C00 8024DDC0 24037FFF */ addiu $v1, $zero, 0x7FFF +/* 142C04 8024DDC4 00521021 */ addu $v0, $v0, $s2 +/* 142C08 8024DDC8 00021040 */ sll $v0, $v0, 1 +/* 142C0C 8024DDCC 004B1021 */ addu $v0, $v0, $t3 +/* 142C10 8024DDD0 84500000 */ lh $s0, 0x0($v0) +/* 142C14 8024DDD4 94560000 */ lhu $s6, 0x0($v0) +/* 142C18 8024DDD8 120300BD */ beq $s0, $v1, .Lpause_8024E0D0 +/* 142C1C 8024DDDC 0000982D */ daddu $s3, $zero, $zero +/* 142C20 8024DDE0 03C0202D */ daddu $a0, $fp, $zero +/* 142C24 8024DDE4 0C093650 */ jal pause_items_get_pos_x +/* 142C28 8024DDE8 0240282D */ daddu $a1, $s2, $zero +/* 142C2C 8024DDEC 03C0202D */ daddu $a0, $fp, $zero +/* 142C30 8024DDF0 0240282D */ daddu $a1, $s2, $zero +/* 142C34 8024DDF4 0C093666 */ jal pause_items_get_pos_y +/* 142C38 8024DDF8 AFA20068 */ sw $v0, 0x68($sp) +/* 142C3C 8024DDFC 0040B82D */ daddu $s7, $v0, $zero +/* 142C40 8024DE00 3A027FFE */ xori $v0, $s0, 0x7FFE +/* 142C44 8024DE04 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab) +/* 142C48 8024DE08 806324A4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1) +/* 142C4C 8024DE0C 2C420001 */ sltiu $v0, $v0, 0x1 +/* 142C50 8024DE10 AFA20074 */ sw $v0, 0x74($sp) +/* 142C54 8024DE14 24020003 */ addiu $v0, $zero, 0x3 +/* 142C58 8024DE18 14620012 */ bne $v1, $v0, .Lpause_8024DE64 +/* 142C5C 8024DE1C 0000A02D */ daddu $s4, $zero, $zero +/* 142C60 8024DE20 3C028027 */ lui $v0, %hi(gPauseItemsLevel) +/* 142C64 8024DE24 8C4229B0 */ lw $v0, %lo(gPauseItemsLevel)($v0) +/* 142C68 8024DE28 240A0001 */ addiu $t2, $zero, 0x1 +/* 142C6C 8024DE2C 144A000D */ bne $v0, $t2, .Lpause_8024DE64 +/* 142C70 8024DE30 03C0202D */ daddu $a0, $fp, $zero +/* 142C74 8024DE34 0C093682 */ jal pause_items_get_column +/* 142C78 8024DE38 0240282D */ daddu $a1, $s2, $zero +/* 142C7C 8024DE3C 8FAB0058 */ lw $t3, 0x58($sp) +/* 142C80 8024DE40 144B0008 */ bne $v0, $t3, .Lpause_8024DE64 +/* 142C84 8024DE44 0000A02D */ daddu $s4, $zero, $zero +/* 142C88 8024DE48 03C0202D */ daddu $a0, $fp, $zero +/* 142C8C 8024DE4C 0C093694 */ jal pause_items_get_row +/* 142C90 8024DE50 0240282D */ daddu $a1, $s2, $zero +/* 142C94 8024DE54 8FAA005C */ lw $t2, 0x5C($sp) +/* 142C98 8024DE58 004A1026 */ xor $v0, $v0, $t2 +/* 142C9C 8024DE5C 2C530001 */ sltiu $s3, $v0, 0x1 +/* 142CA0 8024DE60 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024DE64: +/* 142CA4 8024DE64 12600003 */ beqz $s3, .Lpause_8024DE74 +/* 142CA8 8024DE68 0280A82D */ daddu $s5, $s4, $zero +/* 142CAC 8024DE6C 2414FFFF */ addiu $s4, $zero, -0x1 +/* 142CB0 8024DE70 0280A82D */ daddu $s5, $s4, $zero +.Lpause_8024DE74: +/* 142CB4 8024DE74 8FAB0050 */ lw $t3, 0x50($sp) +/* 142CB8 8024DE78 15600007 */ bnez $t3, .Lpause_8024DE98 +/* 142CBC 8024DE7C 240A0001 */ addiu $t2, $zero, 0x1 +/* 142CC0 8024DE80 240B000A */ addiu $t3, $zero, 0xA +/* 142CC4 8024DE84 AFAA0060 */ sw $t2, 0x60($sp) +/* 142CC8 8024DE88 12600003 */ beqz $s3, .Lpause_8024DE98 +/* 142CCC 8024DE8C AFAB0064 */ sw $t3, 0x64($sp) +/* 142CD0 8024DE90 240A0009 */ addiu $t2, $zero, 0x9 +/* 142CD4 8024DE94 AFAA0060 */ sw $t2, 0x60($sp) +.Lpause_8024DE98: +/* 142CD8 8024DE98 0C0936A8 */ jal pause_items_is_visible +/* 142CDC 8024DE9C 02E0202D */ daddu $a0, $s7, $zero +/* 142CE0 8024DEA0 1040008B */ beqz $v0, .Lpause_8024E0D0 +/* 142CE4 8024DEA4 00000000 */ nop +/* 142CE8 8024DEA8 8FAB0050 */ lw $t3, 0x50($sp) +/* 142CEC 8024DEAC 15600035 */ bnez $t3, .Lpause_8024DF84 +/* 142CF0 8024DEB0 00000000 */ nop +/* 142CF4 8024DEB4 8FAA0074 */ lw $t2, 0x74($sp) +/* 142CF8 8024DEB8 11400016 */ beqz $t2, .Lpause_8024DF14 +/* 142CFC 8024DEBC 00161400 */ sll $v0, $s6, 16 +/* 142D00 8024DEC0 0C094C60 */ jal pause_get_menu_msg +/* 142D04 8024DEC4 24040049 */ addiu $a0, $zero, 0x49 +/* 142D08 8024DEC8 8FA40068 */ lw $a0, 0x68($sp) +/* 142D0C 8024DECC 0C0936B6 */ jal pause_items_scroll_offset_x +/* 142D10 8024DED0 0040882D */ daddu $s1, $v0, $zero +/* 142D14 8024DED4 8FAB006C */ lw $t3, 0x6C($sp) +/* 142D18 8024DED8 02E0202D */ daddu $a0, $s7, $zero +/* 142D1C 8024DEDC 01628021 */ addu $s0, $t3, $v0 +/* 142D20 8024DEE0 0C0936B2 */ jal pause_items_scroll_offset_y +/* 142D24 8024DEE4 02148021 */ addu $s0, $s0, $s4 +/* 142D28 8024DEE8 0220202D */ daddu $a0, $s1, $zero +/* 142D2C 8024DEEC 0200282D */ daddu $a1, $s0, $zero +/* 142D30 8024DEF0 240700FF */ addiu $a3, $zero, 0xFF +/* 142D34 8024DEF4 8FAA0070 */ lw $t2, 0x70($sp) +/* 142D38 8024DEF8 8FAB0064 */ lw $t3, 0x64($sp) +/* 142D3C 8024DEFC 01421021 */ addu $v0, $t2, $v0 +/* 142D40 8024DF00 8FAA0060 */ lw $t2, 0x60($sp) +/* 142D44 8024DF04 00553021 */ addu $a2, $v0, $s5 +/* 142D48 8024DF08 AFAB0010 */ sw $t3, 0x10($sp) +/* 142D4C 8024DF0C 080937DF */ j .Lpause_8024DF7C +/* 142D50 8024DF10 AFAA0014 */ sw $t2, 0x14($sp) +.Lpause_8024DF14: +/* 142D54 8024DF14 000212C3 */ sra $v0, $v0, 11 +/* 142D58 8024DF18 3C0B8008 */ lui $t3, %hi(gItemTable) +/* 142D5C 8024DF1C 256B3C80 */ addiu $t3, $t3, %lo(gItemTable) +/* 142D60 8024DF20 004B8821 */ addu $s1, $v0, $t3 +/* 142D64 8024DF24 8E220000 */ lw $v0, 0x0($s1) +/* 142D68 8024DF28 10400016 */ beqz $v0, .Lpause_8024DF84 +/* 142D6C 8024DF2C 00000000 */ nop +/* 142D70 8024DF30 18400014 */ blez $v0, .Lpause_8024DF84 +/* 142D74 8024DF34 00000000 */ nop +/* 142D78 8024DF38 0C0936B6 */ jal pause_items_scroll_offset_x +/* 142D7C 8024DF3C 8FA40068 */ lw $a0, 0x68($sp) +/* 142D80 8024DF40 8FAA006C */ lw $t2, 0x6C($sp) +/* 142D84 8024DF44 02E0202D */ daddu $a0, $s7, $zero +/* 142D88 8024DF48 01428021 */ addu $s0, $t2, $v0 +/* 142D8C 8024DF4C 0C0936B2 */ jal pause_items_scroll_offset_y +/* 142D90 8024DF50 02148021 */ addu $s0, $s0, $s4 +/* 142D94 8024DF54 0200282D */ daddu $a1, $s0, $zero +/* 142D98 8024DF58 8FAB0070 */ lw $t3, 0x70($sp) +/* 142D9C 8024DF5C 8FAA0064 */ lw $t2, 0x64($sp) +/* 142DA0 8024DF60 01621021 */ addu $v0, $t3, $v0 +/* 142DA4 8024DF64 8FAB0060 */ lw $t3, 0x60($sp) +/* 142DA8 8024DF68 240700FF */ addiu $a3, $zero, 0xFF +/* 142DAC 8024DF6C AFAA0010 */ sw $t2, 0x10($sp) +/* 142DB0 8024DF70 AFAB0014 */ sw $t3, 0x14($sp) +/* 142DB4 8024DF74 8E240000 */ lw $a0, 0x0($s1) +/* 142DB8 8024DF78 00553021 */ addu $a2, $v0, $s5 +.Lpause_8024DF7C: +/* 142DBC 8024DF7C 0C049403 */ jal draw_msg +/* 142DC0 8024DF80 00000000 */ nop +.Lpause_8024DF84: +/* 142DC4 8024DF84 8FAA0050 */ lw $t2, 0x50($sp) +/* 142DC8 8024DF88 240B0001 */ addiu $t3, $zero, 0x1 +/* 142DCC 8024DF8C 154B0050 */ bne $t2, $t3, .Lpause_8024E0D0 +/* 142DD0 8024DF90 3C052000 */ lui $a1, (0x20000000 >> 16) +/* 142DD4 8024DF94 8FAA0078 */ lw $t2, 0x78($sp) +/* 142DD8 8024DF98 8D510000 */ lw $s1, 0x0($t2) +/* 142DDC 8024DF9C 0C050D77 */ jal hud_element_clear_flags +/* 142DE0 8024DFA0 0220202D */ daddu $a0, $s1, $zero +/* 142DE4 8024DFA4 0220202D */ daddu $a0, $s1, $zero +/* 142DE8 8024DFA8 0C050D6C */ jal hud_element_set_flags +/* 142DEC 8024DFAC 34058000 */ ori $a1, $zero, 0x8000 +/* 142DF0 8024DFB0 8FAB0074 */ lw $t3, 0x74($sp) +/* 142DF4 8024DFB4 11600005 */ beqz $t3, .Lpause_8024DFCC +/* 142DF8 8024DFB8 00000000 */ nop +/* 142DFC 8024DFBC 3C118027 */ lui $s1, %hi(gPauseItemsIconIDs+0x4C) +/* 142E00 8024DFC0 8E312A04 */ lw $s1, %lo(gPauseItemsIconIDs+0x4C)($s1) +/* 142E04 8024DFC4 08093815 */ j .Lpause_8024E054 +/* 142E08 8024DFC8 00000000 */ nop +.Lpause_8024DFCC: +/* 142E0C 8024DFCC 12600010 */ beqz $s3, .Lpause_8024E010 +/* 142E10 8024DFD0 0220202D */ daddu $a0, $s1, $zero +/* 142E14 8024DFD4 0C050D6C */ jal hud_element_set_flags +/* 142E18 8024DFD8 3C052000 */ lui $a1, (0x20000000 >> 16) +/* 142E1C 8024DFDC 00161400 */ sll $v0, $s6, 16 +/* 142E20 8024DFE0 000212C3 */ sra $v0, $v0, 11 +/* 142E24 8024DFE4 3C0A8008 */ lui $t2, %hi(gItemTable) +/* 142E28 8024DFE8 254A3C80 */ addiu $t2, $t2, %lo(gItemTable) +/* 142E2C 8024DFEC 004A1021 */ addu $v0, $v0, $t2 +/* 142E30 8024DFF0 84420004 */ lh $v0, 0x4($v0) +/* 142E34 8024DFF4 3C0B8008 */ lui $t3, %hi(gItemHudScripts) +/* 142E38 8024DFF8 256B6A20 */ addiu $t3, $t3, %lo(gItemHudScripts) +/* 142E3C 8024DFFC 000210C0 */ sll $v0, $v0, 3 +/* 142E40 8024E000 004B1021 */ addu $v0, $v0, $t3 +/* 142E44 8024E004 8C420000 */ lw $v0, 0x0($v0) +/* 142E48 8024E008 3C018027 */ lui $at, %hi(gPauseCurrentDescIconScript) +/* 142E4C 8024E00C AC22249C */ sw $v0, %lo(gPauseCurrentDescIconScript)($at) +.Lpause_8024E010: +/* 142E50 8024E010 00161400 */ sll $v0, $s6, 16 +/* 142E54 8024E014 000212C3 */ sra $v0, $v0, 11 +/* 142E58 8024E018 3C0A8008 */ lui $t2, %hi(gItemTable) +/* 142E5C 8024E01C 254A3C80 */ addiu $t2, $t2, %lo(gItemTable) +/* 142E60 8024E020 004A1021 */ addu $v0, $v0, $t2 +/* 142E64 8024E024 84420004 */ lh $v0, 0x4($v0) +/* 142E68 8024E028 3C0B8008 */ lui $t3, %hi(gItemHudScripts) +/* 142E6C 8024E02C 256B6A20 */ addiu $t3, $t3, %lo(gItemHudScripts) +/* 142E70 8024E030 000210C0 */ sll $v0, $v0, 3 +/* 142E74 8024E034 004B1021 */ addu $v0, $v0, $t3 +/* 142E78 8024E038 8C450000 */ lw $a1, 0x0($v0) +/* 142E7C 8024E03C 0C050CEB */ jal hud_element_set_script +/* 142E80 8024E040 0220202D */ daddu $a0, $s1, $zero +/* 142E84 8024E044 3C053F2B */ lui $a1, (0x3F2BBA99 >> 16) +/* 142E88 8024E048 34A5BA99 */ ori $a1, $a1, (0x3F2BBA99 & 0xFFFF) +/* 142E8C 8024E04C 0C050DF4 */ jal hud_element_set_scale +/* 142E90 8024E050 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024E054: +/* 142E94 8024E054 8FA40068 */ lw $a0, 0x68($sp) +/* 142E98 8024E058 0C0936B6 */ jal pause_items_scroll_offset_x +/* 142E9C 8024E05C 00000000 */ nop +/* 142EA0 8024E060 02E0202D */ daddu $a0, $s7, $zero +/* 142EA4 8024E064 8FAA00AC */ lw $t2, 0xAC($sp) +/* 142EA8 8024E068 24500069 */ addiu $s0, $v0, 0x69 +/* 142EAC 8024E06C 01508021 */ addu $s0, $t2, $s0 +/* 142EB0 8024E070 0C0936B2 */ jal pause_items_scroll_offset_y +/* 142EB4 8024E074 02148021 */ addu $s0, $s0, $s4 +/* 142EB8 8024E078 0220202D */ daddu $a0, $s1, $zero +/* 142EBC 8024E07C 0200282D */ daddu $a1, $s0, $zero +/* 142EC0 8024E080 8FAB00B0 */ lw $t3, 0xB0($sp) +/* 142EC4 8024E084 24420017 */ addiu $v0, $v0, 0x17 +/* 142EC8 8024E088 01621021 */ addu $v0, $t3, $v0 +/* 142ECC 8024E08C 0C050D4D */ jal hud_element_set_render_pos +/* 142ED0 8024E090 00553021 */ addu $a2, $v0, $s5 +/* 142ED4 8024E094 8FAA0054 */ lw $t2, 0x54($sp) +/* 142ED8 8024E098 15400005 */ bnez $t2, .Lpause_8024E0B0 +/* 142EDC 8024E09C 00000000 */ nop +/* 142EE0 8024E0A0 0C050CE4 */ jal hud_element_draw_without_clipping +/* 142EE4 8024E0A4 0220202D */ daddu $a0, $s1, $zero +/* 142EE8 8024E0A8 0809382E */ j .Lpause_8024E0B8 +/* 142EEC 8024E0AC 00000000 */ nop +.Lpause_8024E0B0: +/* 142EF0 8024E0B0 0C050CDD */ jal hud_element_draw_next +/* 142EF4 8024E0B4 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024E0B8: +/* 142EF8 8024E0B8 8FAB0078 */ lw $t3, 0x78($sp) +/* 142EFC 8024E0BC 8FAA0054 */ lw $t2, 0x54($sp) +/* 142F00 8024E0C0 256B0004 */ addiu $t3, $t3, 0x4 +/* 142F04 8024E0C4 254A0001 */ addiu $t2, $t2, 0x1 +/* 142F08 8024E0C8 AFAB0078 */ sw $t3, 0x78($sp) +/* 142F0C 8024E0CC AFAA0054 */ sw $t2, 0x54($sp) +.Lpause_8024E0D0: +/* 142F10 8024E0D0 8FAB007C */ lw $t3, 0x7C($sp) +/* 142F14 8024E0D4 8D620008 */ lw $v0, 0x8($t3) +/* 142F18 8024E0D8 26520001 */ addiu $s2, $s2, 0x1 +/* 142F1C 8024E0DC 0242102A */ slt $v0, $s2, $v0 +/* 142F20 8024E0E0 1440FF33 */ bnez $v0, .Lpause_8024DDB0 +/* 142F24 8024E0E4 00000000 */ nop +.Lpause_8024E0E8: +/* 142F28 8024E0E8 27DE0001 */ addiu $fp, $fp, 0x1 +/* 142F2C 8024E0EC 8FAA007C */ lw $t2, 0x7C($sp) +/* 142F30 8024E0F0 2BC20014 */ slti $v0, $fp, 0x14 +/* 142F34 8024E0F4 254A000C */ addiu $t2, $t2, 0xC +/* 142F38 8024E0F8 1440FF1C */ bnez $v0, .Lpause_8024DD6C +/* 142F3C 8024E0FC AFAA007C */ sw $t2, 0x7C($sp) +.Lpause_8024E100: +/* 142F40 8024E100 8FAB0050 */ lw $t3, 0x50($sp) +/* 142F44 8024E104 256B0001 */ addiu $t3, $t3, 0x1 +/* 142F48 8024E108 29620003 */ slti $v0, $t3, 0x3 +/* 142F4C 8024E10C 1440FF13 */ bnez $v0, .Lpause_8024DD5C +/* 142F50 8024E110 AFAB0050 */ sw $t3, 0x50($sp) +/* 142F54 8024E114 3C098009 */ lui $t1, %hi(gMainGfxPos) +/* 142F58 8024E118 25296A44 */ addiu $t1, $t1, %lo(gMainGfxPos) +/* 142F5C 8024E11C 8FAA00AC */ lw $t2, 0xAC($sp) +/* 142F60 8024E120 8FAB00B0 */ lw $t3, 0xB0($sp) +/* 142F64 8024E124 8D250000 */ lw $a1, 0x0($t1) +/* 142F68 8024E128 25440001 */ addiu $a0, $t2, 0x1 +/* 142F6C 8024E12C 25660001 */ addiu $a2, $t3, 0x1 +/* 142F70 8024E130 00A0182D */ daddu $v1, $a1, $zero +/* 142F74 8024E134 8FAB00B4 */ lw $t3, 0xB4($sp) +/* 142F78 8024E138 24A50008 */ addiu $a1, $a1, 0x8 +/* 142F7C 8024E13C 014B1021 */ addu $v0, $t2, $t3 +/* 142F80 8024E140 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 142F84 8024E144 8FAB00B8 */ lw $t3, 0xB8($sp) +/* 142F88 8024E148 2447FFFF */ addiu $a3, $v0, -0x1 +/* 142F8C 8024E14C 014B1021 */ addu $v0, $t2, $t3 +/* 142F90 8024E150 2448FFFF */ addiu $t0, $v0, -0x1 +/* 142F94 8024E154 3C02E700 */ lui $v0, (0xE7000000 >> 16) +/* 142F98 8024E158 AD250000 */ sw $a1, 0x0($t1) +/* 142F9C 8024E15C AC620000 */ sw $v0, 0x0($v1) +/* 142FA0 8024E160 1C800002 */ bgtz $a0, .Lpause_8024E16C +/* 142FA4 8024E164 AC600004 */ sw $zero, 0x4($v1) +/* 142FA8 8024E168 24040001 */ addiu $a0, $zero, 0x1 +.Lpause_8024E16C: +/* 142FAC 8024E16C 58C00001 */ blezl $a2, .Lpause_8024E174 +/* 142FB0 8024E170 24060001 */ addiu $a2, $zero, 0x1 +.Lpause_8024E174: +/* 142FB4 8024E174 18E0015C */ blez $a3, .Lpause_8024E6E8 +/* 142FB8 8024E178 00000000 */ nop +/* 142FBC 8024E17C 1900015A */ blez $t0, .Lpause_8024E6E8 +/* 142FC0 8024E180 2882013F */ slti $v0, $a0, 0x13F +/* 142FC4 8024E184 10400158 */ beqz $v0, .Lpause_8024E6E8 +/* 142FC8 8024E188 28C200EF */ slti $v0, $a2, 0xEF +/* 142FCC 8024E18C 10400156 */ beqz $v0, .Lpause_8024E6E8 +/* 142FD0 8024E190 28E2013F */ slti $v0, $a3, 0x13F +/* 142FD4 8024E194 50400001 */ beql $v0, $zero, .Lpause_8024E19C +/* 142FD8 8024E198 2407013F */ addiu $a3, $zero, 0x13F +.Lpause_8024E19C: +/* 142FDC 8024E19C 290200EF */ slti $v0, $t0, 0xEF +/* 142FE0 8024E1A0 50400001 */ beql $v0, $zero, .Lpause_8024E1A8 +/* 142FE4 8024E1A4 240800EF */ addiu $t0, $zero, 0xEF +.Lpause_8024E1A8: +/* 142FE8 8024E1A8 3C014080 */ lui $at, (0x40800000 >> 16) +/* 142FEC 8024E1AC 44812000 */ mtc1 $at, $f4 +/* 142FF0 8024E1B0 44840000 */ mtc1 $a0, $f0 +/* 142FF4 8024E1B4 00000000 */ nop +/* 142FF8 8024E1B8 46800020 */ cvt.s.w $f0, $f0 +/* 142FFC 8024E1BC 46040002 */ mul.s $f0, $f0, $f4 +/* 143000 8024E1C0 00000000 */ nop +/* 143004 8024E1C4 24A20008 */ addiu $v0, $a1, 0x8 +/* 143008 8024E1C8 44861000 */ mtc1 $a2, $f2 +/* 14300C 8024E1CC 00000000 */ nop +/* 143010 8024E1D0 468010A0 */ cvt.s.w $f2, $f2 +/* 143014 8024E1D4 3C04ED00 */ lui $a0, (0xED000000 >> 16) +/* 143018 8024E1D8 46041082 */ mul.s $f2, $f2, $f4 +/* 14301C 8024E1DC 00000000 */ nop +/* 143020 8024E1E0 AD220000 */ sw $v0, 0x0($t1) +/* 143024 8024E1E4 4600018D */ trunc.w.s $f6, $f0 +/* 143028 8024E1E8 44023000 */ mfc1 $v0, $f6 +/* 14302C 8024E1EC 00000000 */ nop +/* 143030 8024E1F0 30420FFF */ andi $v0, $v0, 0xFFF +/* 143034 8024E1F4 00021300 */ sll $v0, $v0, 12 +/* 143038 8024E1F8 4600118D */ trunc.w.s $f6, $f2 +/* 14303C 8024E1FC 44033000 */ mfc1 $v1, $f6 +/* 143040 8024E200 44871000 */ mtc1 $a3, $f2 +/* 143044 8024E204 00000000 */ nop +/* 143048 8024E208 468010A0 */ cvt.s.w $f2, $f2 +/* 14304C 8024E20C 46041082 */ mul.s $f2, $f2, $f4 +/* 143050 8024E210 00000000 */ nop +/* 143054 8024E214 30630FFF */ andi $v1, $v1, 0xFFF +/* 143058 8024E218 00641825 */ or $v1, $v1, $a0 +/* 14305C 8024E21C 00431025 */ or $v0, $v0, $v1 +/* 143060 8024E220 44880000 */ mtc1 $t0, $f0 +/* 143064 8024E224 00000000 */ nop +/* 143068 8024E228 46800020 */ cvt.s.w $f0, $f0 +/* 14306C 8024E22C 46040002 */ mul.s $f0, $f0, $f4 +/* 143070 8024E230 00000000 */ nop +/* 143074 8024E234 ACA20000 */ sw $v0, 0x0($a1) +/* 143078 8024E238 4600118D */ trunc.w.s $f6, $f2 +/* 14307C 8024E23C 44023000 */ mfc1 $v0, $f6 +/* 143080 8024E240 00000000 */ nop +/* 143084 8024E244 30420FFF */ andi $v0, $v0, 0xFFF +/* 143088 8024E248 00021300 */ sll $v0, $v0, 12 +/* 14308C 8024E24C 4600018D */ trunc.w.s $f6, $f0 +/* 143090 8024E250 44033000 */ mfc1 $v1, $f6 +/* 143094 8024E254 00000000 */ nop +/* 143098 8024E258 30630FFF */ andi $v1, $v1, 0xFFF +/* 14309C 8024E25C 00431025 */ or $v0, $v0, $v1 +/* 1430A0 8024E260 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab) +/* 1430A4 8024E264 806324A4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1) +/* 1430A8 8024E268 ACA20004 */ sw $v0, 0x4($a1) +/* 1430AC 8024E26C 24020003 */ addiu $v0, $zero, 0x3 +/* 1430B0 8024E270 1462002A */ bne $v1, $v0, .Lpause_8024E31C +/* 1430B4 8024E274 24020001 */ addiu $v0, $zero, 0x1 +/* 1430B8 8024E278 3C038027 */ lui $v1, %hi(gPauseItemsLevel) +/* 1430BC 8024E27C 8C6329B0 */ lw $v1, %lo(gPauseItemsLevel)($v1) +/* 1430C0 8024E280 14620026 */ bne $v1, $v0, .Lpause_8024E31C +/* 1430C4 8024E284 00000000 */ nop +/* 1430C8 8024E288 3C118027 */ lui $s1, %hi(gPauseItemsCurrentPage) +/* 1430CC 8024E28C 26312898 */ addiu $s1, $s1, %lo(gPauseItemsCurrentPage) +/* 1430D0 8024E290 8E220000 */ lw $v0, 0x0($s1) +/* 1430D4 8024E294 1840000E */ blez $v0, .Lpause_8024E2D0 +/* 1430D8 8024E298 24420001 */ addiu $v0, $v0, 0x1 +/* 1430DC 8024E29C 3C108027 */ lui $s0, %hi(gPauseItemsIconIDs) +/* 1430E0 8024E2A0 261029B8 */ addiu $s0, $s0, %lo(gPauseItemsIconIDs) +/* 1430E4 8024E2A4 8FAB00AC */ lw $t3, 0xAC($sp) +/* 1430E8 8024E2A8 8E040040 */ lw $a0, 0x40($s0) +/* 1430EC 8024E2AC 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 1430F0 8024E2B0 25650116 */ addiu $a1, $t3, 0x116 +/* 1430F4 8024E2B4 0C050D4D */ jal hud_element_set_render_pos +/* 1430F8 8024E2B8 2546000E */ addiu $a2, $t2, 0xE +/* 1430FC 8024E2BC 8E040040 */ lw $a0, 0x40($s0) +/* 143100 8024E2C0 0C050CE4 */ jal hud_element_draw_without_clipping +/* 143104 8024E2C4 00000000 */ nop +/* 143108 8024E2C8 8E220000 */ lw $v0, 0x0($s1) +/* 14310C 8024E2CC 24420001 */ addiu $v0, $v0, 0x1 +.Lpause_8024E2D0: +/* 143110 8024E2D0 00021840 */ sll $v1, $v0, 1 +/* 143114 8024E2D4 00621821 */ addu $v1, $v1, $v0 +/* 143118 8024E2D8 00031880 */ sll $v1, $v1, 2 +/* 14311C 8024E2DC 3C028027 */ lui $v0, %hi(gPauseItemsPages) +/* 143120 8024E2E0 00431021 */ addu $v0, $v0, $v1 +/* 143124 8024E2E4 904228A0 */ lbu $v0, %lo(gPauseItemsPages)($v0) +/* 143128 8024E2E8 1040000C */ beqz $v0, .Lpause_8024E31C +/* 14312C 8024E2EC 00000000 */ nop +/* 143130 8024E2F0 3C108027 */ lui $s0, %hi(gPauseItemsIconIDs) +/* 143134 8024E2F4 261029B8 */ addiu $s0, $s0, %lo(gPauseItemsIconIDs) +/* 143138 8024E2F8 8FAB00AC */ lw $t3, 0xAC($sp) +/* 14313C 8024E2FC 8E040044 */ lw $a0, 0x44($s0) +/* 143140 8024E300 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 143144 8024E304 25650116 */ addiu $a1, $t3, 0x116 +/* 143148 8024E308 0C050D4D */ jal hud_element_set_render_pos +/* 14314C 8024E30C 25460092 */ addiu $a2, $t2, 0x92 +/* 143150 8024E310 8E040044 */ lw $a0, 0x44($s0) +/* 143154 8024E314 0C050CE4 */ jal hud_element_draw_without_clipping +/* 143158 8024E318 00000000 */ nop +.Lpause_8024E31C: +/* 14315C 8024E31C 3C038027 */ lui $v1, %hi(gPauseItemsCurrentTab) +/* 143160 8024E320 8C6329B4 */ lw $v1, %lo(gPauseItemsCurrentTab)($v1) +/* 143164 8024E324 8FA600AC */ lw $a2, 0xAC($sp) +/* 143168 8024E328 50600001 */ beql $v1, $zero, .Lpause_8024E330 +/* 14316C 8024E32C 24C60009 */ addiu $a2, $a2, 0x9 +.Lpause_8024E330: +/* 143170 8024E330 8FAB00B0 */ lw $t3, 0xB0($sp) +/* 143174 8024E334 2402005B */ addiu $v0, $zero, 0x5B +/* 143178 8024E338 AFA20014 */ sw $v0, 0x14($sp) +/* 14317C 8024E33C 24020022 */ addiu $v0, $zero, 0x22 +/* 143180 8024E340 AFA20018 */ sw $v0, 0x18($sp) +/* 143184 8024E344 240200FF */ addiu $v0, $zero, 0xFF +/* 143188 8024E348 AFA2001C */ sw $v0, 0x1C($sp) +/* 14318C 8024E34C 24020001 */ addiu $v0, $zero, 0x1 +/* 143190 8024E350 AFA00010 */ sw $zero, 0x10($sp) +/* 143194 8024E354 14620004 */ bne $v1, $v0, .Lpause_8024E368 +/* 143198 8024E358 25670007 */ addiu $a3, $t3, 0x7 +/* 14319C 8024E35C 24020080 */ addiu $v0, $zero, 0x80 +/* 1431A0 8024E360 080938DB */ j .Lpause_8024E36C +/* 1431A4 8024E364 AFA20020 */ sw $v0, 0x20($sp) +.Lpause_8024E368: +/* 1431A8 8024E368 AFA00020 */ sw $zero, 0x20($sp) +.Lpause_8024E36C: +/* 1431AC 8024E36C 24040004 */ addiu $a0, $zero, 0x4 +/* 1431B0 8024E370 3C058027 */ lui $a1, %hi(gPauseWS_17) +/* 1431B4 8024E374 24A52088 */ addiu $a1, $a1, %lo(gPauseWS_17) +/* 1431B8 8024E378 24020140 */ addiu $v0, $zero, 0x140 +/* 1431BC 8024E37C AFA20044 */ sw $v0, 0x44($sp) +/* 1431C0 8024E380 240200F0 */ addiu $v0, $zero, 0xF0 +/* 1431C4 8024E384 AFA00024 */ sw $zero, 0x24($sp) +/* 1431C8 8024E388 AFA00028 */ sw $zero, 0x28($sp) +/* 1431CC 8024E38C AFA0002C */ sw $zero, 0x2C($sp) +/* 1431D0 8024E390 AFA00030 */ sw $zero, 0x30($sp) +/* 1431D4 8024E394 AFA00034 */ sw $zero, 0x34($sp) +/* 1431D8 8024E398 AFA00038 */ sw $zero, 0x38($sp) +/* 1431DC 8024E39C AFA0003C */ sw $zero, 0x3C($sp) +/* 1431E0 8024E3A0 AFA00040 */ sw $zero, 0x40($sp) +/* 1431E4 8024E3A4 AFA20048 */ sw $v0, 0x48($sp) +/* 1431E8 8024E3A8 0C03C5C4 */ jal draw_box +/* 1431EC 8024E3AC AFA0004C */ sw $zero, 0x4C($sp) +/* 1431F0 8024E3B0 3C128015 */ lui $s2, %hi(gCurrentLanguage) +/* 1431F4 8024E3B4 2652AE4C */ addiu $s2, $s2, %lo(gCurrentLanguage) +/* 1431F8 8024E3B8 8E420000 */ lw $v0, 0x0($s2) +/* 1431FC 8024E3BC 14400013 */ bnez $v0, .Lpause_8024E40C +/* 143200 8024E3C0 00000000 */ nop +/* 143204 8024E3C4 0C094C60 */ jal pause_get_menu_msg +/* 143208 8024E3C8 2404004A */ addiu $a0, $zero, 0x4A +/* 14320C 8024E3CC 8FAA00AC */ lw $t2, 0xAC($sp) +/* 143210 8024E3D0 3C038027 */ lui $v1, %hi(gPauseItemsCurrentTab) +/* 143214 8024E3D4 8C6329B4 */ lw $v1, %lo(gPauseItemsCurrentTab)($v1) +/* 143218 8024E3D8 14600002 */ bnez $v1, .Lpause_8024E3E4 +/* 14321C 8024E3DC 2545000C */ addiu $a1, $t2, 0xC +/* 143220 8024E3E0 25450015 */ addiu $a1, $t2, 0x15 +.Lpause_8024E3E4: +/* 143224 8024E3E4 240700FF */ addiu $a3, $zero, 0xFF +/* 143228 8024E3E8 8FAB00B0 */ lw $t3, 0xB0($sp) +/* 14322C 8024E3EC 24080001 */ addiu $t0, $zero, 0x1 +/* 143230 8024E3F0 14680002 */ bne $v1, $t0, .Lpause_8024E3FC +/* 143234 8024E3F4 25660011 */ addiu $a2, $t3, 0x11 +/* 143238 8024E3F8 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024E3FC: +/* 14323C 8024E3FC 0040202D */ daddu $a0, $v0, $zero +/* 143240 8024E400 AFA00010 */ sw $zero, 0x10($sp) +/* 143244 8024E404 08093929 */ j .Lpause_8024E4A4 +/* 143248 8024E408 AFA80014 */ sw $t0, 0x14($sp) +.Lpause_8024E40C: +/* 14324C 8024E40C 0C094C60 */ jal pause_get_menu_msg +/* 143250 8024E410 2404004A */ addiu $a0, $zero, 0x4A +/* 143254 8024E414 3C118027 */ lui $s1, %hi(gPauseItemsCurrentTab) +/* 143258 8024E418 263129B4 */ addiu $s1, $s1, %lo(gPauseItemsCurrentTab) +/* 14325C 8024E41C 8FAA00AC */ lw $t2, 0xAC($sp) +/* 143260 8024E420 8E230000 */ lw $v1, 0x0($s1) +/* 143264 8024E424 14600002 */ bnez $v1, .Lpause_8024E430 +/* 143268 8024E428 2545000C */ addiu $a1, $t2, 0xC +/* 14326C 8024E42C 25450015 */ addiu $a1, $t2, 0x15 +.Lpause_8024E430: +/* 143270 8024E430 240700FF */ addiu $a3, $zero, 0xFF +/* 143274 8024E434 8FAB00B0 */ lw $t3, 0xB0($sp) +/* 143278 8024E438 24100001 */ addiu $s0, $zero, 0x1 +/* 14327C 8024E43C 14700002 */ bne $v1, $s0, .Lpause_8024E448 +/* 143280 8024E440 2566000C */ addiu $a2, $t3, 0xC +/* 143284 8024E444 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024E448: +/* 143288 8024E448 0040202D */ daddu $a0, $v0, $zero +/* 14328C 8024E44C AFA00010 */ sw $zero, 0x10($sp) +/* 143290 8024E450 0C049403 */ jal draw_msg +/* 143294 8024E454 AFB00014 */ sw $s0, 0x14($sp) +/* 143298 8024E458 0C094C60 */ jal pause_get_menu_msg +/* 14329C 8024E45C 2404004B */ addiu $a0, $zero, 0x4B +/* 1432A0 8024E460 8E430000 */ lw $v1, 0x0($s2) +/* 1432A4 8024E464 8FAA00AC */ lw $t2, 0xAC($sp) +/* 1432A8 8024E468 3C018027 */ lui $at, %hi(D_PAL_80271B30) +/* 1432AC 8024E46C 00230821 */ addu $at, $at, $v1 +/* 1432B0 8024E470 90231B30 */ lbu $v1, %lo(D_PAL_80271B30)($at) +/* 1432B4 8024E474 01432821 */ addu $a1, $t2, $v1 +/* 1432B8 8024E478 8E230000 */ lw $v1, 0x0($s1) +/* 1432BC 8024E47C 50600001 */ beql $v1, $zero, .Lpause_8024E484 +/* 1432C0 8024E480 24A50009 */ addiu $a1, $a1, 0x9 +.Lpause_8024E484: +/* 1432C4 8024E484 8FAB00B0 */ lw $t3, 0xB0($sp) +/* 1432C8 8024E488 240700FF */ addiu $a3, $zero, 0xFF +/* 1432CC 8024E48C 14700002 */ bne $v1, $s0, .Lpause_8024E498 +/* 1432D0 8024E490 25660016 */ addiu $a2, $t3, 0x16 +/* 1432D4 8024E494 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024E498: +/* 1432D8 8024E498 0040202D */ daddu $a0, $v0, $zero +/* 1432DC 8024E49C AFA00010 */ sw $zero, 0x10($sp) +/* 1432E0 8024E4A0 AFB00014 */ sw $s0, 0x14($sp) +.Lpause_8024E4A4: +/* 1432E4 8024E4A4 0C049403 */ jal draw_msg +/* 1432E8 8024E4A8 00000000 */ nop +/* 1432EC 8024E4AC 24020001 */ addiu $v0, $zero, 0x1 +/* 1432F0 8024E4B0 3C038027 */ lui $v1, %hi(gPauseItemsCurrentTab) +/* 1432F4 8024E4B4 8C6329B4 */ lw $v1, %lo(gPauseItemsCurrentTab)($v1) +/* 1432F8 8024E4B8 8FA600AC */ lw $a2, 0xAC($sp) +/* 1432FC 8024E4BC 50620001 */ beql $v1, $v0, .Lpause_8024E4C4 +/* 143300 8024E4C0 24C60009 */ addiu $a2, $a2, 0x9 +.Lpause_8024E4C4: +/* 143304 8024E4C4 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 143308 8024E4C8 2402005B */ addiu $v0, $zero, 0x5B +/* 14330C 8024E4CC AFA20014 */ sw $v0, 0x14($sp) +/* 143310 8024E4D0 24020022 */ addiu $v0, $zero, 0x22 +/* 143314 8024E4D4 AFA20018 */ sw $v0, 0x18($sp) +/* 143318 8024E4D8 240200FF */ addiu $v0, $zero, 0xFF +/* 14331C 8024E4DC AFA00010 */ sw $zero, 0x10($sp) +/* 143320 8024E4E0 AFA2001C */ sw $v0, 0x1C($sp) +/* 143324 8024E4E4 14600004 */ bnez $v1, .Lpause_8024E4F8 +/* 143328 8024E4E8 25470027 */ addiu $a3, $t2, 0x27 +/* 14332C 8024E4EC 24020080 */ addiu $v0, $zero, 0x80 +/* 143330 8024E4F0 0809393F */ j .Lpause_8024E4FC +/* 143334 8024E4F4 AFA20020 */ sw $v0, 0x20($sp) +.Lpause_8024E4F8: +/* 143338 8024E4F8 AFA00020 */ sw $zero, 0x20($sp) +.Lpause_8024E4FC: +/* 14333C 8024E4FC 24040004 */ addiu $a0, $zero, 0x4 +/* 143340 8024E500 3C058027 */ lui $a1, %hi(gPauseWS_17) +/* 143344 8024E504 24A52088 */ addiu $a1, $a1, %lo(gPauseWS_17) +/* 143348 8024E508 24020140 */ addiu $v0, $zero, 0x140 +/* 14334C 8024E50C AFA20044 */ sw $v0, 0x44($sp) +/* 143350 8024E510 240200F0 */ addiu $v0, $zero, 0xF0 +/* 143354 8024E514 AFA00024 */ sw $zero, 0x24($sp) +/* 143358 8024E518 AFA00028 */ sw $zero, 0x28($sp) +/* 14335C 8024E51C AFA0002C */ sw $zero, 0x2C($sp) +/* 143360 8024E520 AFA00030 */ sw $zero, 0x30($sp) +/* 143364 8024E524 AFA00034 */ sw $zero, 0x34($sp) +/* 143368 8024E528 AFA00038 */ sw $zero, 0x38($sp) +/* 14336C 8024E52C AFA0003C */ sw $zero, 0x3C($sp) +/* 143370 8024E530 AFA00040 */ sw $zero, 0x40($sp) +/* 143374 8024E534 AFA20048 */ sw $v0, 0x48($sp) +/* 143378 8024E538 0C03C5C4 */ jal draw_box +/* 14337C 8024E53C AFA0004C */ sw $zero, 0x4C($sp) +/* 143380 8024E540 0C094C60 */ jal pause_get_menu_msg +/* 143384 8024E544 2404004C */ addiu $a0, $zero, 0x4C +/* 143388 8024E548 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 14338C 8024E54C 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 143390 8024E550 8FAB00AC */ lw $t3, 0xAC($sp) +/* 143394 8024E554 3C018027 */ lui $at, %hi(D_PAL_80271B34) +/* 143398 8024E558 00230821 */ addu $at, $at, $v1 +/* 14339C 8024E55C 90231B34 */ lbu $v1, %lo(D_PAL_80271B34)($at) +/* 1433A0 8024E560 3C108027 */ lui $s0, %hi(gPauseItemsCurrentTab) +/* 1433A4 8024E564 261029B4 */ addiu $s0, $s0, %lo(gPauseItemsCurrentTab) +/* 1433A8 8024E568 01632821 */ addu $a1, $t3, $v1 +/* 1433AC 8024E56C 8E030000 */ lw $v1, 0x0($s0) +/* 1433B0 8024E570 24080001 */ addiu $t0, $zero, 0x1 +/* 1433B4 8024E574 50680001 */ beql $v1, $t0, .Lpause_8024E57C +/* 1433B8 8024E578 24A50009 */ addiu $a1, $a1, 0x9 +.Lpause_8024E57C: +/* 1433BC 8024E57C 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 1433C0 8024E580 240700FF */ addiu $a3, $zero, 0xFF +/* 1433C4 8024E584 14600002 */ bnez $v1, .Lpause_8024E590 +/* 1433C8 8024E588 25460031 */ addiu $a2, $t2, 0x31 +/* 1433CC 8024E58C 240700BF */ addiu $a3, $zero, 0xBF +.Lpause_8024E590: +/* 1433D0 8024E590 0040202D */ daddu $a0, $v0, $zero +/* 1433D4 8024E594 AFA00010 */ sw $zero, 0x10($sp) +/* 1433D8 8024E598 0C049403 */ jal draw_msg +/* 1433DC 8024E59C AFA80014 */ sw $t0, 0x14($sp) +/* 1433E0 8024E5A0 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab) +/* 1433E4 8024E5A4 806324A4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1) +/* 1433E8 8024E5A8 24020003 */ addiu $v0, $zero, 0x3 +/* 1433EC 8024E5AC 1462004E */ bne $v1, $v0, .Lpause_8024E6E8 +/* 1433F0 8024E5B0 00000000 */ nop +/* 1433F4 8024E5B4 3C028027 */ lui $v0, %hi(gPauseItemsLevel) +/* 1433F8 8024E5B8 8C4229B0 */ lw $v0, %lo(gPauseItemsLevel)($v0) +/* 1433FC 8024E5BC 14400008 */ bnez $v0, .Lpause_8024E5E0 +/* 143400 8024E5C0 24040021 */ addiu $a0, $zero, 0x21 +/* 143404 8024E5C4 8E060000 */ lw $a2, 0x0($s0) +/* 143408 8024E5C8 8FAB00AC */ lw $t3, 0xAC($sp) +/* 14340C 8024E5CC 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 143410 8024E5D0 2565000C */ addiu $a1, $t3, 0xC +/* 143414 8024E5D4 00063140 */ sll $a2, $a2, 5 +/* 143418 8024E5D8 080939B8 */ j .Lpause_8024E6E0 +/* 14341C 8024E5DC 24C6001A */ addiu $a2, $a2, 0x1A +.Lpause_8024E5E0: +/* 143420 8024E5E0 3C118027 */ lui $s1, %hi(gPauseItemsCurrentPage) +/* 143424 8024E5E4 26312898 */ addiu $s1, $s1, %lo(gPauseItemsCurrentPage) +/* 143428 8024E5E8 8E240000 */ lw $a0, 0x0($s1) +/* 14342C 8024E5EC 3C128027 */ lui $s2, %hi(gPauseItemsPages) +/* 143430 8024E5F0 265228A0 */ addiu $s2, $s2, %lo(gPauseItemsPages) +/* 143434 8024E5F4 00041040 */ sll $v0, $a0, 1 +/* 143438 8024E5F8 00441021 */ addu $v0, $v0, $a0 +/* 14343C 8024E5FC 00021080 */ sll $v0, $v0, 2 +/* 143440 8024E600 00521021 */ addu $v0, $v0, $s2 +/* 143444 8024E604 90430001 */ lbu $v1, 0x1($v0) +/* 143448 8024E608 90420002 */ lbu $v0, 0x2($v0) +/* 14344C 8024E60C 00620018 */ mult $v1, $v0 +/* 143450 8024E610 3C108027 */ lui $s0, %hi(gPauseItemsSelectedIndex) +/* 143454 8024E614 26102990 */ addiu $s0, $s0, %lo(gPauseItemsSelectedIndex) +/* 143458 8024E618 8E050000 */ lw $a1, 0x0($s0) +/* 14345C 8024E61C 00005012 */ mflo $t2 +/* 143460 8024E620 0C093650 */ jal pause_items_get_pos_x +/* 143464 8024E624 00AA2823 */ subu $a1, $a1, $t2 +/* 143468 8024E628 8E240000 */ lw $a0, 0x0($s1) +/* 14346C 8024E62C 00041840 */ sll $v1, $a0, 1 +/* 143470 8024E630 00641821 */ addu $v1, $v1, $a0 +/* 143474 8024E634 00031880 */ sll $v1, $v1, 2 +/* 143478 8024E638 00721821 */ addu $v1, $v1, $s2 +/* 14347C 8024E63C 90650001 */ lbu $a1, 0x1($v1) +/* 143480 8024E640 90630002 */ lbu $v1, 0x2($v1) +/* 143484 8024E644 00A30018 */ mult $a1, $v1 +/* 143488 8024E648 8E050000 */ lw $a1, 0x0($s0) +/* 14348C 8024E64C 0040802D */ daddu $s0, $v0, $zero +/* 143490 8024E650 00005012 */ mflo $t2 +/* 143494 8024E654 0C093666 */ jal pause_items_get_pos_y +/* 143498 8024E658 00AA2823 */ subu $a1, $a1, $t2 +/* 14349C 8024E65C 0200202D */ daddu $a0, $s0, $zero +/* 1434A0 8024E660 0C0936B6 */ jal pause_items_scroll_offset_x +/* 1434A4 8024E664 0040802D */ daddu $s0, $v0, $zero +/* 1434A8 8024E668 0200202D */ daddu $a0, $s0, $zero +/* 1434AC 8024E66C 0C0936B2 */ jal pause_items_scroll_offset_y +/* 1434B0 8024E670 0040802D */ daddu $s0, $v0, $zero +/* 1434B4 8024E674 0040302D */ daddu $a2, $v0, $zero +/* 1434B8 8024E678 04C10003 */ bgez $a2, .Lpause_8024E688 +/* 1434BC 8024E67C 28C20071 */ slti $v0, $a2, 0x71 +/* 1434C0 8024E680 080939A4 */ j .Lpause_8024E690 +/* 1434C4 8024E684 0000302D */ daddu $a2, $zero, $zero +.Lpause_8024E688: +/* 1434C8 8024E688 50400001 */ beql $v0, $zero, .Lpause_8024E690 +/* 1434CC 8024E68C 24060070 */ addiu $a2, $zero, 0x70 +.Lpause_8024E690: +/* 1434D0 8024E690 3C038027 */ lui $v1, %hi(gPauseItemsCurrentScrollPos) +/* 1434D4 8024E694 8C6329A4 */ lw $v1, %lo(gPauseItemsCurrentScrollPos)($v1) +/* 1434D8 8024E698 3C028027 */ lui $v0, %hi(gPauseItemsTargetScrollPos) +/* 1434DC 8024E69C 8C4229A8 */ lw $v0, %lo(gPauseItemsTargetScrollPos)($v0) +/* 1434E0 8024E6A0 1062000A */ beq $v1, $v0, .Lpause_8024E6CC +/* 1434E4 8024E6A4 24040021 */ addiu $a0, $zero, 0x21 +/* 1434E8 8024E6A8 26050055 */ addiu $a1, $s0, 0x55 +/* 1434EC 8024E6AC 24C60017 */ addiu $a2, $a2, 0x17 +/* 1434F0 8024E6B0 8FAB00AC */ lw $t3, 0xAC($sp) +/* 1434F4 8024E6B4 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 1434F8 8024E6B8 01652821 */ addu $a1, $t3, $a1 +/* 1434FC 8024E6BC 0C091AAF */ jal pause_set_cursor_pos_immediate +/* 143500 8024E6C0 01463021 */ addu $a2, $t2, $a2 +/* 143504 8024E6C4 080939BA */ j .Lpause_8024E6E8 +/* 143508 8024E6C8 00000000 */ nop +.Lpause_8024E6CC: +/* 14350C 8024E6CC 26050055 */ addiu $a1, $s0, 0x55 +/* 143510 8024E6D0 24C60017 */ addiu $a2, $a2, 0x17 +/* 143514 8024E6D4 8FAB00AC */ lw $t3, 0xAC($sp) +/* 143518 8024E6D8 8FAA00B0 */ lw $t2, 0xB0($sp) +/* 14351C 8024E6DC 01652821 */ addu $a1, $t3, $a1 +.Lpause_8024E6E0: +/* 143520 8024E6E0 0C091B05 */ jal pause_set_cursor_pos +/* 143524 8024E6E4 01463021 */ addu $a2, $t2, $a2 +.Lpause_8024E6E8: +/* 143528 8024E6E8 8FBF00A4 */ lw $ra, 0xA4($sp) +/* 14352C 8024E6EC 8FBE00A0 */ lw $fp, 0xA0($sp) +/* 143530 8024E6F0 8FB7009C */ lw $s7, 0x9C($sp) +/* 143534 8024E6F4 8FB60098 */ lw $s6, 0x98($sp) +/* 143538 8024E6F8 8FB50094 */ lw $s5, 0x94($sp) +/* 14353C 8024E6FC 8FB40090 */ lw $s4, 0x90($sp) +/* 143540 8024E700 8FB3008C */ lw $s3, 0x8C($sp) +/* 143544 8024E704 8FB20088 */ lw $s2, 0x88($sp) +/* 143548 8024E708 8FB10084 */ lw $s1, 0x84($sp) +/* 14354C 8024E70C 8FB00080 */ lw $s0, 0x80($sp) +/* 143550 8024E710 03E00008 */ jr $ra +/* 143554 8024E714 27BD00A8 */ addiu $sp, $sp, 0xA8 diff --git a/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_draw_movelist.s b/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_draw_movelist.s new file mode 100644 index 0000000000..7a7b8329dd --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_draw_movelist.s @@ -0,0 +1,225 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_partners_draw_movelist +/* 144DB8 8024FF78 27BDFFB0 */ addiu $sp, $sp, -0x50 +/* 144DBC 8024FF7C AFBE0048 */ sw $fp, 0x48($sp) +/* 144DC0 8024FF80 00C0F02D */ daddu $fp, $a2, $zero +/* 144DC4 8024FF84 AFBF004C */ sw $ra, 0x4C($sp) +/* 144DC8 8024FF88 AFB70044 */ sw $s7, 0x44($sp) +/* 144DCC 8024FF8C AFB60040 */ sw $s6, 0x40($sp) +/* 144DD0 8024FF90 AFB5003C */ sw $s5, 0x3C($sp) +/* 144DD4 8024FF94 AFB40038 */ sw $s4, 0x38($sp) +/* 144DD8 8024FF98 AFB30034 */ sw $s3, 0x34($sp) +/* 144DDC 8024FF9C AFB20030 */ sw $s2, 0x30($sp) +/* 144DE0 8024FFA0 AFB1002C */ sw $s1, 0x2C($sp) +/* 144DE4 8024FFA4 AFB00028 */ sw $s0, 0x28($sp) +/* 144DE8 8024FFA8 0C038F35 */ jal get_player_data +/* 144DEC 8024FFAC AFA50054 */ sw $a1, 0x54($sp) +/* 144DF0 8024FFB0 3C038027 */ lui $v1, %hi(gPausePartnersCurrentPartnerIdx) +/* 144DF4 8024FFB4 8C632A70 */ lw $v1, %lo(gPausePartnersCurrentPartnerIdx)($v1) +/* 144DF8 8024FFB8 00031880 */ sll $v1, $v1, 2 +/* 144DFC 8024FFBC 3C018027 */ lui $at, %hi(gPausePartnersPartnerIdx) +/* 144E00 8024FFC0 00230821 */ addu $at, $at, $v1 +/* 144E04 8024FFC4 8C232A50 */ lw $v1, %lo(gPausePartnersPartnerIdx)($at) +/* 144E08 8024FFC8 00031880 */ sll $v1, $v1, 2 +/* 144E0C 8024FFCC 3C018025 */ lui $at, %hi(gPausePartnersPartnerIDs) +/* 144E10 8024FFD0 00230821 */ addu $at, $at, $v1 +/* 144E14 8024FFD4 8C233C00 */ lw $v1, %lo(gPausePartnersPartnerIDs)($at) +/* 144E18 8024FFD8 000318C0 */ sll $v1, $v1, 3 +/* 144E1C 8024FFDC 00431021 */ addu $v0, $v0, $v1 +/* 144E20 8024FFE0 80550015 */ lb $s5, 0x15($v0) +/* 144E24 8024FFE4 24020002 */ addiu $v0, $zero, 0x2 +/* 144E28 8024FFE8 16A20003 */ bne $s5, $v0, .Lpause_8024FFF8 +/* 144E2C 8024FFEC 24020001 */ addiu $v0, $zero, 0x1 +/* 144E30 8024FFF0 08094004 */ j .Lpause_80250010 +/* 144E34 8024FFF4 24150004 */ addiu $s5, $zero, 0x4 +.Lpause_8024FFF8: +/* 144E38 8024FFF8 16A20003 */ bne $s5, $v0, .Lpause_80250008 +/* 144E3C 8024FFFC 00000000 */ nop +/* 144E40 80250000 08094004 */ j .Lpause_80250010 +/* 144E44 80250004 24150003 */ addiu $s5, $zero, 0x3 +.Lpause_80250008: +/* 144E48 80250008 52A00001 */ beql $s5, $zero, .Lpause_80250010 +/* 144E4C 8025000C 24150002 */ addiu $s5, $zero, 0x2 +.Lpause_80250010: +/* 144E50 80250010 0000902D */ daddu $s2, $zero, $zero +/* 144E54 80250014 2417001D */ addiu $s7, $zero, 0x1D +/* 144E58 80250018 24140016 */ addiu $s4, $zero, 0x16 +/* 144E5C 8025001C 2416001C */ addiu $s6, $zero, 0x1C +/* 144E60 80250020 8FA80054 */ lw $t0, 0x54($sp) +/* 144E64 80250024 24130002 */ addiu $s3, $zero, 0x2 +/* 144E68 80250028 25080015 */ addiu $t0, $t0, 0x15 +/* 144E6C 8025002C AFA80020 */ sw $t0, 0x20($sp) +.Lpause_80250030: +/* 144E70 80250030 0255102A */ slt $v0, $s2, $s5 +/* 144E74 80250034 1040007A */ beqz $v0, .Lpause_80250220 +/* 144E78 80250038 03D43021 */ addu $a2, $fp, $s4 +/* 144E7C 8025003C 16400011 */ bnez $s2, .Lpause_80250084 +/* 144E80 80250040 00000000 */ nop +/* 144E84 80250044 3C028027 */ lui $v0, %hi(gPausePartnersCurrentPartnerIdx) +/* 144E88 80250048 8C422A70 */ lw $v0, %lo(gPausePartnersCurrentPartnerIdx)($v0) +/* 144E8C 8025004C 3C088027 */ lui $t0, %hi(gPausePartnersPartnerIdx) +/* 144E90 80250050 25082A50 */ addiu $t0, $t0, %lo(gPausePartnersPartnerIdx) +/* 144E94 80250054 00021080 */ sll $v0, $v0, 2 +/* 144E98 80250058 00481021 */ addu $v0, $v0, $t0 +/* 144E9C 8025005C 8C420000 */ lw $v0, 0x0($v0) +/* 144EA0 80250060 3C088025 */ lui $t0, %hi(gPausePartnersMoveBase) +/* 144EA4 80250064 25083C40 */ addiu $t0, $t0, %lo(gPausePartnersMoveBase) +/* 144EA8 80250068 00021080 */ sll $v0, $v0, 2 +/* 144EAC 8025006C 00481021 */ addu $v0, $v0, $t0 +/* 144EB0 80250070 8C430000 */ lw $v1, 0x0($v0) +/* 144EB4 80250074 3C088009 */ lui $t0, %hi(gMoveTable) +/* 144EB8 80250078 2508B400 */ addiu $t0, $t0, %lo(gMoveTable) +/* 144EBC 8025007C 08094031 */ j .Lpause_802500C4 +/* 144EC0 80250080 00031080 */ sll $v0, $v1, 2 +.Lpause_80250084: +/* 144EC4 80250084 3C028027 */ lui $v0, %hi(gPausePartnersCurrentPartnerIdx) +/* 144EC8 80250088 8C422A70 */ lw $v0, %lo(gPausePartnersCurrentPartnerIdx)($v0) +/* 144ECC 8025008C 3C088027 */ lui $t0, %hi(gPausePartnersPartnerIdx) +/* 144ED0 80250090 25082A50 */ addiu $t0, $t0, %lo(gPausePartnersPartnerIdx) +/* 144ED4 80250094 00021080 */ sll $v0, $v0, 2 +/* 144ED8 80250098 00481021 */ addu $v0, $v0, $t0 +/* 144EDC 8025009C 8C420000 */ lw $v0, 0x0($v0) +/* 144EE0 802500A0 3C088025 */ lui $t0, %hi(gPausePartnersMoveBase) +/* 144EE4 802500A4 25083C40 */ addiu $t0, $t0, %lo(gPausePartnersMoveBase) +/* 144EE8 802500A8 00021080 */ sll $v0, $v0, 2 +/* 144EEC 802500AC 00481021 */ addu $v0, $v0, $t0 +/* 144EF0 802500B0 8C430000 */ lw $v1, 0x0($v0) +/* 144EF4 802500B4 3C088009 */ lui $t0, %hi(gMoveTable) +/* 144EF8 802500B8 2508B400 */ addiu $t0, $t0, %lo(gMoveTable) +/* 144EFC 802500BC 00731821 */ addu $v1, $v1, $s3 +/* 144F00 802500C0 00031080 */ sll $v0, $v1, 2 +.Lpause_802500C4: +/* 144F04 802500C4 00431021 */ addu $v0, $v0, $v1 +/* 144F08 802500C8 00021080 */ sll $v0, $v0, 2 +/* 144F0C 802500CC 00481021 */ addu $v0, $v0, $t0 +/* 144F10 802500D0 8C440000 */ lw $a0, 0x0($v0) +/* 144F14 802500D4 1A400016 */ blez $s2, .Lpause_80250130 +/* 144F18 802500D8 240700FF */ addiu $a3, $zero, 0xFF +/* 144F1C 802500DC 3C028027 */ lui $v0, %hi(gPausePartnersCurrentPartnerIdx) +/* 144F20 802500E0 8C422A70 */ lw $v0, %lo(gPausePartnersCurrentPartnerIdx)($v0) +/* 144F24 802500E4 3C088027 */ lui $t0, %hi(gPausePartnersPartnerIdx) +/* 144F28 802500E8 25082A50 */ addiu $t0, $t0, %lo(gPausePartnersPartnerIdx) +/* 144F2C 802500EC 00021080 */ sll $v0, $v0, 2 +/* 144F30 802500F0 00481021 */ addu $v0, $v0, $t0 +/* 144F34 802500F4 8C420000 */ lw $v0, 0x0($v0) +/* 144F38 802500F8 3C088025 */ lui $t0, %hi(gPausePartnersMoveBase) +/* 144F3C 802500FC 25083C40 */ addiu $t0, $t0, %lo(gPausePartnersMoveBase) +/* 144F40 80250100 00021080 */ sll $v0, $v0, 2 +/* 144F44 80250104 00481021 */ addu $v0, $v0, $t0 +/* 144F48 80250108 8C430000 */ lw $v1, 0x0($v0) +/* 144F4C 8025010C 3C088009 */ lui $t0, %hi(gMoveTable) +/* 144F50 80250110 2508B400 */ addiu $t0, $t0, %lo(gMoveTable) +/* 144F54 80250114 00731821 */ addu $v1, $v1, $s3 +/* 144F58 80250118 00031080 */ sll $v0, $v1, 2 +/* 144F5C 8025011C 00431021 */ addu $v0, $v0, $v1 +/* 144F60 80250120 00021080 */ sll $v0, $v0, 2 +/* 144F64 80250124 00481021 */ addu $v0, $v0, $t0 +/* 144F68 80250128 0809404D */ j .Lpause_80250134 +/* 144F6C 8025012C 80510011 */ lb $s1, 0x11($v0) +.Lpause_80250130: +/* 144F70 80250130 0000882D */ daddu $s1, $zero, $zero +.Lpause_80250134: +/* 144F74 80250134 8FA50020 */ lw $a1, 0x20($sp) +/* 144F78 80250138 2408000A */ addiu $t0, $zero, 0xA +/* 144F7C 8025013C AFA80010 */ sw $t0, 0x10($sp) +/* 144F80 80250140 24080001 */ addiu $t0, $zero, 0x1 +/* 144F84 80250144 0C049403 */ jal draw_msg +/* 144F88 80250148 AFA80014 */ sw $t0, 0x14($sp) +/* 144F8C 8025014C 26500004 */ addiu $s0, $s2, 0x4 +/* 144F90 80250150 00108080 */ sll $s0, $s0, 2 +/* 144F94 80250154 3C088027 */ lui $t0, %hi(gPausePartnersIconIDs) +/* 144F98 80250158 25082A10 */ addiu $t0, $t0, %lo(gPausePartnersIconIDs) +/* 144F9C 8025015C 02088021 */ addu $s0, $s0, $t0 +/* 144FA0 80250160 8E040000 */ lw $a0, 0x0($s0) +/* 144FA4 80250164 0C050DF4 */ jal hud_element_set_scale +/* 144FA8 80250168 3C053F00 */ lui $a1, (0x3F000000 >> 16) +/* 144FAC 8025016C 03D63021 */ addu $a2, $fp, $s6 +/* 144FB0 80250170 8FA80054 */ lw $t0, 0x54($sp) +/* 144FB4 80250174 8E040000 */ lw $a0, 0x0($s0) +/* 144FB8 80250178 0C050D4D */ jal hud_element_set_render_pos +/* 144FBC 8025017C 2505000C */ addiu $a1, $t0, 0xC +/* 144FC0 80250180 8E040000 */ lw $a0, 0x0($s0) +/* 144FC4 80250184 0C050CE4 */ jal hud_element_draw_without_clipping +/* 144FC8 80250188 00000000 */ nop +/* 144FCC 8025018C 12200024 */ beqz $s1, .Lpause_80250220 +/* 144FD0 80250190 0220202D */ daddu $a0, $s1, $zero +/* 144FD4 80250194 03D43021 */ addu $a2, $fp, $s4 +/* 144FD8 80250198 3C088027 */ lui $t0, %hi(D_PAL_80271B44) +/* 144FDC 8025019C 25081B44 */ addiu $t0, $t0, %lo(D_PAL_80271B44) +/* 144FE0 802501A0 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 144FE4 802501A4 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 144FE8 802501A8 24070001 */ addiu $a3, $zero, 0x1 +/* 144FEC 802501AC 00481021 */ addu $v0, $v0, $t0 +/* 144FF0 802501B0 90450000 */ lbu $a1, 0x0($v0) +/* 144FF4 802501B4 2408000A */ addiu $t0, $zero, 0xA +/* 144FF8 802501B8 AFA80010 */ sw $t0, 0x10($sp) +/* 144FFC 802501BC 8FA80054 */ lw $t0, 0x54($sp) +/* 145000 802501C0 240200FF */ addiu $v0, $zero, 0xFF +/* 145004 802501C4 AFA20014 */ sw $v0, 0x14($sp) +/* 145008 802501C8 24020003 */ addiu $v0, $zero, 0x3 +/* 14500C 802501CC AFA20018 */ sw $v0, 0x18($sp) +/* 145010 802501D0 0C04986F */ jal draw_number +/* 145014 802501D4 01052821 */ addu $a1, $t0, $a1 +/* 145018 802501D8 1A200011 */ blez $s1, .Lpause_80250220 +/* 14501C 802501DC 03D73021 */ addu $a2, $fp, $s7 +/* 145020 802501E0 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 145024 802501E4 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 145028 802501E8 3C088027 */ lui $t0, %hi(D_PAL_80271B44) +/* 14502C 802501EC 25081B44 */ addiu $t0, $t0, %lo(D_PAL_80271B44) +/* 145030 802501F0 00481021 */ addu $v0, $v0, $t0 +/* 145034 802501F4 90450000 */ lbu $a1, 0x0($v0) +/* 145038 802501F8 8FA80054 */ lw $t0, 0x54($sp) +/* 14503C 802501FC 3C048027 */ lui $a0, %hi(gPausePartnersIconIDs) +/* 145040 80250200 8C842A10 */ lw $a0, %lo(gPausePartnersIconIDs)($a0) +/* 145044 80250204 01052821 */ addu $a1, $t0, $a1 +/* 145048 80250208 0C050D4D */ jal hud_element_set_render_pos +/* 14504C 8025020C 24A50009 */ addiu $a1, $a1, 0x9 +/* 145050 80250210 3C048027 */ lui $a0, %hi(gPausePartnersIconIDs) +/* 145054 80250214 8C842A10 */ lw $a0, %lo(gPausePartnersIconIDs)($a0) +/* 145058 80250218 0C050CE4 */ jal hud_element_draw_without_clipping +/* 14505C 8025021C 00000000 */ nop +.Lpause_80250220: +/* 145060 80250220 26F7000D */ addiu $s7, $s7, 0xD +/* 145064 80250224 2694000D */ addiu $s4, $s4, 0xD +/* 145068 80250228 26D6000D */ addiu $s6, $s6, 0xD +/* 14506C 8025022C 26520001 */ addiu $s2, $s2, 0x1 +/* 145070 80250230 2A420004 */ slti $v0, $s2, 0x4 +/* 145074 80250234 1440FF7E */ bnez $v0, .Lpause_80250030 +/* 145078 80250238 26730001 */ addiu $s3, $s3, 0x1 +/* 14507C 8025023C 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab) +/* 145080 80250240 806324A4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1) +/* 145084 80250244 24020004 */ addiu $v0, $zero, 0x4 +/* 145088 80250248 14620010 */ bne $v1, $v0, .Lpause_8025028C +/* 14508C 8025024C 24020001 */ addiu $v0, $zero, 0x1 +/* 145090 80250250 3C038027 */ lui $v1, %hi(gPausePartnersLevel) +/* 145094 80250254 8C632A7C */ lw $v1, %lo(gPausePartnersLevel)($v1) +/* 145098 80250258 1462000C */ bne $v1, $v0, .Lpause_8025028C +/* 14509C 8025025C 24040024 */ addiu $a0, $zero, 0x24 +/* 1450A0 80250260 8FA80054 */ lw $t0, 0x54($sp) +/* 1450A4 80250264 3C028027 */ lui $v0, %hi(gPausePartnersSelectedMove) +/* 1450A8 80250268 8C422A74 */ lw $v0, %lo(gPausePartnersSelectedMove)($v0) +/* 1450AC 8025026C 2505FFFE */ addiu $a1, $t0, -0x2 +/* 1450B0 80250270 00023040 */ sll $a2, $v0, 1 +/* 1450B4 80250274 00C23021 */ addu $a2, $a2, $v0 +/* 1450B8 80250278 00063080 */ sll $a2, $a2, 2 +/* 1450BC 8025027C 00C23021 */ addu $a2, $a2, $v0 +/* 1450C0 80250280 24C6001C */ addiu $a2, $a2, 0x1C +/* 1450C4 80250284 0C091B05 */ jal pause_set_cursor_pos +/* 1450C8 80250288 03C63021 */ addu $a2, $fp, $a2 +.Lpause_8025028C: +/* 1450CC 8025028C 8FBF004C */ lw $ra, 0x4C($sp) +/* 1450D0 80250290 8FBE0048 */ lw $fp, 0x48($sp) +/* 1450D4 80250294 8FB70044 */ lw $s7, 0x44($sp) +/* 1450D8 80250298 8FB60040 */ lw $s6, 0x40($sp) +/* 1450DC 8025029C 8FB5003C */ lw $s5, 0x3C($sp) +/* 1450E0 802502A0 8FB40038 */ lw $s4, 0x38($sp) +/* 1450E4 802502A4 8FB30034 */ lw $s3, 0x34($sp) +/* 1450E8 802502A8 8FB20030 */ lw $s2, 0x30($sp) +/* 1450EC 802502AC 8FB1002C */ lw $s1, 0x2C($sp) +/* 1450F0 802502B0 8FB00028 */ lw $s0, 0x28($sp) +/* 1450F4 802502B4 03E00008 */ jr $ra +/* 1450F8 802502B8 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_draw_movelist_title.s b/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_draw_movelist_title.s new file mode 100644 index 0000000000..9fb9bfe7ad --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_draw_movelist_title.s @@ -0,0 +1,33 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_partners_draw_movelist_title +/* 1450FC 802502BC 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 145100 802502C0 AFB00018 */ sw $s0, 0x18($sp) +/* 145104 802502C4 00A0802D */ daddu $s0, $a1, $zero +/* 145108 802502C8 AFB1001C */ sw $s1, 0x1C($sp) +/* 14510C 802502CC 00C0882D */ daddu $s1, $a2, $zero +/* 145110 802502D0 AFBF0020 */ sw $ra, 0x20($sp) +/* 145114 802502D4 0C094C60 */ jal pause_get_menu_msg +/* 145118 802502D8 24040051 */ addiu $a0, $zero, 0x51 +/* 14511C 802502DC 0040202D */ daddu $a0, $v0, $zero +/* 145120 802502E0 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 145124 802502E4 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 145128 802502E8 2402FFFF */ addiu $v0, $zero, -0x1 +/* 14512C 802502EC 3C058027 */ lui $a1, %hi(D_PAL_80271B38) +/* 145130 802502F0 00A32821 */ addu $a1, $a1, $v1 +/* 145134 802502F4 90A51B38 */ lbu $a1, %lo(D_PAL_80271B38)($a1) +/* 145138 802502F8 240700FF */ addiu $a3, $zero, 0xFF +/* 14513C 802502FC AFA20010 */ sw $v0, 0x10($sp) +/* 145140 80250300 24020001 */ addiu $v0, $zero, 0x1 +/* 145144 80250304 02223021 */ addu $a2, $s1, $v0 +/* 145148 80250308 AFA20014 */ sw $v0, 0x14($sp) +/* 14514C 8025030C 0C049403 */ jal draw_msg +/* 145150 80250310 02052821 */ addu $a1, $s0, $a1 +/* 145154 80250314 8FBF0020 */ lw $ra, 0x20($sp) +/* 145158 80250318 8FB1001C */ lw $s1, 0x1C($sp) +/* 14515C 8025031C 8FB00018 */ lw $s0, 0x18($sp) +/* 145160 80250320 03E00008 */ jr $ra +/* 145164 80250324 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_init.s b/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_init.s new file mode 100644 index 0000000000..d2eee43879 --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_partners/pause_partners_init.s @@ -0,0 +1,197 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_partners_init +/* 1451A8 80250368 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 1451AC 8025036C AFB40020 */ sw $s4, 0x20($sp) +/* 1451B0 80250370 0080A02D */ daddu $s4, $a0, $zero +/* 1451B4 80250374 AFBF0024 */ sw $ra, 0x24($sp) +/* 1451B8 80250378 AFB3001C */ sw $s3, 0x1C($sp) +/* 1451BC 8025037C AFB20018 */ sw $s2, 0x18($sp) +/* 1451C0 80250380 AFB10014 */ sw $s1, 0x14($sp) +/* 1451C4 80250384 0C038F35 */ jal get_player_data +/* 1451C8 80250388 AFB00010 */ sw $s0, 0x10($sp) +/* 1451CC 8025038C 0040982D */ daddu $s3, $v0, $zero +/* 1451D0 80250390 3C028027 */ lui $v0, %hi(gPausePartnersNumPartners) +/* 1451D4 80250394 24422A80 */ addiu $v0, $v0, %lo(gPausePartnersNumPartners) +/* 1451D8 80250398 0000802D */ daddu $s0, $zero, $zero +/* 1451DC 8025039C 3C068027 */ lui $a2, %hi(gPausePartnersPartnerIdx) +/* 1451E0 802503A0 24C62A50 */ addiu $a2, $a2, %lo(gPausePartnersPartnerIdx) +/* 1451E4 802503A4 0040282D */ daddu $a1, $v0, $zero +/* 1451E8 802503A8 3C048025 */ lui $a0, %hi(gPausePartnersPartnerIDs) +/* 1451EC 802503AC 24843C00 */ addiu $a0, $a0, %lo(gPausePartnersPartnerIDs) +/* 1451F0 802503B0 AC400000 */ sw $zero, 0x0($v0) +.Lpause_802503B4: +/* 1451F4 802503B4 8C820000 */ lw $v0, 0x0($a0) +/* 1451F8 802503B8 000210C0 */ sll $v0, $v0, 3 +/* 1451FC 802503BC 02621021 */ addu $v0, $s3, $v0 +/* 145200 802503C0 90420014 */ lbu $v0, 0x14($v0) +/* 145204 802503C4 50400008 */ beql $v0, $zero, .Lpause_802503E8 +/* 145208 802503C8 26100001 */ addiu $s0, $s0, 0x1 +/* 14520C 802503CC 8CA30000 */ lw $v1, 0x0($a1) +/* 145210 802503D0 00031080 */ sll $v0, $v1, 2 +/* 145214 802503D4 00461021 */ addu $v0, $v0, $a2 +/* 145218 802503D8 24630001 */ addiu $v1, $v1, 0x1 +/* 14521C 802503DC AC500000 */ sw $s0, 0x0($v0) +/* 145220 802503E0 ACA30000 */ sw $v1, 0x0($a1) +/* 145224 802503E4 26100001 */ addiu $s0, $s0, 0x1 +.Lpause_802503E8: +/* 145228 802503E8 2A020008 */ slti $v0, $s0, 0x8 +/* 14522C 802503EC 1440FFF1 */ bnez $v0, .Lpause_802503B4 +/* 145230 802503F0 24840004 */ addiu $a0, $a0, 0x4 +/* 145234 802503F4 3C028027 */ lui $v0, %hi(gPausePartnersNumPartners) +/* 145238 802503F8 8C422A80 */ lw $v0, %lo(gPausePartnersNumPartners)($v0) +/* 14523C 802503FC 1440000A */ bnez $v0, .Lpause_80250428 +/* 145240 80250400 0000802D */ daddu $s0, $zero, $zero +/* 145244 80250404 24040022 */ addiu $a0, $zero, 0x22 +/* 145248 80250408 0C051A8B */ jal set_window_update +/* 14524C 8025040C 24050002 */ addiu $a1, $zero, 0x2 +/* 145250 80250410 08094185 */ j .Lpause_80250614 +/* 145254 80250414 A2800000 */ sb $zero, 0x0($s4) +.Lpause_80250418: +/* 145258 80250418 3C018027 */ lui $at, %hi(gPausePartnersCurrentPartnerIdx) +/* 14525C 8025041C AC302A70 */ sw $s0, %lo(gPausePartnersCurrentPartnerIdx)($at) +/* 145260 80250420 08094165 */ j .Lpause_80250594 +/* 145264 80250424 00000000 */ nop +.Lpause_80250428: +/* 145268 80250428 3C128027 */ lui $s2, %hi(gPausePartnersSpriteIDs) +/* 14526C 8025042C 26522A30 */ addiu $s2, $s2, %lo(gPausePartnersSpriteIDs) +/* 145270 80250430 3C118025 */ lui $s1, %hi(gPausePartnersSpriteAnims) +/* 145274 80250434 26313B80 */ addiu $s1, $s1, %lo(gPausePartnersSpriteAnims) +.Lpause_80250438: +/* 145278 80250438 0220282D */ daddu $a1, $s1, $zero +/* 14527C 8025043C 8E240000 */ lw $a0, 0x0($s1) +/* 145280 80250440 26310010 */ addiu $s1, $s1, 0x10 +/* 145284 80250444 0C0B90F3 */ jal spr_load_npc_sprite +/* 145288 80250448 26100001 */ addiu $s0, $s0, 0x1 +/* 14528C 8025044C AE420000 */ sw $v0, 0x0($s2) +/* 145290 80250450 2A020008 */ slti $v0, $s0, 0x8 +/* 145294 80250454 1440FFF8 */ bnez $v0, .Lpause_80250438 +/* 145298 80250458 26520004 */ addiu $s2, $s2, 0x4 +/* 14529C 8025045C 0000802D */ daddu $s0, $zero, $zero +/* 1452A0 80250460 3C128025 */ lui $s2, %hi(gPausePartnersIconScripts) +/* 1452A4 80250464 26523AF0 */ addiu $s2, $s2, %lo(gPausePartnersIconScripts) +/* 1452A8 80250468 3C118027 */ lui $s1, %hi(gPausePartnersIconIDs) +/* 1452AC 8025046C 26312A10 */ addiu $s1, $s1, %lo(gPausePartnersIconIDs) +.Lpause_80250470: +/* 1452B0 80250470 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 1452B4 80250474 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 1452B8 80250478 00101080 */ sll $v0, $s0, 2 +/* 1452BC 8025047C 00031940 */ sll $v1, $v1, 5 +/* 1452C0 80250480 00431021 */ addu $v0, $v0, $v1 +/* 1452C4 80250484 00521021 */ addu $v0, $v0, $s2 +/* 1452C8 80250488 8C440000 */ lw $a0, 0x0($v0) +/* 1452CC 8025048C 0C050015 */ jal hud_element_create +/* 1452D0 80250490 26100001 */ addiu $s0, $s0, 0x1 +/* 1452D4 80250494 0040202D */ daddu $a0, $v0, $zero +/* 1452D8 80250498 24050080 */ addiu $a1, $zero, 0x80 +/* 1452DC 8025049C 0C050D6C */ jal hud_element_set_flags +/* 1452E0 802504A0 AE240000 */ sw $a0, 0x0($s1) +/* 1452E4 802504A4 2A020008 */ slti $v0, $s0, 0x8 +/* 1452E8 802504A8 1440FFF1 */ bnez $v0, .Lpause_80250470 +/* 1452EC 802504AC 26310004 */ addiu $s1, $s1, 0x4 +/* 1452F0 802504B0 24100004 */ addiu $s0, $zero, 0x4 +/* 1452F4 802504B4 3C028025 */ lui $v0, %hi(gPausePartnersWindowBPs+0x90) +/* 1452F8 802504B8 24423DA8 */ addiu $v0, $v0, %lo(gPausePartnersWindowBPs+0x90) +.Lpause_802504BC: +/* 1452FC 802504BC AC540010 */ sw $s4, 0x10($v0) +/* 145300 802504C0 2610FFFF */ addiu $s0, $s0, -0x1 +/* 145304 802504C4 0601FFFD */ bgez $s0, .Lpause_802504BC +/* 145308 802504C8 2442FFDC */ addiu $v0, $v0, -0x24 +/* 14530C 802504CC 3C048025 */ lui $a0, %hi(gPausePartnersWindowBPs) +/* 145310 802504D0 24843D18 */ addiu $a0, $a0, %lo(gPausePartnersWindowBPs) +/* 145314 802504D4 0C051AB8 */ jal setup_pause_menu_tab +/* 145318 802504D8 24050005 */ addiu $a1, $zero, 0x5 +/* 14531C 802504DC 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 145320 802504E0 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 145324 802504E4 3C028027 */ lui $v0, %hi(D_PAL_80271B50) +/* 145328 802504E8 00431021 */ addu $v0, $v0, $v1 +/* 14532C 802504EC 90421B50 */ lbu $v0, %lo(D_PAL_80271B50)($v0) +/* 145330 802504F0 3C048016 */ lui $a0, %hi(gWindows) +/* 145334 802504F4 24848910 */ addiu $a0, $a0, %lo(gWindows) +/* 145338 802504F8 A48204B0 */ sh $v0, 0x4B0($a0) +/* 14533C 802504FC 3C028027 */ lui $v0, %hi(D_PAL_80271B4C) +/* 145340 80250500 00431021 */ addu $v0, $v0, $v1 +/* 145344 80250504 90421B4C */ lbu $v0, %lo(D_PAL_80271B4C)($v0) +/* 145348 80250508 A48204AC */ sh $v0, 0x4AC($a0) +/* 14534C 8025050C 3C028027 */ lui $v0, %hi(D_PAL_80271B40) +/* 145350 80250510 00431021 */ addu $v0, $v0, $v1 +/* 145354 80250514 90421B40 */ lbu $v0, %lo(D_PAL_80271B40)($v0) +/* 145358 80250518 A4820490 */ sh $v0, 0x490($a0) +/* 14535C 8025051C 3C028027 */ lui $v0, %hi(D_PAL_80271B3C) +/* 145360 80250520 00431021 */ addu $v0, $v0, $v1 +/* 145364 80250524 90421B3C */ lbu $v0, %lo(D_PAL_80271B3C)($v0) +/* 145368 80250528 A482048C */ sh $v0, 0x48C($a0) +/* 14536C 8025052C 3C028027 */ lui $v0, %hi(D_PAL_80271B48) +/* 145370 80250530 00431021 */ addu $v0, $v0, $v1 +/* 145374 80250534 90421B48 */ lbu $v0, %lo(D_PAL_80271B48)($v0) +/* 145378 80250538 3C038027 */ lui $v1, %hi(gPausePartnersNumPartners) +/* 14537C 8025053C 8C632A80 */ lw $v1, %lo(gPausePartnersNumPartners)($v1) +/* 145380 80250540 0000802D */ daddu $s0, $zero, $zero +/* 145384 80250544 3C018027 */ lui $at, %hi(gPausePartnersCurrentPartnerIdx) +/* 145388 80250548 AC202A70 */ sw $zero, %lo(gPausePartnersCurrentPartnerIdx)($at) +/* 14538C 8025054C 18600011 */ blez $v1, .Lpause_80250594 +/* 145390 80250550 A48204CC */ sh $v0, 0x4CC($a0) +/* 145394 80250554 82650012 */ lb $a1, 0x12($s3) +/* 145398 80250558 3C068025 */ lui $a2, %hi(gPausePartnersPartnerIDs) +/* 14539C 8025055C 24C63C00 */ addiu $a2, $a2, %lo(gPausePartnersPartnerIDs) +/* 1453A0 80250560 0060202D */ daddu $a0, $v1, $zero +/* 1453A4 80250564 3C038027 */ lui $v1, %hi(gPausePartnersPartnerIdx) +/* 1453A8 80250568 24632A50 */ addiu $v1, $v1, %lo(gPausePartnersPartnerIdx) +.Lpause_8025056C: +/* 1453AC 8025056C 8C620000 */ lw $v0, 0x0($v1) +/* 1453B0 80250570 00021080 */ sll $v0, $v0, 2 +/* 1453B4 80250574 00461021 */ addu $v0, $v0, $a2 +/* 1453B8 80250578 8C420000 */ lw $v0, 0x0($v0) +/* 1453BC 8025057C 10A2FFA6 */ beq $a1, $v0, .Lpause_80250418 +/* 1453C0 80250580 00000000 */ nop +/* 1453C4 80250584 26100001 */ addiu $s0, $s0, 0x1 +/* 1453C8 80250588 0204102A */ slt $v0, $s0, $a0 +/* 1453CC 8025058C 1440FFF7 */ bnez $v0, .Lpause_8025056C +/* 1453D0 80250590 24630004 */ addiu $v1, $v1, 0x4 +.Lpause_80250594: +/* 1453D4 80250594 3C028027 */ lui $v0, %hi(gPausePartnersCurrentPartnerIdx) +/* 1453D8 80250598 8C422A70 */ lw $v0, %lo(gPausePartnersCurrentPartnerIdx)($v0) +/* 1453DC 8025059C 00021840 */ sll $v1, $v0, 1 +/* 1453E0 802505A0 00621821 */ addu $v1, $v1, $v0 +/* 1453E4 802505A4 00031100 */ sll $v0, $v1, 4 +/* 1453E8 802505A8 00431023 */ subu $v0, $v0, $v1 +/* 1453EC 802505AC 3C038027 */ lui $v1, %hi(gPausePartnersNumPartners) +/* 1453F0 802505B0 8C632A80 */ lw $v1, %lo(gPausePartnersNumPartners)($v1) +/* 1453F4 802505B4 000210C0 */ sll $v0, $v0, 3 +/* 1453F8 802505B8 14600002 */ bnez $v1, .Lpause_802505C4 +/* 1453FC 802505BC 0043001A */ div $zero, $v0, $v1 +/* 145400 802505C0 0007000D */ break 7 +.Lpause_802505C4: +/* 145404 802505C4 2401FFFF */ addiu $at, $zero, -0x1 +/* 145408 802505C8 14610004 */ bne $v1, $at, .Lpause_802505DC +/* 14540C 802505CC 3C018000 */ lui $at, (0x80000000 >> 16) +/* 145410 802505D0 14410002 */ bne $v0, $at, .Lpause_802505DC +/* 145414 802505D4 00000000 */ nop +/* 145418 802505D8 0006000D */ break 6 +.Lpause_802505DC: +/* 14541C 802505DC 00001012 */ mflo $v0 +/* 145420 802505E0 3C018027 */ lui $at, %hi(gPausePartnersSelectedMove) +/* 145424 802505E4 AC202A74 */ sw $zero, %lo(gPausePartnersSelectedMove)($at) +/* 145428 802505E8 3C018027 */ lui $at, %hi(gPausePartnersLevel) +/* 14542C 802505EC AC202A7C */ sw $zero, %lo(gPausePartnersLevel)($at) +/* 145430 802505F0 44820000 */ mtc1 $v0, $f0 +/* 145434 802505F4 00000000 */ nop +/* 145438 802505F8 46800020 */ cvt.s.w $f0, $f0 +/* 14543C 802505FC 3C018027 */ lui $at, %hi(gPausePartnersRotAngle) +/* 145440 80250600 E4202A78 */ swc1 $f0, %lo(gPausePartnersRotAngle)($at) +/* 145444 80250604 0C093C08 */ jal pause_partners_load_portrait +/* 145448 80250608 0000202D */ daddu $a0, $zero, $zero +/* 14544C 8025060C 24020001 */ addiu $v0, $zero, 0x1 +/* 145450 80250610 A2820000 */ sb $v0, 0x0($s4) +.Lpause_80250614: +/* 145454 80250614 8FBF0024 */ lw $ra, 0x24($sp) +/* 145458 80250618 8FB40020 */ lw $s4, 0x20($sp) +/* 14545C 8025061C 8FB3001C */ lw $s3, 0x1C($sp) +/* 145460 80250620 8FB20018 */ lw $s2, 0x18($sp) +/* 145464 80250624 8FB10014 */ lw $s1, 0x14($sp) +/* 145468 80250628 8FB00010 */ lw $s0, 0x10($sp) +/* 14546C 8025062C 03E00008 */ jr $ra +/* 145470 80250630 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/pal/asm/nonmatchings/pause/pause_stats/pause_stats_draw_contents.s b/ver/pal/asm/nonmatchings/pause/pause_stats/pause_stats_draw_contents.s new file mode 100644 index 0000000000..6103057ded --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_stats/pause_stats_draw_contents.s @@ -0,0 +1,1229 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_stats_draw_contents +/* 13E6F0 802498B0 27BDFF80 */ addiu $sp, $sp, -0x80 +/* 13E6F4 802498B4 AFB70074 */ sw $s7, 0x74($sp) +/* 13E6F8 802498B8 00A0B82D */ daddu $s7, $a1, $zero +/* 13E6FC 802498BC AFBE0078 */ sw $fp, 0x78($sp) +/* 13E700 802498C0 00C0F02D */ daddu $fp, $a2, $zero +/* 13E704 802498C4 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13E708 802498C8 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13E70C 802498CC 27C6006D */ addiu $a2, $fp, 0x6D +/* 13E710 802498D0 AFBF007C */ sw $ra, 0x7C($sp) +/* 13E714 802498D4 AFB60070 */ sw $s6, 0x70($sp) +/* 13E718 802498D8 AFB5006C */ sw $s5, 0x6C($sp) +/* 13E71C 802498DC AFB40068 */ sw $s4, 0x68($sp) +/* 13E720 802498E0 AFB30064 */ sw $s3, 0x64($sp) +/* 13E724 802498E4 AFB20060 */ sw $s2, 0x60($sp) +/* 13E728 802498E8 AFB1005C */ sw $s1, 0x5C($sp) +/* 13E72C 802498EC AFB00058 */ sw $s0, 0x58($sp) +/* 13E730 802498F0 AFA40080 */ sw $a0, 0x80($sp) +/* 13E734 802498F4 3C058027 */ lui $a1, %hi(D_PAL_80271B24) +/* 13E738 802498F8 00A22821 */ addu $a1, $a1, $v0 +/* 13E73C 802498FC 90A51B24 */ lbu $a1, %lo(D_PAL_80271B24)($a1) +/* 13E740 80249900 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0xC) +/* 13E744 80249904 8C84252C */ lw $a0, %lo(gPauseStatsIconIDs+0xC)($a0) +/* 13E748 80249908 0C050D4D */ jal hud_element_set_render_pos +/* 13E74C 8024990C 02E52821 */ addu $a1, $s7, $a1 +/* 13E750 80249910 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0xC) +/* 13E754 80249914 8C84252C */ lw $a0, %lo(gPauseStatsIconIDs+0xC)($a0) +/* 13E758 80249918 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13E75C 8024991C 27D00065 */ addiu $s0, $fp, 0x65 +/* 13E760 80249920 0C094C60 */ jal pause_get_menu_msg +/* 13E764 80249924 2404002E */ addiu $a0, $zero, 0x2E +/* 13E768 80249928 0040202D */ daddu $a0, $v0, $zero +/* 13E76C 8024992C 0200302D */ daddu $a2, $s0, $zero +/* 13E770 80249930 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13E774 80249934 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13E778 80249938 240700FF */ addiu $a3, $zero, 0xFF +/* 13E77C 8024993C 3C058027 */ lui $a1, %hi(D_PAL_80271B28) +/* 13E780 80249940 00A22821 */ addu $a1, $a1, $v0 +/* 13E784 80249944 90A51B28 */ lbu $a1, %lo(D_PAL_80271B28)($a1) +/* 13E788 80249948 2408000A */ addiu $t0, $zero, 0xA +/* 13E78C 8024994C AFA80010 */ sw $t0, 0x10($sp) +/* 13E790 80249950 24080001 */ addiu $t0, $zero, 0x1 +/* 13E794 80249954 AFA80014 */ sw $t0, 0x14($sp) +/* 13E798 80249958 0C049403 */ jal draw_msg +/* 13E79C 8024995C 02E52821 */ addu $a1, $s7, $a1 +/* 13E7A0 80249960 26F30119 */ addiu $s3, $s7, 0x119 +/* 13E7A4 80249964 0260282D */ daddu $a1, $s3, $zero +/* 13E7A8 80249968 0200302D */ daddu $a2, $s0, $zero +/* 13E7AC 8024996C 24070001 */ addiu $a3, $zero, 0x1 +/* 13E7B0 80249970 2408000A */ addiu $t0, $zero, 0xA +/* 13E7B4 80249974 AFA80010 */ sw $t0, 0x10($sp) +/* 13E7B8 80249978 240800FF */ addiu $t0, $zero, 0xFF +/* 13E7BC 8024997C 3C048011 */ lui $a0, %hi(gPlayerData+0xC) +/* 13E7C0 80249980 8484DD9C */ lh $a0, %lo(gPlayerData+0xC)($a0) +/* 13E7C4 80249984 24110003 */ addiu $s1, $zero, 0x3 +/* 13E7C8 80249988 AFA80014 */ sw $t0, 0x14($sp) +/* 13E7CC 8024998C 0C04986F */ jal draw_number +/* 13E7D0 80249990 AFB10018 */ sw $s1, 0x18($sp) +/* 13E7D4 80249994 26F200F8 */ addiu $s2, $s7, 0xF8 +/* 13E7D8 80249998 0240282D */ daddu $a1, $s2, $zero +/* 13E7DC 8024999C 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x2C) +/* 13E7E0 802499A0 8C84254C */ lw $a0, %lo(gPauseStatsIconIDs+0x2C)($a0) +/* 13E7E4 802499A4 0C050D4D */ jal hud_element_set_render_pos +/* 13E7E8 802499A8 27C6006C */ addiu $a2, $fp, 0x6C +/* 13E7EC 802499AC 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x2C) +/* 13E7F0 802499B0 8C84254C */ lw $a0, %lo(gPauseStatsIconIDs+0x2C)($a0) +/* 13E7F4 802499B4 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13E7F8 802499B8 27D00056 */ addiu $s0, $fp, 0x56 +/* 13E7FC 802499BC 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13E800 802499C0 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13E804 802499C4 27C6005E */ addiu $a2, $fp, 0x5E +/* 13E808 802499C8 3C058027 */ lui $a1, %hi(D_PAL_80271B24) +/* 13E80C 802499CC 00A22821 */ addu $a1, $a1, $v0 +/* 13E810 802499D0 90A51B24 */ lbu $a1, %lo(D_PAL_80271B24)($a1) +/* 13E814 802499D4 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x10) +/* 13E818 802499D8 8C842530 */ lw $a0, %lo(gPauseStatsIconIDs+0x10)($a0) +/* 13E81C 802499DC 0C050D4D */ jal hud_element_set_render_pos +/* 13E820 802499E0 02E52821 */ addu $a1, $s7, $a1 +/* 13E824 802499E4 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x10) +/* 13E828 802499E8 8C842530 */ lw $a0, %lo(gPauseStatsIconIDs+0x10)($a0) +/* 13E82C 802499EC 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13E830 802499F0 27D4007B */ addiu $s4, $fp, 0x7B +/* 13E834 802499F4 0C094C60 */ jal pause_get_menu_msg +/* 13E838 802499F8 2404002F */ addiu $a0, $zero, 0x2F +/* 13E83C 802499FC 0040202D */ daddu $a0, $v0, $zero +/* 13E840 80249A00 0200302D */ daddu $a2, $s0, $zero +/* 13E844 80249A04 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13E848 80249A08 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13E84C 80249A0C 240700FF */ addiu $a3, $zero, 0xFF +/* 13E850 80249A10 3C058027 */ lui $a1, %hi(D_PAL_80271B28) +/* 13E854 80249A14 00A22821 */ addu $a1, $a1, $v0 +/* 13E858 80249A18 90A51B28 */ lbu $a1, %lo(D_PAL_80271B28)($a1) +/* 13E85C 80249A1C 2408000A */ addiu $t0, $zero, 0xA +/* 13E860 80249A20 AFA80010 */ sw $t0, 0x10($sp) +/* 13E864 80249A24 24080001 */ addiu $t0, $zero, 0x1 +/* 13E868 80249A28 AFA80014 */ sw $t0, 0x14($sp) +/* 13E86C 80249A2C 0C049403 */ jal draw_msg +/* 13E870 80249A30 02E52821 */ addu $a1, $s7, $a1 +/* 13E874 80249A34 0260282D */ daddu $a1, $s3, $zero +/* 13E878 80249A38 0200302D */ daddu $a2, $s0, $zero +/* 13E87C 80249A3C 24070001 */ addiu $a3, $zero, 0x1 +/* 13E880 80249A40 3C048011 */ lui $a0, %hi(gPlayerData+0x10) +/* 13E884 80249A44 8084DDA0 */ lb $a0, %lo(gPlayerData+0x10)($a0) +/* 13E888 80249A48 2408000A */ addiu $t0, $zero, 0xA +/* 13E88C 80249A4C AFA80010 */ sw $t0, 0x10($sp) +/* 13E890 80249A50 240800FF */ addiu $t0, $zero, 0xFF +/* 13E894 80249A54 AFA80014 */ sw $t0, 0x14($sp) +/* 13E898 80249A58 0C04986F */ jal draw_number +/* 13E89C 80249A5C AFB10018 */ sw $s1, 0x18($sp) +/* 13E8A0 80249A60 0240282D */ daddu $a1, $s2, $zero +/* 13E8A4 80249A64 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x2C) +/* 13E8A8 80249A68 8C84254C */ lw $a0, %lo(gPauseStatsIconIDs+0x2C)($a0) +/* 13E8AC 80249A6C 0C050D4D */ jal hud_element_set_render_pos +/* 13E8B0 80249A70 27C6005D */ addiu $a2, $fp, 0x5D +/* 13E8B4 80249A74 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x2C) +/* 13E8B8 80249A78 8C84254C */ lw $a0, %lo(gPauseStatsIconIDs+0x2C)($a0) +/* 13E8BC 80249A7C 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13E8C0 80249A80 27D00074 */ addiu $s0, $fp, 0x74 +/* 13E8C4 80249A84 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13E8C8 80249A88 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13E8CC 80249A8C 0280302D */ daddu $a2, $s4, $zero +/* 13E8D0 80249A90 3C058027 */ lui $a1, %hi(D_PAL_80271B24) +/* 13E8D4 80249A94 00A22821 */ addu $a1, $a1, $v0 +/* 13E8D8 80249A98 90A51B24 */ lbu $a1, %lo(D_PAL_80271B24)($a1) +/* 13E8DC 80249A9C 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x14) +/* 13E8E0 80249AA0 8C842534 */ lw $a0, %lo(gPauseStatsIconIDs+0x14)($a0) +/* 13E8E4 80249AA4 0C050D4D */ jal hud_element_set_render_pos +/* 13E8E8 80249AA8 02E52821 */ addu $a1, $s7, $a1 +/* 13E8EC 80249AAC 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x14) +/* 13E8F0 80249AB0 8C842534 */ lw $a0, %lo(gPauseStatsIconIDs+0x14)($a0) +/* 13E8F4 80249AB4 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13E8F8 80249AB8 26F50015 */ addiu $s5, $s7, 0x15 +/* 13E8FC 80249ABC 0C094C60 */ jal pause_get_menu_msg +/* 13E900 80249AC0 24040030 */ addiu $a0, $zero, 0x30 +/* 13E904 80249AC4 0040202D */ daddu $a0, $v0, $zero +/* 13E908 80249AC8 0200302D */ daddu $a2, $s0, $zero +/* 13E90C 80249ACC 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13E910 80249AD0 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13E914 80249AD4 240700FF */ addiu $a3, $zero, 0xFF +/* 13E918 80249AD8 3C058027 */ lui $a1, %hi(D_PAL_80271B28) +/* 13E91C 80249ADC 00A22821 */ addu $a1, $a1, $v0 +/* 13E920 80249AE0 90A51B28 */ lbu $a1, %lo(D_PAL_80271B28)($a1) +/* 13E924 80249AE4 2408000A */ addiu $t0, $zero, 0xA +/* 13E928 80249AE8 AFA80010 */ sw $t0, 0x10($sp) +/* 13E92C 80249AEC 24080001 */ addiu $t0, $zero, 0x1 +/* 13E930 80249AF0 AFA80014 */ sw $t0, 0x14($sp) +/* 13E934 80249AF4 0C049403 */ jal draw_msg +/* 13E938 80249AF8 02E52821 */ addu $a1, $s7, $a1 +/* 13E93C 80249AFC 0260282D */ daddu $a1, $s3, $zero +/* 13E940 80249B00 0200302D */ daddu $a2, $s0, $zero +/* 13E944 80249B04 24070001 */ addiu $a3, $zero, 0x1 +/* 13E948 80249B08 3C048011 */ lui $a0, %hi(gPlayerData+0xF) +/* 13E94C 80249B0C 9084DD9F */ lbu $a0, %lo(gPlayerData+0xF)($a0) +/* 13E950 80249B10 2408000A */ addiu $t0, $zero, 0xA +/* 13E954 80249B14 AFA80010 */ sw $t0, 0x10($sp) +/* 13E958 80249B18 240800FF */ addiu $t0, $zero, 0xFF +/* 13E95C 80249B1C AFA80014 */ sw $t0, 0x14($sp) +/* 13E960 80249B20 0C04986F */ jal draw_number +/* 13E964 80249B24 AFB10018 */ sw $s1, 0x18($sp) +/* 13E968 80249B28 0240282D */ daddu $a1, $s2, $zero +/* 13E96C 80249B2C 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x2C) +/* 13E970 80249B30 8C84254C */ lw $a0, %lo(gPauseStatsIconIDs+0x2C)($a0) +/* 13E974 80249B34 0C050D4D */ jal hud_element_set_render_pos +/* 13E978 80249B38 0280302D */ daddu $a2, $s4, $zero +/* 13E97C 80249B3C 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x2C) +/* 13E980 80249B40 8C84254C */ lw $a0, %lo(gPauseStatsIconIDs+0x2C)($a0) +/* 13E984 80249B44 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13E988 80249B48 26F40034 */ addiu $s4, $s7, 0x34 +/* 13E98C 80249B4C 0000202D */ daddu $a0, $zero, $zero +/* 13E990 80249B50 02A0282D */ daddu $a1, $s5, $zero +/* 13E994 80249B54 27C80023 */ addiu $t0, $fp, 0x23 +/* 13E998 80249B58 0100302D */ daddu $a2, $t0, $zero +/* 13E99C 80249B5C 0C094C65 */ jal pause_draw_menu_label +/* 13E9A0 80249B60 AFA80050 */ sw $t0, 0x50($sp) +/* 13E9A4 80249B64 0280282D */ daddu $a1, $s4, $zero +/* 13E9A8 80249B68 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x1C) +/* 13E9AC 80249B6C 8C84253C */ lw $a0, %lo(gPauseStatsIconIDs+0x1C)($a0) +/* 13E9B0 80249B70 0C050D4D */ jal hud_element_set_render_pos +/* 13E9B4 80249B74 27C60039 */ addiu $a2, $fp, 0x39 +/* 13E9B8 80249B78 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x1C) +/* 13E9BC 80249B7C 8C84253C */ lw $a0, %lo(gPauseStatsIconIDs+0x1C)($a0) +/* 13E9C0 80249B80 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13E9C4 80249B84 26F30019 */ addiu $s3, $s7, 0x19 +/* 13E9C8 80249B88 0C094C60 */ jal pause_get_menu_msg +/* 13E9CC 80249B8C 24040032 */ addiu $a0, $zero, 0x32 +/* 13E9D0 80249B90 0040202D */ daddu $a0, $v0, $zero +/* 13E9D4 80249B94 0260282D */ daddu $a1, $s3, $zero +/* 13E9D8 80249B98 27D00033 */ addiu $s0, $fp, 0x33 +/* 13E9DC 80249B9C 0200302D */ daddu $a2, $s0, $zero +/* 13E9E0 80249BA0 240700FF */ addiu $a3, $zero, 0xFF +/* 13E9E4 80249BA4 24080001 */ addiu $t0, $zero, 0x1 +/* 13E9E8 80249BA8 AFA00010 */ sw $zero, 0x10($sp) +/* 13E9EC 80249BAC 0C049403 */ jal draw_msg +/* 13E9F0 80249BB0 AFA80014 */ sw $t0, 0x14($sp) +/* 13E9F4 80249BB4 26F2004E */ addiu $s2, $s7, 0x4E +/* 13E9F8 80249BB8 0240282D */ daddu $a1, $s2, $zero +/* 13E9FC 80249BBC 0200302D */ daddu $a2, $s0, $zero +/* 13EA00 80249BC0 24070001 */ addiu $a3, $zero, 0x1 +/* 13EA04 80249BC4 3C048011 */ lui $a0, %hi(gPlayerData+0x2) +/* 13EA08 80249BC8 8084DD92 */ lb $a0, %lo(gPlayerData+0x2)($a0) +/* 13EA0C 80249BCC 240800FF */ addiu $t0, $zero, 0xFF +/* 13EA10 80249BD0 AFA00010 */ sw $zero, 0x10($sp) +/* 13EA14 80249BD4 AFA80014 */ sw $t0, 0x14($sp) +/* 13EA18 80249BD8 0C04986F */ jal draw_number +/* 13EA1C 80249BDC AFB10018 */ sw $s1, 0x18($sp) +/* 13EA20 80249BE0 0C094C60 */ jal pause_get_menu_msg +/* 13EA24 80249BE4 24040035 */ addiu $a0, $zero, 0x35 +/* 13EA28 80249BE8 0040202D */ daddu $a0, $v0, $zero +/* 13EA2C 80249BEC 0240282D */ daddu $a1, $s2, $zero +/* 13EA30 80249BF0 0200302D */ daddu $a2, $s0, $zero +/* 13EA34 80249BF4 240700FF */ addiu $a3, $zero, 0xFF +/* 13EA38 80249BF8 24080001 */ addiu $t0, $zero, 0x1 +/* 13EA3C 80249BFC AFA00010 */ sw $zero, 0x10($sp) +/* 13EA40 80249C00 0C049403 */ jal draw_msg +/* 13EA44 80249C04 AFA80014 */ sw $t0, 0x14($sp) +/* 13EA48 80249C08 26F60069 */ addiu $s6, $s7, 0x69 +/* 13EA4C 80249C0C 02C0282D */ daddu $a1, $s6, $zero +/* 13EA50 80249C10 0200302D */ daddu $a2, $s0, $zero +/* 13EA54 80249C14 24070001 */ addiu $a3, $zero, 0x1 +/* 13EA58 80249C18 3C048011 */ lui $a0, %hi(gPlayerData+0x3) +/* 13EA5C 80249C1C 8084DD93 */ lb $a0, %lo(gPlayerData+0x3)($a0) +/* 13EA60 80249C20 240800FF */ addiu $t0, $zero, 0xFF +/* 13EA64 80249C24 AFA00010 */ sw $zero, 0x10($sp) +/* 13EA68 80249C28 AFA80014 */ sw $t0, 0x14($sp) +/* 13EA6C 80249C2C 0C04986F */ jal draw_number +/* 13EA70 80249C30 AFB10018 */ sw $s1, 0x18($sp) +/* 13EA74 80249C34 24040001 */ addiu $a0, $zero, 0x1 +/* 13EA78 80249C38 02A0282D */ daddu $a1, $s5, $zero +/* 13EA7C 80249C3C 27C80045 */ addiu $t0, $fp, 0x45 +/* 13EA80 80249C40 0100302D */ daddu $a2, $t0, $zero +/* 13EA84 80249C44 0C094C65 */ jal pause_draw_menu_label +/* 13EA88 80249C48 AFA80054 */ sw $t0, 0x54($sp) +/* 13EA8C 80249C4C 0280282D */ daddu $a1, $s4, $zero +/* 13EA90 80249C50 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x20) +/* 13EA94 80249C54 8C842540 */ lw $a0, %lo(gPauseStatsIconIDs+0x20)($a0) +/* 13EA98 80249C58 0C050D4D */ jal hud_element_set_render_pos +/* 13EA9C 80249C5C 27C6005C */ addiu $a2, $fp, 0x5C +/* 13EAA0 80249C60 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x20) +/* 13EAA4 80249C64 8C842540 */ lw $a0, %lo(gPauseStatsIconIDs+0x20)($a0) +/* 13EAA8 80249C68 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13EAAC 80249C6C 27D00055 */ addiu $s0, $fp, 0x55 +/* 13EAB0 80249C70 0C094C60 */ jal pause_get_menu_msg +/* 13EAB4 80249C74 24040033 */ addiu $a0, $zero, 0x33 +/* 13EAB8 80249C78 0040202D */ daddu $a0, $v0, $zero +/* 13EABC 80249C7C 0260282D */ daddu $a1, $s3, $zero +/* 13EAC0 80249C80 0200302D */ daddu $a2, $s0, $zero +/* 13EAC4 80249C84 240700FF */ addiu $a3, $zero, 0xFF +/* 13EAC8 80249C88 24080001 */ addiu $t0, $zero, 0x1 +/* 13EACC 80249C8C AFA00010 */ sw $zero, 0x10($sp) +/* 13EAD0 80249C90 0C049403 */ jal draw_msg +/* 13EAD4 80249C94 AFA80014 */ sw $t0, 0x14($sp) +/* 13EAD8 80249C98 0240282D */ daddu $a1, $s2, $zero +/* 13EADC 80249C9C 0200302D */ daddu $a2, $s0, $zero +/* 13EAE0 80249CA0 24070001 */ addiu $a3, $zero, 0x1 +/* 13EAE4 80249CA4 3C048011 */ lui $a0, %hi(gPlayerData+0x5) +/* 13EAE8 80249CA8 8084DD95 */ lb $a0, %lo(gPlayerData+0x5)($a0) +/* 13EAEC 80249CAC 240800FF */ addiu $t0, $zero, 0xFF +/* 13EAF0 80249CB0 AFA00010 */ sw $zero, 0x10($sp) +/* 13EAF4 80249CB4 AFA80014 */ sw $t0, 0x14($sp) +/* 13EAF8 80249CB8 0C04986F */ jal draw_number +/* 13EAFC 80249CBC AFB10018 */ sw $s1, 0x18($sp) +/* 13EB00 80249CC0 0C094C60 */ jal pause_get_menu_msg +/* 13EB04 80249CC4 24040035 */ addiu $a0, $zero, 0x35 +/* 13EB08 80249CC8 0040202D */ daddu $a0, $v0, $zero +/* 13EB0C 80249CCC 0240282D */ daddu $a1, $s2, $zero +/* 13EB10 80249CD0 0200302D */ daddu $a2, $s0, $zero +/* 13EB14 80249CD4 240700FF */ addiu $a3, $zero, 0xFF +/* 13EB18 80249CD8 24080001 */ addiu $t0, $zero, 0x1 +/* 13EB1C 80249CDC AFA00010 */ sw $zero, 0x10($sp) +/* 13EB20 80249CE0 0C049403 */ jal draw_msg +/* 13EB24 80249CE4 AFA80014 */ sw $t0, 0x14($sp) +/* 13EB28 80249CE8 02C0282D */ daddu $a1, $s6, $zero +/* 13EB2C 80249CEC 0200302D */ daddu $a2, $s0, $zero +/* 13EB30 80249CF0 24070001 */ addiu $a3, $zero, 0x1 +/* 13EB34 80249CF4 3C048011 */ lui $a0, %hi(gPlayerData+0x6) +/* 13EB38 80249CF8 8084DD96 */ lb $a0, %lo(gPlayerData+0x6)($a0) +/* 13EB3C 80249CFC 240800FF */ addiu $t0, $zero, 0xFF +/* 13EB40 80249D00 AFA00010 */ sw $zero, 0x10($sp) +/* 13EB44 80249D04 AFA80014 */ sw $t0, 0x14($sp) +/* 13EB48 80249D08 0C04986F */ jal draw_number +/* 13EB4C 80249D0C AFB10018 */ sw $s1, 0x18($sp) +/* 13EB50 80249D10 24040002 */ addiu $a0, $zero, 0x2 +/* 13EB54 80249D14 02A0282D */ daddu $a1, $s5, $zero +/* 13EB58 80249D18 0C094C65 */ jal pause_draw_menu_label +/* 13EB5C 80249D1C 27C60067 */ addiu $a2, $fp, 0x67 +/* 13EB60 80249D20 0280282D */ daddu $a1, $s4, $zero +/* 13EB64 80249D24 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x24) +/* 13EB68 80249D28 8C842544 */ lw $a0, %lo(gPauseStatsIconIDs+0x24)($a0) +/* 13EB6C 80249D2C 0C050D4D */ jal hud_element_set_render_pos +/* 13EB70 80249D30 27C6007E */ addiu $a2, $fp, 0x7E +/* 13EB74 80249D34 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x24) +/* 13EB78 80249D38 8C842544 */ lw $a0, %lo(gPauseStatsIconIDs+0x24)($a0) +/* 13EB7C 80249D3C 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13EB80 80249D40 27D00077 */ addiu $s0, $fp, 0x77 +/* 13EB84 80249D44 0C094C60 */ jal pause_get_menu_msg +/* 13EB88 80249D48 24040034 */ addiu $a0, $zero, 0x34 +/* 13EB8C 80249D4C 0040202D */ daddu $a0, $v0, $zero +/* 13EB90 80249D50 0260282D */ daddu $a1, $s3, $zero +/* 13EB94 80249D54 0200302D */ daddu $a2, $s0, $zero +/* 13EB98 80249D58 240700FF */ addiu $a3, $zero, 0xFF +/* 13EB9C 80249D5C 24080001 */ addiu $t0, $zero, 0x1 +/* 13EBA0 80249D60 AFA00010 */ sw $zero, 0x10($sp) +/* 13EBA4 80249D64 0C049403 */ jal draw_msg +/* 13EBA8 80249D68 AFA80014 */ sw $t0, 0x14($sp) +/* 13EBAC 80249D6C 0240282D */ daddu $a1, $s2, $zero +/* 13EBB0 80249D70 0200302D */ daddu $a2, $s0, $zero +/* 13EBB4 80249D74 24070001 */ addiu $a3, $zero, 0x1 +/* 13EBB8 80249D78 3C048011 */ lui $a0, %hi(gPlayerData+0x8) +/* 13EBBC 80249D7C 8084DD98 */ lb $a0, %lo(gPlayerData+0x8)($a0) +/* 13EBC0 80249D80 240800FF */ addiu $t0, $zero, 0xFF +/* 13EBC4 80249D84 AFA00010 */ sw $zero, 0x10($sp) +/* 13EBC8 80249D88 AFA80014 */ sw $t0, 0x14($sp) +/* 13EBCC 80249D8C 0C04986F */ jal draw_number +/* 13EBD0 80249D90 AFB10018 */ sw $s1, 0x18($sp) +/* 13EBD4 80249D94 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13EBD8 80249D98 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13EBDC 80249D9C 27C6008C */ addiu $a2, $fp, 0x8C +/* 13EBE0 80249DA0 3C058027 */ lui $a1, %hi(D_PAL_80271B24) +/* 13EBE4 80249DA4 00A22821 */ addu $a1, $a1, $v0 +/* 13EBE8 80249DA8 90A51B24 */ lbu $a1, %lo(D_PAL_80271B24)($a1) +/* 13EBEC 80249DAC 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x18) +/* 13EBF0 80249DB0 8C842538 */ lw $a0, %lo(gPauseStatsIconIDs+0x18)($a0) +/* 13EBF4 80249DB4 0C050D4D */ jal hud_element_set_render_pos +/* 13EBF8 80249DB8 02E52821 */ addu $a1, $s7, $a1 +/* 13EBFC 80249DBC 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x18) +/* 13EC00 80249DC0 8C842538 */ lw $a0, %lo(gPauseStatsIconIDs+0x18)($a0) +/* 13EC04 80249DC4 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13EC08 80249DC8 27D40085 */ addiu $s4, $fp, 0x85 +/* 13EC0C 80249DCC 0C094C60 */ jal pause_get_menu_msg +/* 13EC10 80249DD0 24040031 */ addiu $a0, $zero, 0x31 +/* 13EC14 80249DD4 0040202D */ daddu $a0, $v0, $zero +/* 13EC18 80249DD8 0280302D */ daddu $a2, $s4, $zero +/* 13EC1C 80249DDC 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13EC20 80249DE0 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13EC24 80249DE4 240700FF */ addiu $a3, $zero, 0xFF +/* 13EC28 80249DE8 3C058027 */ lui $a1, %hi(D_PAL_80271B28) +/* 13EC2C 80249DEC 00A22821 */ addu $a1, $a1, $v0 +/* 13EC30 80249DF0 90A51B28 */ lbu $a1, %lo(D_PAL_80271B28)($a1) +/* 13EC34 80249DF4 2408000A */ addiu $t0, $zero, 0xA +/* 13EC38 80249DF8 AFA80010 */ sw $t0, 0x10($sp) +/* 13EC3C 80249DFC 24080001 */ addiu $t0, $zero, 0x1 +/* 13EC40 80249E00 AFA80014 */ sw $t0, 0x14($sp) +/* 13EC44 80249E04 0C049403 */ jal draw_msg +/* 13EC48 80249E08 02E52821 */ addu $a1, $s7, $a1 +/* 13EC4C 80249E0C 3C020149 */ lui $v0, (0x14996FF >> 16) +/* 13EC50 80249E10 3C138011 */ lui $s3, %hi(gPlayerData+0x2BC) +/* 13EC54 80249E14 8E73E04C */ lw $s3, %lo(gPlayerData+0x2BC)($s3) +/* 13EC58 80249E18 344296FF */ ori $v0, $v0, (0x14996FF & 0xFFFF) +/* 13EC5C 80249E1C 0053102A */ slt $v0, $v0, $s3 +/* 13EC60 80249E20 10400003 */ beqz $v0, .Lpause_80249E30 +/* 13EC64 80249E24 3C021F11 */ lui $v0, (0x1F11A4A5 >> 16) +/* 13EC68 80249E28 3C130149 */ lui $s3, (0x14996FF >> 16) +/* 13EC6C 80249E2C 367396FF */ ori $s3, $s3, (0x14996FF & 0xFFFF) +.Lpause_80249E30: +/* 13EC70 80249E30 3442A4A5 */ ori $v0, $v0, (0x1F11A4A5 & 0xFFFF) +/* 13EC74 80249E34 3C036666 */ lui $v1, (0x66666667 >> 16) +/* 13EC78 80249E38 34636667 */ ori $v1, $v1, (0x66666667 & 0xFFFF) +/* 13EC7C 80249E3C 26E500ED */ addiu $a1, $s7, 0xED +/* 13EC80 80249E40 0280302D */ daddu $a2, $s4, $zero +/* 13EC84 80249E44 02620018 */ mult $s3, $v0 +/* 13EC88 80249E48 24070001 */ addiu $a3, $zero, 0x1 +/* 13EC8C 80249E4C 001397C3 */ sra $s2, $s3, 31 +/* 13EC90 80249E50 24150002 */ addiu $s5, $zero, 0x2 +/* 13EC94 80249E54 AFB50018 */ sw $s5, 0x18($sp) +/* 13EC98 80249E58 00004010 */ mfhi $t0 +/* 13EC9C 80249E5C 00088483 */ sra $s0, $t0, 18 +/* 13ECA0 80249E60 02128023 */ subu $s0, $s0, $s2 +/* 13ECA4 80249E64 2408000A */ addiu $t0, $zero, 0xA +/* 13ECA8 80249E68 02030018 */ mult $s0, $v1 +/* 13ECAC 80249E6C AFA80010 */ sw $t0, 0x10($sp) +/* 13ECB0 80249E70 240800FF */ addiu $t0, $zero, 0xFF +/* 13ECB4 80249E74 00101FC3 */ sra $v1, $s0, 31 +/* 13ECB8 80249E78 AFA80014 */ sw $t0, 0x14($sp) +/* 13ECBC 80249E7C 00004010 */ mfhi $t0 +/* 13ECC0 80249E80 02A81007 */ srav $v0, $t0, $s5 +/* 13ECC4 80249E84 00431023 */ subu $v0, $v0, $v1 +/* 13ECC8 80249E88 02A22004 */ sllv $a0, $v0, $s5 +/* 13ECCC 80249E8C 00822021 */ addu $a0, $a0, $v0 +/* 13ECD0 80249E90 00E42004 */ sllv $a0, $a0, $a3 +/* 13ECD4 80249E94 0C04986F */ jal draw_number +/* 13ECD8 80249E98 02042023 */ subu $a0, $s0, $a0 +/* 13ECDC 80249E9C 3C029B58 */ lui $v0, (0x9B583739 >> 16) +/* 13ECE0 80249EA0 34423739 */ ori $v0, $v0, (0x9B583739 & 0xFFFF) +/* 13ECE4 80249EA4 26E500F6 */ addiu $a1, $s7, 0xF6 +/* 13ECE8 80249EA8 0280302D */ daddu $a2, $s4, $zero +/* 13ECEC 80249EAC 24070001 */ addiu $a3, $zero, 0x1 +/* 13ECF0 80249EB0 2408000A */ addiu $t0, $zero, 0xA +/* 13ECF4 80249EB4 AFA80010 */ sw $t0, 0x10($sp) +/* 13ECF8 80249EB8 240800FF */ addiu $t0, $zero, 0xFF +/* 13ECFC 80249EBC 02B02004 */ sllv $a0, $s0, $s5 +/* 13ED00 80249EC0 02620018 */ mult $s3, $v0 +/* 13ED04 80249EC4 00902021 */ addu $a0, $a0, $s0 +/* 13ED08 80249EC8 00E42004 */ sllv $a0, $a0, $a3 +/* 13ED0C 80249ECC AFA80014 */ sw $t0, 0x14($sp) +/* 13ED10 80249ED0 AFB50018 */ sw $s5, 0x18($sp) +/* 13ED14 80249ED4 00004010 */ mfhi $t0 +/* 13ED18 80249ED8 01138821 */ addu $s1, $t0, $s3 +/* 13ED1C 80249EDC 00118C43 */ sra $s1, $s1, 17 +/* 13ED20 80249EE0 02328823 */ subu $s1, $s1, $s2 +/* 13ED24 80249EE4 0C04986F */ jal draw_number +/* 13ED28 80249EE8 02242023 */ subu $a0, $s1, $a0 +/* 13ED2C 80249EEC 0C094C60 */ jal pause_get_menu_msg +/* 13ED30 80249EF0 24040036 */ addiu $a0, $zero, 0x36 +/* 13ED34 80249EF4 0040202D */ daddu $a0, $v0, $zero +/* 13ED38 80249EF8 26F00101 */ addiu $s0, $s7, 0x101 +/* 13ED3C 80249EFC 0200282D */ daddu $a1, $s0, $zero +/* 13ED40 80249F00 27C60084 */ addiu $a2, $fp, 0x84 +/* 13ED44 80249F04 240700FF */ addiu $a3, $zero, 0xFF +/* 13ED48 80249F08 2408000A */ addiu $t0, $zero, 0xA +/* 13ED4C 80249F0C AFA80010 */ sw $t0, 0x10($sp) +/* 13ED50 80249F10 24080001 */ addiu $t0, $zero, 0x1 +/* 13ED54 80249F14 0C049403 */ jal draw_msg +/* 13ED58 80249F18 AFA80014 */ sw $t0, 0x14($sp) +/* 13ED5C 80249F1C 0C094C60 */ jal pause_get_menu_msg +/* 13ED60 80249F20 24040036 */ addiu $a0, $zero, 0x36 +/* 13ED64 80249F24 0040202D */ daddu $a0, $v0, $zero +/* 13ED68 80249F28 0200282D */ daddu $a1, $s0, $zero +/* 13ED6C 80249F2C 27C6007F */ addiu $a2, $fp, 0x7F +/* 13ED70 80249F30 240700FF */ addiu $a3, $zero, 0xFF +/* 13ED74 80249F34 2408000A */ addiu $t0, $zero, 0xA +/* 13ED78 80249F38 AFA80010 */ sw $t0, 0x10($sp) +/* 13ED7C 80249F3C 24080001 */ addiu $t0, $zero, 0x1 +/* 13ED80 80249F40 0C049403 */ jal draw_msg +/* 13ED84 80249F44 AFA80014 */ sw $t0, 0x14($sp) +/* 13ED88 80249F48 3C027482 */ lui $v0, (0x7482296B >> 16) +/* 13ED8C 80249F4C 3442296B */ ori $v0, $v0, (0x7482296B & 0xFFFF) +/* 13ED90 80249F50 26E50108 */ addiu $a1, $s7, 0x108 +/* 13ED94 80249F54 0280302D */ daddu $a2, $s4, $zero +/* 13ED98 80249F58 24070001 */ addiu $a3, $zero, 0x1 +/* 13ED9C 80249F5C 2408000A */ addiu $t0, $zero, 0xA +/* 13EDA0 80249F60 AFA80010 */ sw $t0, 0x10($sp) +/* 13EDA4 80249F64 240800FF */ addiu $t0, $zero, 0xFF +/* 13EDA8 80249F68 00F12004 */ sllv $a0, $s1, $a3 +/* 13EDAC 80249F6C 02620018 */ mult $s3, $v0 +/* 13EDB0 80249F70 00912021 */ addu $a0, $a0, $s1 +/* 13EDB4 80249F74 00E42004 */ sllv $a0, $a0, $a3 +/* 13EDB8 80249F78 AFA80014 */ sw $t0, 0x14($sp) +/* 13EDBC 80249F7C AFB50018 */ sw $s5, 0x18($sp) +/* 13EDC0 80249F80 00004010 */ mfhi $t0 +/* 13EDC4 80249F84 00088383 */ sra $s0, $t0, 14 +/* 13EDC8 80249F88 02128023 */ subu $s0, $s0, $s2 +/* 13EDCC 80249F8C 0C04986F */ jal draw_number +/* 13EDD0 80249F90 02042023 */ subu $a0, $s0, $a0 +/* 13EDD4 80249F94 3C0291A2 */ lui $v0, (0x91A2B3C5 >> 16) +/* 13EDD8 80249F98 3442B3C5 */ ori $v0, $v0, (0x91A2B3C5 & 0xFFFF) +/* 13EDDC 80249F9C 26E50111 */ addiu $a1, $s7, 0x111 +/* 13EDE0 80249FA0 0280302D */ daddu $a2, $s4, $zero +/* 13EDE4 80249FA4 24070001 */ addiu $a3, $zero, 0x1 +/* 13EDE8 80249FA8 2408000A */ addiu $t0, $zero, 0xA +/* 13EDEC 80249FAC AFA80010 */ sw $t0, 0x10($sp) +/* 13EDF0 80249FB0 240800FF */ addiu $t0, $zero, 0xFF +/* 13EDF4 80249FB4 02B02004 */ sllv $a0, $s0, $s5 +/* 13EDF8 80249FB8 02620018 */ mult $s3, $v0 +/* 13EDFC 80249FBC 00902021 */ addu $a0, $a0, $s0 +/* 13EE00 80249FC0 00E42004 */ sllv $a0, $a0, $a3 +/* 13EE04 80249FC4 AFA80014 */ sw $t0, 0x14($sp) +/* 13EE08 80249FC8 AFB50018 */ sw $s5, 0x18($sp) +/* 13EE0C 80249FCC 00004010 */ mfhi $t0 +/* 13EE10 80249FD0 01131021 */ addu $v0, $t0, $s3 +/* 13EE14 80249FD4 000212C3 */ sra $v0, $v0, 11 +/* 13EE18 80249FD8 00521023 */ subu $v0, $v0, $s2 +/* 13EE1C 80249FDC 0C04986F */ jal draw_number +/* 13EE20 80249FE0 00442023 */ subu $a0, $v0, $a0 +/* 13EE24 80249FE4 26E60007 */ addiu $a2, $s7, 0x7 +/* 13EE28 80249FE8 3C038011 */ lui $v1, %hi(gPlayerData) +/* 13EE2C 80249FEC 9063DD90 */ lbu $v1, %lo(gPlayerData)($v1) +/* 13EE30 80249FF0 3C028011 */ lui $v0, %hi(gPlayerData+0x1) +/* 13EE34 80249FF4 9042DD91 */ lbu $v0, %lo(gPlayerData+0x1)($v0) +/* 13EE38 80249FF8 AFA00010 */ sw $zero, 0x10($sp) +/* 13EE3C 80249FFC 00031E00 */ sll $v1, $v1, 24 +/* 13EE40 8024A000 00038E03 */ sra $s1, $v1, 24 +/* 13EE44 8024A004 00021600 */ sll $v0, $v0, 24 +/* 13EE48 8024A008 00029E03 */ sra $s3, $v0, 24 +/* 13EE4C 8024A00C 3C028011 */ lui $v0, %hi(gPlayerData+0x9) +/* 13EE50 8024A010 9042DD99 */ lbu $v0, %lo(gPlayerData+0x9)($v0) +/* 13EE54 8024A014 3C038015 */ lui $v1, %hi(gCurrentLanguage) +/* 13EE58 8024A018 8C63AE4C */ lw $v1, %lo(gCurrentLanguage)($v1) +/* 13EE5C 8024A01C 00021600 */ sll $v0, $v0, 24 +/* 13EE60 8024A020 00029603 */ sra $s2, $v0, 24 +/* 13EE64 8024A024 2A42000A */ slti $v0, $s2, 0xA +/* 13EE68 8024A028 3C018027 */ lui $at, %hi(D_PAL_80271B10) +/* 13EE6C 8024A02C 00230821 */ addu $at, $at, $v1 +/* 13EE70 8024A030 90231B10 */ lbu $v1, %lo(D_PAL_80271B10)($at) +/* 13EE74 8024A034 14400002 */ bnez $v0, .Lpause_8024A040 +/* 13EE78 8024A038 27C7000C */ addiu $a3, $fp, 0xC +/* 13EE7C 8024A03C 24630008 */ addiu $v1, $v1, 0x8 +.Lpause_8024A040: +/* 13EE80 8024A040 24040004 */ addiu $a0, $zero, 0x4 +/* 13EE84 8024A044 3C058027 */ lui $a1, %hi(gPauseWS_10) +/* 13EE88 8024A048 24A51F00 */ addiu $a1, $a1, %lo(gPauseWS_10) +/* 13EE8C 8024A04C 24020011 */ addiu $v0, $zero, 0x11 +/* 13EE90 8024A050 240800FF */ addiu $t0, $zero, 0xFF +/* 13EE94 8024A054 AFA20018 */ sw $v0, 0x18($sp) +/* 13EE98 8024A058 24020140 */ addiu $v0, $zero, 0x140 +/* 13EE9C 8024A05C AFA20044 */ sw $v0, 0x44($sp) +/* 13EEA0 8024A060 240200F0 */ addiu $v0, $zero, 0xF0 +/* 13EEA4 8024A064 AFA30014 */ sw $v1, 0x14($sp) +/* 13EEA8 8024A068 AFA8001C */ sw $t0, 0x1C($sp) +/* 13EEAC 8024A06C AFA00020 */ sw $zero, 0x20($sp) +/* 13EEB0 8024A070 AFA00024 */ sw $zero, 0x24($sp) +/* 13EEB4 8024A074 AFA00028 */ sw $zero, 0x28($sp) +/* 13EEB8 8024A078 AFA0002C */ sw $zero, 0x2C($sp) +/* 13EEBC 8024A07C AFA00030 */ sw $zero, 0x30($sp) +/* 13EEC0 8024A080 AFA00034 */ sw $zero, 0x34($sp) +/* 13EEC4 8024A084 AFA00038 */ sw $zero, 0x38($sp) +/* 13EEC8 8024A088 AFA0003C */ sw $zero, 0x3C($sp) +/* 13EECC 8024A08C AFA00040 */ sw $zero, 0x40($sp) +/* 13EED0 8024A090 AFA20048 */ sw $v0, 0x48($sp) +/* 13EED4 8024A094 0C03C5C4 */ jal draw_box +/* 13EED8 8024A098 AFA0004C */ sw $zero, 0x4C($sp) +/* 13EEDC 8024A09C 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13EEE0 8024A0A0 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13EEE4 8024A0A4 27C60015 */ addiu $a2, $fp, 0x15 +/* 13EEE8 8024A0A8 3C058027 */ lui $a1, %hi(D_PAL_80271B1C) +/* 13EEEC 8024A0AC 00A22821 */ addu $a1, $a1, $v0 +/* 13EEF0 8024A0B0 90A51B1C */ lbu $a1, %lo(D_PAL_80271B1C)($a1) +/* 13EEF4 8024A0B4 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs) +/* 13EEF8 8024A0B8 8C842520 */ lw $a0, %lo(gPauseStatsIconIDs)($a0) +/* 13EEFC 8024A0BC 0C050D4D */ jal hud_element_set_render_pos +/* 13EF00 8024A0C0 02E52821 */ addu $a1, $s7, $a1 +/* 13EF04 8024A0C4 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs) +/* 13EF08 8024A0C8 8C842520 */ lw $a0, %lo(gPauseStatsIconIDs)($a0) +/* 13EF0C 8024A0CC 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13EF10 8024A0D0 27D0000E */ addiu $s0, $fp, 0xE +/* 13EF14 8024A0D4 0C094C60 */ jal pause_get_menu_msg +/* 13EF18 8024A0D8 2404003D */ addiu $a0, $zero, 0x3D +/* 13EF1C 8024A0DC 0040202D */ daddu $a0, $v0, $zero +/* 13EF20 8024A0E0 0200302D */ daddu $a2, $s0, $zero +/* 13EF24 8024A0E4 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13EF28 8024A0E8 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13EF2C 8024A0EC 240700FF */ addiu $a3, $zero, 0xFF +/* 13EF30 8024A0F0 3C058027 */ lui $a1, %hi(D_PAL_80271B18) +/* 13EF34 8024A0F4 00A22821 */ addu $a1, $a1, $v0 +/* 13EF38 8024A0F8 90A51B18 */ lbu $a1, %lo(D_PAL_80271B18)($a1) +/* 13EF3C 8024A0FC 24080001 */ addiu $t0, $zero, 0x1 +/* 13EF40 8024A100 AFA00010 */ sw $zero, 0x10($sp) +/* 13EF44 8024A104 AFA80014 */ sw $t0, 0x14($sp) +/* 13EF48 8024A108 0C049403 */ jal draw_msg +/* 13EF4C 8024A10C 02E52821 */ addu $a1, $s7, $a1 +/* 13EF50 8024A110 0C094C60 */ jal pause_get_menu_msg +/* 13EF54 8024A114 2404003E */ addiu $a0, $zero, 0x3E +/* 13EF58 8024A118 0040202D */ daddu $a0, $v0, $zero +/* 13EF5C 8024A11C 0200302D */ daddu $a2, $s0, $zero +/* 13EF60 8024A120 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13EF64 8024A124 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13EF68 8024A128 240700FF */ addiu $a3, $zero, 0xFF +/* 13EF6C 8024A12C 3C058027 */ lui $a1, %hi(D_PAL_80271B20) +/* 13EF70 8024A130 00A22821 */ addu $a1, $a1, $v0 +/* 13EF74 8024A134 90A51B20 */ lbu $a1, %lo(D_PAL_80271B20)($a1) +/* 13EF78 8024A138 24080001 */ addiu $t0, $zero, 0x1 +/* 13EF7C 8024A13C AFA00010 */ sw $zero, 0x10($sp) +/* 13EF80 8024A140 AFA80014 */ sw $t0, 0x14($sp) +/* 13EF84 8024A144 0C049403 */ jal draw_msg +/* 13EF88 8024A148 02E52821 */ addu $a1, $s7, $a1 +/* 13EF8C 8024A14C 0240202D */ daddu $a0, $s2, $zero +/* 13EF90 8024A150 0200302D */ daddu $a2, $s0, $zero +/* 13EF94 8024A154 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13EF98 8024A158 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13EF9C 8024A15C 24070001 */ addiu $a3, $zero, 0x1 +/* 13EFA0 8024A160 3C058027 */ lui $a1, %hi(D_PAL_80271B14) +/* 13EFA4 8024A164 00A22821 */ addu $a1, $a1, $v0 +/* 13EFA8 8024A168 90A51B14 */ lbu $a1, %lo(D_PAL_80271B14)($a1) +/* 13EFAC 8024A16C 240800FF */ addiu $t0, $zero, 0xFF +/* 13EFB0 8024A170 AFA00010 */ sw $zero, 0x10($sp) +/* 13EFB4 8024A174 AFA80014 */ sw $t0, 0x14($sp) +/* 13EFB8 8024A178 AFB50018 */ sw $s5, 0x18($sp) +/* 13EFBC 8024A17C 0C04986F */ jal draw_number +/* 13EFC0 8024A180 02E52821 */ addu $a1, $s7, $a1 +/* 13EFC4 8024A184 26220001 */ addiu $v0, $s1, 0x1 +/* 13EFC8 8024A188 0040882D */ daddu $s1, $v0, $zero +/* 13EFCC 8024A18C 00021400 */ sll $v0, $v0, 16 +/* 13EFD0 8024A190 04420001 */ bltzl $v0, .Lpause_8024A198 +/* 13EFD4 8024A194 0000882D */ daddu $s1, $zero, $zero +.Lpause_8024A198: +/* 13EFD8 8024A198 00111400 */ sll $v0, $s1, 16 +/* 13EFDC 8024A19C 00021403 */ sra $v0, $v0, 16 +/* 13EFE0 8024A1A0 28420004 */ slti $v0, $v0, 0x4 +/* 13EFE4 8024A1A4 50400001 */ beql $v0, $zero, .Lpause_8024A1AC +/* 13EFE8 8024A1A8 24110003 */ addiu $s1, $zero, 0x3 +.Lpause_8024A1AC: +/* 13EFEC 8024A1AC 26620001 */ addiu $v0, $s3, 0x1 +/* 13EFF0 8024A1B0 0040982D */ daddu $s3, $v0, $zero +/* 13EFF4 8024A1B4 00021400 */ sll $v0, $v0, 16 +/* 13EFF8 8024A1B8 04420001 */ bltzl $v0, .Lpause_8024A1C0 +/* 13EFFC 8024A1BC 0000982D */ daddu $s3, $zero, $zero +.Lpause_8024A1C0: +/* 13F000 8024A1C0 00131400 */ sll $v0, $s3, 16 +/* 13F004 8024A1C4 00021403 */ sra $v0, $v0, 16 +/* 13F008 8024A1C8 28420004 */ slti $v0, $v0, 0x4 +/* 13F00C 8024A1CC 50400001 */ beql $v0, $zero, .Lpause_8024A1D4 +/* 13F010 8024A1D0 24130003 */ addiu $s3, $zero, 0x3 +.Lpause_8024A1D4: +/* 13F014 8024A1D4 24040003 */ addiu $a0, $zero, 0x3 +/* 13F018 8024A1D8 26F00089 */ addiu $s0, $s7, 0x89 +/* 13F01C 8024A1DC 0200282D */ daddu $a1, $s0, $zero +/* 13F020 8024A1E0 0C094C65 */ jal pause_draw_menu_label +/* 13F024 8024A1E4 27C6000A */ addiu $a2, $fp, 0xA +/* 13F028 8024A1E8 24040004 */ addiu $a0, $zero, 0x4 +/* 13F02C 8024A1EC 8FA60050 */ lw $a2, 0x50($sp) +/* 13F030 8024A1F0 0C094C65 */ jal pause_draw_menu_label +/* 13F034 8024A1F4 0200282D */ daddu $a1, $s0, $zero +/* 13F038 8024A1F8 00118400 */ sll $s0, $s1, 16 +/* 13F03C 8024A1FC 00108383 */ sra $s0, $s0, 14 +/* 13F040 8024A200 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x4) +/* 13F044 8024A204 8C842524 */ lw $a0, %lo(gPauseStatsIconIDs+0x4)($a0) +/* 13F048 8024A208 3C058025 */ lui $a1, %hi(gStatsBootsElements) +/* 13F04C 8024A20C 00B02821 */ addu $a1, $a1, $s0 +/* 13F050 8024A210 8CA53740 */ lw $a1, %lo(gStatsBootsElements)($a1) +/* 13F054 8024A214 0C050CEB */ jal hud_element_set_script +/* 13F058 8024A218 26F100A3 */ addiu $s1, $s7, 0xA3 +/* 13F05C 8024A21C 0220282D */ daddu $a1, $s1, $zero +/* 13F060 8024A220 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x4) +/* 13F064 8024A224 8C842524 */ lw $a0, %lo(gPauseStatsIconIDs+0x4)($a0) +/* 13F068 8024A228 0C050D4D */ jal hud_element_set_render_pos +/* 13F06C 8024A22C 27C6001D */ addiu $a2, $fp, 0x1D +/* 13F070 8024A230 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x4) +/* 13F074 8024A234 8C842524 */ lw $a0, %lo(gPauseStatsIconIDs+0x4)($a0) +/* 13F078 8024A238 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F07C 8024A23C 26F200B0 */ addiu $s2, $s7, 0xB0 +/* 13F080 8024A240 3C048025 */ lui $a0, %hi(gPauseStatsBootsMessages) +/* 13F084 8024A244 00902021 */ addu $a0, $a0, $s0 +/* 13F088 8024A248 8C843760 */ lw $a0, %lo(gPauseStatsBootsMessages)($a0) +/* 13F08C 8024A24C 0C094C60 */ jal pause_get_menu_msg +/* 13F090 8024A250 00138400 */ sll $s0, $s3, 16 +/* 13F094 8024A254 0040202D */ daddu $a0, $v0, $zero +/* 13F098 8024A258 0240282D */ daddu $a1, $s2, $zero +/* 13F09C 8024A25C 27C60017 */ addiu $a2, $fp, 0x17 +/* 13F0A0 8024A260 240700FF */ addiu $a3, $zero, 0xFF +/* 13F0A4 8024A264 24080001 */ addiu $t0, $zero, 0x1 +/* 13F0A8 8024A268 AFA00010 */ sw $zero, 0x10($sp) +/* 13F0AC 8024A26C 0C049403 */ jal draw_msg +/* 13F0B0 8024A270 AFA80014 */ sw $t0, 0x14($sp) +/* 13F0B4 8024A274 00108383 */ sra $s0, $s0, 14 +/* 13F0B8 8024A278 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x8) +/* 13F0BC 8024A27C 8C842528 */ lw $a0, %lo(gPauseStatsIconIDs+0x8)($a0) +/* 13F0C0 8024A280 3C058025 */ lui $a1, %hi(gStatsHammerElements) +/* 13F0C4 8024A284 00B02821 */ addu $a1, $a1, $s0 +/* 13F0C8 8024A288 8CA53750 */ lw $a1, %lo(gStatsHammerElements)($a1) +/* 13F0CC 8024A28C 0C050CEB */ jal hud_element_set_script +/* 13F0D0 8024A290 24140001 */ addiu $s4, $zero, 0x1 +/* 13F0D4 8024A294 0220282D */ daddu $a1, $s1, $zero +/* 13F0D8 8024A298 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x8) +/* 13F0DC 8024A29C 8C842528 */ lw $a0, %lo(gPauseStatsIconIDs+0x8)($a0) +/* 13F0E0 8024A2A0 0C050D4D */ jal hud_element_set_render_pos +/* 13F0E4 8024A2A4 27C60036 */ addiu $a2, $fp, 0x36 +/* 13F0E8 8024A2A8 3C048027 */ lui $a0, %hi(gPauseStatsIconIDs+0x8) +/* 13F0EC 8024A2AC 8C842528 */ lw $a0, %lo(gPauseStatsIconIDs+0x8)($a0) +/* 13F0F0 8024A2B0 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F0F4 8024A2B4 0000982D */ daddu $s3, $zero, $zero +/* 13F0F8 8024A2B8 3C048025 */ lui $a0, %hi(gPauseStatsHammerMessages) +/* 13F0FC 8024A2BC 00902021 */ addu $a0, $a0, $s0 +/* 13F100 8024A2C0 8C843770 */ lw $a0, %lo(gPauseStatsHammerMessages)($a0) +/* 13F104 8024A2C4 0C094C60 */ jal pause_get_menu_msg +/* 13F108 8024A2C8 0260A82D */ daddu $s5, $s3, $zero +/* 13F10C 8024A2CC 0040202D */ daddu $a0, $v0, $zero +/* 13F110 8024A2D0 0240282D */ daddu $a1, $s2, $zero +/* 13F114 8024A2D4 27C60030 */ addiu $a2, $fp, 0x30 +/* 13F118 8024A2D8 240700FF */ addiu $a3, $zero, 0xFF +/* 13F11C 8024A2DC 0280402D */ daddu $t0, $s4, $zero +/* 13F120 8024A2E0 AFA00010 */ sw $zero, 0x10($sp) +/* 13F124 8024A2E4 0C049403 */ jal draw_msg +/* 13F128 8024A2E8 AFA80014 */ sw $t0, 0x14($sp) +/* 13F12C 8024A2EC 24040006 */ addiu $a0, $zero, 0x6 +/* 13F130 8024A2F0 8FA60054 */ lw $a2, 0x54($sp) +/* 13F134 8024A2F4 0C094C65 */ jal pause_draw_menu_label +/* 13F138 8024A2F8 26E50082 */ addiu $a1, $s7, 0x82 +/* 13F13C 8024A2FC 24040005 */ addiu $a0, $zero, 0x5 +/* 13F140 8024A300 26E5008A */ addiu $a1, $s7, 0x8A +/* 13F144 8024A304 0C094C65 */ jal pause_draw_menu_label +/* 13F148 8024A308 27C6003C */ addiu $a2, $fp, 0x3C +/* 13F14C 8024A30C 0260902D */ daddu $s2, $s3, $zero +/* 13F150 8024A310 3C038011 */ lui $v1, %hi(gPlayerData+0x290) +/* 13F154 8024A314 8463E020 */ lh $v1, %lo(gPlayerData+0x290)($v1) +/* 13F158 8024A318 3C118027 */ lui $s1, %hi(gPauseStatsIconIDs+0x28) +/* 13F15C 8024A31C 8E312548 */ lw $s1, %lo(gPauseStatsIconIDs+0x28)($s1) +/* 13F160 8024A320 04610002 */ bgez $v1, .Lpause_8024A32C +/* 13F164 8024A324 0060102D */ daddu $v0, $v1, $zero +/* 13F168 8024A328 246200FF */ addiu $v0, $v1, 0xFF +.Lpause_8024A32C: +/* 13F16C 8024A32C 00021203 */ sra $v0, $v0, 8 +/* 13F170 8024A330 0040202D */ daddu $a0, $v0, $zero +/* 13F174 8024A334 00041200 */ sll $v0, $a0, 8 +/* 13F178 8024A338 00621023 */ subu $v0, $v1, $v0 +/* 13F17C 8024A33C 00021400 */ sll $v0, $v0, 16 +/* 13F180 8024A340 0002B403 */ sra $s6, $v0, 16 +/* 13F184 8024A344 06C10002 */ bgez $s6, .Lpause_8024A350 +/* 13F188 8024A348 02C0102D */ daddu $v0, $s6, $zero +/* 13F18C 8024A34C 26C2001F */ addiu $v0, $s6, 0x1F +.Lpause_8024A350: +/* 13F190 8024A350 0002B143 */ sra $s6, $v0, 5 +/* 13F194 8024A354 000410C0 */ sll $v0, $a0, 3 +/* 13F198 8024A358 02C2B021 */ addu $s6, $s6, $v0 +/* 13F19C 8024A35C 02B6102A */ slt $v0, $s5, $s6 +/* 13F1A0 8024A360 104000DF */ beqz $v0, .Lpause_8024A6E0 +/* 13F1A4 8024A364 00000000 */ nop +.Lpause_8024A368: +/* 13F1A8 8024A368 26730001 */ addiu $s3, $s3, 0x1 +/* 13F1AC 8024A36C 00158080 */ sll $s0, $s5, 2 +/* 13F1B0 8024A370 3C058025 */ lui $a1, %hi(gPauseStatsSPIncElements) +/* 13F1B4 8024A374 00B02821 */ addu $a1, $a1, $s0 +/* 13F1B8 8024A378 8CA53824 */ lw $a1, %lo(gPauseStatsSPIncElements)($a1) +/* 13F1BC 8024A37C 0C050CEB */ jal hud_element_set_script +/* 13F1C0 8024A380 0220202D */ daddu $a0, $s1, $zero +/* 13F1C4 8024A384 0220202D */ daddu $a0, $s1, $zero +/* 13F1C8 8024A388 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F1CC 8024A38C 02158021 */ addu $s0, $s0, $s5 +/* 13F1D0 8024A390 00108080 */ sll $s0, $s0, 2 +/* 13F1D4 8024A394 2610008C */ addiu $s0, $s0, 0x8C +/* 13F1D8 8024A398 3C058025 */ lui $a1, %hi(D_8024F46C) +/* 13F1DC 8024A39C 8CA5385C */ lw $a1, %lo(D_8024F46C)($a1) +/* 13F1E0 8024A3A0 02F08021 */ addu $s0, $s7, $s0 +/* 13F1E4 8024A3A4 0C050D4D */ jal hud_element_set_render_pos +/* 13F1E8 8024A3A8 02052821 */ addu $a1, $s0, $a1 +/* 13F1EC 8024A3AC 12800005 */ beqz $s4, .Lpause_8024A3C4 +/* 13F1F0 8024A3B0 00000000 */ nop +/* 13F1F4 8024A3B4 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F1F8 8024A3B8 0220202D */ daddu $a0, $s1, $zero +/* 13F1FC 8024A3BC 080928F3 */ j .Lpause_8024A3CC +/* 13F200 8024A3C0 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A3C4: +/* 13F204 8024A3C4 0C050CDD */ jal hud_element_draw_next +/* 13F208 8024A3C8 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A3CC: +/* 13F20C 8024A3CC 0276102A */ slt $v0, $s3, $s6 +/* 13F210 8024A3D0 104000C3 */ beqz $v0, .Lpause_8024A6E0 +/* 13F214 8024A3D4 26520001 */ addiu $s2, $s2, 0x1 +/* 13F218 8024A3D8 26730001 */ addiu $s3, $s3, 0x1 +/* 13F21C 8024A3DC 00158080 */ sll $s0, $s5, 2 +/* 13F220 8024A3E0 3C058025 */ lui $a1, %hi(gPauseStatsSPIncElements) +/* 13F224 8024A3E4 00B02821 */ addu $a1, $a1, $s0 +/* 13F228 8024A3E8 8CA53824 */ lw $a1, %lo(gPauseStatsSPIncElements)($a1) +/* 13F22C 8024A3EC 0C050CEB */ jal hud_element_set_script +/* 13F230 8024A3F0 0220202D */ daddu $a0, $s1, $zero +/* 13F234 8024A3F4 0220202D */ daddu $a0, $s1, $zero +/* 13F238 8024A3F8 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F23C 8024A3FC 02158021 */ addu $s0, $s0, $s5 +/* 13F240 8024A400 00108080 */ sll $s0, $s0, 2 +/* 13F244 8024A404 2610008C */ addiu $s0, $s0, 0x8C +/* 13F248 8024A408 3C058025 */ lui $a1, %hi(D_8024F46C+0x4) +/* 13F24C 8024A40C 8CA53860 */ lw $a1, %lo(D_8024F46C+0x4)($a1) +/* 13F250 8024A410 02F08021 */ addu $s0, $s7, $s0 +/* 13F254 8024A414 0C050D4D */ jal hud_element_set_render_pos +/* 13F258 8024A418 02052821 */ addu $a1, $s0, $a1 +/* 13F25C 8024A41C 12800005 */ beqz $s4, .Lpause_8024A434 +/* 13F260 8024A420 00000000 */ nop +/* 13F264 8024A424 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F268 8024A428 0220202D */ daddu $a0, $s1, $zero +/* 13F26C 8024A42C 0809290F */ j .Lpause_8024A43C +/* 13F270 8024A430 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A434: +/* 13F274 8024A434 0C050CDD */ jal hud_element_draw_next +/* 13F278 8024A438 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A43C: +/* 13F27C 8024A43C 0276102A */ slt $v0, $s3, $s6 +/* 13F280 8024A440 104000A7 */ beqz $v0, .Lpause_8024A6E0 +/* 13F284 8024A444 26520001 */ addiu $s2, $s2, 0x1 +/* 13F288 8024A448 26730001 */ addiu $s3, $s3, 0x1 +/* 13F28C 8024A44C 00158080 */ sll $s0, $s5, 2 +/* 13F290 8024A450 3C058025 */ lui $a1, %hi(gPauseStatsSPIncElements) +/* 13F294 8024A454 00B02821 */ addu $a1, $a1, $s0 +/* 13F298 8024A458 8CA53824 */ lw $a1, %lo(gPauseStatsSPIncElements)($a1) +/* 13F29C 8024A45C 0C050CEB */ jal hud_element_set_script +/* 13F2A0 8024A460 0220202D */ daddu $a0, $s1, $zero +/* 13F2A4 8024A464 0220202D */ daddu $a0, $s1, $zero +/* 13F2A8 8024A468 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F2AC 8024A46C 02158021 */ addu $s0, $s0, $s5 +/* 13F2B0 8024A470 00108080 */ sll $s0, $s0, 2 +/* 13F2B4 8024A474 2610008C */ addiu $s0, $s0, 0x8C +/* 13F2B8 8024A478 3C058025 */ lui $a1, %hi(D_8024F46C+0x8) +/* 13F2BC 8024A47C 8CA53864 */ lw $a1, %lo(D_8024F46C+0x8)($a1) +/* 13F2C0 8024A480 02F08021 */ addu $s0, $s7, $s0 +/* 13F2C4 8024A484 0C050D4D */ jal hud_element_set_render_pos +/* 13F2C8 8024A488 02052821 */ addu $a1, $s0, $a1 +/* 13F2CC 8024A48C 12800005 */ beqz $s4, .Lpause_8024A4A4 +/* 13F2D0 8024A490 00000000 */ nop +/* 13F2D4 8024A494 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F2D8 8024A498 0220202D */ daddu $a0, $s1, $zero +/* 13F2DC 8024A49C 0809292B */ j .Lpause_8024A4AC +/* 13F2E0 8024A4A0 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A4A4: +/* 13F2E4 8024A4A4 0C050CDD */ jal hud_element_draw_next +/* 13F2E8 8024A4A8 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A4AC: +/* 13F2EC 8024A4AC 0276102A */ slt $v0, $s3, $s6 +/* 13F2F0 8024A4B0 1040008B */ beqz $v0, .Lpause_8024A6E0 +/* 13F2F4 8024A4B4 26520001 */ addiu $s2, $s2, 0x1 +/* 13F2F8 8024A4B8 26730001 */ addiu $s3, $s3, 0x1 +/* 13F2FC 8024A4BC 00158080 */ sll $s0, $s5, 2 +/* 13F300 8024A4C0 3C058025 */ lui $a1, %hi(gPauseStatsSPIncElements) +/* 13F304 8024A4C4 00B02821 */ addu $a1, $a1, $s0 +/* 13F308 8024A4C8 8CA53824 */ lw $a1, %lo(gPauseStatsSPIncElements)($a1) +/* 13F30C 8024A4CC 0C050CEB */ jal hud_element_set_script +/* 13F310 8024A4D0 0220202D */ daddu $a0, $s1, $zero +/* 13F314 8024A4D4 0220202D */ daddu $a0, $s1, $zero +/* 13F318 8024A4D8 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F31C 8024A4DC 02158021 */ addu $s0, $s0, $s5 +/* 13F320 8024A4E0 00108080 */ sll $s0, $s0, 2 +/* 13F324 8024A4E4 2610008C */ addiu $s0, $s0, 0x8C +/* 13F328 8024A4E8 3C058025 */ lui $a1, %hi(D_8024F46C+0xC) +/* 13F32C 8024A4EC 8CA53868 */ lw $a1, %lo(D_8024F46C+0xC)($a1) +/* 13F330 8024A4F0 02F08021 */ addu $s0, $s7, $s0 +/* 13F334 8024A4F4 0C050D4D */ jal hud_element_set_render_pos +/* 13F338 8024A4F8 02052821 */ addu $a1, $s0, $a1 +/* 13F33C 8024A4FC 12800005 */ beqz $s4, .Lpause_8024A514 +/* 13F340 8024A500 00000000 */ nop +/* 13F344 8024A504 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F348 8024A508 0220202D */ daddu $a0, $s1, $zero +/* 13F34C 8024A50C 08092947 */ j .Lpause_8024A51C +/* 13F350 8024A510 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A514: +/* 13F354 8024A514 0C050CDD */ jal hud_element_draw_next +/* 13F358 8024A518 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A51C: +/* 13F35C 8024A51C 0276102A */ slt $v0, $s3, $s6 +/* 13F360 8024A520 1040006F */ beqz $v0, .Lpause_8024A6E0 +/* 13F364 8024A524 26520001 */ addiu $s2, $s2, 0x1 +/* 13F368 8024A528 26730001 */ addiu $s3, $s3, 0x1 +/* 13F36C 8024A52C 00158080 */ sll $s0, $s5, 2 +/* 13F370 8024A530 3C058025 */ lui $a1, %hi(gPauseStatsSPIncElements) +/* 13F374 8024A534 00B02821 */ addu $a1, $a1, $s0 +/* 13F378 8024A538 8CA53824 */ lw $a1, %lo(gPauseStatsSPIncElements)($a1) +/* 13F37C 8024A53C 0C050CEB */ jal hud_element_set_script +/* 13F380 8024A540 0220202D */ daddu $a0, $s1, $zero +/* 13F384 8024A544 0220202D */ daddu $a0, $s1, $zero +/* 13F388 8024A548 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F38C 8024A54C 02158021 */ addu $s0, $s0, $s5 +/* 13F390 8024A550 00108080 */ sll $s0, $s0, 2 +/* 13F394 8024A554 2610008C */ addiu $s0, $s0, 0x8C +/* 13F398 8024A558 3C058025 */ lui $a1, %hi(D_8024F46C+0x10) +/* 13F39C 8024A55C 8CA5386C */ lw $a1, %lo(D_8024F46C+0x10)($a1) +/* 13F3A0 8024A560 02F08021 */ addu $s0, $s7, $s0 +/* 13F3A4 8024A564 0C050D4D */ jal hud_element_set_render_pos +/* 13F3A8 8024A568 02052821 */ addu $a1, $s0, $a1 +/* 13F3AC 8024A56C 12800005 */ beqz $s4, .Lpause_8024A584 +/* 13F3B0 8024A570 00000000 */ nop +/* 13F3B4 8024A574 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F3B8 8024A578 0220202D */ daddu $a0, $s1, $zero +/* 13F3BC 8024A57C 08092963 */ j .Lpause_8024A58C +/* 13F3C0 8024A580 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A584: +/* 13F3C4 8024A584 0C050CDD */ jal hud_element_draw_next +/* 13F3C8 8024A588 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A58C: +/* 13F3CC 8024A58C 0276102A */ slt $v0, $s3, $s6 +/* 13F3D0 8024A590 10400053 */ beqz $v0, .Lpause_8024A6E0 +/* 13F3D4 8024A594 26520001 */ addiu $s2, $s2, 0x1 +/* 13F3D8 8024A598 26730001 */ addiu $s3, $s3, 0x1 +/* 13F3DC 8024A59C 00158080 */ sll $s0, $s5, 2 +/* 13F3E0 8024A5A0 3C058025 */ lui $a1, %hi(gPauseStatsSPIncElements) +/* 13F3E4 8024A5A4 00B02821 */ addu $a1, $a1, $s0 +/* 13F3E8 8024A5A8 8CA53824 */ lw $a1, %lo(gPauseStatsSPIncElements)($a1) +/* 13F3EC 8024A5AC 0C050CEB */ jal hud_element_set_script +/* 13F3F0 8024A5B0 0220202D */ daddu $a0, $s1, $zero +/* 13F3F4 8024A5B4 0220202D */ daddu $a0, $s1, $zero +/* 13F3F8 8024A5B8 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F3FC 8024A5BC 02158021 */ addu $s0, $s0, $s5 +/* 13F400 8024A5C0 00108080 */ sll $s0, $s0, 2 +/* 13F404 8024A5C4 2610008C */ addiu $s0, $s0, 0x8C +/* 13F408 8024A5C8 3C058025 */ lui $a1, %hi(D_8024F46C+0x14) +/* 13F40C 8024A5CC 8CA53870 */ lw $a1, %lo(D_8024F46C+0x14)($a1) +/* 13F410 8024A5D0 02F08021 */ addu $s0, $s7, $s0 +/* 13F414 8024A5D4 0C050D4D */ jal hud_element_set_render_pos +/* 13F418 8024A5D8 02052821 */ addu $a1, $s0, $a1 +/* 13F41C 8024A5DC 12800005 */ beqz $s4, .Lpause_8024A5F4 +/* 13F420 8024A5E0 00000000 */ nop +/* 13F424 8024A5E4 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F428 8024A5E8 0220202D */ daddu $a0, $s1, $zero +/* 13F42C 8024A5EC 0809297F */ j .Lpause_8024A5FC +/* 13F430 8024A5F0 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A5F4: +/* 13F434 8024A5F4 0C050CDD */ jal hud_element_draw_next +/* 13F438 8024A5F8 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A5FC: +/* 13F43C 8024A5FC 0276102A */ slt $v0, $s3, $s6 +/* 13F440 8024A600 10400037 */ beqz $v0, .Lpause_8024A6E0 +/* 13F444 8024A604 26520001 */ addiu $s2, $s2, 0x1 +/* 13F448 8024A608 26730001 */ addiu $s3, $s3, 0x1 +/* 13F44C 8024A60C 00158080 */ sll $s0, $s5, 2 +/* 13F450 8024A610 3C058025 */ lui $a1, %hi(gPauseStatsSPIncElements) +/* 13F454 8024A614 00B02821 */ addu $a1, $a1, $s0 +/* 13F458 8024A618 8CA53824 */ lw $a1, %lo(gPauseStatsSPIncElements)($a1) +/* 13F45C 8024A61C 0C050CEB */ jal hud_element_set_script +/* 13F460 8024A620 0220202D */ daddu $a0, $s1, $zero +/* 13F464 8024A624 0220202D */ daddu $a0, $s1, $zero +/* 13F468 8024A628 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F46C 8024A62C 02158021 */ addu $s0, $s0, $s5 +/* 13F470 8024A630 00108080 */ sll $s0, $s0, 2 +/* 13F474 8024A634 2610008C */ addiu $s0, $s0, 0x8C +/* 13F478 8024A638 3C058025 */ lui $a1, %hi(D_8024F46C+0x18) +/* 13F47C 8024A63C 8CA53874 */ lw $a1, %lo(D_8024F46C+0x18)($a1) +/* 13F480 8024A640 02F08021 */ addu $s0, $s7, $s0 +/* 13F484 8024A644 0C050D4D */ jal hud_element_set_render_pos +/* 13F488 8024A648 02052821 */ addu $a1, $s0, $a1 +/* 13F48C 8024A64C 12800005 */ beqz $s4, .Lpause_8024A664 +/* 13F490 8024A650 00000000 */ nop +/* 13F494 8024A654 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F498 8024A658 0220202D */ daddu $a0, $s1, $zero +/* 13F49C 8024A65C 0809299B */ j .Lpause_8024A66C +/* 13F4A0 8024A660 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A664: +/* 13F4A4 8024A664 0C050CDD */ jal hud_element_draw_next +/* 13F4A8 8024A668 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A66C: +/* 13F4AC 8024A66C 0276102A */ slt $v0, $s3, $s6 +/* 13F4B0 8024A670 1040001B */ beqz $v0, .Lpause_8024A6E0 +/* 13F4B4 8024A674 26520001 */ addiu $s2, $s2, 0x1 +/* 13F4B8 8024A678 26730001 */ addiu $s3, $s3, 0x1 +/* 13F4BC 8024A67C 00158080 */ sll $s0, $s5, 2 +/* 13F4C0 8024A680 3C058025 */ lui $a1, %hi(gPauseStatsStarElements) +/* 13F4C4 8024A684 00B02821 */ addu $a1, $a1, $s0 +/* 13F4C8 8024A688 8CA53840 */ lw $a1, %lo(gPauseStatsStarElements)($a1) +/* 13F4CC 8024A68C 0C050CEB */ jal hud_element_set_script +/* 13F4D0 8024A690 0220202D */ daddu $a0, $s1, $zero +/* 13F4D4 8024A694 0220202D */ daddu $a0, $s1, $zero +/* 13F4D8 8024A698 02158021 */ addu $s0, $s0, $s5 +/* 13F4DC 8024A69C 00108080 */ sll $s0, $s0, 2 +/* 13F4E0 8024A6A0 26100098 */ addiu $s0, $s0, 0x98 +/* 13F4E4 8024A6A4 02F02821 */ addu $a1, $s7, $s0 +/* 13F4E8 8024A6A8 0C050D4D */ jal hud_element_set_render_pos +/* 13F4EC 8024A6AC 27C6004D */ addiu $a2, $fp, 0x4D +/* 13F4F0 8024A6B0 12800005 */ beqz $s4, .Lpause_8024A6C8 +/* 13F4F4 8024A6B4 00000000 */ nop +/* 13F4F8 8024A6B8 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F4FC 8024A6BC 0220202D */ daddu $a0, $s1, $zero +/* 13F500 8024A6C0 080929B4 */ j .Lpause_8024A6D0 +/* 13F504 8024A6C4 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A6C8: +/* 13F508 8024A6C8 0C050CDD */ jal hud_element_draw_next +/* 13F50C 8024A6CC 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A6D0: +/* 13F510 8024A6D0 0000902D */ daddu $s2, $zero, $zero +/* 13F514 8024A6D4 0276102A */ slt $v0, $s3, $s6 +/* 13F518 8024A6D8 1440FF23 */ bnez $v0, .Lpause_8024A368 +/* 13F51C 8024A6DC 26B50001 */ addiu $s5, $s5, 0x1 +.Lpause_8024A6E0: +/* 13F520 8024A6E0 3C048011 */ lui $a0, %hi(gPlayerData+0x28E) +/* 13F524 8024A6E4 8084E01E */ lb $a0, %lo(gPlayerData+0x28E)($a0) +/* 13F528 8024A6E8 00151080 */ sll $v0, $s5, 2 +/* 13F52C 8024A6EC 00551021 */ addu $v0, $v0, $s5 +/* 13F530 8024A6F0 00021080 */ sll $v0, $v0, 2 +/* 13F534 8024A6F4 24550098 */ addiu $s5, $v0, 0x98 +/* 13F538 8024A6F8 2450008C */ addiu $s0, $v0, 0x8C +/* 13F53C 8024A6FC 0004B0C0 */ sll $s6, $a0, 3 +.Lpause_8024A700: +/* 13F540 8024A700 0276102A */ slt $v0, $s3, $s6 +/* 13F544 8024A704 104000D0 */ beqz $v0, .Lpause_8024AA48 +/* 13F548 8024A708 00000000 */ nop +/* 13F54C 8024A70C 16400019 */ bnez $s2, .Lpause_8024A774 +/* 13F550 8024A710 24020001 */ addiu $v0, $zero, 0x1 +/* 13F554 8024A714 26730001 */ addiu $s3, $s3, 0x1 +/* 13F558 8024A718 3C058010 */ lui $a1, %hi(HES_StatusSPEmptyIncrement) +/* 13F55C 8024A71C 24A56BB0 */ addiu $a1, $a1, %lo(HES_StatusSPEmptyIncrement) +/* 13F560 8024A720 0C050CEB */ jal hud_element_set_script +/* 13F564 8024A724 0220202D */ daddu $a0, $s1, $zero +/* 13F568 8024A728 0220202D */ daddu $a0, $s1, $zero +/* 13F56C 8024A72C 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F570 8024A730 3C028025 */ lui $v0, %hi(D_8024F46C) +/* 13F574 8024A734 8C42385C */ lw $v0, %lo(D_8024F46C)($v0) +/* 13F578 8024A738 02F02821 */ addu $a1, $s7, $s0 +/* 13F57C 8024A73C 0C050D4D */ jal hud_element_set_render_pos +/* 13F580 8024A740 00A22821 */ addu $a1, $a1, $v0 +/* 13F584 8024A744 12800005 */ beqz $s4, .Lpause_8024A75C +/* 13F588 8024A748 00000000 */ nop +/* 13F58C 8024A74C 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F590 8024A750 0220202D */ daddu $a0, $s1, $zero +/* 13F594 8024A754 080929D9 */ j .Lpause_8024A764 +/* 13F598 8024A758 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A75C: +/* 13F59C 8024A75C 0C050CDD */ jal hud_element_draw_next +/* 13F5A0 8024A760 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A764: +/* 13F5A4 8024A764 0276102A */ slt $v0, $s3, $s6 +/* 13F5A8 8024A768 104000B7 */ beqz $v0, .Lpause_8024AA48 +/* 13F5AC 8024A76C 26520001 */ addiu $s2, $s2, 0x1 +/* 13F5B0 8024A770 24020001 */ addiu $v0, $zero, 0x1 +.Lpause_8024A774: +/* 13F5B4 8024A774 56420019 */ bnel $s2, $v0, .Lpause_8024A7DC +/* 13F5B8 8024A778 24020002 */ addiu $v0, $zero, 0x2 +/* 13F5BC 8024A77C 02629821 */ addu $s3, $s3, $v0 +/* 13F5C0 8024A780 3C058010 */ lui $a1, %hi(HES_StatusSPEmptyIncrement) +/* 13F5C4 8024A784 24A56BB0 */ addiu $a1, $a1, %lo(HES_StatusSPEmptyIncrement) +/* 13F5C8 8024A788 0C050CEB */ jal hud_element_set_script +/* 13F5CC 8024A78C 0220202D */ daddu $a0, $s1, $zero +/* 13F5D0 8024A790 0220202D */ daddu $a0, $s1, $zero +/* 13F5D4 8024A794 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F5D8 8024A798 3C028025 */ lui $v0, %hi(D_8024F46C+0x4) +/* 13F5DC 8024A79C 8C423860 */ lw $v0, %lo(D_8024F46C+0x4)($v0) +/* 13F5E0 8024A7A0 02F02821 */ addu $a1, $s7, $s0 +/* 13F5E4 8024A7A4 0C050D4D */ jal hud_element_set_render_pos +/* 13F5E8 8024A7A8 00A22821 */ addu $a1, $a1, $v0 +/* 13F5EC 8024A7AC 12800005 */ beqz $s4, .Lpause_8024A7C4 +/* 13F5F0 8024A7B0 00000000 */ nop +/* 13F5F4 8024A7B4 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F5F8 8024A7B8 0220202D */ daddu $a0, $s1, $zero +/* 13F5FC 8024A7BC 080929F3 */ j .Lpause_8024A7CC +/* 13F600 8024A7C0 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A7C4: +/* 13F604 8024A7C4 0C050CDD */ jal hud_element_draw_next +/* 13F608 8024A7C8 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A7CC: +/* 13F60C 8024A7CC 0276102A */ slt $v0, $s3, $s6 +/* 13F610 8024A7D0 1040009D */ beqz $v0, .Lpause_8024AA48 +/* 13F614 8024A7D4 26520001 */ addiu $s2, $s2, 0x1 +/* 13F618 8024A7D8 24020002 */ addiu $v0, $zero, 0x2 +.Lpause_8024A7DC: +/* 13F61C 8024A7DC 16420019 */ bne $s2, $v0, .Lpause_8024A844 +/* 13F620 8024A7E0 24020003 */ addiu $v0, $zero, 0x3 +/* 13F624 8024A7E4 26730001 */ addiu $s3, $s3, 0x1 +/* 13F628 8024A7E8 3C058010 */ lui $a1, %hi(HES_StatusSPEmptyIncrement) +/* 13F62C 8024A7EC 24A56BB0 */ addiu $a1, $a1, %lo(HES_StatusSPEmptyIncrement) +/* 13F630 8024A7F0 0C050CEB */ jal hud_element_set_script +/* 13F634 8024A7F4 0220202D */ daddu $a0, $s1, $zero +/* 13F638 8024A7F8 0220202D */ daddu $a0, $s1, $zero +/* 13F63C 8024A7FC 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F640 8024A800 3C028025 */ lui $v0, %hi(D_8024F46C+0x8) +/* 13F644 8024A804 8C423864 */ lw $v0, %lo(D_8024F46C+0x8)($v0) +/* 13F648 8024A808 02F02821 */ addu $a1, $s7, $s0 +/* 13F64C 8024A80C 0C050D4D */ jal hud_element_set_render_pos +/* 13F650 8024A810 00A22821 */ addu $a1, $a1, $v0 +/* 13F654 8024A814 12800005 */ beqz $s4, .Lpause_8024A82C +/* 13F658 8024A818 00000000 */ nop +/* 13F65C 8024A81C 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F660 8024A820 0220202D */ daddu $a0, $s1, $zero +/* 13F664 8024A824 08092A0D */ j .Lpause_8024A834 +/* 13F668 8024A828 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A82C: +/* 13F66C 8024A82C 0C050CDD */ jal hud_element_draw_next +/* 13F670 8024A830 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A834: +/* 13F674 8024A834 0276102A */ slt $v0, $s3, $s6 +/* 13F678 8024A838 10400083 */ beqz $v0, .Lpause_8024AA48 +/* 13F67C 8024A83C 26520001 */ addiu $s2, $s2, 0x1 +/* 13F680 8024A840 24020003 */ addiu $v0, $zero, 0x3 +.Lpause_8024A844: +/* 13F684 8024A844 16420019 */ bne $s2, $v0, .Lpause_8024A8AC +/* 13F688 8024A848 24020004 */ addiu $v0, $zero, 0x4 +/* 13F68C 8024A84C 26730001 */ addiu $s3, $s3, 0x1 +/* 13F690 8024A850 3C058010 */ lui $a1, %hi(HES_StatusSPEmptyIncrement) +/* 13F694 8024A854 24A56BB0 */ addiu $a1, $a1, %lo(HES_StatusSPEmptyIncrement) +/* 13F698 8024A858 0C050CEB */ jal hud_element_set_script +/* 13F69C 8024A85C 0220202D */ daddu $a0, $s1, $zero +/* 13F6A0 8024A860 0220202D */ daddu $a0, $s1, $zero +/* 13F6A4 8024A864 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F6A8 8024A868 3C028025 */ lui $v0, %hi(D_8024F46C+0xC) +/* 13F6AC 8024A86C 8C423868 */ lw $v0, %lo(D_8024F46C+0xC)($v0) +/* 13F6B0 8024A870 02F02821 */ addu $a1, $s7, $s0 +/* 13F6B4 8024A874 0C050D4D */ jal hud_element_set_render_pos +/* 13F6B8 8024A878 00A22821 */ addu $a1, $a1, $v0 +/* 13F6BC 8024A87C 12800005 */ beqz $s4, .Lpause_8024A894 +/* 13F6C0 8024A880 00000000 */ nop +/* 13F6C4 8024A884 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F6C8 8024A888 0220202D */ daddu $a0, $s1, $zero +/* 13F6CC 8024A88C 08092A27 */ j .Lpause_8024A89C +/* 13F6D0 8024A890 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A894: +/* 13F6D4 8024A894 0C050CDD */ jal hud_element_draw_next +/* 13F6D8 8024A898 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A89C: +/* 13F6DC 8024A89C 0276102A */ slt $v0, $s3, $s6 +/* 13F6E0 8024A8A0 10400069 */ beqz $v0, .Lpause_8024AA48 +/* 13F6E4 8024A8A4 26520001 */ addiu $s2, $s2, 0x1 +/* 13F6E8 8024A8A8 24020004 */ addiu $v0, $zero, 0x4 +.Lpause_8024A8AC: +/* 13F6EC 8024A8AC 16420019 */ bne $s2, $v0, .Lpause_8024A914 +/* 13F6F0 8024A8B0 24020005 */ addiu $v0, $zero, 0x5 +/* 13F6F4 8024A8B4 26730001 */ addiu $s3, $s3, 0x1 +/* 13F6F8 8024A8B8 3C058010 */ lui $a1, %hi(HES_StatusSPEmptyIncrement) +/* 13F6FC 8024A8BC 24A56BB0 */ addiu $a1, $a1, %lo(HES_StatusSPEmptyIncrement) +/* 13F700 8024A8C0 0C050CEB */ jal hud_element_set_script +/* 13F704 8024A8C4 0220202D */ daddu $a0, $s1, $zero +/* 13F708 8024A8C8 0220202D */ daddu $a0, $s1, $zero +/* 13F70C 8024A8CC 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F710 8024A8D0 3C028025 */ lui $v0, %hi(D_8024F46C+0x10) +/* 13F714 8024A8D4 8C42386C */ lw $v0, %lo(D_8024F46C+0x10)($v0) +/* 13F718 8024A8D8 02F02821 */ addu $a1, $s7, $s0 +/* 13F71C 8024A8DC 0C050D4D */ jal hud_element_set_render_pos +/* 13F720 8024A8E0 00A22821 */ addu $a1, $a1, $v0 +/* 13F724 8024A8E4 12800005 */ beqz $s4, .Lpause_8024A8FC +/* 13F728 8024A8E8 00000000 */ nop +/* 13F72C 8024A8EC 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F730 8024A8F0 0220202D */ daddu $a0, $s1, $zero +/* 13F734 8024A8F4 08092A41 */ j .Lpause_8024A904 +/* 13F738 8024A8F8 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A8FC: +/* 13F73C 8024A8FC 0C050CDD */ jal hud_element_draw_next +/* 13F740 8024A900 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A904: +/* 13F744 8024A904 0276102A */ slt $v0, $s3, $s6 +/* 13F748 8024A908 1040004F */ beqz $v0, .Lpause_8024AA48 +/* 13F74C 8024A90C 26520001 */ addiu $s2, $s2, 0x1 +/* 13F750 8024A910 24020005 */ addiu $v0, $zero, 0x5 +.Lpause_8024A914: +/* 13F754 8024A914 16420019 */ bne $s2, $v0, .Lpause_8024A97C +/* 13F758 8024A918 24020006 */ addiu $v0, $zero, 0x6 +/* 13F75C 8024A91C 26730001 */ addiu $s3, $s3, 0x1 +/* 13F760 8024A920 3C058010 */ lui $a1, %hi(HES_StatusSPEmptyIncrement) +/* 13F764 8024A924 24A56BB0 */ addiu $a1, $a1, %lo(HES_StatusSPEmptyIncrement) +/* 13F768 8024A928 0C050CEB */ jal hud_element_set_script +/* 13F76C 8024A92C 0220202D */ daddu $a0, $s1, $zero +/* 13F770 8024A930 0220202D */ daddu $a0, $s1, $zero +/* 13F774 8024A934 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F778 8024A938 3C028025 */ lui $v0, %hi(D_8024F46C+0x14) +/* 13F77C 8024A93C 8C423870 */ lw $v0, %lo(D_8024F46C+0x14)($v0) +/* 13F780 8024A940 02F02821 */ addu $a1, $s7, $s0 +/* 13F784 8024A944 0C050D4D */ jal hud_element_set_render_pos +/* 13F788 8024A948 00A22821 */ addu $a1, $a1, $v0 +/* 13F78C 8024A94C 12800005 */ beqz $s4, .Lpause_8024A964 +/* 13F790 8024A950 00000000 */ nop +/* 13F794 8024A954 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F798 8024A958 0220202D */ daddu $a0, $s1, $zero +/* 13F79C 8024A95C 08092A5B */ j .Lpause_8024A96C +/* 13F7A0 8024A960 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A964: +/* 13F7A4 8024A964 0C050CDD */ jal hud_element_draw_next +/* 13F7A8 8024A968 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A96C: +/* 13F7AC 8024A96C 0276102A */ slt $v0, $s3, $s6 +/* 13F7B0 8024A970 10400035 */ beqz $v0, .Lpause_8024AA48 +/* 13F7B4 8024A974 26520001 */ addiu $s2, $s2, 0x1 +/* 13F7B8 8024A978 24020006 */ addiu $v0, $zero, 0x6 +.Lpause_8024A97C: +/* 13F7BC 8024A97C 16420019 */ bne $s2, $v0, .Lpause_8024A9E4 +/* 13F7C0 8024A980 24020007 */ addiu $v0, $zero, 0x7 +/* 13F7C4 8024A984 26730001 */ addiu $s3, $s3, 0x1 +/* 13F7C8 8024A988 3C058010 */ lui $a1, %hi(HES_StatusSPEmptyIncrement) +/* 13F7CC 8024A98C 24A56BB0 */ addiu $a1, $a1, %lo(HES_StatusSPEmptyIncrement) +/* 13F7D0 8024A990 0C050CEB */ jal hud_element_set_script +/* 13F7D4 8024A994 0220202D */ daddu $a0, $s1, $zero +/* 13F7D8 8024A998 0220202D */ daddu $a0, $s1, $zero +/* 13F7DC 8024A99C 27C6004B */ addiu $a2, $fp, 0x4B +/* 13F7E0 8024A9A0 3C028025 */ lui $v0, %hi(D_8024F46C+0x18) +/* 13F7E4 8024A9A4 8C423874 */ lw $v0, %lo(D_8024F46C+0x18)($v0) +/* 13F7E8 8024A9A8 02F02821 */ addu $a1, $s7, $s0 +/* 13F7EC 8024A9AC 0C050D4D */ jal hud_element_set_render_pos +/* 13F7F0 8024A9B0 00A22821 */ addu $a1, $a1, $v0 +/* 13F7F4 8024A9B4 12800005 */ beqz $s4, .Lpause_8024A9CC +/* 13F7F8 8024A9B8 00000000 */ nop +/* 13F7FC 8024A9BC 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F800 8024A9C0 0220202D */ daddu $a0, $s1, $zero +/* 13F804 8024A9C4 08092A75 */ j .Lpause_8024A9D4 +/* 13F808 8024A9C8 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024A9CC: +/* 13F80C 8024A9CC 0C050CDD */ jal hud_element_draw_next +/* 13F810 8024A9D0 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024A9D4: +/* 13F814 8024A9D4 0276102A */ slt $v0, $s3, $s6 +/* 13F818 8024A9D8 1040001B */ beqz $v0, .Lpause_8024AA48 +/* 13F81C 8024A9DC 26520001 */ addiu $s2, $s2, 0x1 +/* 13F820 8024A9E0 24020007 */ addiu $v0, $zero, 0x7 +.Lpause_8024A9E4: +/* 13F824 8024A9E4 56420015 */ bnel $s2, $v0, .Lpause_8024AA3C +/* 13F828 8024A9E8 0000902D */ daddu $s2, $zero, $zero +/* 13F82C 8024A9EC 26730001 */ addiu $s3, $s3, 0x1 +/* 13F830 8024A9F0 3C058010 */ lui $a1, %hi(HES_StatusStarEmpty) +/* 13F834 8024A9F4 24A56CF0 */ addiu $a1, $a1, %lo(HES_StatusStarEmpty) +/* 13F838 8024A9F8 0C050CEB */ jal hud_element_set_script +/* 13F83C 8024A9FC 0220202D */ daddu $a0, $s1, $zero +/* 13F840 8024AA00 0220202D */ daddu $a0, $s1, $zero +/* 13F844 8024AA04 02F52821 */ addu $a1, $s7, $s5 +/* 13F848 8024AA08 0C050D4D */ jal hud_element_set_render_pos +/* 13F84C 8024AA0C 27C6004D */ addiu $a2, $fp, 0x4D +/* 13F850 8024AA10 12800005 */ beqz $s4, .Lpause_8024AA28 +/* 13F854 8024AA14 00000000 */ nop +/* 13F858 8024AA18 0C050CE4 */ jal hud_element_draw_without_clipping +/* 13F85C 8024AA1C 0220202D */ daddu $a0, $s1, $zero +/* 13F860 8024AA20 08092A8C */ j .Lpause_8024AA30 +/* 13F864 8024AA24 0000A02D */ daddu $s4, $zero, $zero +.Lpause_8024AA28: +/* 13F868 8024AA28 0C050CDD */ jal hud_element_draw_next +/* 13F86C 8024AA2C 0220202D */ daddu $a0, $s1, $zero +.Lpause_8024AA30: +/* 13F870 8024AA30 0276102A */ slt $v0, $s3, $s6 +/* 13F874 8024AA34 10400004 */ beqz $v0, .Lpause_8024AA48 +/* 13F878 8024AA38 0000902D */ daddu $s2, $zero, $zero +.Lpause_8024AA3C: +/* 13F87C 8024AA3C 26B50014 */ addiu $s5, $s5, 0x14 +/* 13F880 8024AA40 080929C0 */ j .Lpause_8024A700 +/* 13F884 8024AA44 26100014 */ addiu $s0, $s0, 0x14 +.Lpause_8024AA48: +/* 13F888 8024AA48 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab) +/* 13F88C 8024AA4C 806324A4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1) +/* 13F890 8024AA50 24020001 */ addiu $v0, $zero, 0x1 +/* 13F894 8024AA54 1462001B */ bne $v1, $v0, .Lpause_8024AAC4 +/* 13F898 8024AA58 00000000 */ nop +/* 13F89C 8024AA5C 8FA80080 */ lw $t0, 0x80($sp) +/* 13F8A0 8024AA60 91020003 */ lbu $v0, 0x3($t0) +/* 13F8A4 8024AA64 2C420007 */ sltiu $v0, $v0, 0x7 +/* 13F8A8 8024AA68 14400008 */ bnez $v0, .Lpause_8024AA8C +/* 13F8AC 8024AA6C 0000382D */ daddu $a3, $zero, $zero +/* 13F8B0 8024AA70 3C028015 */ lui $v0, %hi(gCurrentLanguage) +/* 13F8B4 8024AA74 8C42AE4C */ lw $v0, %lo(gCurrentLanguage)($v0) +/* 13F8B8 8024AA78 00021080 */ sll $v0, $v0, 2 +/* 13F8BC 8024AA7C 3C078025 */ lui $a3, %hi(D_pause_80253814) +/* 13F8C0 8024AA80 00E23821 */ addu $a3, $a3, $v0 +/* 13F8C4 8024AA84 8CE73814 */ lw $a3, %lo(D_pause_80253814)($a3) +/* 13F8C8 8024AA88 8FA80080 */ lw $t0, 0x80($sp) +.Lpause_8024AA8C: +/* 13F8CC 8024AA8C 91030003 */ lbu $v1, 0x3($t0) +/* 13F8D0 8024AA90 3C048025 */ lui $a0, %hi(gStatsMenuEntries) +/* 13F8D4 8024AA94 24843790 */ addiu $a0, $a0, %lo(gStatsMenuEntries) +/* 13F8D8 8024AA98 00031040 */ sll $v0, $v1, 1 +/* 13F8DC 8024AA9C 00431021 */ addu $v0, $v0, $v1 +/* 13F8E0 8024AAA0 00021080 */ sll $v0, $v0, 2 +/* 13F8E4 8024AAA4 00441021 */ addu $v0, $v0, $a0 +/* 13F8E8 8024AAA8 2404001F */ addiu $a0, $zero, 0x1F +/* 13F8EC 8024AAAC 8C450000 */ lw $a1, 0x0($v0) +/* 13F8F0 8024AAB0 8C460004 */ lw $a2, 0x4($v0) +/* 13F8F4 8024AAB4 02E52821 */ addu $a1, $s7, $a1 +/* 13F8F8 8024AAB8 00A72821 */ addu $a1, $a1, $a3 +/* 13F8FC 8024AABC 0C091B05 */ jal pause_set_cursor_pos +/* 13F900 8024AAC0 03C63021 */ addu $a2, $fp, $a2 +.Lpause_8024AAC4: +/* 13F904 8024AAC4 8FBF007C */ lw $ra, 0x7C($sp) +/* 13F908 8024AAC8 8FBE0078 */ lw $fp, 0x78($sp) +/* 13F90C 8024AACC 8FB70074 */ lw $s7, 0x74($sp) +/* 13F910 8024AAD0 8FB60070 */ lw $s6, 0x70($sp) +/* 13F914 8024AAD4 8FB5006C */ lw $s5, 0x6C($sp) +/* 13F918 8024AAD8 8FB40068 */ lw $s4, 0x68($sp) +/* 13F91C 8024AADC 8FB30064 */ lw $s3, 0x64($sp) +/* 13F920 8024AAE0 8FB20060 */ lw $s2, 0x60($sp) +/* 13F924 8024AAE4 8FB1005C */ lw $s1, 0x5C($sp) +/* 13F928 8024AAE8 8FB00058 */ lw $s0, 0x58($sp) +/* 13F92C 8024AAEC 03E00008 */ jr $ra +/* 13F930 8024AAF0 27BD0080 */ addiu $sp, $sp, 0x80 diff --git a/ver/pal/asm/nonmatchings/pause/pause_tabs/pause_tabs_init.s b/ver/pal/asm/nonmatchings/pause/pause_tabs/pause_tabs_init.s new file mode 100644 index 0000000000..dbda87001b --- /dev/null +++ b/ver/pal/asm/nonmatchings/pause/pause_tabs/pause_tabs_init.s @@ -0,0 +1,66 @@ +.set noat /* allow manual use of $at */ +.set noreorder /* don't insert nops after branches */ + +/* Generated by spimdisasm 1.11.1 */ + +glabel pause_tabs_init +/* 13DFD8 80249198 27BDFFD8 */ addiu $sp, $sp, -0x28 +/* 13DFDC 8024919C AFB20018 */ sw $s2, 0x18($sp) +/* 13DFE0 802491A0 0080902D */ daddu $s2, $a0, $zero +/* 13DFE4 802491A4 AFB00010 */ sw $s0, 0x10($sp) +/* 13DFE8 802491A8 0000802D */ daddu $s0, $zero, $zero +/* 13DFEC 802491AC AFB3001C */ sw $s3, 0x1C($sp) +/* 13DFF0 802491B0 3C138025 */ lui $s3, %hi(gPauseTabsHudScripts) +/* 13DFF4 802491B4 26733540 */ addiu $s3, $s3, %lo(gPauseTabsHudScripts) +/* 13DFF8 802491B8 AFB10014 */ sw $s1, 0x14($sp) +/* 13DFFC 802491BC 3C118027 */ lui $s1, %hi(gPauseTabsIconIDs) +/* 13E000 802491C0 26312500 */ addiu $s1, $s1, %lo(gPauseTabsIconIDs) +/* 13E004 802491C4 AFBF0020 */ sw $ra, 0x20($sp) +.Lpause_802491C8: +/* 13E008 802491C8 3C048015 */ lui $a0, %hi(gCurrentLanguage) +/* 13E00C 802491CC 8C84AE4C */ lw $a0, %lo(gCurrentLanguage)($a0) +/* 13E010 802491D0 00101880 */ sll $v1, $s0, 2 +/* 13E014 802491D4 00041040 */ sll $v0, $a0, 1 +/* 13E018 802491D8 00441021 */ addu $v0, $v0, $a0 +/* 13E01C 802491DC 000210C0 */ sll $v0, $v0, 3 +/* 13E020 802491E0 00621821 */ addu $v1, $v1, $v0 +/* 13E024 802491E4 00731821 */ addu $v1, $v1, $s3 +/* 13E028 802491E8 8C640000 */ lw $a0, 0x0($v1) +/* 13E02C 802491EC 0C050015 */ jal hud_element_create +/* 13E030 802491F0 26100001 */ addiu $s0, $s0, 0x1 +/* 13E034 802491F4 0040202D */ daddu $a0, $v0, $zero +/* 13E038 802491F8 24050080 */ addiu $a1, $zero, 0x80 +/* 13E03C 802491FC 0C050D6C */ jal hud_element_set_flags +/* 13E040 80249200 AE240000 */ sw $a0, 0x0($s1) +/* 13E044 80249204 2A020006 */ slti $v0, $s0, 0x6 +/* 13E048 80249208 1440FFEF */ bnez $v0, .Lpause_802491C8 +/* 13E04C 8024920C 26310004 */ addiu $s1, $s1, 0x4 +/* 13E050 80249210 24100006 */ addiu $s0, $zero, 0x6 +/* 13E054 80249214 3C028025 */ lui $v0, %hi(gPauseTabsWindowBPs+0xD8) +/* 13E058 80249218 24423698 */ addiu $v0, $v0, %lo(gPauseTabsWindowBPs+0xD8) +.Lpause_8024921C: +/* 13E05C 8024921C AC520010 */ sw $s2, 0x10($v0) +/* 13E060 80249220 2610FFFF */ addiu $s0, $s0, -0x1 +/* 13E064 80249224 0601FFFD */ bgez $s0, .Lpause_8024921C +/* 13E068 80249228 2442FFDC */ addiu $v0, $v0, -0x24 +/* 13E06C 8024922C 3C048025 */ lui $a0, %hi(gPauseTabsWindowBPs) +/* 13E070 80249230 248435C0 */ addiu $a0, $a0, %lo(gPauseTabsWindowBPs) +/* 13E074 80249234 0C051AB8 */ jal setup_pause_menu_tab +/* 13E078 80249238 24050007 */ addiu $a1, $zero, 0x7 +/* 13E07C 8024923C 24020019 */ addiu $v0, $zero, 0x19 +/* 13E080 80249240 3C018016 */ lui $at, %hi(gWindows+0x56E) +/* 13E084 80249244 A4228E7E */ sh $v0, %lo(gWindows+0x56E)($at) +/* 13E088 80249248 24020001 */ addiu $v0, $zero, 0x1 +/* 13E08C 8024924C 3C018027 */ lui $at, %hi(gPauseTabsHorizScrollPos) +/* 13E090 80249250 AC20251C */ sw $zero, %lo(gPauseTabsHorizScrollPos)($at) +/* 13E094 80249254 A2420000 */ sb $v0, 0x0($s2) +/* 13E098 80249258 8FBF0020 */ lw $ra, 0x20($sp) +/* 13E09C 8024925C 8FB3001C */ lw $s3, 0x1C($sp) +/* 13E0A0 80249260 8FB20018 */ lw $s2, 0x18($sp) +/* 13E0A4 80249264 8FB10014 */ lw $s1, 0x14($sp) +/* 13E0A8 80249268 8FB00010 */ lw $s0, 0x10($sp) +/* 13E0AC 8024926C 24020005 */ addiu $v0, $zero, 0x5 +/* 13E0B0 80249270 3C018027 */ lui $at, %hi(gPauseTabsPreviousTab) +/* 13E0B4 80249274 AC222518 */ sw $v0, %lo(gPauseTabsPreviousTab)($at) +/* 13E0B8 80249278 03E00008 */ jr $ra +/* 13E0BC 8024927C 27BD0028 */ addiu $sp, $sp, 0x28 diff --git a/ver/pal/splat.yaml b/ver/pal/splat.yaml index 4b38a8eabe..275657ca11 100644 --- a/ver/pal/splat.yaml +++ b/ver/pal/splat.yaml @@ -106,7 +106,85 @@ segments: - [0x132C28, palette, letter_content_12] - [0x132E28, bin] # length 0x18, non zero - - [0x132E40, bin] + - type: bin + name: ui_images + start: 0x132E40 + vram: 0x8023E000 + + - type: code + dir: pause + start: 0x13B8F0 + vram: 0x80246AB0 + subsegments: + - [0x13B8F0, c, pause_main] + - [0x13D8E0, c, pause_tabs] + - [0x13E6F0, c, pause_stats] + - [0x13FE50, c, pause_badges] + - [0x142760, c, pause_items] + - [0x143E60, c, pause_partners] + - [0x145B40, c, pause_spirits] + - [0x146A70, c, pause_map] + - [0x147FC0, c, pause_gfx] + - [0x148130, .data, pause_main] + - [0x148380, .data, pause_tabs] + - [0x148550, .data, pause_stats] + - [0x148700, .data, pause_badges] + - [0x1488A0, .data, pause_items] + - [0x148930, .data, pause_partners] + - [0x148C40, .data, pause_spirits] + - [0x148DC0, .data, pause_map] + - start: 0x149A40 + type: .data + name: pause_gfx + subsegments: + - [0x149A40, ia8, image_1439F0, 16, 32] + - [0x149C40, ia8, image_143BF0, 16, 64] + - [0x14A040, ia8, image_143FF0, 16, 64] + - [0x14A440, ci8, world_map, 320, 320] + - [0x163440, palette, world_map] + - [0x163640, ci4, spirits_bg, 128, 110] + - [0x1651C0, palette, spirits_bg] + - [0x1653C0, rgba16, orbs, 8, 32] + - [0x1655C0, ia8, map_location, 16, 16] + - [0x1656C0, ia8, map_path_marker, 16, 16] + - [0x1657C0, ia4, map_arrows, 16, 64] + - [0x1659C0, ci4, stats_bar, 160, 8] + - [0x165C40, palette, stats_bar] + - [0x165E40, .data, pause_gfx] + - [0x166B10, .data, pause_styles] + - [0x167170] + - type: code + dir: pause + name: pause_gfx_en + start: 0x1672D0 + vram: 0x8027AA10 + subsegments: + - start: 0x1672D0 + type: .data + name: pause_gfx_en + subsegments: + - [0x1672D0, ci4, banner_hp, 64, 16] + - [0x1674D0, palette, banner_hp] + - [0x1676D0, ci4, banner_fp, 64, 16] + - [0x1678D0, palette, banner_fp] + - [0x167AD0, ci4, banner_bp, 64, 16] + - [0x167CD0, palette, banner_bp] + - [0x167ED0, ci4, banner_boots, 48, 16] + - [0x168050, palette, banner_boots] + - [0x168250, ci4, banner_hammer, 48, 16] + - [0x1683D0, palette, banner_hammer] + - [0x1685D0, ci4, banner_star_energy, 48, 16] + - [0x168750, palette, banner_star_energy] + - [0x168950, ci4, available, 64, 16] + - [0x168B50, palette, available] + - [0x168D50, ci4, prompt_check_abilities, 128, 16] + - [0x169150, palette, prompt_check_abilities] + - [0x00169350] + - [0x169350, bin, pause_gfx_de] # TODO: German + - [0x16B3D0, bin, pause_gfx_fr] # TODO: French + - [0x16D450, bin, pause_gfx_es] # TODO: Spanish + + - [0x16F4D0, bin] - [0x1DA1E0, ci4, icon/present, 32, 32] - [0x1DA3E0, palette, icon/present] diff --git a/ver/pal/symbol_addrs.txt b/ver/pal/symbol_addrs.txt index c6dca82ccd..71f75c77d4 100644 --- a/ver/pal/symbol_addrs.txt +++ b/ver/pal/symbol_addrs.txt @@ -1,3 +1,32 @@ +pause_image_1439F0_png = 0x80254C00; // rom:0x149A40 +pause_image_143BF0_png = 0x80254E00; // rom:0x149C40 +pause_image_143FF0_png = 0x80255200; // rom:0x14A040 +pause_world_map_png = 0x80255600; // rom:0x14A440 +pause_world_map_pal = 0x8026E600; // rom:0x163440 +pause_spirits_bg_png = 0x8026E800; // rom:0x163640 +pause_spirits_bg_pal = 0x80270380; // rom:0x1651C0 +pause_orbs_png = 0x80270580; // rom:0x1653C0 +pause_map_location_png = 0x80270780; // rom:0x1655C0 +pause_map_path_marker_png = 0x80270880; // rom:0x1656C0 +pause_arrows_png = 0x80270980; // rom:0x1657C0 +pause_stats_bar_png = 0x80270B80; // rom:0x1659C0 +pause_stats_bar_pal = 0x80270E00; // rom:0x165C40 +pause_banner_hp_png = 0x8027AA10; // rom:0x1672D0 +pause_banner_hp_pal = 0x8027AC10; // rom:0x1674D0 +pause_banner_fp_png = 0x8027AE10; // rom:0x1676D0 +pause_banner_fp_pal = 0x8027B010; // rom:0x1678D0 +pause_banner_bp_png = 0x8027B210; // rom:0x167AD0 +pause_banner_bp_pal = 0x8027B410; // rom:0x167CD0 +pause_banner_boots_png = 0x8027B610; // rom:0x167ED0 +pause_banner_boots_pal = 0x8027B790; // rom:0x168050 +pause_banner_hammer_png = 0x8027B990; // rom:0x168250 +pause_banner_hammer_pal = 0x8027BB10; // rom:0x1683D0 +pause_banner_star_energy_png = 0x8027BD10; // rom:0x1685D0 +pause_banner_star_energy_pal = 0x8027BE90; // rom:0x168750 +pause_available_png = 0x8027C090; // rom:0x168950 +pause_available_pal = 0x8027C290; // rom:0x168B50 +pause_prompt_check_abilities_png = 0x8027C490; // rom:0x168D50 +pause_prompt_check_abilities_pal = 0x8027C890; // rom:0x169150 D_09000000_326410 = 0x9000000; // rom:0x34F1D0 D_09000200_326610 = 0x9000200; // rom:0x34F3D0 D_09000220_326630 = 0x9000220; // rom:0x34F3F0 diff --git a/ver/pal/undefined_syms.txt b/ver/pal/undefined_syms.txt index fa0099ec04..ab84e13ba8 100644 --- a/ver/pal/undefined_syms.txt +++ b/ver/pal/undefined_syms.txt @@ -7,6 +7,7 @@ length2D = 0x80028F70; _heap_malloc = 0x80028FEC; _heap_free = 0x8002919C; cosine = 0x80029354; +sign = 0x80029430; mem_clear = 0x80029580; transform_point = 0x800295A0; copy_matrix = 0x800296A0; @@ -41,6 +42,7 @@ set_curtain_fade = 0x8002C234; create_cameras_a = 0x8002E214; get_screen_coords = 0x8002E858; set_game_mode = 0x80033810; +get_game_mode = 0x80033848; intro_logos_set_fade_alpha = 0x80033B10; intro_logos_set_fade_color = 0x80033B20; set_map_change_fade_rate = 0x80035CF0; @@ -317,7 +319,29 @@ gPlayerStatusPtr = 0x800F3F60; wPartnerHudScripts = 0x800F4330; wDisabledPartnerHudScripts = 0x800F4370; HES_AnimatedHandPointer = 0x80102D18; +HES_FPCost = 0x80105928; +HES_FPCost_de = 0x80105A88; +HES_FPCost_fr = 0x80105BE8; +HES_FPCost_es = 0x80105D48; +HES_StatusSPIncrement1 = 0x80106A98; +HES_StatusSPIncrement2 = 0x80106AC0; +HES_StatusSPIncrement3 = 0x80106AE8; +HES_StatusSPIncrement4 = 0x80106B10; +HES_StatusSPIncrement5 = 0x80106B38; +HES_StatusSPIncrement6 = 0x80106B60; +HES_StatusSPIncrement7 = 0x80106B88; +HES_StatusSPEmptyIncrement = 0x80106BB0; +HES_StatusStar1 = 0x80106BD8; +HES_StatusStar2 = 0x80106C00; +HES_StatusStar3 = 0x80106C28; +HES_StatusStar4 = 0x80106C50; +HES_StatusStar5 = 0x80106C78; +HES_StatusStar6 = 0x80106CA0; +HES_StatusStar7 = 0x80106CC8; +HES_StatusStarEmpty = 0x80106CF0; +HES_StatusHeart = 0x80106D18; HES_StatusCoin = 0x80106D58; +HES_StatusStarPoint = 0x80106EAC; HES_Refund = 0x80107264; HES_Refund_de = 0x8010739C; HES_Refund_fr = 0x801074D4; @@ -325,12 +349,21 @@ HES_Refund_es = 0x8010760C; HES_BlueMeter = 0x801076A4; HES_AButton = 0x801076D0; HES_MashAButton = 0x80107728; +HES_PressAButton = 0x80107764; HES_SlowlyMashAButton = 0x801077DC; +HES_PressStartButton = 0x801078AC; +HES_StartButtonText = 0x801078E8; HES_StickNeutral = 0x801079C4; HES_StickHoldLeft = 0x801079F0; HES_StickTapRight = 0x80107D8C; HES_RunAwayOK = 0x80107DEC; +HES_MoveDiamond = 0x80107EE0; +HES_MoveBlueOrb = 0x80107F08; +HES_MoveGreenOrb = 0x80107F30; +HES_MoveRedOrb = 0x80107F58; ui_box_corners5_png = 0x80109D00; +ui_box_corners4_png = 0x80109F00; +ui_box_bg_tile_png = 0x8010A000; wPartnerNpc = 0x8010B420; TweesterTouchingPartner = 0x8010B444; NpcHitQueryColliderID = 0x8010B468; @@ -445,6 +478,7 @@ imgfx_appendGfx_component = 0x80139B10; hud_element_clear_cache = 0x8013FCA0; hud_element_create = 0x80140054; hud_element_draw_clipped = 0x80143358; +hud_element_draw_next = 0x80143374; hud_element_draw_without_clipping = 0x80143390; hud_element_set_script = 0x801433AC; hud_element_free = 0x801434A4; @@ -467,6 +501,8 @@ reset_background_settings = 0x801449A8; enable_background_wave = 0x80145DBC; basic_window_update = 0x80146024; basic_hidden_window_update = 0x80146124; +update_window_hierarchy = 0x80146920; +replace_window_update = 0x801469F8; set_window_update = 0x80146A2C; setup_pause_menu_tab = 0x80146AE0; clear_sprite_shading_data = 0x80146BF0; @@ -497,9 +533,61 @@ gBackgroundFogModePtr = 0x8014FEC0; gEntityHideMode = 0x8014FEE0; gSpriteShadingProfile = 0x8014FEF8; gMusicSettings = 0x801586B0; +gWindows = 0x80158910; gCollisionStatus = 0x80159110; gBackgroundImage = 0x80200000; interp_value_with_easing = 0x802410E4; +HES_UnusedBadge = 0x80245760; +HES_AnimatedCursorHand = 0x8024582C; +HES_HeaderStats = 0x80245948; +HES_HeaderBadges = 0x80245974; +HES_HeaderItems = 0x802459A0; +HES_HeaderParty = 0x802459CC; +HES_HeaderSpirits = 0x802459F8; +HES_HeaderMap = 0x80245A24; +HES_HeaderStats_de = 0x80245A50; +HES_HeaderBadges_de = 0x80245A7C; +HES_HeaderItems_de = 0x80245AA8; +HES_HeaderParty_de = 0x80245AD4; +HES_HeaderSpirits_de = 0x80245B00; +HES_HeaderMap_de = 0x80245B2C; +HES_HeaderStats_fr = 0x80245B58; +HES_HeaderBadges_fr = 0x80245B84; +HES_HeaderItems_fr = 0x80245BB0; +HES_HeaderParty_fr = 0x80245BDC; +HES_HeaderSpirits_fr = 0x80245C08; +HES_HeaderMap_fr = 0x80245C34; +HES_HeaderStats_es = 0x80245C60; +HES_HeaderBadges_es = 0x80245C8C; +HES_HeaderItems_es = 0x80245CB8; +HES_HeaderParty_es = 0x80245CE4; +HES_HeaderSpirits_es = 0x80245D10; +HES_HeaderMap_es = 0x80245D3C; +HES_MapWalk0 = 0x802464CC; +HES_ListPrevPage = 0x80246528; +HES_ListNextPage = 0x80246554; +HES_LabelBpNeeded = 0x802465D8; +HES_LabelBpNeeded_de = 0x80246604; +HES_LabelBpNeeded_fr = 0x80246630; +HES_LabelBpNeeded_es = 0x8024665C; +HES_Dash = 0x802466B4; +HES_DescMsgPrev = 0x802466E0; +HES_DescMsgNext = 0x8024672C; +HES_StatBoots0 = 0x80246778; +HES_StatBoots1 = 0x802467A0; +HES_StatBoots2 = 0x802467C8; +HES_StatBoots3 = 0x802467F0; +HES_StatHammer0 = 0x80246818; +HES_StatHammer1 = 0x80246840; +HES_StatHammer2 = 0x80246868; +HES_StatHammer3 = 0x80246890; +HES_StatBp = 0x802468B8; +HES_MarioHeadSmall = 0x802468E0; +HES_Clock = 0x80246908; +HES_StatStarPiece_1 = 0x80246930; +HES_StatFp_1 = 0x802469E0; +HES_StatTimes = 0x80246A30; +HES_PartnerRank = 0x80246A58; UseBattleCamPreset = 0x8024E5BC; UseBattleCamPresetImmediately = 0x8024E604; SetBattleCamParam = 0x8024E6E8; @@ -1268,6 +1356,10 @@ spr_draw_player_sprite = 0x802E3F20; set_player_imgfx_comp = 0x802E41C4; set_player_imgfx_all = 0x802E42D8; spr_get_player_raster_info = 0x802E4324; +spr_load_npc_sprite = 0x802E43CC; +spr_update_sprite = 0x802E458C; +spr_draw_npc_sprite = 0x802E46B8; +spr_free_sprite = 0x802E48C8; set_npc_imgfx_comp = 0x802E4A60; set_npc_imgfx_all = 0x802E4B74; spr_get_comp_position = 0x802E4BBC;