3API_CALLABLE(N(AddMerlarHoverMotion)) {
7 script->functionTempF[1] = 0.0f;
8 script->functionTempPtr[2] =
get_npc_safe(script->owner2.npcID);
10 npc = script->functionTempPtr[2];
12 script->functionTempF[1] =
clamp_angle(script->functionTempF[1] + 4.5f);
24 .level = ACTOR_LEVEL_NONE,
25 .otherAI = &N(EVS_NpcAuxAI_Merlar),
34 Call(N(AddMerlarHoverMotion))
Npc * get_npc_safe(s32 npcID)
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define Return
Kills the current EVT thread.