Go to the source code of this file.
◆ EVS_WorldItem_ShowUsedItem
Initial value:= {
}
ApiStatus RemoveItemEntity(Evt *script, b32 isInitialCall)
ApiStatus SetPlayerAnimation(Evt *script, b32 isInitialCall)
ApiStatus MakeItemEntity(Evt *script, b32 isInitialCall)
ApiStatus GetPlayerPos(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 Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define SetGroup(GROUP)
Sets the current thread's group. Group value meanings are currently not known.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define Return
Kills the current EVT thread.
Definition at line 112 of file world_use_item.c.
◆ EVS_WorldItem_PlayEatingSounds
Initial value:= {
}
ApiStatus PlaySound(Evt *script, b32 isInitialCall)
#define EndLoop
Marks the end of a loop.
#define Thread
Marks the start of a thread block.
#define EndThread
Marks the end of a thread block.
#define Loop(TIMES)
Marks the beginning of a loop.
Definition at line 128 of file world_use_item.c.
◆ EVS_WorldItem_PlayDrinkingSounds
◆ EVS_World_UseItem
Definition at line 154 of file world_use_item.c.
154 {
162 Call(WorldItem_PauseTime)
205 Call(WorldItem_ConsumeItem)
207 Call(WorldItem_UnpauseTime)
210};
ApiStatus GetPartnerInUse(Evt *script, b32 isInitialCall)
ApiStatus ShowRecoveryShimmer(Evt *script, b32 isInitialCall)
ApiStatus DisablePlayerInput(Evt *script, b32 isInitialCall)
Disables player and partner input, and disables the status menu.
ApiStatus ShowStartRecoveryShimmer(Evt *script, b32 isInitialCall)
ApiStatus InterruptUsePartner(Evt *script, b32 isInitialCall)
#define Else
Marks the end of an if statement and the start of the else block.
#define IfNe(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR != RVAR.
#define IfGt(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR <= RVAR.
#define EndIf
Marks the end of an if statement or an else block.
#define ExecWait(EVT_SOURCE)
Launches a new child thread.
#define IfEq(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR == RVAR.
EvtScript EVS_WorldItem_ShowUsedItem
EvtScript EVS_WorldItem_PlayEatingSounds
EvtScript EVS_WorldItem_PlayDrinkingSounds