1#ifndef _BATTLE_ACTION_CMD_H_
2#define _BATTLE_ACTION_CMD_H_
66#define AC_QUALITY_FAILED -1
69#define ONE_PCT_MASH 100
72#define MAX_MASH_PCT 100
75#define MAX_MASH_UNITS (MAX_MASH_PCT * ONE_PCT_MASH)
77#define SCALE_BY_PCT(x, pct) ((x) * (pct) / 100)
78#define PCT_TO_TABLE_IDX(table, pct) ((pct) / (ONE_PCT_MASH / ARRAY_COUNT(table)))
79#define PCT_TO_TABLE_RATE(table, pct) (table[PCT_TO_TABLE_IDX(table, pct)])
205API_CALLABLE(LoadActionCommand);
206API_CALLABLE(SetActionDifficultyTable);
207API_CALLABLE(SetupMashMeter);
208API_CALLABLE(GetSmashActionQuality);
209API_CALLABLE(SetActionSuccess);
210API_CALLABLE(SetActionCommandMode);
211API_CALLABLE(GetActionCommandMode);
212API_CALLABLE(SetActionHudPrepareTime);
213API_CALLABLE(GetCommandAutoSuccess);
214API_CALLABLE(SetCommandAutoSuccess);
215API_CALLABLE(func_802693F0);
216API_CALLABLE(InterruptActionCommand);
217API_CALLABLE(InterruptLeechActionCommand);
218API_CALLABLE(ShowActionHud);
219API_CALLABLE(GetMashActionQuality);
220API_CALLABLE(GetJumpActionQuality);
221API_CALLABLE(SetActionResult);
222API_CALLABLE(GetBlockResult);
223API_CALLABLE(GetActionProgress);
224API_CALLABLE(SetActionProgress);
225API_CALLABLE(GetActionResultTier);
226API_CALLABLE(SetActionResultTier);
HudScript HES_TimingCharge3
s16 wrongInputFrameCounter
void create_action_command_ui_worker(void)
HudScript HES_MashBButton1
void draw_mash_meter_blink_with_divisor(s32 posX, s32 posY, s32 fillValue, s32 divisor)
HudScript HES_TimingReady
void draw_mash_meter_multicolor(s32 posX, s32 posY, s32 fillValue)
HudScript HES_StickTapNeutral
HudScript HES_CDownButtonHeld
HudScript HES_TimingCharge4b
void action_command_free(void)
@ MASH_METER_MODE_ONE_COLOR
@ MASH_METER_MODE_MULTI_COLOR
HudScript HES_StickNeutral
ActionCommandStatus gActionCommandStatus
HudScript HES_TimingBar3Chances
void increment_action_command_attempt_count(void)
HudScript HES_TimingCharge4a
HudScript HES_TimingCharge4c
HudScript HES_BButtonHeld
void draw_mash_meter_multicolor_with_divisor(s32 posX, s32 posY, s32 fillValue, s32 divisor)
s32 adjust_action_command_difficulty(s32 arg0)
void draw_mash_meter_mode_with_divisor(s32 posX, s32 posY, s32 fillValue, s32 divisor, s32 colorMode)
HudScript HES_MashAButton
HudScript HES_PressAButton
HudScript HES_StickMashLeft
HudScript HES_StickHoldLeft
HudScript HES_AButtonDown
void draw_mash_meter_blink(s32 posX, s32 posY, s32 fillValue)
void increment_action_command_success_count(void)
HudScript HES_FillGaugeResult
void action_command_init_status(void)
HudScript HES_TimingCharge2
HudScript HES_TimingCharge1
HudScript HES_PressBButton
@ AC_MODE_TUTORIAL_WAIT_INPUT
HudScript HES_RunningAway
s32 check_block_input(s32 buttonMask)
HudScript HES_PressCDownButton
HudScript HES_TimingBar1Chance