105 {
109 s32 cutoff;
110 s32 buttonsPushed;
111 s32 buttonsAB;
112 s32 bufferPos;
113 s32 i;
114
115 switch (acs->
state) {
118
122 }
124
128 }
130
135 }
136
138 break;
143 break;
144 }
145
149 }
150
154 break;
159 break;
160 }
164 acs->any.unk_5C = 0;
167
168
171
172
174 if (acs->statusChance != 0) {
179 }
180 } else {
184 }
185 }
186 }
187
188
190 bufferPos -= 2;
191 if (bufferPos < 0) {
193 }
194
195 buttonsPushed = 0;
196
197
198 for (i = 1; i >= 0; i--) {
201 }
203 bufferPos++;
204 }
205
207 if ((buttonsPushed & buttonsAB) == buttonsAB) {
208 if (acs->statusChance != 0) {
209 s32 amt;
210
213
214
215
216
217
218 buttonsPushed = amt;
219
221 } else {
223
226 }
227 }
228
229
231 bufferPos -= 2;
232 if (bufferPos < 0) {
234 }
235
236
237 for (i = 1; i >= 0; i--) {
240 }
242 bufferPos++;
243 }
244 }
245
246
253 }
254
256
259 break;
260 }
261
262
263
264
266 if (acs->statusChance == 0) {
267 buttonsPushed = 0;
268 }
269
270 if (buttonsPushed == 0) {
272 } else {
274 }
275
276
280 } else {
282 }
283
285
287 }
288
292 break;
294 if (acs->statusChance == 0) {
298 }
299 }
300
303 break;
304 }
306 break;
307 }
308}
BSS ActionCommandStatus gActionCommandStatus
void action_command_free(void)
void increment_action_command_success_count(void)
HudScript HES_MashBButton1
#define AC_QUALITY_FAILED
#define SCALE_BY_PCT(x, pct)
HudScript HES_MashAButton
@ ACTION_RESULT_METER_BELOW_HALF
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
#define GET_DRAIN_RATE(pct)
s32 * actionCmdDifficultyTable
BattleStatus gBattleStatus