4#include "sprite/player.h"
6#define NAMESPACE battle_item_volt_shroom
10API_CALLABLE(N(func_802A123C_71AA2C)) {
35 Call(N(func_802A123C_71AA2C))
38 Call(WaitForMessageBoxDone)
@ SOUND_VOLT_SHROOM_APPLY
s32 inflict_status(Actor *, s32, s32)
ApiStatus PlaySound(Evt *script, b32 isInitialCall)
ApiStatus GetItemPower(Evt *script, b32 isInitialCall)
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
#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 SetF(VAR, FLOAT_VALUE)
Sets the given variable to a given value, but supports Floats.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define PlayEffect(args...)
#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.
struct Actor * playerActor
BattleStatus gBattleStatus