122 {
131
132 switch (
acs->state) {
135
139 }
141
145 }
147
151 }
153
157 }
159
163 }
165
169 }
171
173 break;
177 if (
acs->hudPosX > 50) {
179 }
186 if (
acs->autoSucceed != 0) {
191 break;
192 }
193 }
194 break;
197 if (
acs->prepareTime < 15) {
204 }
205
206 if (
acs->prepareTime != 0) {
208 return;
209 }
210
213 acs->hammerMissedStart =
true;
214 }
216
217
220
222 return;
223 }
224
228
232 if (
acs->stateTimer == 0) {
233 if (
acs->playHammerSounds) {
235 }
236 }
241 if (
acs->playHammerSounds) {
243 }
244 }
249 if (
acs->playHammerSounds) {
251 }
252 }
253 }
254
259 if (
acs->playHammerSounds) {
261 }
262 if (
acs->autoSucceed != 0 &&
acs->autoSucceed != 2) {
263 acs->autoSucceed = 2;
264 acs->stateTimer =
acs->duration - 4;
265 }
266 }
270 }
271
272
275 &&
acs->autoSucceed == 0
277 ) {
281 return;
282 }
283
284
289 }
290
291
296 }
297
302 }
304 }
305 }
306
309 if (
acs->duration <
acs->stateTimer) {
312 }
313
316 }
317
321 }
322 }
323 break;
325 if (
acs->stateTimer != 0) {
327 return;
328 }
330 break;
331 }
332}
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