2#include "sprite/npc/StarMan.h"
5extern EvtScript N(EVS_ToadHouse_SetDialogue);
6extern EvtScript N(EVS_ToadHouse_ReturnFromRest);
43EvtScript N(EVS_NpcInteract_ToadHouseKeeper) = {
44 Call(N(ToadHouse_InitScreenOverlay), 0, 0, 0)
45 ExecWait(N(EVS_ToadHouse_SetDialogue))
52 Call(N(ToadHouse_DoesPlayerNeedSleep))
67 Call(N(ToadHouse_DisableStatusBar))
78 Call(N(ToadHouse_UpdateScreenOverlay), 3,
LVar0)
88 Call(N(ToadHouse_GetPartnerBackOut),
LVarA)
93 Call(N(ToadHouse_UpdateScreenOverlay), 0,
LVar0)
100 ExecWait(N(EVS_ToadHouse_ReturnFromRest))
104 Call(N(ToadHouse_ShowWorldStatusBar))
@ NPC_FLAG_IGNORE_PLAYER_COLLISION
#define ContinueSpeech(ARGS...)
#define SpeakToPlayer(ARGS...)
ApiStatus EnableModel(Evt *script, b32 isInitialCall)
Enables or disables the given model.
ApiStatus RotateModel(Evt *script, b32 isInitialCall)
Rotates the model the given amount on the selected axis.
ApiStatus UpdateLerp(Evt *script, b32 isInitialCall)
ApiStatus SetPlayerJumpscale(Evt *script, b32 isInitialCall)
ApiStatus ShowChoice(Evt *script, b32 isInitialCall)
ApiStatus FullyRestoreSP(Evt *script, b32 isInitialCall)
ApiStatus FullyRestoreHPandFP(Evt *script, b32 isInitialCall)
ApiStatus DisablePlayerPhysics(Evt *script, b32 isInitialCall)
Disables player physics if disable is TRUE, enables it if FALSE.
ApiStatus MakeLerp(Evt *script, b32 isInitialCall)
ApiStatus SetNpcFlagBits(Evt *script, b32 isInitialCall)
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
#define IfNe(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR != RVAR.
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#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 EndIf
Marks the end of an if statement or an else block.
#define ExecWait(EVT_SOURCE)
Launches a new child thread.
#define Thread
Marks the start of a thread block.
#define EndThread
Marks the end of a thread block.
#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 Exec(EVT_SOURCE)
Launches a new thread.
#define Return
Kills the current EVT thread.