file
script.h
Classes
- struct ScriptExecutionContext
- struct ActiveScriptInfo
Enums
Typedefs
Functions
- auto CreateScriptExecutionContext(void) -> ScriptExecutionContext*
- void InitScriptForEntity(Entity* entity, ScriptExecutionContext* context, u16* script)
- void ExecuteScript(Entity* entity, ScriptExecutionContext* context)
- auto GetNextScriptCommandHalfword(u16*) -> u32
- auto GetNextScriptCommandWord(u16*) -> u32
- auto GetNextScriptCommandWordAfterCommandMetadata(u16*) -> u32
- auto GetNextScriptCommandHalfwordAfterCommandMetadata(u16*) -> u32
- void UnloadCutsceneData(Entity* entity)
- void StartPlayerScript(Script* script)
- void InitScriptForNPC(Entity* entity)
- void sub_0807DD64(Entity* entity)
- void sub_0807DD80(Entity* entity, Script* script)
- void LookAt(Entity* entity, ScriptExecutionContext* context, u32 x, u32 y)
- auto StartCutscene(Entity* entity, Script* script) -> ScriptExecutionContext*
- void ExecuteScriptForEntity(Entity* entity, void(*)(Entity*, ScriptExecutionContext*) postScriptCallback)
- void HandlePostScriptActions(Entity* entity, ScriptExecutionContext* context)
- void HandleEntity0x82Actions(Entity* entity)
- void ExecuteScriptAndHandleAnimation(Entity* entity, void(*)(Entity*, ScriptExecutionContext*) postScriptCallback)