86 {
90
91 s32 mashMeterCutoff;
92 s32 hudElement;
93
94 switch (actionCommandStatus->
state) {
95 case 0:
99 if (actionCommandStatus->
showHud) {
101 }
104 if (actionCommandStatus->
showHud) {
106 }
107 actionCommandStatus->
state = 1;
108 break;
109 case 1:
113 break;
114 }
115
116 actionCommandStatus->
hudPosX += 20;
117 if (actionCommandStatus->
hudPosX > 50) {
118 actionCommandStatus->
hudPosX = 50;
119 }
120
124 actionCommandStatus->
hudPosY + 28);
125 break;
126 case 10:
130 break;
131 }
135 actionCommandStatus->
unk_5C = 0;
138 actionCommandStatus->
state = 11;
139
140
141 case 11:
144 s32 index;
148
151 }
152
155 actionCommandStatus->
unk_5C = TRUE;
156 }
157
161 } else {
163 }
164
165 actionCommandStatus->
unk_5C = 0;
166 }
167
170 }
171 }
172 }
173
176 }
177
183 actionCommandStatus->
hudPosY + 28);
185 }
186
189
194 }
195
196 if (battleStatus->
unk_85 > 0) {
199 }
200 }
201 break;
205 }
206
207 if (battleStatus->
unk_85 > 0) {
210 }
211 }
212 break;
217 }
218
219 if (battleStatus->
unk_85 > 0) {
222 }
223 }
224 } else {
227 }
228
229 if (battleStatus->
unk_85 > 0) {
232 }
233 }
234 }
235 break;
236 }
237
239 s32 mashMeterCutoff;
240
243 } else {
246 }
247
249 if (mashMeterCutoff < battleStatus->actionSuccess) {
251 } else {
253 }
254
257 }
258
262 actionCommandStatus->
state = 12;
263 break;
264 }
265
267 break;
268 case 12:
271 break;
272 }
274 break;
275 }
276}
BSS ActionCommandStatus gActionCommandStatus
void action_command_free(void)
HudScript HES_StickMashLeft
struct ActorBlueprint * actorBlueprint
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)
UnkVec2s D_802A99D2_42ED72[]
struct Actor * partnerActor
s32 * actionCmdDifficultyTable
BattleStatus gBattleStatus