5#include "sprite/player.h"
7#define NAMESPACE battle_move_d_down_jump
11API_CALLABLE(N(func_802A10E4_781A04)) {
17 if (script->varTable[10] == 0) {
18 fx_green_impact(TRUE, var0, var1, var2, 0.0f);
20 fx_green_impact(FALSE, var0, var1, var2, 0.0f);
31 Call(ShowActionHud, TRUE)
47 ExecWait(N(EVS_JumpSupport_ApproachAndJump))
71 ExecWait(N(EVS_JumpSupport_NoFollowUp))
85 Call(CloseActionCommandInfo)
87 Call(action_command_jump_init)
88 Call(ShowActionHud, FALSE)
89 Call(action_command_jump_start, 24, 3)
91 Call(SetJumpAnimations,
ACTOR_PLAYER, 0, ANIM_Mario1_Jump, ANIM_Mario1_Fall, ANIM_Mario1_SpinFall)
100 ExecWait(N(EVS_JumpSupport_Rebound))
106 ExecWait(N(EVS_JumpSupport_ApproachAndJump))
128 ExecWait(N(EVS_JumpSupport_NoFollowUp))
142 Call(CloseActionCommandInfo)
144 Call(action_command_jump_init)
145 Call(ShowActionHud, FALSE)
146 Call(action_command_jump_start, 37, 3)
149 Call(SetJumpAnimations,
ACTOR_PLAYER, 0, ANIM_Mario1_Jump, ANIM_Mario1_Sit, ANIM_Mario1_SpinJump)
161 ExecWait(N(EVS_JumpSupport_Rebound))
167 ExecWait(N(EVS_JumpSupport_ApproachAndJump))
189 ExecWait(N(EVS_JumpSupport_NoFollowUp))
203 Call(CloseActionCommandInfo)
205 Call(action_command_jump_init)
206 Call(ShowActionHud, FALSE)
207 Call(action_command_jump_start, 25, 3)
210 Call(SetJumpAnimations,
ACTOR_PLAYER, 0, ANIM_Mario1_Jump, ANIM_Mario1_Jump, ANIM_Mario1_SpinFall)
220 ExecWait(N(EVS_JumpSupport_Rebound))
@ BS_FLAGS1_TRIGGER_EVENTS
@ BS_FLAGS1_INCLUDE_POWER_UPS
@ HIT_RESULT_NICE_NO_DAMAGE
@ BTL_CAM_PLAYER_PRE_ULTRA_JUMP_FINISH
@ BTL_CAM_PLAYER_PRE_JUMP_FINISH
@ BTL_CAM_PLAYER_JUMP_FINISH
@ DAMAGE_TYPE_IGNORE_DEFENSE
s32 evt_get_variable(Evt *script, Bytecode var)
#define Switch(LVAR)
Marks the start of a switch statement.
#define CaseEq(RVAR)
Marks the start of a switch case that executes only if LVAR == RVAR. It also marks the end of any pre...
#define EndChildThread
Marks the end of a child thread block.
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define EndCaseGroup
Marks the end of a switch case group (CaseOrEq and/or CaseAndEq), stopping fallthrough.
#define CaseOrEq(RVAR)
Marks the start of a switch case that executes only if LVAR == RVAR.
#define EndIf
Marks the end of an if statement or an else block.
#define CaseDefault
Marks the start of a switch case that executes unconditionally. It also marks the end of any previous...
#define ExecWait(EVT_SOURCE)
Launches a new child thread.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define EndSwitch
Marks the end of a switch statement and any case.
#define IfEq(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR == RVAR.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define ChildThread
Marks the start of a child thread block.
#define CaseGt(RVAR)
Marks the start of a switch case that executes only if LVAR <= RVAR. It also marks the end of any pre...
#define Return
Kills the current EVT thread.