Skip to content

script_api/common.h

EVT scripting API functions available at all times.

TranslateModel

Call(TranslateModel, modelID, x, y, z) source

Translates the given model's position.

RotateModel

Call(RotateModel, modelID, angle, x, y, z) source

Rotates the model the given amount on the selected axis.

ScaleModel

Call(ScaleModel, modelID, angle, x, y, z) source

Scales the model the given amount along the selected axis.

GetModelIndex

Call(GetModelIndex, modelID) source

Returns the given model's index.

@vars {out | \ref LVar0 | Returns the index of the model. }

InvalidateModelTransform

Call(InvalidateModelTransform) source

CloneModel

Call(CloneModel, modelID, newModelID) source

Clones the given model.

GetModelCenter

Call(GetModelCenter, modelID) source

Returns the center of the given model.

@vars {out | \ref LVar0 int posX | Returns X coordinate of the given model. } @vars {out | \ref LVar1 int posY | Returns Y coordinate of the given model. } @vars {out | \ref LVar2 int posZ | Returns Z coordinate of the given model. }

SetTexPanner

Call(SetTexPanner, modelID, panID) source

Sets a model's pannerID and sets the texture pan flag

SetCustomGfxEnabled

Call(SetCustomGfxEnabled, modelID, bool) source

SetModelCustomGfx

Call(SetModelCustomGfx, modelID, customGfxIndex, fogType) source

SetModelTexVariant

Call(SetModelTexVariant) source

EnableTexPanning

Call(EnableTexPanning, modelID, bool) source

Enables or disables texture panning on the given model.

EnableModel

Call(EnableModel, modelID, bool) source

Enables or disables the given model.

SetGroupVisibility

Call(SetGroupVisibility, modelID, mode) source

Enables or disables the given group.

SetTexPanOffset

Call(SetTexPanOffset, panID, tile, offsetU, offsetV) source

Sets offsets for texture panners.

SetCustomGfx

Call(SetCustomGfx) source

SetCustomGfxBuilders

Call(SetCustomGfxBuilders) source

SetModelFlags

Call(SetModelFlags, modelID, flagbits, bool) source

Sets flags for models.

MakeTransformGroup

Call(MakeTransformGroup, modelID) source

SetTransformGroupEnabled

Call(SetTransformGroupEnabled, modelID, bool) source

TranslateGroup

Call(TranslateGroup, modelID, x, y, z) source

Translates the given group's position.

RotateGroup

Call(RotateGroup, modelID, angle, x, y, z) source

Rotates the given group's position.

ScaleGroup

Call(ScaleGroup, modelID, angle, x, y, z) source

Scales the given group's position.

GetTransformGroup

Call(GetTransformGroup) source

EnableGroup

Call(EnableGroup, modelID, bool) source

Enables or disables the given group.

MakeLocalVertexCopy

Call(MakeLocalVertexCopy, copyIndex, modelID, bool) source

ModifyColliderFlags

Call(ModifyColliderFlags, mode, colliderID, flags) source

Set flags for collider + siblings + children.

ResetFromLava

Call(ResetFromLava) source

GetColliderCenter

Call(GetColliderCenter, modelID) source

Returns the center of the given collider.

@vars {out | \ref LVar0 int posX | Returns X coordinate of the given collider. } @vars {out | \ref LVar1 int posY | Returns Y coordinate of the given collider. } @vars {out | \ref LVar2 int posZ | Returns Z coordinate of the given collider. }

ParentColliderToModel

Call(ParentColliderToModel, colliderID, modelID) source

Associates a model with a collider and applies the model's transformation.

UpdateColliderTransform

Call(UpdateColliderTransform, colliderID) source

Applies transformation from parent model.

SetZoneEnabled

Call(SetZoneEnabled, zoneID, bool) source

Enables or disables the given zone.

GotoMap

Call(GotoMap, mapName, entryID) source

Makes the player go to the given map and at the given entrance.

GotoMapSpecial

Call(GotoMapSpecial, mapName, entryID, transitionType) source

Makes the player go to the given map and at the given entrance with a unique fadeout effect.

@see ScreenTransitions in enums.h

GotoMapByID

Call(GotoMapByID, areaID, mapID, entryID) source

GetEntryID

Call(GetEntryID) source

Returns the entryID of the Entry that the player entered the map from.

@vars {out | \ref LVar0 int entryID }

GetMapID

Call(GetMapID) source

Returns the mapID of the map the player is currently on.

@vars {out | \ref LVar0 int mapID }

GetLoadType

Call(GetLoadType) source

Returns the way the player loaded into the map, commonly used by to put the player in the correct position for save blocks.

@vars {out | \ref LVar0 int LoadType }

SetRenderMode

Call(SetRenderMode, modelID, renderMode) source

PlaySoundAtModel

Call(PlaySoundAtModel, modelID, soundID, SoundSpatializationFlags ) source

Plays the given sound at the given model.

PlaySoundAtCollider

Call(PlaySoundAtCollider, colliderID, soundID, SoundSpatializationFlags ) source

Plays the given sound at the given collider.

InitAnimatedModels

Call(InitAnimatedModels) source

LoadAnimatedModel

Call(LoadAnimatedModel) source

LoadAnimatedMesh

Call(LoadAnimatedMesh) source

PlayModelAnimation

Call(PlayModelAnimation) source

PlayModelAnimationStartingFrom

Call(PlayModelAnimationStartingFrom) source

ChangeModelAnimation

Call(ChangeModelAnimation) source

SetAnimatedModelRootPosition

Call(SetAnimatedModelRootPosition) source

GetAnimatedModelRootPosition

Call(GetAnimatedModelRootPosition) source

AddAnimatedModelRootPosition

Call(AddAnimatedModelRootPosition) source

SetAnimatedModelRootRotation

Call(SetAnimatedModelRootRotation) source

SetAnimatedModelRootScale

Call(SetAnimatedModelRootScale) source

SetAnimatedModelRenderMode

Call(SetAnimatedModelRenderMode) source

DeleteAnimatedModel

Call(DeleteAnimatedModel) source

SetAnimatorFlags

Call(SetAnimatorFlags) source

GetAnimatedNodePosition

Call(GetAnimatedNodePosition) source

GetAnimatedNodeRotation

Call(GetAnimatedNodeRotation) source

GetAnimatedPositionByTreeIndex

Call(GetAnimatedPositionByTreeIndex) source

GetAnimatedRotationByTreeIndex

Call(GetAnimatedRotationByTreeIndex) source

SetAnimatedNodeFlags

Call(SetAnimatedNodeFlags) source

SetCamEnabled

Call(SetCamEnabled) source

SetCamNoDraw

Call(SetCamNoDraw) source

SetCamPerspective

Call(SetCamPerspective) source

SetCamUpdateMode

Call(SetCamUpdateMode) source

GrabCamera

Call(GrabCamera) source

GetInterpCamDist

Call(GetInterpCamDist) source

GetInterpCamOffsetY

Call(GetInterpCamOffsetY) source

SetInterpCamDist

Call(SetInterpCamDist) source

SetInterpCamOffsetY

Call(SetInterpCamOffsetY) source

SetInterpCamParams

Call(SetInterpCamParams) source

SetNoInterpCamParams

Call(SetNoInterpCamParams) source

SetCamViewport

Call(SetCamViewport) source

SetCamBGColor

Call(SetCamBGColor) source

SetCamLookTarget

Call(SetCamLookTarget) source

SetCamTarget

Call(SetCamTarget) source

InterpCamTargetPos

Call(InterpCamTargetPos) source

ShakeCam

Call(ShakeCam) source

SetCamLeadPlayer

Call(SetCamLeadPlayer) source

EnableCameraFollowPlayerY

Call(EnableCameraFollowPlayerY) source

DisableCameraFollowPlayerY

Call(DisableCameraFollowPlayerY) source

EnableCameraLeadingPlayer

Call(EnableCameraLeadingPlayer) source

DisableCameraLeadingPlayer

Call(DisableCameraLeadingPlayer) source

SetCamLeadScale

Call(SetCamLeadScale) source

PanToTarget

Call(PanToTarget) source

UseSettingsFrom

Call(UseSettingsFrom) source

LoadSettings

Call(LoadSettings) source

SetCamType

Call(SetCamType) source

SetCamPitch

Call(SetCamPitch) source

SetCamDistance

Call(SetCamDistance) source

SetCamPosA

Call(SetCamPosA) source

SetCamPosB

Call(SetCamPosB) source

SetCamPosC

Call(SetCamPosC) source

SetPanTarget

Call(SetPanTarget) source

SetCamSpeed

Call(SetCamSpeed) source

GetCamType

Call(GetCamType) source

GetCamPitch

Call(GetCamPitch) source

GetCamDistance

Call(GetCamDistance) source

GetCamPosA

Call(GetCamPosA) source

GetCamPosB

Call(GetCamPosB) source

GetCamPosC

Call(GetCamPosC) source

GetCamPosition

Call(GetCamPosition) source

WaitForCam

Call(WaitForCam) source

SetCamProperties

Call(SetCamProperties) source

AdjustCam

Call(AdjustCam) source

ResetCam

Call(ResetCam) source

CreateNpc

Call(CreateNpc) source

DeleteNpc

Call(DeleteNpc) source

GetNpcPointer

Call(GetNpcPointer) source

SetNpcPos

Call(SetNpcPos) source

SetNpcRotation

Call(SetNpcRotation) source

SetNpcRotationPivot

Call(SetNpcRotationPivot) source

SetNpcScale

Call(SetNpcScale) source

SetNpcCollisionSize

Call(SetNpcCollisionSize) source

SetNpcSpeed

Call(SetNpcSpeed) source

SetNpcJumpscale

Call(SetNpcJumpscale) source

SetNpcAnimation

Call(SetNpcAnimation) source

GetNpcAnimation

Call(GetNpcAnimation) source

SetNpcAnimationSpeed

Call(SetNpcAnimationSpeed) source

NpcMoveTo

Call(NpcMoveTo) source

NpcJump0

Call(NpcJump0) source

NpcJump1

Call(NpcJump1) source

NpcFlyTo

Call(NpcFlyTo) source

GetNpcYaw

Call(GetNpcYaw) source

SetNpcYaw

Call(SetNpcYaw) source

InterpNpcYaw

Call(InterpNpcYaw) source

NpcFacePlayer

Call(NpcFacePlayer) source

NpcFaceNpc

Call(NpcFaceNpc) source

SetNpcFlagBits

Call(SetNpcFlagBits) source

GetNpcPos

Call(GetNpcPos) source

SetNpcCollisionChannel

Call(SetNpcCollisionChannel) source

SetNpcSprite

Call(SetNpcSprite) source

EnableNpcShadow

Call(EnableNpcShadow) source

EnableNpcBlur

Call(EnableNpcBlur) source

ClearPartnerMoveHistory

Call(ClearPartnerMoveHistory) source

NpcSetHomePosToCurrent

Call(NpcSetHomePosToCurrent) source

GetPartnerPos

Call(GetPartnerPos) source

DisablePartnerAI

Call(DisablePartnerAI) source

EnablePartnerAI

Call(EnablePartnerAI) source

func_802CF54C

Call(func_802CF54C) source

func_802CF56C

Call(func_802CF56C) source

BringPartnerOut

Call(BringPartnerOut) source

PutPartnerAway

Call(PutPartnerAway) source

GetCurrentPartnerID

Call(GetCurrentPartnerID) source

PartnerCanUseAbility

Call(PartnerCanUseAbility) source

PartnerIsFlying

Call(PartnerIsFlying) source

SetNpcImgFXParams

Call(SetNpcImgFXParams) source

SetNpcImgFXFlags

Call(SetNpcImgFXFlags) source

SetNpcPaletteSwapMode

Call(SetNpcPaletteSwapMode) source

SetNpcPaletteSwapLower

Call(SetNpcPaletteSwapLower) source

SetNpcPaletteSwapping

Call(SetNpcPaletteSwapping) source

SetNpcDecoration

Call(SetNpcDecoration) source

PlaySoundAtNpc

Call(PlaySoundAtNpc) source

SetNpcRenderMode

Call(SetNpcRenderMode) source

SetEncounterStatusFlags

Call(SetEncounterStatusFlags) source

IsStartingConversation

Call(IsStartingConversation) source

LoadDemoBattle

Call(LoadDemoBattle) source

func_80044290

Call(func_80044290) source

MakeNpcs

Call(MakeNpcs) source

RemoveNpc

Call(RemoveNpc) source

RemoveEncounter

Call(RemoveEncounter) source

GetBattleOutcome

Call(GetBattleOutcome) source

func_800445A8

Call(func_800445A8) source

func_800445D4

Call(func_800445D4) source

GetOwnerEncounterTrigger

Call(GetOwnerEncounterTrigger) source

DoNpcDefeat

Call(DoNpcDefeat) source

StartBattle

Call(StartBattle) source

StartBattleWith

Call(StartBattleWith) source

StartBossBattle

Call(StartBossBattle) source

SetBattleMusic

Call(SetBattleMusic) source

BindNpcAI

Call(BindNpcAI) source

BindNpcIdle

Call(BindNpcIdle) source

RestartNpcAI

Call(RestartNpcAI) source

EnableNpcAI

Call(EnableNpcAI) source

SetNpcAux

Call(SetNpcAux) source

BindNpcAux

Call(BindNpcAux) source

RestartNpcAux

Call(RestartNpcAux) source

EnableNpcAux

Call(EnableNpcAux) source

BindNpcInteract

Call(BindNpcInteract) source

BindNpcHit

Call(BindNpcHit) source

BindNpcDefeat

Call(BindNpcDefeat) source

SetSelfVar

Call(SetSelfVar) source

GetSelfVar

Call(GetSelfVar) source

SetNpcVar

Call(SetNpcVar) source

GetNpcVar

Call(GetNpcVar) source

SetSelfRotation

Call(SetSelfRotation) source

SetSelfEnemyFlags

Call(SetSelfEnemyFlags) source

SetSelfEnemyFlagBits

Call(SetSelfEnemyFlagBits) source

SelfEnemyOverrideSyncPos

Call(SelfEnemyOverrideSyncPos) source

GetSelfNpcID

Call(GetSelfNpcID) source

ClearDefeatedEnemies

Call(ClearDefeatedEnemies) source

SetEnemyFlagBits

Call(SetEnemyFlagBits) source

func_8004572C

Call(func_8004572C) source

GetSelfAnimationFromTable

Call(GetSelfAnimationFromTable) source

func_80045798

Call(func_80045798) source

SetOwnerInstigatorValue

Call(SetOwnerInstigatorValue) source

SetBattleAsScripted

Call(SetBattleAsScripted) source

GetEncounterTriggerHitTier

Call(GetEncounterTriggerHitTier) source

func_80045838

Call(func_80045838) source

func_800458CC

Call(func_800458CC) source

OnPlayerFled

Call(OnPlayerFled) source

SetTattleMessage

Call(SetTattleMessage) source

ShowMerleeCoinMessage

Call(ShowMerleeCoinMessage) source

ShowMerleeRanOutMessage

Call(ShowMerleeRanOutMessage) source

FadeInMerlee

Call(FadeInMerlee) source

FadeOutMerlee

Call(FadeOutMerlee) source

MerleeUpdateFX

Call(MerleeUpdateFX) source

MerleeStopFX

Call(MerleeStopFX) source

PlayMerleeGatherFX

Call(PlayMerleeGatherFX) source

PlayMerleeOrbFX

Call(PlayMerleeOrbFX) source

FadeBackgroundDarken

Call(FadeBackgroundDarken) source

FadeBackgroundLighten

Call(FadeBackgroundLighten) source

GetCamLookAtObjVector

Call(GetCamLookAtObjVector) source

HasMerleeCasts

Call(HasMerleeCasts) source

OnDefeatEnemy

Call(OnDefeatEnemy) source

OnFleeBattleDrops

Call(OnFleeBattleDrops) source

SpeakToPlayer

Call(SpeakToPlayer) source

EndSpeech

Call(EndSpeech) source

ContinueSpeech

Call(ContinueSpeech) source

SpeakToNpc

Call(SpeakToNpc) source

ShowMessageAtScreenPos

Call(ShowMessageAtScreenPos) source

ShowMessageAtWorldPos

Call(ShowMessageAtWorldPos) source

CloseMessage

Call(CloseMessage) source

SwitchMessage

Call(SwitchMessage) source

ShowChoice

Call(ShowChoice) source

CloseChoice

Call(CloseChoice) source

CancelMessage

Call(CancelMessage) source

SetMessageImages

Call(SetMessageImages) source

func_802D0C94

Call(func_802D0C94) source

SetMessageText

Call(SetMessageText) source

SetMessageValue

Call(SetMessageValue) source

HidePlayerShadow

Call(HidePlayerShadow, hide) source

Hides the player's shadow if hide is true, shows it if false.

@see disable_player_shadow, enable_player_shadow

DisablePlayerPhysics

Call(DisablePlayerPhysics, disable) source

Disables player physics if disable is true, enables it if false.

@see disable_player_static_collisions, enable_player_static_collisions

DisablePlayerInput

Call(DisablePlayerInput, disable) source

Disables player and partner input, and disables the status menu.

SetPlayerPos

Call(SetPlayerPos, x, y, z) source

Sets the player position.

@see GetPlayerPos

SetPlayerCollisionSize

Call(SetPlayerCollisionSize, height, diameter) source

Overrides the player collision size.

SetPlayerSpeed

Call(SetPlayerSpeed, speed) source

Sets the move speed of the player for subequent \ref PlayerMoveTo calls.

@see SetNpcSpeed

SetPlayerJumpscale

Call(SetPlayerJumpscale) source

SetPlayerAnimation

Call(SetPlayerAnimation) source

SetPlayerActionState

Call(SetPlayerActionState) source

SetPlayerAnimationSpeed

Call(SetPlayerAnimationSpeed) source

PlayerMoveTo

Call(PlayerMoveTo) source

func_802D1270

Call(func_802D1270) source

func_802D1380

Call(func_802D1380) source

PlayerJump

Call(PlayerJump) source

PlayerJump1

Call(PlayerJump1) source

PlayerJump2

Call(PlayerJump2) source

InterpPlayerYaw

Call(InterpPlayerYaw) source

PlayerFaceNpc

Call(PlayerFaceNpc) source

GetPlayerTargetYaw

Call(GetPlayerTargetYaw) source

SetPlayerFlagBits

Call(SetPlayerFlagBits) source

GetPlayerActionState

Call(GetPlayerActionState) source

GetPlayerPos

Call(GetPlayerPos) source

GetPlayerAnimation

Call(GetPlayerAnimation) source

FullyRestoreHPandFP

Call(FullyRestoreHPandFP) source

FullyRestoreSP

Call(FullyRestoreSP) source

EnablePartner

Call(EnablePartner, partnerID) source

Enables switching to the given partner.

@see DisablePartner

DisablePartner

Call(DisablePartner, partnerID) source

Disables switching to the given partner.

@see EnablePartner

UseEntryHeading

Call(UseEntryHeading) source

func_802D2148

Call(func_802D2148) source

UseExitHeading

Call(UseExitHeading) source

WaitForPlayerTouchingFloor

Call(WaitForPlayerTouchingFloor) source

func_802D2484

Call(func_802D2484) source

IsPlayerOnValidFloor

Call(IsPlayerOnValidFloor) source

WaitForPlayerMoveToComplete

Call(WaitForPlayerMoveToComplete) source

WaitForPlayerInputEnabled

Call(WaitForPlayerInputEnabled) source

UpdatePlayerImgFX

Call(UpdatePlayerImgFX) source

SetPlayerImgFXFlags

Call(SetPlayerImgFXFlags) source

FacePlayerTowardPoint

Call(FacePlayerTowardPoint) source

DisablePulseStone

Call(DisablePulseStone) source

GetPartnerInUse

Call(GetPartnerInUse) source

ForceUsePartner

Call(ForceUsePartner) source

InterruptUsePartner

Call(InterruptUsePartner) source

Disable8bitMario

Call(Disable8bitMario, disable) source

Enables and disables the 8-bit Mario easter egg.

Whilst active, the player uses a retro sprite, and the following actions are disabled:

  • Spin dash
  • Hammer
  • Spin jump and tornado jump
  • Menus
  • Partner usage and partner switching

@see PA_FLAG_8BIT_MARIO

func_802D2C14

Call(func_802D2C14) source

SetPlayerPushVelocity

Call(SetPlayerPushVelocity) source

PlaySoundAtPlayer

Call(PlaySoundAtPlayer) source

MakeLerp

Call(MakeLerp) source

UpdateLerp

Call(UpdateLerp) source

RandInt

Call(RandInt) source

GetAngleBetweenNPCs

Call(GetAngleBetweenNPCs) source

GetAngleToNPC

Call(GetAngleToNPC) source

GetAngleToPlayer

Call(GetAngleToPlayer) source

AwaitPlayerApproach

Call(AwaitPlayerApproach) source

IsPlayerWithin

Call(IsPlayerWithin) source

AwaitPlayerLeave

Call(AwaitPlayerLeave) source

AddVectorPolar

Call(AddVectorPolar) source

func_802D4BDC

Call(func_802D4BDC) source

func_802D4C4C

Call(func_802D4C4C) source

func_802D4CC4

Call(func_802D4CC4) source

func_802D4D14

Call(func_802D4D14) source

func_802D4D88

Call(func_802D4D88) source

LoadPath

Call(LoadPath) source

@see GetNextPathPos

GetNextPathPos

Call(GetNextPathPos) source

@see LoadPath

GetDist2D

Call(GetDist2D) source

SetTimeFreezeMode

Call(SetTimeFreezeMode) source

ModifyGlobalOverrideFlags

Call(ModifyGlobalOverrideFlags) source

SetValueByRef

Call(SetValueByRef) source

GetValueByRef

Call(GetValueByRef) source

SetGameMode

Call(SetGameMode) source

ClampAngleInt

Call(ClampAngleInt) source

ClampAngleFloat

Call(ClampAngleFloat) source

GetGameContext

Call(GetGameContext, (out)) source

Get current @ref GameContext from @ref GameStatus Use this to tell whether the script is executing in world or battle.

EnableWorldStatusBar

Call(EnableWorldStatusBar) source

ShowWorldStatusBar

Call(ShowWorldStatusBar) source

ShowCoinCounter

Call(ShowCoinCounter) source

PollMusicEvents

Call(PollMusicEvents) source

RegisterMusicEvents

Call(RegisterMusicEvents) source

FadeOutMusic

Call(FadeOutMusic) source

SetMusic

Call(SetMusic) source

FadeInMusic

Call(FadeInMusic) source

EnableMusicProximityMix

Call(EnableMusicProximityMix) source

AdjustMusicProximityMix

Call(AdjustMusicProximityMix) source

SetTrackVolumes

Call(SetTrackVolumes) source

PopSong

Call(PopSong) source

PushSong

Call(PushSong) source

PopBattleSong

Call(PopBattleSong) source

PushBattleSong

Call(PushBattleSong) source

SetBattleSong

Call(SetBattleSong) source

ClearAmbientSounds

Call(ClearAmbientSounds) source

PlayAmbientSounds

Call(PlayAmbientSounds) source

PlaySound

Call(PlaySound) source

PlaySoundWithVolume

Call(PlaySoundWithVolume) source

PlaySoundAt

Call(PlaySoundAt) source

StopSound

Call(StopSound) source

StopTrackingSoundPos

Call(StopTrackingSoundPos) source

UseDoorSounds

Call(UseDoorSounds) source

UseRoomDoorSounds

Call(UseRoomDoorSounds) source

PlaySoundAtF

Call(PlaySoundAtF) source

InitVirtualEntityList

Call(InitVirtualEntityList) source

CreateVirtualEntityAt

Call(CreateVirtualEntityAt) source

CreateVirtualEntity

Call(CreateVirtualEntity) source

CreateVirtualEntity_ALT

Call(CreateVirtualEntity_ALT) source

DeleteVirtualEntity

Call(DeleteVirtualEntity) source

SetVirtualEntityRenderCommands

Call(SetVirtualEntityRenderCommands) source

SetVirtualEntityPosition

Call(SetVirtualEntityPosition) source

GetVirtualEntityPosition

Call(GetVirtualEntityPosition) source

SetVirtualEntityRotation

Call(SetVirtualEntityRotation) source

SetVirtualEntityScale

Call(SetVirtualEntityScale) source

SetVirtualEntityMoveSpeed

Call(SetVirtualEntityMoveSpeed) source

SetVirtualEntityJumpGravity

Call(SetVirtualEntityJumpGravity) source

VirtualEntityMoveTo

Call(VirtualEntityMoveTo) source

VirtualEntityJumpTo

Call(VirtualEntityJumpTo) source

VirtualEntityLandJump

Call(VirtualEntityLandJump) source

SetVirtualEntityFlags

Call(SetVirtualEntityFlags) source

SetVirtualEntityFlagBits

Call(SetVirtualEntityFlagBits) source

SetVirtualEntityRenderMode

Call(SetVirtualEntityRenderMode) source

ShowKeyChoicePopup

Call(ShowKeyChoicePopup) source

ShowConsumableChoicePopup

Call(ShowConsumableChoicePopup) source

RemoveKeyItemAt

Call(RemoveKeyItemAt) source

RemoveItemAt

Call(RemoveItemAt) source

CloseChoicePopup

Call(CloseChoicePopup) source

HasItem

Call(HasItem) source

FindItem

Call(FindItem) source

AddItem

Call(AddItem) source

RemoveItem

Call(RemoveItem) source

MakeItemEntity

Call(MakeItemEntity) source

DropItemEntity

Call(DropItemEntity) source

DropResizableItemEntity

Call(DropResizableItemEntity) source

RemoveItemEntity

Call(RemoveItemEntity) source

SetItemPos

Call(SetItemPos) source

SetItemFlags

Call(SetItemFlags) source

SetItemAlpha

Call(SetItemAlpha) source

AddCoin

Call(AddCoin) source

AddStarPoints

Call(AddStarPoints) source

AddStarPieces

Call(AddStarPieces) source

GetItemPower

Call(GetItemPower) source

ShowGotItem

Call(ShowGotItem) source

ShowStartRecoveryShimmer

Call(ShowStartRecoveryShimmer) source

ShowRecoveryShimmer

Call(ShowRecoveryShimmer) source

func_802D7690

Call(func_802D7690) source

ShowEmote

Call(ShowEmote) source

RemoveEffect

Call(RemoveEffect) source

DismissEffect

Call(DismissEffect) source

DismissItemOutline

Call(DismissItemOutline) source

func_802D7B74

Call(func_802D7B74) source

InterpMotionBlurParams

Call(InterpMotionBlurParams) source

SetMotionBlurParams

Call(SetMotionBlurParams) source

ShowSweat

Call(ShowSweat) source

ShowSleepBubble

Call(ShowSleepBubble) source

SetSleepBubbleTimeLeft

Call(SetSleepBubbleTimeLeft) source

PlayEffect_impl

Call(PlayEffect_impl) source

@see PlayEffect

MakeEntity

Call(MakeEntity, blueprint, x, y, z, flags, ..., MAKE_ENTITY_END ) source

Creates an entity.

@vars{out | \ref LVar0 | Created entity's ID.}

SetEntityCullMode

Call(SetEntityCullMode) source

UseDynamicShadow

Call(UseDynamicShadow) source

AssignScript

Call(AssignScript) source

AssignSwitchFlag

Call(AssignSwitchFlag) source

AssignBlockFlag

Call(AssignBlockFlag) source

AssignChestFlag

Call(AssignChestFlag) source

AssignPanelFlag

Call(AssignPanelFlag) source

AssignCrateFlag

Call(AssignCrateFlag) source

DeleteTrigger

Call(DeleteTrigger, triggerPtr) source

Removes a trigger previously bound with \ref BindTrigger.

SetSpriteShading

Call(SetSpriteShading) source

EnableSpriteShading

Call(EnableSpriteShading) source

GetDemoState

Call(GetDemoState) source

DemoPressButton

Call(DemoPressButton) source

DemoReleaseButton

Call(DemoReleaseButton) source

DemoSetButtons

Call(DemoSetButtons) source

DemoJoystickRadial

Call(DemoJoystickRadial) source

DemoJoystickXY

Call(DemoJoystickXY) source

EnemyNpcHit

extern EvtScript EnemyNpcHit source

@}