89 {
92 s32 id;
93 s32 cutoff;
94
95 switch (actionCommandStatus->
state) {
96 case 0:
98
101 if (actionCommandStatus->
showHud) {
103 }
104
107 if (actionCommandStatus->
showHud) {
109 }
110
111 actionCommandStatus->
state = 1;
112 break;
113 case 1:
115
118 break;
119 }
120
121 actionCommandStatus->
hudPosX += 20;
122 if (actionCommandStatus->
hudPosX > 50) {
123 actionCommandStatus->
hudPosX = 50;
124 }
125
129 actionCommandStatus->
hudPosY + 28);
130 break;
131 case 10:
133
136 break;
137 }
138
140 actionCommandStatus->
unk_5C = 0;
144 actionCommandStatus->
state = 11;
145
146
147 case 11:
153
156 }
157
161 }
164 }
165 }
166 }
167
170 }
171
178 }
179
181 actionCommandStatus->
unk_5C = 1;
182 }
184 actionCommandStatus->
unk_5C = -1;
185 }
186
189 actionCommandStatus->
unk_5C == 1)
190 {
191 actionCommandStatus->
unk_5C = 2;
192 }
196
198
201 return;
202 }
203
206 } else {
208 }
209
213 } else {
215 }
216
219 }
220
224 actionCommandStatus->
state = 12;
225 break;
226 case 12:
229 } else {
231 }
232 break;
233 }
234}
BSS ActionCommandStatus gActionCommandStatus
void action_command_free(void)
HudScript HES_StickMashLeft
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)
s32 * actionCmdDifficultyTable
BattleStatus gBattleStatus