110 {
116
117 switch (
acs->state) {
124 }
129 }
131 break;
134 if (
acs->hudPrepareTime != 0) {
135 acs->hudPrepareTime--;
136 break;
137 }
138
140 if (
acs->hudPosX > 50) {
142 }
143
146 break;
149 if (
acs->prepareTime != 0) {
151 break;
152 }
154 acs->meterFillLevel = 0;
156 acs->smack.holdingLeft =
false;
157 acs->stateTimer =
acs->duration;
160
161
164
165
166 if (!
acs->isMeterFilled) {
167 cutoff =
acs->mashMeterCutoffs[
acs->mashMeterNumIntervals];
169 if (
acs->meterFillLevel < 0) {
170 acs->meterFillLevel = 0;
171 }
172 }
173
174
175 if (!
acs->isMeterFilled) {
177 acs->smack.holdingLeft =
true;
178 }
179
181 if (
acs->smack.holdingLeft) {
183
185 } else {
186
188 }
189 acs->smack.holdingLeft =
false;
190 }
191 }
192
195 }
196 }
197
198 if (
acs->meterFillLevel < 0) {
199 acs->meterFillLevel = 0;
200 }
201
202
205 acs->isMeterFilled =
true;
209 }
210
213
218 }
219
223 }
224 }
225 break;
229 }
230
234 }
235 }
236 break;
241 }
242
246 }
247 }
248 } else {
251 }
252
256 }
257 }
258 }
259 break;
260 }
261
262 if (
acs->stateTimer != 0) {
264 break;
265 }
266
267 if (
acs->meterFillLevel == 0) {
269 } else {
271 }
272
273 cutoff =
acs->mashMeterCutoffs[
acs->mashMeterNumIntervals - 1];
276 } else {
278 }
279
282 }
283
288 break;
290 if (
acs->stateTimer != 0) {
292 break;
293 }
295 break;
296 }
297}
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
struct ActorBlueprint * actorBlueprint
@ 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)
#define FAIL_METER_FILL_TICK
#define HAND_METER_FILL_TICK
#define FAN_METER_FILL_TICK
BattleStatus gBattleStatus