101 {
105 s32 cutoff;
106
107 switch (
acs->state) {
110
115 }
116
121 }
122
124 break;
127
128 if (
acs->hudPrepareTime != 0) {
129 acs->hudPrepareTime--;
130 break;
131 }
132
134 if (
acs->hudPosX > 50) {
136 }
137
140 break;
143
144 if (
acs->prepareTime != 0) {
146 break;
147 }
148
152 acs->stateTimer =
acs->duration;
155
156
159
160
161 if (!
acs->isMeterFilled) {
162 cutoff =
acs->mashMeterCutoffs[
acs->mashMeterNumIntervals];
164 if (
acs->meterFillLevel < 0) {
165 acs->meterFillLevel = 0;
166 }
167 }
168
169
170 if (!
acs->isMeterFilled) {
173 }
174
177 }
178 }
179
180 if (
acs->meterFillLevel < 0) {
181 acs->meterFillLevel = 0;
182 }
183
184
191 }
192
193
196 }
199 }
203 ) {
205 }
209
211
212 if (
acs->stateTimer != 0) {
214 break;
215 }
216
217 if (
acs->meterFillLevel == 0) {
219 } else {
221 }
222
223 cutoff =
acs->mashMeterCutoffs[
acs->mashMeterNumIntervals - 1];
226 } else {
228 }
229
231
233 }
234
239 break;
241 if (
acs->stateTimer != 0) {
243 break;
244 }
246 break;
247 }
248}
BSS s32 PopupMenu_SelectedIndex
BSS ActionCommandStatus gActionCommandStatus
void action_command_free(void)
void increment_action_command_success_count(void)
#define AC_QUALITY_FAILED
#define SCALE_BY_PCT(x, pct)
HudScript HES_StickMashLeft
@ SOUND_LOOP_CHARGE_METER
@ ACTION_RESULT_METER_NOT_ENOUGH
void btl_set_popup_duration(s32 duration)
void hud_element_set_alpha(s32 id, s32 opacity)
void hud_element_set_script(s32 id, HudScript *anim)
void hud_element_set_render_pos(s32 id, s32 x, s32 y)
void hud_element_clear_flags(s32 id, s32 flags)
Turns off the given flags.
@ HUD_ELEMENT_FLAG_DISABLED
void sfx_stop_sound(s32 soundID)
void sfx_adjust_env_sound_params(s32 soundID, u8 volume, u8 pan, s16 pitchShift)
void sfx_play_sound_with_params(s32 soundID, u8 volume, u8 pan, s16 pitchShift)
#define GET_DRAIN_RATE(pct)
BattleStatus gBattleStatus