Go to the source code of this file.
Macros | |
#define | AC_TBL_ENTRY(name) action_cmd_ ## name ## _ROM_START, action_cmd_ ## name ## _ROM_END, action_cmd_ ## name ## _VRAM |
Functions | |
s32 | adjust_action_command_difficulty (s32 difficultyLevel) |
void | draw_mash_meter (s32 posX, s32 posY, s32 fillValue, s32 colorMode) |
void | draw_mash_meter_multicolor (s32 posX, s32 posY, s32 fillValue) |
void | draw_mash_meter_multicolor_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor) |
void | draw_mash_meter_mode (s32 posX, s32 posY, s32 fillValue, s32 colorMode) |
void | draw_mash_meter_mode_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor, s32 colorMode) |
void | draw_mash_meter_blink (s32 posX, s32 posY, s32 fillValue) |
void | draw_mash_meter_blink_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor) |
void | action_command_init_status (void) |
void | action_command_update (void) |
void | action_command_draw (void) |
void | action_command_free (void) |
void | create_action_command_ui_worker (void) |
s32 | check_block_input (s32 buttonMask) |
void | increment_action_command_attempt_count (void) |
void | increment_action_command_success_count (void) |
Variables | |
u8 | mashMeter_bgColors [15] |
u8 | mashMeter_fillColors [15] |
u8 | mashMeter_cutOffColors [15] |
Difficulty1D | actionCmdTableJump = { 7, 6, 5, 4, 3, 2, 1, 0 } |
Difficulty1D | actionCmdTableHammer = { 11, 10, 9, 8, 7, 6, 5, 4 } |
Difficulty1D | actionCmdTableFlee = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableBreakFree = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableWhirlwind = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableStopLeech = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTable07 = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableDizzyShell = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableFireShell = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTable0A = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableBomb = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableBodySlam = { 9, 8, 7, 6, 5, 4, 3, 2 } |
Difficulty1D | actionCmdTableAirLift = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableAirRaid = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableSquirt = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTablePowerShock = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableMegaShock = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableSmack = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableSpinySurge = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableHurricane = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty1D | actionCmdTableSpook = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Difficulty2D | actionCmdTableWaterBlock = { {6, 3}, {5, 3}, {4, 3}, {2, 3}, {1, 3}, {0, 3}, {0, 2}, {0, 1} } |
Difficulty1D | actionCmdTableTidalWave = { 130, 120, 110, 100, 90, 80, 70, 60 } |
void * | actionCommandDmaTable [] |
BSS s32 | MashMeterSmoothDivisor |
BSS s32 | D_8029FBC4_pad [3] |
BSS s32 | IsGroupHeal |
BSS s8 | ApplyingBuff |
BSS s32 | D_8029FBD8_pad [2] |
BSS ActionCommandStatus | gActionCommandStatus |
#define AC_TBL_ENTRY | ( | name | ) | action_cmd_ ## name ## _ROM_START, action_cmd_ ## name ## _ROM_END, action_cmd_ ## name ## _VRAM |
Definition at line 52 of file action_cmd.c.
s32 adjust_action_command_difficulty | ( | s32 | difficultyLevel | ) |
Definition at line 101 of file action_cmd.c.
void draw_mash_meter | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue, | ||
s32 | colorMode ) |
Definition at line 116 of file action_cmd.c.
Referenced by draw_mash_meter_blink(), draw_mash_meter_blink_with_divisor(), draw_mash_meter_mode(), draw_mash_meter_mode_with_divisor(), draw_mash_meter_multicolor(), and draw_mash_meter_multicolor_with_divisor().
void draw_mash_meter_multicolor | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue ) |
Definition at line 226 of file action_cmd.c.
Referenced by draw().
void draw_mash_meter_multicolor_with_divisor | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue, | ||
s32 | divisor ) |
Definition at line 231 of file action_cmd.c.
Referenced by draw().
void draw_mash_meter_mode | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue, | ||
s32 | colorMode ) |
Definition at line 236 of file action_cmd.c.
void draw_mash_meter_mode_with_divisor | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue, | ||
s32 | divisor, | ||
s32 | colorMode ) |
Definition at line 241 of file action_cmd.c.
Referenced by draw().
void draw_mash_meter_blink | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue ) |
Definition at line 246 of file action_cmd.c.
Referenced by draw().
void draw_mash_meter_blink_with_divisor | ( | s32 | posX, |
s32 | posY, | ||
s32 | fillValue, | ||
s32 | divisor ) |
Definition at line 251 of file action_cmd.c.
Referenced by draw().
void action_command_init_status | ( | void | ) |
Definition at line 256 of file action_cmd.c.
void action_command_update | ( | void | ) |
Definition at line 287 of file action_cmd.c.
Referenced by create_action_command_ui_worker().
void action_command_draw | ( | void | ) |
Definition at line 371 of file action_cmd.c.
Referenced by create_action_command_ui_worker().
void action_command_free | ( | void | ) |
Definition at line 446 of file action_cmd.c.
Referenced by action_command_update(), and update().
void create_action_command_ui_worker | ( | void | ) |
Definition at line 531 of file action_cmd.c.
Referenced by initialize_battle().
s32 check_block_input | ( | s32 | buttonMask | ) |
Definition at line 537 of file action_cmd.c.
Referenced by calc_enemy_damage_target().
void increment_action_command_attempt_count | ( | void | ) |
Definition at line 641 of file action_cmd.c.
void increment_action_command_success_count | ( | void | ) |
Definition at line 655 of file action_cmd.c.
Referenced by update().
u8 mashMeter_bgColors[15] |
Definition at line 4 of file action_cmd.c.
Referenced by draw_mash_meter().
u8 mashMeter_fillColors[15] |
Definition at line 12 of file action_cmd.c.
Referenced by draw_mash_meter().
u8 mashMeter_cutOffColors[15] |
Definition at line 20 of file action_cmd.c.
Referenced by draw_mash_meter().
Difficulty1D actionCmdTableJump = { 7, 6, 5, 4, 3, 2, 1, 0 } |
Definition at line 28 of file action_cmd.c.
Difficulty1D actionCmdTableHammer = { 11, 10, 9, 8, 7, 6, 5, 4 } |
Definition at line 29 of file action_cmd.c.
Difficulty1D actionCmdTableFlee = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 30 of file action_cmd.c.
Difficulty1D actionCmdTableBreakFree = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 31 of file action_cmd.c.
Difficulty1D actionCmdTableWhirlwind = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 32 of file action_cmd.c.
Difficulty1D actionCmdTableStopLeech = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 33 of file action_cmd.c.
Difficulty1D actionCmdTable07 = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 34 of file action_cmd.c.
Difficulty1D actionCmdTableDizzyShell = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 35 of file action_cmd.c.
Difficulty1D actionCmdTableFireShell = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 36 of file action_cmd.c.
Difficulty1D actionCmdTable0A = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 37 of file action_cmd.c.
Difficulty1D actionCmdTableBomb = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 38 of file action_cmd.c.
Difficulty1D actionCmdTableBodySlam = { 9, 8, 7, 6, 5, 4, 3, 2 } |
Definition at line 39 of file action_cmd.c.
Difficulty1D actionCmdTableAirLift = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 40 of file action_cmd.c.
Difficulty1D actionCmdTableAirRaid = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 41 of file action_cmd.c.
Difficulty1D actionCmdTableSquirt = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 42 of file action_cmd.c.
Difficulty1D actionCmdTablePowerShock = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 43 of file action_cmd.c.
Difficulty1D actionCmdTableMegaShock = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 44 of file action_cmd.c.
Difficulty1D actionCmdTableSmack = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 45 of file action_cmd.c.
Difficulty1D actionCmdTableSpinySurge = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 46 of file action_cmd.c.
Difficulty1D actionCmdTableHurricane = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 47 of file action_cmd.c.
Difficulty1D actionCmdTableSpook = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 48 of file action_cmd.c.
Difficulty2D actionCmdTableWaterBlock = { {6, 3}, {5, 3}, {4, 3}, {2, 3}, {1, 3}, {0, 3}, {0, 2}, {0, 1} } |
Definition at line 49 of file action_cmd.c.
Difficulty1D actionCmdTableTidalWave = { 130, 120, 110, 100, 90, 80, 70, 60 } |
Definition at line 50 of file action_cmd.c.
void* actionCommandDmaTable[] |
Definition at line 55 of file action_cmd.c.
BSS s32 MashMeterSmoothDivisor |
Definition at line 82 of file action_cmd.c.
Referenced by draw_mash_meter(), draw_mash_meter_blink(), draw_mash_meter_blink_with_divisor(), draw_mash_meter_mode(), draw_mash_meter_mode_with_divisor(), draw_mash_meter_multicolor(), and draw_mash_meter_multicolor_with_divisor().
BSS s32 D_8029FBC4_pad[3] |
Definition at line 83 of file action_cmd.c.
BSS s32 IsGroupHeal |
Definition at line 85 of file action_cmd.c.
BSS s8 ApplyingBuff |
Definition at line 86 of file action_cmd.c.
BSS s32 D_8029FBD8_pad[2] |
Definition at line 87 of file action_cmd.c.
BSS ActionCommandStatus gActionCommandStatus |
Definition at line 91 of file action_cmd.c.
Referenced by action_command_draw(), action_command_free(), action_command_init_status(), action_command_update(), check_block_input(), create_action_command_ui_worker(), draw(), draw_mash_meter(), free(), increment_action_command_attempt_count(), increment_action_command_success_count(), and update().