Go to the source code of this file.
◆ METER_FILL_TICK
◆ anonymous enum
Enumerator |
---|
HIDX_BUTTON | |
HIDX_METER | |
HIDX_100_PCT | |
Definition at line 15 of file unused_mash_a.c.
◆ update()
Definition at line 104 of file unused_mash_a.c.
104 {
108 s32 cutoff;
109
110 switch (
acs->state) {
113
118 }
119
124 }
125
127 break;
130
132 if (
acs->hudPosX > 50) {
134 }
135
138 break;
141
142 if (
acs->prepareTime != 0) {
144 return;
145 }
146
148 acs->meterFillLevel = 0;
150 acs->stateTimer =
acs->duration;
151
152
155
156
159 }
160
161
168 }
169
171
172 if (
acs->stateTimer != 0) {
174 break;
175 }
176
177 if (
acs->meterFillLevel == 0) {
179 } else {
181 }
182
183 cutoff =
acs->mashMeterCutoffs[
acs->mashMeterNumIntervals - 1];
186 } else {
188 }
189
191
193 }
194
198 break;
200 if (
acs->stateTimer != 0) {
202 break;
203 }
205 break;
206 }
207}
BSS s32 PopupMenu_SelectedIndex
BSS ActionCommandStatus gActionCommandStatus
void action_command_free(void)
void increment_action_command_success_count(void)
#define AC_QUALITY_FAILED
#define SCALE_BY_PCT(x, pct)
HudScript HES_MashAButton
@ ACTION_RESULT_METER_NOT_ENOUGH
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
BattleStatus gBattleStatus
◆ actionCmdTable0A
Definition at line 37 of file action_cmd.c.
37{ 130, 120, 110, 100, 90, 80, 70, 60 };