60 {
63 s32 id;
64 s32 cutoff;
65 s32 fillLevel;
66
67 switch (actionCommandStatus->
state) {
68 case 0:
70
73 if (actionCommandStatus->
showHud) {
75 }
76
79 if (actionCommandStatus->
showHud) {
81 }
82
83 actionCommandStatus->
state = 1;
84 break;
85 case 1:
87 actionCommandStatus->
hudPosX += 20;
88 if (actionCommandStatus->
hudPosX > 50) {
89 actionCommandStatus->
hudPosX = 50;
90 }
93 break;
94 case 10:
98 return;
99 }
103 actionCommandStatus->
unk_5C = 0;
106 actionCommandStatus->
state = 11;
107 case 11:
112
116 }
117 } else {
121 }
122 }
123
126
128 actionCommandStatus->
unk_5C = TRUE;
129 }
130
134
136 actionCommandStatus->
unk_5C = 0;
137 }
138
142
144 }
145 } else {
147 actionCommandStatus->
unk_5C = TRUE;
148 }
149
154 }
155 actionCommandStatus->
unk_5C = 0;
156 }
157
160 }
161 }
162 }
163 }
164
167 }
174 }
175
178
181 return;
182 }
183
186 fillLevel = 0;
187 }
188
189 if (fillLevel == 0) {
191 } else {
193
194 }
195
199 } else {
201 }
202
205 }
209 actionCommandStatus->
state = 12;
210 break;
211 case 12:
216 }
217 }
218
221 return;
222 }
224 break;
225 }
226}
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.
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