mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
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
This commit is contained in:
parent
e41923e55d
commit
aa29eb5553
@ -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,
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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];
|
||||
|
16
src/pause/pause_gfx_en.c
Normal file
16
src/pause/pause_gfx_en.c
Normal file
@ -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"
|
@ -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;
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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]
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
@ -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
|
File diff suppressed because it is too large
Load Diff
66
ver/pal/asm/nonmatchings/pause/pause_tabs/pause_tabs_init.s
Normal file
66
ver/pal/asm/nonmatchings/pause/pause_tabs/pause_tabs_init.s
Normal file
@ -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
|
@ -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]
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user