147 menu->
userIndex[optionCount] = partnerID;
148 menu->
enabled[optionCount] = TRUE;
153 menu->
enabled[optionCount] = FALSE;
168 s32 itemIdx = playerData->
invItems[i];
177 menu->
enabled[optionCount] = 1;
181 menu->
enabled[optionCount] = FALSE;
192 static s16 SwappedWorldMenus;
202 s8* partnerActionState;
245 SwappedWorldMenus = FALSE;
251 if (SwappedWorldMenus) {
253 playerStatus->
flags &= ~PS_FLAG_PAUSED;
259 if (numEntries == 0) {
270 if (numEntries == 0) {
287 flags = ~PS_FLAG_PAUSED;
293 if (SwappedWorldMenus) {
295 playerStatus->
flags &= ~PS_FLAG_PAUSED;
354 SwappedWorldMenus = TRUE;
373 playerStatus->
flags &= ~PS_FLAG_PAUSED;
382 playerStatus->
flags &= ~PS_FLAG_PAUSED;
403 if (!(playerStatus->
curButtons & (Z_TRIG | R_TRIG))
416 }
else if (!(playerStatus->
curButtons & (Z_TRIG | R_TRIG))
PartnerPopupProperties gPartnerPopupProperties[]
void create_standard_popup_menu(PopupMenu *popup)
@ POPUP_MENU_SWITCH_PARTNER
@ PS_FLAG_NO_CHANGE_PARTNER
@ PS_FLAG_NO_STATIC_COLLISION
@ ITEM_TYPE_FLAG_WORLD_USABLE
@ SHOP_FLAG_SHOWING_ITEM_INFO
@ GLOBAL_OVERRIDES_CANT_PICK_UP_ITEMS
@ GLOBAL_OVERRIDES_DISABLE_MENUS
b32 can_control_status_bar(void)
s32 evt_get_variable(Evt *script, Bytecode var)
void hide_popup_menu(void)
void partner_disable_input(void)
s32 disable_player_input(void)
void close_status_bar(void)
s32 enable_player_input(void)
void destroy_popup_menu(void)
void switch_to_partner(s32 arg0)
s32 is_picking_up_item(void)
void set_action_state(s32 actionState)
s32 use_consumable(s32 invSlot)
s32 partner_can_open_world_menus(void)
void set_time_freeze_mode(s32)
Time freeze modes: 0: none 1: NPCs move, can't be interacted with 2: NPCs don't move,...
s32 is_status_bar_visible(void)
void open_status_bar_slowly(void)
void set_game_mode(s32 modeID)
HudScript * wDisabledPartnerHudScripts[]
HudScript * wPartnerHudScripts[]
s32 world_lakilester_can_dismount(void)
void npc_set_imgfx_params(Npc *npc, s32 arg1, s32 arg2, s32 arg3, s32 arg4, s32 arg5, s32 arg6)
Npc * get_npc_unsafe(s32 npcID)
void partner_enable_input(void)
void sfx_play_sound(s32 soundID)
void set_player_imgfx_comp(s32 spriteIdx, s32 compIdx, ImgFXType imgfx, s32 imgfxArg1, s32 imgfxArg2, s32 imgfxArg3, s32 imgfxArg4, s32 flags)
s32 PartnerIDFromMenuIndex[12]
PartnerStatus gPartnerStatus
GameStatus * gGameStatusPtr
PlayerStatus gPlayerStatus