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 {
72
76 }
77
79
81 return;
82 }
84
85
94 } else {
96 }
97 }
98
105 }
111
114 } else {
125 }
126 }
127
129
131 return;
132 }
133
138 } else {
140 }
141
142
147 return;
148 }
149
153
156 return;
157 }
158
162 }
163 }
164
168 return;
169 } else {
172 return;
173 }
174 }
175
179 }
180 }
181
185 } else {
189 } else {
191 }
192 }
193 }
194}
@ 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 | | ) |
|