4#include "sprite/player.h"
6#define NAMESPACE battle_item_tasty_tonic
10API_CALLABLE(N(func_802A123C_72223C)) {
41 ExecWait(battle_item_tasty_tonic_UseItemWithEffect)
42 Call(InitTargetIterator)
45 ExecWait(battle_item_tasty_tonic_DrinkItem)
58 Call(battle_item_tasty_tonic_func_802A123C_72223C, 0)
71 Call(battle_item_tasty_tonic_func_802A123C_72223C, 256)
74 ExecWait(battle_item_tasty_tonic_PlayerGoHome)
struct EffectInstance * disableEffect
struct DisableXFXData * disableX
s32 evt_get_variable(Evt *script, Bytecode var)
void remove_status_debuff(s32)
Actor * get_actor(s32 actorID)
void dispatch_event_partner(s32)
ApiStatus ShowRecoveryShimmer(Evt *script, b32 isInitialCall)
ApiStatus ShowStartRecoveryShimmer(Evt *script, b32 isInitialCall)
#define Else
Marks the end of an if statement and the start of the else block.
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Add(VAR, INT_VALUE)
#define EndIf
Marks the end of an if statement or an else block.
#define ExecWait(EVT_SOURCE)
Launches a new child thread.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#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 SetConst(VAR, CONST)
Sets the given variable to a given value, skipping the evt_get_variable call.
#define Return
Kills the current EVT thread.