2020-10-19 23:58:57 +02:00
|
|
|
#ifndef _SCRIPT_API_MAP_H_
|
|
|
|
#define _SCRIPT_API_MAP_H_
|
|
|
|
|
|
|
|
#include "common_structs.h"
|
2021-08-29 16:34:42 +02:00
|
|
|
#include "evt.h"
|
2020-10-19 23:58:57 +02:00
|
|
|
|
|
|
|
#include "script_api/common.h"
|
|
|
|
|
2021-08-22 23:50:10 +02:00
|
|
|
ApiStatus MakeNpcs(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus DoBasicAI(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus ResetFromLava(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus MakeShop(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus MakeShopOwner(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus MakeDoorAdvanced(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus CheckActionState(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus CreatePushBlockGrid(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus SetPushBlock(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus GetPushBlock(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus GetGridIndexFromPos(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus SetPushBlockFallEffect(Evt* script, s32 isInitialCall);
|
|
|
|
ApiStatus TeleportPartnerToPlayer(Evt* script, s32 isInitialCall);
|
2020-10-19 23:58:57 +02:00
|
|
|
|
2021-08-22 23:50:10 +02:00
|
|
|
extern EvtSource EnterWalk;
|
|
|
|
extern EvtSource EnterWalkShort;
|
|
|
|
extern EvtSource EnterSavePoint;
|
|
|
|
extern EvtSource ExitWalk;
|
|
|
|
extern EvtSource ExitSingleDoor;
|
|
|
|
extern EvtSource EnterSingleDoor;
|
|
|
|
extern EvtSource ExitDoubleDoor;
|
|
|
|
extern EvtSource EnterDoubleDoor;
|
2020-10-19 23:58:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|