122 {
130 s32 i;
132
133 switch (
acs->state) {
136
140 }
142
146 }
148
152 }
154
158 }
160
164 }
166
170 }
172
174 break;
178 if (
acs->hudPosX > 50) {
180 }
187 if (
acs->autoSucceed != 0) {
192 break;
193 }
194 }
195 break;
198 if (
acs->prepareTime < 15) {
205 }
206
207 if (
acs->prepareTime != 0) {
209 return;
210 }
211
215 }
217
218
221
223 return;
224 }
225
229
233 if (
acs->stateTimer == 0) {
234 if (
acs->playHammerSounds) {
236 }
237 }
242 if (
acs->playHammerSounds) {
244 }
245 }
250 if (
acs->playHammerSounds) {
252 }
253 }
254 }
255
260 if (
acs->playHammerSounds) {
262 }
263 if (
acs->autoSucceed != 0 &&
acs->autoSucceed != 2) {
264 acs->autoSucceed = 2;
265 acs->stateTimer =
acs->duration - 4;
266 }
267 }
271 }
272
273
276 &&
acs->autoSucceed == 0
278 ) {
282 return;
283 }
284
285
290 }
291
292
297 }
298
303 }
305 }
306 }
307
310 if (
acs->duration <
acs->stateTimer) {
313 }
314
317 }
318
322 }
323 }
324 break;
326 if (
acs->stateTimer != 0) {
328 return;
329 }
331 break;
332 }
333}
BSS s32 PopupMenu_SelectedIndex
BSS ActionCommandStatus gActionCommandStatus
void action_command_free(void)
void increment_action_command_success_count(void)
HudScript HES_TimingCharge3
#define AC_QUALITY_FAILED
HudScript HES_TimingReady
HudScript HES_StickTapNeutral
HudScript HES_TimingCharge2
HudScript HES_TimingCharge1
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_play_sound(s32 soundID)
BattleStatus gBattleStatus