93                     {
   98    s32 cutoff;
  100 
  101    switch (
acs->state) {
 
  104 
  108            }
  110 
  115            }
  116 
  118            break;
  121 
  123            if (
acs->hudPosX > 50) {
 
  125            }
  126 
  129            break;
  132 
  133            if (
acs->prepareTime != 0) {
 
  135                break;
  136            }
  137 
  139            acs->meterFillLevel = 0;
 
  141            acs->stateTimer = 
acs->duration;
 
  144 
  145            
  148 
  149            
  150            cutoff = 
acs->mashMeterCutoffs[
acs->mashMeterNumIntervals];
 
  152            if (!
acs->squirt.draining) {
 
  155                    if (
acs->meterFillLevel < 0) {
 
  156                        acs->meterFillLevel = 0;
 
  157                    }
  158                } else {
  164                    }
  165                }
  166            } else {
  168                if (
acs->meterFillLevel <= 0) {
 
  169                    acs->meterFillLevel = 0;
 
  171                }
  172            }
  173 
  176 
  181                }
  182            } else {
  185                }
  186            }
  187 
  188            if (
acs->stateTimer != 0) {
 
  190                break;
  191            }
  192 
  193            if (
acs->meterFillLevel == 0) {
 
  195            } else {
  197            }
  198 
  199            
  200            cutoff = 
acs->mashMeterCutoffs[
acs->mashMeterNumIntervals - 1];
 
  203            } else {
  205            }
  206 
  208                
  210            }
  211 
  216            break;
  218            if (
acs->stateTimer != 0) {
 
  220                break;
  221            }
  223            break;
  224    }
  225}
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_PressAButton
 
HudScript HES_AButtonDown
 
#define GET_DRAIN_RATE(pct)
 
#define GET_FILL_RATE(pct)
 
@ SOUND_LOOP_CHARGE_METER
 
@ 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)
 
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)
 
BattleStatus gBattleStatus