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. x, y, and z are booleans selecting which axes to rotate on.
ScaleModel
Call(ScaleModel, modelID, x, y, z) source
GetModelIndex
Call(GetModelIndex, modelID, outIndex) source
Returns the given model's index.
InvalidateModelTransform
Call(InvalidateModelTransform, modelID) source
CloneModel
Call(CloneModel, modelID, newModelID) source
Clones the given model.
GetModelCenter
Call(GetModelCenter, modelID) → LVar0: posX, LVar1: posY, LVar2: posZ source
Returns the center 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
Either parameter can be -1 for no change.
SetModelTexVariant
Call(SetModelTexVariant, modelID, variation) 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. mode can be 0 (disabled), 1 (enabled), 2 (all others disabled), or 3 (all others enabled).
SetTexPanOffset
Call(SetTexPanOffset, panID, tile, offsetU, offsetV) source
Sets offsets for texture panners. tile is 0 for main or 1 for aux.
SetCustomGfx
Call(SetCustomGfx, index, preDisplayList, postDisplayList) source
SetCustomGfxBuilders
Call(SetCustomGfxBuilders, index, preFunc, postFunc) source
SetModelFlags
Call(SetModelFlags, modelID, flagbits, bool) source
Sets flags for models. bool is 1 to set or 0 to clear.
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. x, y, and z are booleans selecting which axes to rotate on.
ScaleGroup
Call(ScaleGroup, modelID, x, y, z) source
GetTransformGroup
Call(GetTransformGroup, modelID, outGroupID) 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. mode is 0 to set bits, 1 to clear bits, 2 to replace, or 3 to replace lowest 16 bits.
ResetFromLava
Call(ResetFromLava, LavaResetList) source
GetColliderCenter
Call(GetColliderCenter, colliderID) → LVar0: posX, LVar1: posY, LVar2: posZ source
Returns the center 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].
GotoMapByID
Call(GotoMapByID, areaID, mapID, entryID) source
GetEntryID
Call(GetEntryID, outEntryID) source
Returns the entryID of the Entry that the player entered the map from.
GetMapID
GetLoadType
Call(GetLoadType, outLoadType) source
Returns the way the player loaded into the map, commonly used to put the player in the correct position for save blocks.
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, animModelIndex, AnimatedModelTree) source
LoadAnimatedMesh
Call(LoadAnimatedMesh, animModelIndex, AnimatedModelTree) source
PlayModelAnimation
Call(PlayModelAnimation, animModelIndex, ModelAnimation) source
PlayModelAnimationStartingFrom
Call(PlayModelAnimationStartingFrom, animModelIndex, ModelAnimation, startTime ) source
ChangeModelAnimation
Call(ChangeModelAnimation, animModelIndex, ModelAnimation) source
SetAnimatedModelRootPosition
Call(SetAnimatedModelRootPosition, animModelIndex, x, y, z) source
GetAnimatedModelRootPosition
Call(GetAnimatedModelRootPosition, animModelIndex, outX, outY, outZ ) source
AddAnimatedModelRootPosition
Call(AddAnimatedModelRootPosition, animModelIndex, Dx, Dy, Dz ) source
SetAnimatedModelRootRotation
Call(SetAnimatedModelRootRotation, animModelIndex, Rx, Ry, Rz ) source
SetAnimatedModelRootScale
Call(SetAnimatedModelRootScale, animModelIndex, Sx, Sy, Sz) source
SetAnimatedModelRenderMode
Call(SetAnimatedModelRenderMode, animModelIndex, renderMode) source
DeleteAnimatedModel
Call(DeleteAnimatedModel, animModelIndex) source
SetAnimatorFlags
Call(SetAnimatorFlags, animModelIndex, bits, mode) source
GetAnimatedNodePosition
Call(GetAnimatedNodePosition, animatorIndex, nodeIndex, outX, outY, outZ ) source
GetAnimatedNodeRotation
Call(GetAnimatedNodeRotation, animatorIndex, nodeIndex, outRotX, outRotY, outRotZ ) source
GetAnimatedPositionByTreeIndex
Call(GetAnimatedPositionByTreeIndex, animatorIndex, treeIndex, outX, outY, outZ ) source
GetAnimatedRotationByTreeIndex
Call(GetAnimatedRotationByTreeIndex, animatorIndex, treeIndex, outRotX, outRotY, outRotZ ) source
SetAnimatedNodeFlags
Call(SetAnimatedNodeFlags, animatorIndex, nodeID, bits, mode ) source
SetCamEnabled
Call(SetCamEnabled, camID, enabled) source
SetCamNoDraw
Call(SetCamNoDraw, camID, enabled) source
SetCamPerspective
Call(SetCamPerspective, camID, type, vfov, nearClip, farClip ) source
SetCamUpdateMode
Call(SetCamUpdateMode, camID, mode) source
GrabCamera
Call(GrabCamera, camID, outPitch, outYaw, outDist, outOffsetY ) source
GetInterpCamDist
Call(GetInterpCamDist, camID, outDist) source
GetInterpCamOffsetY
Call(GetInterpCamOffsetY, camID, outOffsetY) source
SetInterpCamDist
Call(SetInterpCamDist, camID, dist) source
SetInterpCamOffsetY
Call(SetInterpCamOffsetY, camID, offsetY) source
SetInterpCamParams
Call(SetInterpCamParams, camID, pitch, yaw, dist, offsetY) source
SetNoInterpCamParams
Call(SetNoInterpCamParams, camID, skipRecalc, dist, fovScale, pitch ) source
SetCamViewport
Call(SetCamViewport, camID, startX, startY, width, height) source
SetCamBGColor
Call(SetCamBGColor, camID, R, G, B) source
SetCamLookTarget
Call(SetCamLookTarget, camID, x, y, z) source
SetCamTarget
Call(SetCamTarget, camID, posX, posY, posZ) source
InterpCamTargetPos
Call(InterpCamTargetPos, camID, useTarget, posX, posY, posZ, time ) source
ShakeCam
SetCamLeadPlayer
Call(SetCamLeadPlayer, camID, enabled) source
EnableCameraFollowPlayerY
DisableCameraFollowPlayerY
EnableCameraLeadingPlayer
DisableCameraLeadingPlayer
SetCamLeadScale
Call(SetCamLeadScale, camID, scale) source
PanToTarget
Call(PanToTarget, camID, easingPhase, targetType) source
UseSettingsFrom
Call(UseSettingsFrom, camID, posX, posY, posZ) source
LoadSettings
Call(LoadSettings, camID, CamSettings) source
SetCamType
Call(SetCamType, camID, controlType, bool) source
SetCamPitch
Call(SetCamPitch, camID, boomPitch, viewPitch) source
SetCamDistance
Call(SetCamDistance, camID, boomLength) source
SetCamPosA
Call(SetCamPosA, camID, x, y) source
SetCamPosB
Call(SetCamPosB, camID, x, y) source
SetCamPosC
Call(SetCamPosC, camID, x, y) source
SetPanTarget
Call(SetPanTarget, camID, x, y, z) source
SetCamSpeed
Call(SetCamSpeed, camID, speed) source
GetCamType
Call(GetCamType, camID, outType, outBool) source
GetCamPitch
Call(GetCamPitch, camID, outBoomPitch, outViewPitch) source
GetCamDistance
Call(GetCamDistance, camID, outBoomLength) source
GetCamPosA
Call(GetCamPosA, camID, outX, outZ) source
GetCamPosB
Call(GetCamPosB, camID, outX, outZ) source
GetCamPosC
Call(GetCamPosC, camID, outX, outZ) source
GetCamPosition
Call(GetCamPosition, camID, outX, outY, outZ) source
WaitForCam
Call(WaitForCam, camID, endInterpValue) source
SetCamProperties
Call(SetCamProperties, camID, moveSpeed, x, y, z, boomLength, boomPitch, viewPitch ) source
AdjustCam
ResetCam
CreateNpc
DeleteNpc
GetNpcPointer
Call(GetNpcPointer, npcID, outPointer) source
SetNpcPos
SetNpcRotation
Call(SetNpcRotation, npcID, rX, rY, rZ) source
SetNpcRotationPivot
Call(SetNpcRotationPivot, npcID, pivotY) source
SetNpcScale
Call(SetNpcScale, npcID, sX, sY, sZ) source
SetNpcCollisionSize
Call(SetNpcCollisionSize, npcID, height, radius) source
SetNpcSpeed
Call(SetNpcSpeed, npcID, speed) source
SetNpcJumpscale
Call(SetNpcJumpscale, npcID, jumpScale) source
SetNpcAnimation
Call(SetNpcAnimation, npcID, animation) source
GetNpcAnimation
Call(GetNpcAnimation, npcID, outAnimation) source
SetNpcAnimationSpeed
Call(SetNpcAnimationSpeed, npcID, animationSpeed) source
NpcMoveTo
NpcJump0
NpcJump1
NpcFlyTo
GetNpcYaw
SetNpcYaw
InterpNpcYaw
Call(InterpNpcYaw, npcID, goalAngle, time) source
NpcFacePlayer
Call(NpcFacePlayer, npcID, duration) source
NpcFaceNpc
Call(NpcFaceNpc, turningNpcID, targetNpcID, duration) source
SetNpcFlagBits
Call(SetNpcFlagBits, npcID, flags, mode) source
GetNpcPos
SetNpcCollisionChannel
Call(SetNpcCollisionChannel, npcID, channel) source
SetNpcSprite
Call(SetNpcSprite, npcID, animID) source
EnableNpcShadow
Call(EnableNpcShadow, npcID, enabled) source
EnableNpcBlur
Call(EnableNpcBlur, npcID, enabled) source
ClearPartnerMoveHistory
Call(ClearPartnerMoveHistory, npcID) source
NpcSetHomePosToCurrent
Call(NpcSetHomePosToCurrent, npcID) source
GetPartnerPos
Call(GetPartnerPos, outX, outY, outZ) source
DisablePartnerAI
Call(DisablePartnerAI, mode) source
EnablePartnerAI
Call(EnablePartnerAI) source
func_802CF54C
Call(func_802CF54C) source
func_802CF56C
Call(func_802CF56C, value) source
BringPartnerOut
Call(BringPartnerOut, partnerID) source
PutPartnerAway
Call(PutPartnerAway) source
GetCurrentPartnerID
Call(GetCurrentPartnerID, outPartnerID) source
PartnerCanUseAbility
Call(PartnerCanUseAbility, outCanUse) source
PartnerIsFlying
Call(PartnerIsFlying, outIsFlying) source
SetNpcImgFXParams
Call(SetNpcImgFXParams, npcID, imgfxType, param2, param3, param4, param5 ) source
SetNpcImgFXFlags
Call(SetNpcImgFXFlags, npcID, flags) source
SetNpcPaletteSwapMode
Call(SetNpcPaletteSwapMode, npcID, paletteSwapMode) source
SetNpcPaletteSwapLower
Call(SetNpcPaletteSwapLower, npcID, palIndexA, palIndexB, timeHoldA, timeAB ) source
SetNpcPaletteSwapping
Call(SetNpcPaletteSwapping, npcID, palIndexA, palIndexB, timeHoldA, timeAB, timeHoldB, timeBA, palIndexC, palIndexD ) source
SetNpcDecoration
Call(SetNpcDecoration, npcID, index, npcDecoration) source
PlaySoundAtNpc
Call(PlaySoundAtNpc, npcID, soundID, flags) source
SetNpcRenderMode
Call(SetNpcRenderMode, npcID, renderMode) source
SetEncounterStatusFlags
Call(SetEncounterStatusFlags, flags, mode) source
IsStartingConversation
Call(IsStartingConversation, outResult) source
LoadDemoBattle
Call(LoadDemoBattle, demoBattleIndex) source
func_80044290
Call(func_80044290) source
MakeNpcs
RemoveNpc
RemoveEncounter
Call(RemoveEncounter, npcID) source
GetBattleOutcome
Call(GetBattleOutcome, outBattleOutcome) source
func_800445A8
Call(func_800445A8, outValue) source
func_800445D4
Call(func_800445D4, outValue) source
GetOwnerEncounterTrigger
Call(GetOwnerEncounterTrigger, outTrigger) source
DoNpcDefeat
Call(DoNpcDefeat) source
StartBattle
Call(StartBattle) source
StartBattleWith
Call(StartBattleWith, songID) source
StartBossBattle
Call(StartBossBattle, songID) source
SetBattleMusic
Call(SetBattleMusic, songID) source
BindNpcAI
BindNpcIdle
Call(BindNpcIdle, npcID, script) source
RestartNpcAI
Call(RestartNpcAI, npcID) source
EnableNpcAI
Call(EnableNpcAI, npcID, enabled) source
SetNpcAux
BindNpcAux
Call(BindNpcAux, npcID, script) source
RestartNpcAux
Call(RestartNpcAux, npcID) source
EnableNpcAux
Call(EnableNpcAux, npcID, enabled) source
BindNpcInteract
Call(BindNpcInteract, npcID, script) source
BindNpcHit
Call(BindNpcHit, npcID, script) source
BindNpcDefeat
Call(BindNpcDefeat, npcID, script) source
SetSelfVar
Call(SetSelfVar, index, value) source
GetSelfVar
Call(GetSelfVar, index, outValue) source
SetNpcVar
GetNpcVar
SetSelfRotation
Call(SetSelfRotation, rotX, rotY, rotZ) source
SetSelfEnemyFlags
Call(SetSelfEnemyFlags, flags) source
SetSelfEnemyFlagBits
Call(SetSelfEnemyFlagBits, flags, mode) source
SelfEnemyOverrideSyncPos
Call(SelfEnemyOverrideSyncPos, hitboxIsActive) source
GetSelfNpcID
Call(GetSelfNpcID, outNpcID) source
ClearDefeatedEnemies
Call(ClearDefeatedEnemies) source
SetEnemyFlagBits
Call(SetEnemyFlagBits, npcID, flags, mode) source
func_8004572C
Call(func_8004572C) source
GetSelfAnimationFromTable
Call(GetSelfAnimationFromTable, index, outAnimation) source
func_80045798
Call(func_80045798, value) source
SetOwnerInstigatorValue
Call(SetOwnerInstigatorValue, instigatorValue) source
SetBattleAsScripted
Call(SetBattleAsScripted) source
GetEncounterTriggerHitTier
Call(GetEncounterTriggerHitTier, outHitTier) source
func_80045838
Call(func_80045838, npcID, soundID, flags) source
func_800458CC
Call(func_800458CC, outResult) source
OnPlayerFled
Call(OnPlayerFled, skipReaction) source
SetTattleMessage
Call(SetTattleMessage, npcID, tattleMsg) source
ShowMerleeCoinMessage
Call(ShowMerleeCoinMessage) source
ShowMerleeRanOutMessage
FadeInMerlee
Call(FadeInMerlee) source
FadeOutMerlee
Call(FadeOutMerlee) source
MerleeUpdateFX
Call(MerleeUpdateFX) source
MerleeStopFX
Call(MerleeStopFX) source
PlayMerleeGatherFX
Call(PlayMerleeGatherFX, posX, posY, posZ) source
PlayMerleeOrbFX
Call(PlayMerleeOrbFX, posX, posY, posZ) source
FadeBackgroundDarken
Call(FadeBackgroundDarken) source
FadeBackgroundLighten
Call(FadeBackgroundLighten) source
GetCamLookAtObjVector
Call(GetCamLookAtObjVector) → LVar0: x, LVar1: y, LVar2: z source
HasMerleeCasts
Call(HasMerleeCasts) → LVar0: result source
OnDefeatEnemy
Call(OnDefeatEnemy) source
OnFleeBattleDrops
Call(OnFleeBattleDrops) source
SpeakToPlayer
Call(SpeakToPlayer, npcID, talkAnim, idleAnim, flags, messageID ) source
EndSpeech
ContinueSpeech
Call(ContinueSpeech, npcID, talkAnim, idleAnim, flags, messageID ) source
SpeakToNpc
Call(SpeakToNpc, npcID, talkAnim, idleAnim, flags, targetNpcID, messageID ) source
ShowMessageAtScreenPos
Call(ShowMessageAtScreenPos, stringID, screenPosX, screenPosY ) source
ShowMessageAtWorldPos
Call(ShowMessageAtWorldPos, stringID, posX, posY, posZ) source
CloseMessage
Call(CloseMessage) → LVar0: result source
SwitchMessage
Call(SwitchMessage, stringID) source
ShowChoice
Call(ShowChoice, options) → LVar0: selectedIndex source
CloseChoice
Call(CloseChoice) source
CancelMessage
Call(CancelMessage) source
SetMessageImages
Call(SetMessageImages, messageImageList) source
func_802D0C94
Call(func_802D0C94, value) source
SetMessageText
Call(SetMessageText, stringID, messageVarIndex) source
SetMessageValue
Call(SetMessageValue, value, messageVarIndex) source
HidePlayerShadow
Call(HidePlayerShadow, hide) source
Hides the player's shadow if hide is true, shows it if false.
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. A y of -1000 is used for hiding the player.
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 PlayerMoveTo calls.
See SetNpcSpeed.
SetPlayerJumpscale
Call(SetPlayerJumpscale, jumpScale) source
SetPlayerAnimation
Call(SetPlayerAnimation, playerAnim) source
SetPlayerActionState
Call(SetPlayerActionState, actionState) source
SetPlayerAnimationSpeed
Call(SetPlayerAnimationSpeed, animationSpeed) source
PlayerMoveTo
Call(PlayerMoveTo, goalX, goalZ, time) source
func_802D1270
Call(func_802D1270, targetX, targetZ, speed) source
func_802D1380
Call(func_802D1380, targetX, targetZ, duration) source
PlayerJump
Call(PlayerJump, goalX, goalY, goalZ, arcHeight) source
PlayerJump1
Call(PlayerJump1, goalX, goalY, goalZ, arcHeight) source
PlayerJump2
Call(PlayerJump2, goalX, goalY, goalZ, arcHeight) source
InterpPlayerYaw
Call(InterpPlayerYaw, targetAngle, time) source
PlayerFaceNpc
Call(PlayerFaceNpc, facingTarget, targets, fixed) source
GetPlayerTargetYaw
Call(GetPlayerTargetYaw, outYaw) source
SetPlayerFlagBits
Call(SetPlayerFlagBits, bits, mode) source
GetPlayerActionState
Call(GetPlayerActionState, outActionState) source
GetPlayerPos
Call(GetPlayerPos, outX, outY, outZ) source
GetPlayerAnimation
Call(GetPlayerAnimation, outAnimation) 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, moveDist, time) → LVar1: goalPosX, LVar2: goalPosY, LVar3: goalPosZ, LVar5: offsetStep source
func_802D2148
Call(func_802D2148) source
UseExitHeading
Call(UseExitHeading, moveDist, entryID) → LVar1: goalPosX, LVar2: goalPosY, LVar3: goalPosZ source
WaitForPlayerTouchingFloor
func_802D2484
Call(func_802D2484) source
IsPlayerOnValidFloor
Call(IsPlayerOnValidFloor, outResult) source
WaitForPlayerMoveToComplete
WaitForPlayerInputEnabled
UpdatePlayerImgFX
Call(UpdatePlayerImgFX, animPart, imgfxType, ...) source
SetPlayerImgFXFlags
Call(SetPlayerImgFXFlags, flags) source
FacePlayerTowardPoint
Call(FacePlayerTowardPoint, targetX, targetZ, duration) source
DisablePulseStone
Call(DisablePulseStone, disabled) source
GetPartnerInUse
Call(GetPartnerInUse, outPartnerID) 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, value) source
SetPlayerPushVelocity
Call(SetPlayerPushVelocity, x, y, z) source
PlaySoundAtPlayer
Call(PlaySoundAtPlayer, soundID, flags) source
MakeLerp
UpdateLerp
Call(UpdateLerp) → LVar0: currentValue, LVar1: done source
RandInt
GetAngleBetweenNPCs
Call(GetAngleBetweenNPCs, npcID_A, npcID_B, outAngle) source
GetAngleToNPC
Call(GetAngleToNPC, npcID, outAngle) source
GetAngleToPlayer
Call(GetAngleToPlayer, npcID, outAngle) source
AwaitPlayerApproach
Call(AwaitPlayerApproach, X, Z, radius) source
IsPlayerWithin
Call(IsPlayerWithin, X, Z, radius, outIsWithin) source
AwaitPlayerLeave
Call(AwaitPlayerLeave, X, Z, radius) source
AddVectorPolar
Call(AddVectorPolar, outX, outZ, radius, angle) source
func_802D4BDC
Call(func_802D4BDC) source
func_802D4C4C
Call(func_802D4C4C) source
func_802D4CC4
Call(func_802D4CC4, value) source
func_802D4D14
Call(func_802D4D14, value) source
func_802D4D88
Call(func_802D4D88) source
LoadPath
Call(LoadPath, time, VectorList, numVectors, easing) source
See GetNextPathPos.
GetNextPathPos
Call(GetNextPathPos, none) → LVar0: done, LVar1: posX, LVar2: posY, LVar3: posZ source
See LoadPath.
GetDist2D
SetTimeFreezeMode
Call(SetTimeFreezeMode, timeFreezeMode) source
ModifyGlobalOverrideFlags
Call(ModifyGlobalOverrideFlags, mode, bits) source
SetValueByRef
Call(SetValueByRef, dest, src) source
GetValueByRef
Call(GetValueByRef, src, outDest) source
SetGameMode
Call(SetGameMode, gameMode) source
ClampAngleInt
Call(ClampAngleInt, angle) source
ClampAngleFloat
Call(ClampAngleFloat, angle) source
GetGameContext
Call(GetGameContext, outGameContext) source
Get current GameContext from GameStatus. Use this to tell whether the script is executing in world or battle.
EnableWorldStatusBar
Call(EnableWorldStatusBar, enabled) source
ShowWorldStatusBar
Call(ShowWorldStatusBar, show) source
ShowCoinCounter
Call(ShowCoinCounter, show) source
PollMusicEvents
Call(PollMusicEvents) source
RegisterMusicEvents
Call(RegisterMusicEvents, musicEventList) source
FadeOutMusic
Call(FadeOutMusic, musicPlayer, fadeTime) source
SetMusic
FadeInMusic
Call(FadeInMusic, musicPlayer, songID, variation, fadeTime, fadeStartVolume, fadeEndVolume ) source
EnableMusicProximityMix
Call(EnableMusicProximityMix, playerIndex) source
AdjustMusicProximityMix
Call(AdjustMusicProximityMix, playerIndex, mix, state) source
SetTrackVolumes
Call(SetTrackVolumes, trackVolSet) source
PopSong
PushSong
PopBattleSong
Call(PopBattleSong) source
PushBattleSong
Call(PushBattleSong) source
SetBattleSong
Call(SetBattleSong, songID, variation) source
ClearAmbientSounds
Call(ClearAmbientSounds, time) source
PlayAmbientSounds
Call(PlayAmbientSounds, soundID) source
PlaySound
PlaySoundWithVolume
Call(PlaySoundWithVolume, soundID, volume) source
PlaySoundAt
Call(PlaySoundAt, soundID, flags, x, y, z) source
StopSound
StopTrackingSoundPos
Call(StopTrackingSoundPos, soundID) source
UseDoorSounds
Call(UseDoorSounds, doorSounds) source
UseRoomDoorSounds
Call(UseRoomDoorSounds, roomDoorSounds) source
PlaySoundAtF
Call(PlaySoundAtF, soundID, spatializationFlags, x, y, z) source
InitVirtualEntityList
Call(InitVirtualEntityList) source
CreateVirtualEntityAt
Call(CreateVirtualEntityAt, index, EntityModelScript) source
CreateVirtualEntity
Call(CreateVirtualEntity, outIndex, EntityModelScript) source
CreateVirtualEntity_ALT
Call(CreateVirtualEntity_ALT, outIndex, EntityModelScript) source
DeleteVirtualEntity
Call(DeleteVirtualEntity, index) source
SetVirtualEntityRenderCommands
Call(SetVirtualEntityRenderCommands, index, EntityModelScript ) source
SetVirtualEntityPosition
Call(SetVirtualEntityPosition, index, posX, posY, posZ) source
GetVirtualEntityPosition
Call(GetVirtualEntityPosition, index, outX, outY, outZ) source
SetVirtualEntityRotation
Call(SetVirtualEntityRotation, index, rotX, rotY, rotZ) source
SetVirtualEntityScale
Call(SetVirtualEntityScale, index, sx, sy, sz) source
SetVirtualEntityMoveSpeed
Call(SetVirtualEntityMoveSpeed, index, speed) source
SetVirtualEntityJumpGravity
Call(SetVirtualEntityJumpGravity, index, gravity) source
VirtualEntityMoveTo
Call(VirtualEntityMoveTo, index, goalX, goalY, goalZ, time) source
VirtualEntityJumpTo
Call(VirtualEntityJumpTo, index, goalX, goalY, goalZ, time) source
VirtualEntityLandJump
Call(VirtualEntityLandJump, index) source
SetVirtualEntityFlags
Call(SetVirtualEntityFlags, index, bits) source
SetVirtualEntityFlagBits
Call(SetVirtualEntityFlagBits, index, bits, mode) source
SetVirtualEntityRenderMode
Call(SetVirtualEntityRenderMode, index, mode) source
ShowKeyChoicePopup
Call(ShowKeyChoicePopup) → LVar0: choiceStatus, LVar1: selectedKeyItemSlot source
ShowConsumableChoicePopup
Call(ShowConsumableChoicePopup) → LVar0: choiceStatus, LVar1: selectedKeyItemSlot source
RemoveKeyItemAt
Call(RemoveKeyItemAt, keyItemSlot) source
RemoveItemAt
Call(RemoveItemAt, itemSlot) source
CloseChoicePopup
Call(CloseChoicePopup) source
HasItem
FindItem
AddItem
RemoveItem
Call(RemoveItem, itemID, outItemSlot) source
MakeItemEntity
Call(MakeItemEntity, itemID, spawnX, spawnY, spawnZ, itemSpawnMode, GameFlag, none ) → LVar0: itemEntityIndex source
DropItemEntity
Call(DropItemEntity, itemID, spawnX, spawnY, spawnZ, itemSpawnMode, GameFlag, none ) → LVar0: itemEntityIndex source
DropResizableItemEntity
Call(DropResizableItemEntity, itemID, spawnX, spawnY, spawnZ, itemSpawnMode, GameFlag, none ) → LVar0: itemEntityIndex source
RemoveItemEntity
Call(RemoveItemEntity, itemEntityIndex) source
SetItemPos
Call(SetItemPos, itemEntityIndex, X, Y, Z) source
SetItemFlags
Call(SetItemFlags, itemEntityIndex, flags, mode) source
SetItemAlpha
Call(SetItemAlpha, itemEntityIndex, alpha) source
AddCoin
AddStarPoints
Call(AddStarPoints, deltaStarPoints) → LVar0: numStarPoints source
AddStarPieces
Call(AddStarPieces, deltaStarPieces) → LVar0: numStarPieces source
GetItemPower
Call(GetItemPower, itemID, bonusHP, bonusFP) source
ShowGotItem
Call(ShowGotItem, itemID, showInBattle, messageBoxFlags) source
ShowStartRecoveryShimmer
Call(ShowStartRecoveryShimmer, x, y, z, amount) source
ShowRecoveryShimmer
Call(ShowRecoveryShimmer, x, y, z, amount) source
func_802D7690
Call(func_802D7690, posX, posY, posZ, angle, magnitude, duration ) source
ShowEmote
RemoveEffect
Call(RemoveEffect, effectPtr) source
DismissEffect
Call(DismissEffect, effectPtr) source
DismissItemOutline
Call(DismissItemOutline, effectPtr) source
func_802D7B74
Call(func_802D7B74, effectPtr) source
InterpMotionBlurParams
Call(InterpMotionBlurParams) source
SetMotionBlurParams
Call(SetMotionBlurParams, type, centerX0, centerY0, centerX1, centerY1, amount, duration ) source
ShowSweat
ShowSleepBubble
Call(ShowSleepBubble, npcID, type, pitch, emoterType, posX, posY, posZ, radius, outEffectPtr ) source
SetSleepBubbleTimeLeft
Call(SetSleepBubbleTimeLeft, effectPtr, timeLeft) source
PlayEffect_impl
Call(PlayEffect_impl) source
MakeEntity
Call(MakeEntity, blueprint, x, y, z, flags, ..., MAKE_ENTITY_END ) → LVar0: entityID source
Creates an entity.
Takes a variable number of arguments depending on the entity blueprint.
SetEntityCullMode
Call(SetEntityCullMode, cullMode) source
UseDynamicShadow
Call(UseDynamicShadow, bool) source
AssignScript
Call(AssignScript, Script) source
AssignSwitchFlag
Call(AssignSwitchFlag, flagVar) source
AssignBlockFlag
Call(AssignBlockFlag, flagVar) source
AssignChestFlag
Call(AssignChestFlag, flagVar) source
AssignPanelFlag
Call(AssignPanelFlag, flagVar) source
AssignCrateFlag
Call(AssignCrateFlag, flagVar) source
DeleteTrigger
Call(DeleteTrigger, triggerPtr) source
Removes a trigger previously bound with BindTrigger.
SetSpriteShading
Call(SetSpriteShading, preset) source
EnableSpriteShading
Call(EnableSpriteShading, enable) source
GetDemoState
Call(GetDemoState, outState) source
DemoPressButton
Call(DemoPressButton, buttons) source
DemoReleaseButton
Call(DemoReleaseButton, buttons) source
DemoSetButtons
Call(DemoSetButtons, buttons) source
DemoJoystickRadial
Call(DemoJoystickRadial, radius, angle) source
DemoJoystickXY
Call(DemoJoystickXY, leftRight, upDown) source
EnemyNpcHit
extern EvtScript EnemyNpcHit source
@}