Go to the source code of this file.
◆ anonymous enum
| Enumerator |
|---|
| BTL_SUBSTATE_AWAIT_RECOVER | |
| BTL_SUBSTATE_AWAIT_SWAP | |
| BTL_SUBSTATE_DONE | |
Definition at line 4 of file player_turn_end.c.
4 {
5
9};
@ BTL_SUBSTATE_AWAIT_RECOVER
@ BTL_SUBSTATE_AWAIT_SWAP
◆ btl_substate_try_hpfp_recovery()
| void btl_substate_try_hpfp_recovery |
( |
void | | ) |
|
Definition at line 11 of file player_turn_end.c.
11 {
15
19
21 return;
22 }
23
25 return;
26 }
27
31 }
33
36 }
39 }
42 }
44 return;
45 }
46
52
56
57 if (
script->varTable[10] > 99) {
59 }
60 if (
script->varTable[11] > 99) {
62 }
63 if (
script->varTable[12] > 99) {
65 }
66}
BSS s32 PopupMenu_SelectedIndex
struct Evt * takeTurnScript
@ BS_FLAGS2_HAS_DRAINED_HP
s32 is_ability_active(s32 arg0)
Evt * start_script(EvtScript *source, s32 priority, s32 initialState)
EvtScript EVS_Mario_HandlePhase
BattleStatus gBattleStatus
Referenced by btl_state_update_end_player_turn().
◆ btl_state_update_end_player_turn()
| void btl_state_update_end_player_turn |
( |
void | | ) |
|
Definition at line 68 of file player_turn_end.c.
68 {
73
77 }
78
80
82 return;
83 }
85
86
95 } else {
97 }
98 }
99
106 }
112
115 } else {
126 }
127 }
128
130
132 return;
133 }
134
139 } else {
141 }
142
143
148 return;
149 }
150
154
157 return;
158 }
159
163 }
164 }
165
169 return;
170 } else {
173 return;
174 }
175 }
176
180 }
181 }
182
186 } else {
190 } else {
192 }
193 }
194 }
195}
@ BS_FLAGS1_PLAYER_IN_BACK
@ BS_FLAGS2_PLAYER_TURN_USED
@ BATTLE_STATE_BEGIN_PARTNER_TURN
@ BATTLE_STATE_PREPARE_MENU
@ BATTLE_STATE_TRANSFER_TURN
void btl_cam_use_preset(s32)
s32 does_script_exist(s32 id)
void btl_set_state(s32 battleState)
s32 btl_check_enemies_defeated(void)
void btl_substate_try_hpfp_recovery(void)
@ BTL_SUBSTATE_PLAYER_CONTINUE_DIP
Referenced by btl_update().
◆ btl_state_draw_end_player_turn()
| void btl_state_draw_end_player_turn |
( |
void | | ) |
|