Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
action_cmd.h File Reference

Go to the source code of this file.

Data Structures

struct  ActionCommandStatus
 

Enumerations

enum  MashMeterColorModes { MASH_METER_MODE_BLINK = -1 , MASH_METER_MODE_MULTI_COLOR = 0 , MASH_METER_MODE_ONE_COLOR = 1 }
 
enum  ActionCommandModes {
  ACTION_COMMAND_MODE_TUTORIAL_BLOCK = -1 , ACTION_COMMAND_MODE_NOT_LEARNED = 0 , ACTION_COMMAND_MODE_LEARNED = 1 , ACTION_COMMAND_MODE_TUTORIAL = 2 ,
  ACTION_COMMAND_MODE_TUTORIAL_WAIT_INPUT = 3
}
 

Functions

void action_command_init_status (void)
 
void action_command_free (void)
 
void func_80268E88 (void)
 
void func_80269118 (void)
 
void func_80269160 (void)
 
void draw_mash_meter_multicolor_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor)
 
void draw_mash_meter_blink (s32 posX, s32 posY, s32 fillValue)
 
void draw_mash_meter_multicolor (s32 posX, s32 posY, s32 fillValue)
 
void draw_mash_meter_mode_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor, s32 colorMode)
 
void draw_mash_meter_blink_with_divisor (s32 posX, s32 posY, s32 fillValue, s32 divisor)
 
s32 adjust_action_command_difficulty (s32 arg0)
 
s32 check_block_input (s32 buttonMask)
 

Variables

ActionCommandStatus gActionCommandStatus
 
HudScript HES_100pct
 
HudScript HES_AButton
 
HudScript HES_AButtonDown
 
HudScript HES_BButton
 
HudScript HES_BButtonHeld
 
HudScript HES_BlueMeter
 
HudScript HES_CDownButtonHeld
 
HudScript HES_FillGaugeResult
 
HudScript HES_MashAButton
 
HudScript HES_MashBButton1
 
HudScript HES_PressAButton
 
HudScript HES_PressBButton
 
HudScript HES_PressCDownButton
 
HudScript HES_RightOn
 
HudScript HES_RunningAway
 
HudScript HES_RunAwayOK
 
HudScript HES_StickHoldLeft
 
HudScript HES_StickMashLeft
 
HudScript HES_StickNeutral
 
HudScript HES_StickTapNeutral
 
HudScript HES_TimingBar1Chance
 
HudScript HES_TimingBar3Chances
 
HudScript HES_TimingCharge1
 
HudScript HES_TimingCharge2
 
HudScript HES_TimingCharge3
 
HudScript HES_TimingCharge4a
 
HudScript HES_TimingCharge4b
 
HudScript HES_TimingCharge4c
 
HudScript HES_TimingOK
 
HudScript HES_TimingMiss
 
HudScript HES_TimingReady
 
HudScript HES_TimingWait
 

Data Structure Documentation

◆ ActionCommandStatus

struct ActionCommandStatus
Data Fields
s32 workerID
s32 hudElements[16]
s16 barFillLevel
s16 thresholdLevel
s16 barFillWidth
s16 actionCommandID
s16 state
s16 prepareTime
s16 difficulty
s16 duration
s16 frameCounter
s16 hudPosX
s16 hudPosY
s16 unk_5A
s8 unk_5C
s8 unk_5D
s8 autoSucceed
s8 hammerMissedStart
s8 wrongButtonPressed
s8 showHud
s8 playHammerSounds
s8 unk_63
s16 targetWeakness
s16 thresholdMoveDir
s16 isBarFilled
s16 berserkerEnabled
s16 hudPrepareTime
s16 hitsTakenIsMax
s16 lookBackCounter
s16 wrongInputFrameCounter
s16 mashMeterCutoffs[6]
s8 mashMeterIntervals

Enumeration Type Documentation

◆ MashMeterColorModes

Enumerator
MASH_METER_MODE_BLINK 
MASH_METER_MODE_MULTI_COLOR 
MASH_METER_MODE_ONE_COLOR 

Definition at line 30 of file action_cmd.h.

30 {
34};
@ MASH_METER_MODE_ONE_COLOR
Definition action_cmd.h:33
@ MASH_METER_MODE_MULTI_COLOR
Definition action_cmd.h:32
@ MASH_METER_MODE_BLINK
Definition action_cmd.h:31

◆ ActionCommandModes

Enumerator
ACTION_COMMAND_MODE_TUTORIAL_BLOCK 
ACTION_COMMAND_MODE_NOT_LEARNED 
ACTION_COMMAND_MODE_LEARNED 
ACTION_COMMAND_MODE_TUTORIAL 
ACTION_COMMAND_MODE_TUTORIAL_WAIT_INPUT 

Definition at line 36 of file action_cmd.h.

36 {
42};
@ ACTION_COMMAND_MODE_TUTORIAL_WAIT_INPUT
Definition action_cmd.h:41
@ ACTION_COMMAND_MODE_TUTORIAL
Definition action_cmd.h:40
@ ACTION_COMMAND_MODE_TUTORIAL_BLOCK
Definition action_cmd.h:37
@ ACTION_COMMAND_MODE_NOT_LEARNED
Definition action_cmd.h:38
@ ACTION_COMMAND_MODE_LEARNED
Definition action_cmd.h:39

Function Documentation

◆ action_command_init_status()

void action_command_init_status ( void )

Definition at line 256 of file action_cmd.c.

256 {
257 ActionCommandStatus* actionCommandStatus = &gActionCommandStatus;
258
259 actionCommandStatus->autoSucceed = FALSE;
260 actionCommandStatus->berserkerEnabled = FALSE;
261
264 actionCommandStatus->autoSucceed = TRUE;
265 }
266
268 actionCommandStatus->showHud = FALSE;
269 actionCommandStatus->berserkerEnabled = TRUE;
270
271 if (rand_int(100) < 25) {
272 actionCommandStatus->autoSucceed = TRUE;
273 }
274 }
275 }
276
278 actionCommandStatus->autoSucceed = TRUE;
279 }
280
282 actionCommandStatus->autoSucceed = TRUE;
283 actionCommandStatus->showHud = FALSE;
284 }
285}
BSS ActionCommandStatus gActionCommandStatus
Definition action_cmd.c:91
#define rand_int
@ BS_FLAGS1_PARTNER_ACTING
Definition enums.h:3588
@ BS_FLAGS1_AUTO_SUCCEED_ACTION
Definition enums.h:3581
@ DEMO_BTL_FLAG_ENABLED
Definition enums.h:3543
@ ABILITY_BERSERKER
Definition enums.h:457
@ ABILITY_RIGHT_ON
Definition enums.h:458
s32 is_ability_active(s32 arg0)
Definition inventory.c:1725
GameStatus * gGameStatusPtr
Definition main_loop.c:32
BattleStatus gBattleStatus
Definition battle.c:11

◆ action_command_free()

void action_command_free ( void )

Definition at line 446 of file action_cmd.c.

446 {
447 ActionCommandStatus* actionCommandStatus = &gActionCommandStatus;
448
449 switch (actionCommandStatus->actionCommandID) {
451 break;
454 break;
457 break;
460 break;
463 break;
466 break;
469 break;
472 break;
475 break;
478 break;
481 break;
484 break;
487 break;
490 break;
493 break;
496 break;
499 break;
502 break;
505 break;
508 break;
511 break;
514 break;
517 break;
520 break;
521 }
522
523 actionCommandStatus->actionCommandID = ACTION_COMMAND_NONE;
524 gBattleStatus.flags1 &= ~BS_FLAGS1_2000;
525 gBattleStatus.flags1 &= ~BS_FLAGS1_FREE_ACTION_COMMAND;
526 gBattleStatus.flags1 &= ~BS_FLAGS1_4000;
529}
void action_command_07_free(void)
void action_command_0A_free(void)
void action_command_air_lift_free(void)
void action_command_air_raid_free(void)
void action_command_body_slam_free(void)
void action_command_bomb_free(void)
void action_command_break_free_free(void)
void action_command_dizzy_shell_free(void)
@ ACTION_COMMAND_BOMB
Definition enums.h:3483
@ ACTION_COMMAND_SPOOK
Definition enums.h:3493
@ ACTION_COMMAND_WATER_BLOCK
Definition enums.h:3494
@ ACTION_COMMAND_MEGA_SHOCK
Definition enums.h:3489
@ ACTION_COMMAND_HURRICANE
Definition enums.h:3492
@ ACTION_COMMAND_FLEE
Definition enums.h:3475
@ ACTION_COMMAND_SMASH
Definition enums.h:3474
@ ACTION_COMMAND_AIR_LIFT
Definition enums.h:3485
@ ACTION_COMMAND_07
Definition enums.h:3479
@ ACTION_COMMAND_BREAK_FREE
Definition enums.h:3476
@ ACTION_COMMAND_SMACK
Definition enums.h:3490
@ ACTION_COMMAND_SQUIRT
Definition enums.h:3487
@ ACTION_COMMAND_AIR_RAID
Definition enums.h:3486
@ ACTION_COMMAND_WHIRLWIND
Definition enums.h:3477
@ ACTION_COMMAND_BODY_SLAM
Definition enums.h:3484
@ ACTION_COMMAND_FIRE_SHELL
Definition enums.h:3481
@ ACTION_COMMAND_DIZZY_SHELL
Definition enums.h:3480
@ ACTION_COMMAND_NONE
Definition enums.h:3472
@ ACTION_COMMAND_SPINY_SURGE
Definition enums.h:3491
@ ACTION_COMMAND_POWER_SHOCK
Definition enums.h:3488
@ ACTION_COMMAND_JUMP
Definition enums.h:3473
@ ACTION_COMMAND_0A
Definition enums.h:3482
@ ACTION_COMMAND_TIDAL_WAVE
Definition enums.h:3495
@ ACTION_COMMAND_STOP_LEECH
Definition enums.h:3478
void action_command_fire_shell_free(void)
void action_command_flee_free(void)
void btl_set_popup_duration(s32 duration)
void close_action_command_instruction_popup(void)
void action_command_hammer_free(void)
void action_command_hurricane_free(void)
void action_command_jump_free(void)
void action_command_mega_shock_free(void)
void action_command_power_shock_free(void)
void action_command_smack_free(void)
void action_command_spiny_surge_free(void)
void action_command_spook_free(void)
void action_command_squirt_free(void)
void action_command_stop_leech_free(void)
void action_command_tidal_wave_free(void)
void action_command_water_block_free(void)
void action_command_whirlwind_free(void)

Referenced by action_command_update(), and update().

◆ func_80268E88()

void func_80268E88 ( void )

Definition at line 531 of file action_cmd.c.

531 {
532 ActionCommandStatus* actionCmdStatus = &gActionCommandStatus;
534 actionCmdStatus->actionCommandID = 0;
535}
void action_command_draw(void)
Definition action_cmd.c:371
void action_command_update(void)
Definition action_cmd.c:287
s32 create_worker_frontUI(void(*updateFunc)(void), void(*drawFunc)(void))
Definition worker.c:63

Referenced by initialize_battle().

◆ func_80269118()

void func_80269118 ( void )

Definition at line 641 of file action_cmd.c.

641 {
642 PlayerData* playerData = &gPlayerData;
643 ActionCommandStatus *actionCommandStatus = &gActionCommandStatus;
644
645 if (!actionCommandStatus->autoSucceed) {
646 if (playerData->actionCommandAttempts < 9999) {
647 playerData->actionCommandAttempts++;
648 actionCommandStatus->hitsTakenIsMax = FALSE;
649 } else {
650 actionCommandStatus->hitsTakenIsMax = TRUE;
651 }
652 }
653}
u16 actionCommandAttempts
PlayerData gPlayerData
Definition 77480.c:40

◆ func_80269160()

void func_80269160 ( void )

Definition at line 655 of file action_cmd.c.

655 {
656 PlayerData* playerData = &gPlayerData;
657
659 playerData->actionCommandSuccesses++;
660 }
661}
u16 actionCommandSuccesses

Referenced by update().

◆ draw_mash_meter_multicolor_with_divisor()

void draw_mash_meter_multicolor_with_divisor ( s32 posX,
s32 posY,
s32 fillValue,
s32 divisor )

Definition at line 231 of file action_cmd.c.

231 {
232 sMashMeterSmoothDivisor = divisor;
233 draw_mash_meter(posX, posY, fillValue, MASH_METER_MODE_MULTI_COLOR);
234}
void draw_mash_meter(s32 posX, s32 posY, s32 fillValue, s32 colorMode)
Definition action_cmd.c:116
BSS s32 sMashMeterSmoothDivisor
Definition action_cmd.c:82

Referenced by draw().

◆ draw_mash_meter_blink()

void draw_mash_meter_blink ( s32 posX,
s32 posY,
s32 fillValue )

Definition at line 246 of file action_cmd.c.

246 {
248 draw_mash_meter(posX, posY, fillValue, MASH_METER_MODE_BLINK);
249}

Referenced by draw().

◆ draw_mash_meter_multicolor()

void draw_mash_meter_multicolor ( s32 posX,
s32 posY,
s32 fillValue )

Definition at line 226 of file action_cmd.c.

226 {
228 draw_mash_meter(posX, posY, fillValue, MASH_METER_MODE_MULTI_COLOR);
229}

Referenced by draw().

◆ draw_mash_meter_mode_with_divisor()

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.

241 {
242 sMashMeterSmoothDivisor = divisor;
243 draw_mash_meter(posX, posY, fillValue, colorMode);
244}

Referenced by draw().

◆ draw_mash_meter_blink_with_divisor()

void draw_mash_meter_blink_with_divisor ( s32 posX,
s32 posY,
s32 fillValue,
s32 divisor )

Definition at line 251 of file action_cmd.c.

251 {
252 sMashMeterSmoothDivisor = divisor;
253 draw_mash_meter(posX, posY, fillValue, MASH_METER_MODE_BLINK);
254}

Referenced by draw().

◆ adjust_action_command_difficulty()

s32 adjust_action_command_difficulty ( s32 arg0)

Definition at line 101 of file action_cmd.c.

101 {
104 }
105
106 if (arg0 < 0) {
107 arg0 = 0;
108 }
109 if (arg0 > 7) {
110 arg0 = 7;
111 }
112
113 return arg0;
114}
@ ABILITY_DODGE_MASTER
Definition enums.h:436

◆ check_block_input()

s32 check_block_input ( s32 buttonMask)

Definition at line 537 of file action_cmd.c.

537 {
538 BattleStatus* battleStatus = &gBattleStatus;
539 PlayerData* playerData = &gPlayerData;
540 ActionCommandStatus* actionCommandStatus = &gActionCommandStatus;
541 s32 mashWindow;
542 s32 blockWindow;
543 s32 block;
544 s32 mash = FALSE;
545 s32 bufferPos;
546 s32 i;
547 s32 ignoreWindow;
548
549 battleStatus->blockResult = BLOCK_RESULT_FAIL;
550
552 battleStatus->blockResult = BLOCK_RESULT_SUCCESS;
553 return TRUE;
554 }
555
557 return FALSE;
558 }
559
560 if (playerData->hitsTaken < 9999) {
561 playerData->hitsTaken++;
562 actionCommandStatus->hitsTakenIsMax = FALSE;
563 } else {
564 actionCommandStatus->hitsTakenIsMax = TRUE;
565 }
566
567 block = FALSE;
568 blockWindow = 3;
569 mashWindow = 10;
570
572 blockWindow = 5;
573 }
574
575 // Pre-window mashing check
576 bufferPos = battleStatus->inputBufferPos;
577 bufferPos -= mashWindow + blockWindow;
578
579 if (bufferPos < 0) {
580 bufferPos += ARRAY_COUNT(battleStatus->pushInputBuffer);
581 }
582 for (i = 0; i < mashWindow; i++) {
583 if (bufferPos >= ARRAY_COUNT(battleStatus->pushInputBuffer)) {
584 bufferPos -= ARRAY_COUNT(battleStatus->pushInputBuffer);
585 }
586
587 if (battleStatus->pushInputBuffer[bufferPos] & buttonMask) {
588 mash = TRUE;
589 break;
590 }
591 bufferPos++;
592 }
593
594 // Block check
595 bufferPos = battleStatus->inputBufferPos;
596 bufferPos -= blockWindow;
597 if (bufferPos < 0) {
598 bufferPos += ARRAY_COUNT(battleStatus->pushInputBuffer);
599 }
600 for (i = 0; i < blockWindow; i++) {
601 if (bufferPos >= ARRAY_COUNT(battleStatus->pushInputBuffer)) {
602 bufferPos -= ARRAY_COUNT(battleStatus->pushInputBuffer);
603 }
604
605 if (battleStatus->pushInputBuffer[bufferPos] & buttonMask) {
606 battleStatus->blockResult = BLOCK_RESULT_SUCCESS;
607 block = TRUE;
608 break;
609 }
610 bufferPos++;
611 }
612
613 if (mash) {
614 battleStatus->blockResult = BLOCK_RESULT_EARLY;
615 block = FALSE;
616 }
617
618 // Ignore inputs until another mash window has passed, so check_block_input() can be called in quick succession
619 if (block == TRUE) {
620 bufferPos = battleStatus->inputBufferPos;
621 bufferPos -= mashWindow + blockWindow;
622 if (bufferPos < 0) {
623 bufferPos += ARRAY_COUNT(battleStatus->pushInputBuffer);
624 }
625
626 for (i = 0; i < mashWindow + blockWindow; i++) {
627 if (bufferPos >= ARRAY_COUNT(battleStatus->pushInputBuffer)) {
628 bufferPos -= ARRAY_COUNT(battleStatus->pushInputBuffer);
629 }
630 battleStatus->pushInputBuffer[bufferPos] = 0;
631 bufferPos++;
632 }
633 }
634 if (block && !actionCommandStatus->hitsTakenIsMax) {
635 playerData->hitsBlocked++;
636 }
637
638 return block;
639}
@ BS_FLAGS1_TUTORIAL_BATTLE
Definition enums.h:3594
@ BLOCK_RESULT_FAIL
Definition enums.h:1974
@ BLOCK_RESULT_SUCCESS
Definition enums.h:1975
@ BLOCK_RESULT_EARLY
Definition enums.h:1973
#define ARRAY_COUNT(arr)
Definition macros.h:40
s32 pushInputBuffer[64]

Referenced by calc_enemy_damage_target().

Variable Documentation

◆ gActionCommandStatus

◆ HES_100pct

HudScript HES_100pct
extern

Definition at line 460 of file battle_ui_gfx.c.

460 {
462 hs_SetCustomSize(64, 48)
463 hs_Loop
464 hs_SetTexelOffset(0, -16)
465 hs_SetScale(1.00)
466 hs_SetCI(1, ui_battle_cmd_100pct)
467 hs_SetScale(1.20)
468 hs_SetCI(1, ui_battle_cmd_100pct)
469 hs_SetScale(1.30)
470 hs_SetCI(1, ui_battle_cmd_100pct)
471 hs_SetScale(1.27)
472 hs_SetCI(1, ui_battle_cmd_100pct)
473 hs_SetScale(1.15)
474 hs_SetCI(1, ui_battle_cmd_100pct)
475 hs_SetScale(1.05)
476 hs_SetCI(1, ui_battle_cmd_100pct)
478 hs_End
479};
#define hs_SetCustomSize(arg0, arg1)
#define hs_SetVisible
#define hs_End
#define hs_Restart
#define hs_Loop
#define hs_SetCI(time, name)
#define hs_SetScale(scale)
#define hs_SetTexelOffset(x, y)

◆ HES_AButton

HudScript HES_AButton
extern

Definition at line 2347 of file global_hud_scripts.c.

Referenced by btl_update_message_popup(), and update().

◆ HES_AButtonDown

HudScript HES_AButtonDown
extern

Definition at line 2349 of file global_hud_scripts.c.

Referenced by btl_update_message_popup(), and update().

◆ HES_BButton

HudScript HES_BButton
extern

Definition at line 297 of file battle_ui_gfx.c.

Referenced by btl_update_message_popup().

◆ HES_BButtonHeld

HudScript HES_BButtonHeld
extern

Definition at line 299 of file battle_ui_gfx.c.

◆ HES_BlueMeter

HudScript HES_BlueMeter
extern

Definition at line 2345 of file global_hud_scripts.c.

◆ HES_CDownButtonHeld

HudScript HES_CDownButtonHeld
extern

Definition at line 386 of file battle_ui_gfx.c.

◆ HES_FillGaugeResult

HudScript HES_FillGaugeResult
extern

Definition at line 512 of file battle_ui_gfx.c.

◆ HES_MashAButton

HudScript HES_MashAButton
extern

Definition at line 2351 of file global_hud_scripts.c.

2351 {
2353 hs_SetCustomSize(48, 40)
2354 hs_Loop
2355 hs_SetCI(2, ui_input_a_button_unpressed)
2356 hs_SetCI(2, ui_input_a_button_pressed)
2358 hs_End
2359};

Referenced by btl_update_message_popup(), and update().

◆ HES_MashBButton1

HudScript HES_MashBButton1
extern

Definition at line 301 of file battle_ui_gfx.c.

301 {
303 hs_SetCustomSize(48, 40)
304 hs_Loop
305 hs_SetCI(2, ui_battle_cont_b_up)
306 hs_SetCI(2, ui_battle_cont_b_down)
308 hs_End
309};

Referenced by btl_update_message_popup(), and update().

◆ HES_PressAButton

HudScript HES_PressAButton
extern

Definition at line 2361 of file global_hud_scripts.c.

2361 {
2363 hs_SetCustomSize(48, 40)
2364 hs_Loop
2365 hs_SetCI(10, ui_input_a_button_unpressed)
2366 hs_SetCI(10, ui_input_a_button_pressed)
2368 hs_End
2369};

Referenced by btl_update_message_popup(), and update().

◆ HES_PressBButton

HudScript HES_PressBButton
extern

Definition at line 311 of file battle_ui_gfx.c.

311 {
313 hs_SetCustomSize(48, 40)
314 hs_Loop
315 hs_SetCI(3, ui_battle_cont_b_down)
316 hs_SetCI(10, ui_battle_cont_b_up)
317 hs_SetCI(7, ui_battle_cont_b_down)
319 hs_End
320};

Referenced by btl_update_message_popup().

◆ HES_PressCDownButton

HudScript HES_PressCDownButton
extern

Definition at line 398 of file battle_ui_gfx.c.

398 {
400 hs_SetCustomSize(40, 34)
401 hs_Loop
402 hs_SetCI(6, ui_battle_cont_c_down_down)
403 hs_SetCI(10, ui_battle_cont_c_down_up)
404 hs_SetCI(4, ui_battle_cont_c_down_down)
406 hs_End
407};

Referenced by btl_update_message_popup().

◆ HES_RightOn

HudScript HES_RightOn
extern

Definition at line 481 of file battle_ui_gfx.c.

481 {
483 hs_SetCustomSize(56, 24)
484 hs_Loop
485 hs_SetTexelOffset(0, -16)
486 hs_SetScale(1.00)
487 hs_SetCI(1, ui_battle_cmd_right_on)
488 hs_SetScale(1.10)
489 hs_SetCI(1, ui_battle_cmd_right_on)
490 hs_SetScale(1.20)
491 hs_SetCI(1, ui_battle_cmd_right_on)
492 hs_SetScale(1.30)
493 hs_SetCI(2, ui_battle_cmd_right_on)
494 hs_SetScale(1.27)
495 hs_SetCI(2, ui_battle_cmd_right_on)
496 hs_SetScale(1.15)
497 hs_SetCI(2, ui_battle_cmd_right_on)
498 hs_SetScale(1.05)
499 hs_SetCI(2, ui_battle_cmd_right_on)
501 hs_End
502};

◆ HES_RunningAway

HudScript HES_RunningAway
extern

Definition at line 446 of file battle_ui_gfx.c.

446 {
448 hs_Loop
449 hs_SetCustomSize(16, 24)
450 hs_SetCI(1, ui_battle_cmd_flee_0)
451 hs_SetCI(1, ui_battle_cmd_flee_1)
452 hs_SetCI(1, ui_battle_cmd_flee_2)
453 hs_SetCI(1, ui_battle_cmd_flee_0)
454 hs_SetCI(1, ui_battle_cmd_flee_2)
455 hs_SetCI(1, ui_battle_cmd_flee_1)
457 hs_End
458};

◆ HES_RunAwayOK

HudScript HES_RunAwayOK
extern

Definition at line 2572 of file global_hud_scripts.c.

2572 {
2574 hs_Loop
2575 hs_SetCustomSize(24, 16)
2576 hs_SetCI(60, ui_ok)
2578 hs_End
2579};

◆ HES_StickHoldLeft

HudScript HES_StickHoldLeft
extern

Definition at line 2438 of file global_hud_scripts.c.

2438 {
2440 hs_SetCustomSize(40, 32)
2441 hs_SetTexelOffset(-4, 0)
2442 hs_Loop
2443 hs_SetCI(60, ui_input_analog_stick_left)
2445 hs_End
2446};

◆ HES_StickMashLeft

HudScript HES_StickMashLeft
extern

Definition at line 2467 of file global_hud_scripts.c.

2467 {
2469 hs_Loop
2470 hs_SetCustomSize(40, 32)
2471 hs_SetTexelOffset(-4, 0)
2472 hs_SetCI(6, ui_input_analog_stick_left)
2473 hs_SetCustomSize(32, 32)
2474 hs_SetTexelOffset(0, 0)
2475 hs_SetCI(1, ui_input_analog_stick)
2477 hs_End
2478};

Referenced by btl_update_message_popup(), and update().

◆ HES_StickNeutral

HudScript HES_StickNeutral
extern

Definition at line 2436 of file global_hud_scripts.c.

Referenced by btl_update_message_popup().

◆ HES_StickTapNeutral

HudScript HES_StickTapNeutral
extern

Definition at line 2493 of file global_hud_scripts.c.

2493 {
2495 hs_SetCustomSize(32, 32)
2496 hs_SetTexelOffset(0, 0)
2497 hs_SetCI(1, ui_input_analog_stick3)
2498 hs_SetCustomSize(32, 32)
2499 hs_SetCI(1, ui_input_analog_stick2)
2500 hs_SetCustomSize(32, 32)
2501 hs_SetCI(1, ui_input_analog_stick3)
2502 hs_SetCustomSize(32, 32)
2503 hs_SetCI(20, ui_input_analog_stick2)
2504 hs_Loop
2505 hs_SetCI(60, ui_input_analog_stick2)
2507 hs_End
2508};

Referenced by update().

◆ HES_TimingBar1Chance

HudScript HES_TimingBar1Chance
extern

Definition at line 295 of file battle_ui_gfx.c.

◆ HES_TimingBar3Chances

HudScript HES_TimingBar3Chances
extern

Definition at line 504 of file battle_ui_gfx.c.

◆ HES_TimingCharge1

HudScript HES_TimingCharge1
extern

Definition at line 436 of file battle_ui_gfx.c.

Referenced by update().

◆ HES_TimingCharge2

HudScript HES_TimingCharge2
extern

Definition at line 440 of file battle_ui_gfx.c.

Referenced by update().

◆ HES_TimingCharge3

HudScript HES_TimingCharge3
extern

Definition at line 444 of file battle_ui_gfx.c.

Referenced by update().

◆ HES_TimingCharge4a

HudScript HES_TimingCharge4a
extern

Definition at line 434 of file battle_ui_gfx.c.

◆ HES_TimingCharge4b

HudScript HES_TimingCharge4b
extern

Definition at line 438 of file battle_ui_gfx.c.

◆ HES_TimingCharge4c

HudScript HES_TimingCharge4c
extern

Definition at line 442 of file battle_ui_gfx.c.

◆ HES_TimingOK

HudScript HES_TimingOK
extern

Definition at line 508 of file battle_ui_gfx.c.

Referenced by update().

◆ HES_TimingMiss

HudScript HES_TimingMiss
extern

Definition at line 510 of file battle_ui_gfx.c.

Referenced by update().

◆ HES_TimingReady

HudScript HES_TimingReady
extern

Definition at line 422 of file battle_ui_gfx.c.

Referenced by btl_update_message_popup(), and update().

◆ HES_TimingWait

HudScript HES_TimingWait
extern

Definition at line 420 of file battle_ui_gfx.c.