75 {
78 s32 id;
79 s32 mashMeterCutoff;
80 s32 cutoff;
81 s32 temp;
82
83 switch (actionCommandStatus->
state) {
84 case 0:
86
88 if (actionCommandStatus->
showHud) {
90 }
92
95 if (actionCommandStatus->
showHud) {
97 }
98
99 actionCommandStatus->
state = 1;
100 break;
101 case 1:
103
104 actionCommandStatus->
hudPosX += 20;
105 if (actionCommandStatus->
hudPosX > 50) {
106 actionCommandStatus->
hudPosX = 50;
107 }
108
112 actionCommandStatus->
hudPosY + 28);
113 break;
114 case 10:
116
119 break;
120 }
121
124 actionCommandStatus->
unk_5C = 0;
127 actionCommandStatus->
state = 11;
128
129 case 11:
133 if (actionCommandStatus->
unk_5C == 0) {
138 }
139 } else {
143 actionCommandStatus->
unk_5C = 1;
144 }
145 }
146 } else {
150 actionCommandStatus->
unk_5C = 0;
151 }
152 }
153
157 if (temp < 80) {
160 }
161 } else {
164 }
165 }
166
169 return;
170 }
171
174 } else {
176 }
177
181 } else {
183 }
184
187 }
191 actionCommandStatus->
state = 12;
192 break;
193 case 12:
196 } else {
198 }
199 break;
200 }
201}
BSS ActionCommandStatus gActionCommandStatus
void action_command_free(void)
HudScript HES_PressAButton
HudScript HES_AButtonDown
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)
HudScript * hud_element_get_script(s32 id)
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