4#include "sprite/player.h"
6#define NAMESPACE battle_item_ultra_shroom
10API_CALLABLE(N(SpawnHeartRecoveryFX)) {
17 fx_recover(0, a, b, c, d);
21API_CALLABLE(N(HealPlayer10)) {
24 playerData->
curHP += 10;
36 Call(AddBattleCamDist, 50)
37 Call(MoveBattleCamOver, 20)
s32 evt_get_variable(Evt *script, Bytecode var)
ApiStatus ShowRecoveryShimmer(Evt *script, b32 isInitialCall)
ApiStatus ShowStartRecoveryShimmer(Evt *script, b32 isInitialCall)
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Add(VAR, INT_VALUE)
#define ExecWait(EVT_SOURCE)
Launches a new child thread.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define SetConst(VAR, CONST)
Sets the given variable to a given value, skipping the evt_get_variable call.
#define Return
Kills the current EVT thread.