10#define NAMESPACE action_command_unused_mash_a
22#define METER_FILL_TICK 1500
24API_CALLABLE(N(
init)) {
44 acs->meterFillLevel = 0;
45 acs->meterFillWidth = 0;
72API_CALLABLE(N(start)) {
91 acs->meterFillLevel = 0;
92 acs->meterFillWidth = 0;
95 battleStatus->maxActionQuality =
acs->mashMeterCutoffs[(
acs->mashMeterNumIntervals - 1)];
110 switch (
acs->state) {
132 if (
acs->hudPosX > 50) {
142 if (
acs->prepareTime != 0) {
148 acs->meterFillLevel = 0;
150 acs->stateTimer =
acs->duration;
172 if (
acs->stateTimer != 0) {
177 if (
acs->meterFillLevel == 0) {
183 cutoff =
acs->mashMeterCutoffs[
acs->mashMeterNumIntervals - 1];
200 if (
acs->stateTimer != 0) {
BSS s32 PopupMenu_SelectedIndex
BSS ActionCommandStatus gActionCommandStatus
void action_command_free(void)
void increment_action_command_attempt_count(void)
s32 adjust_action_command_difficulty(s32 difficultyLevel)
void increment_action_command_success_count(void)
void action_command_init_status(void)
#define AC_QUALITY_FAILED
#define SCALE_BY_PCT(x, pct)
HudScript HES_MashAButton
@ ACTION_COMMAND_UNUSED_MASH_A
@ ACTION_RESULT_METER_NOT_ENOUGH
void btl_set_popup_duration(s32 duration)
s32 evt_get_variable(Evt *script, Bytecode var)
void hud_element_set_alpha(s32 id, s32 opacity)
void hud_element_set_script(s32 id, HudScript *anim)
void hud_element_set_render_depth(s32 id, s32 z)
void hud_element_set_render_pos(s32 id, s32 x, s32 y)
s32 hud_element_create(HudScript *anim)
Creates a new HUD element and returns its ID.
void hud_element_set_flags(s32 id, s32 flags)
Turns on the given flags.
void hud_element_clear_flags(s32 id, s32 flags)
Turns off the given flags.
@ HUD_ELEMENT_FLAG_DISABLED
BattleStatus gBattleStatus
void N init(Npc *bombette)