4#include "sprite/player.h"
6#define NAMESPACE battle_move_auto_multibounce
15 Call(ShowActionHud, TRUE)
31 ExecWait(N(EVS_JumpSupport_ApproachAndJump))
65 ExecWait(N(EVS_JumpSupport_NoFollowUp))
86 Call(CloseActionCommandInfo)
88 Call(action_command_jump_init)
90 Call(ShowActionHud, FALSE)
94 ExecWait(N(EVS_JumpSupport_CalcJumpTime))
98 Call(SetJumpAnimations,
ACTOR_PLAYER, 0, ANIM_Mario1_Jump, ANIM_Mario1_Fall, ANIM_Mario1_SpinFall)
147 ExecWait(N(EVS_JumpSupport_Rebound))
150 ExecWait(N(EVS_JumpSupport_NoFollowUp))
156 ExecWait(N(EVS_JumpSupport_Rebound))
164 ExecWait(N(EVS_JumpSupport_WeakRebound))
173 ExecWait(N(EVS_JumpSupport_ApproachAndJump))
204 ExecWait(N(EVS_JumpSupport_Rebound))
207 ExecWait(N(EVS_JumpSupport_NoFollowUp))
213 ExecWait(N(EVS_JumpSupport_Rebound))
228 Call(CloseActionCommandInfo)
230 Call(action_command_jump_init)
232 Call(ShowActionHud, FALSE)
235 Call(action_command_jump_start, 37, 3)
239 Call(SetJumpAnimations,
ACTOR_PLAYER, 0, ANIM_Mario1_Jump, ANIM_Mario1_Sit, ANIM_Mario1_SpinJump)
294 ExecWait(N(EVS_JumpSupport_Rebound))
297 ExecWait(N(EVS_JumpSupport_NoFollowUp))
303 ExecWait(N(EVS_JumpSupport_Rebound))
311 ExecWait(N(EVS_JumpSupport_NoFollowUp))
320 ExecWait(N(EVS_JumpSupport_ApproachAndJump))
351 ExecWait(N(EVS_JumpSupport_Rebound))
354 ExecWait(N(EVS_JumpSupport_NoFollowUp))
360 ExecWait(N(EVS_JumpSupport_Rebound))
375 Call(CloseActionCommandInfo)
377 Call(action_command_jump_init)
379 Call(ShowActionHud, FALSE)
382 Call(action_command_jump_start, 25, 3)
385 Call(SetJumpAnimations,
ACTOR_PLAYER, 0, ANIM_Mario1_Jump, ANIM_Mario1_Jump, ANIM_Mario1_SpinFall)
434 ExecWait(N(EVS_JumpSupport_Rebound))
437 ExecWait(N(EVS_JumpSupport_NoFollowUp))
443 ExecWait(N(EVS_JumpSupport_Rebound))
451 ExecWait(N(EVS_JumpSupport_NoFollowUp))
@ BS_FLAGS1_TRIGGER_EVENTS
@ BS_FLAGS1_AUTO_SUCCEED_ACTION
@ BS_FLAGS1_INCLUDE_POWER_UPS
@ HIT_RESULT_NICE_NO_DAMAGE
@ BTL_CAM_PLAYER_MULTIBOUNCE
@ DAMAGE_TYPE_MULTI_BOUNCE
@ DAMAGE_TYPE_MULTIPLE_POPUPS
#define Else
Marks the end of an if statement and the start of the else block.
#define Switch(LVAR)
Marks the start of a switch statement.
#define IfGe(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR >= RVAR.
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
#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 Sub(VAR, INT_VALUE)
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Add(VAR, INT_VALUE)
#define EndCaseGroup
Marks the end of a switch case group (CaseOrEq and/or CaseAndEq), stopping fallthrough.
#define Goto(LABEL_ID)
Moves execution to the given label.
#define Label(LABEL_ID)
Marks this point in the script as a Goto target.
#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 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.