Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
prepare_menu.c
Go to the documentation of this file.
1#include "states.h"
2#include "ld_addrs.h"
3
6
8 battleStatus->lastPlayerMenuSelection[BTL_MENU_IDX_SMASH] = -1;
9 battleStatus->lastPlayerMenuSelection[BTL_MENU_IDX_ITEMS] = -1;
10 battleStatus->lastPlayerMenuSelection[BTL_MENU_IDX_DIP] = -1;
11 battleStatus->lastPlayerMenuSelection[BTL_MENU_IDX_PARTNER] = -1;
12 battleStatus->lastPlayerMenuSelection[BTL_MENU_IDX_STAR_POWER] = -1;
13 battleStatus->lastPlayerMenuSelection[BTL_MENU_IDX_STRATEGY] = -1;
14 battleStatus->lastPartnerMenuSelection[BTL_MENU_IDX_ABILITY] = -1;
15 battleStatus->lastPartnerMenuSelection[BTL_MENU_IDX_STAR_POWER] = -1;
16 battleStatus->lastPartnerMenuSelection[BTL_MENU_IDX_STRATEGY] = -1;
17
19
25 } else {
27 }
28}
29
BSS s32 PopupMenu_SelectedIndex
@ BS_FLAGS1_PARTNER_ACTING
Definition enums.h:3621
@ BATTLE_STATE_PLAYER_MENU
Definition enums.h:3677
@ BATTLE_STATE_PARTNER_MENU
Definition enums.h:3678
@ BTL_MENU_IDX_PARTNER
Definition enums.h:3816
@ BTL_MENU_IDX_STRATEGY
Definition enums.h:3818
@ BTL_MENU_IDX_SMASH
Definition enums.h:3813
@ BTL_MENU_IDX_STAR_POWER
Definition enums.h:3817
@ BTL_MENU_IDX_JUMP
Definition enums.h:3812
@ BTL_MENU_IDX_DIP
Definition enums.h:3815
@ BTL_MENU_IDX_ABILITY
Definition enums.h:3820
@ BTL_MENU_IDX_ITEMS
Definition enums.h:3814
void btl_set_state(s32 battleState)
void btl_state_update_prepare_menu(void)
Definition prepare_menu.c:4
void btl_state_draw_prepare_menu(void)
#define DMA_COPY_SEGMENT(segment)
Definition macros.h:538
@ BTL_SUBSTATE_PLAYER_CONTINUE_DIP
Definition states.h:12
s8 lastPlayerMenuSelection[16]
BattleStatus gBattleStatus
Definition battle.cpp:14
s32 gBattleSubState
Definition battle.cpp:17