papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
common.h File Reference

EVT scripting API functions available at all times.

See also
script_api/battle.h script_api/map.h

Functions

Map
Call(TranslateModel)
 
Call(RotateModel)
 
Call(ScaleModel)
 
Call(GetModelIndex)
 
Call(InvalidateModelTransform)
 
Call(CloneModel)
 
Call(GetModelCenter)
 
Call(SetTexPanner)
 
Call(SetCustomGfxEnabled)
 
Call(SetModelCustomGfx)
 
Call(SetModelTexVariant)
 
Call(EnableTexPanning)
 
Call(EnableModel)
 
Call(SetGroupVisibility)
 
Call(SetTexPanOffset)
 
Call(SetCustomGfx)
 
Call(SetCustomGfxBuilders)
 
Call(SetModelFlags)
 
Call(MakeTransformGroup)
 
Call(SetTransformGroupEnabled)
 
Call(TranslateGroup)
 
Call(RotateGroup)
 
Call(ScaleGroup)
 
Call(GetTransformGroup)
 
Call(EnableGroup)
 
Call(MakeLocalVertexCopy)
 
Call(ModifyColliderFlags)
 
Call(ResetFromLava)
 
Call(GetColliderCenter)
 
Call(ParentColliderToModel)
 
Call(UpdateColliderTransform)
 
Call(SetZoneEnabled)
 
Call(GotoMap)
 
Call(GotoMapSpecial)
 
Call(GotoMapByID)
 
Call(GetEntryID)
 
Call(GetMapID)
 
Call(GetLoadType)
 
Call(SetRenderMode)
 
Call(PlaySoundAtModel)
 
Call(PlaySoundAtCollider)
 
Animated Model
Call(InitAnimatedModels)
 
Call(LoadAnimatedModel)
 
Call(LoadAnimatedMesh)
 
Call(PlayModelAnimation)
 
Call(PlayModelAnimationStartingFrom)
 
Call(ChangeModelAnimation)
 
Call(SetAnimatedModelRootPosition)
 
Call(GetAnimatedModelRootPosition)
 
Call(AddAnimatedModelRootPosition)
 
Call(SetAnimatedModelRootRotation)
 
Call(SetAnimatedModelRootScale)
 
Call(SetAnimatedModelRenderMode)
 
Call(DeleteAnimatedModel)
 
Call(SetAnimatorFlags)
 
Call(GetAnimatedNodePosition)
 
Call(GetAnimatedNodeRotation)
 
Call(GetAnimatedPositionByTreeIndex)
 
Call(GetAnimatedRotationByTreeIndex)
 
Call(SetAnimatedNodeFlags)
 
Camera
Call(SetCamEnabled)
 
Call(SetCamNoDraw)
 
Call(SetCamPerspective)
 
Call(SetCamUpdateMode)
 
Call(GrabCamera)
 
Call(SetCamViewport)
 
Call(SetInterpCamParams)
 
Call(SetNoInterpCamParams)
 
Call(SetCamBGColor)
 
Call(SetCamLookTarget)
 
Call(SetCamTarget)
 
Call(InterpCamTargetPos)
 
Call(ShakeCam)
 
Call(SetCamLeadPlayer)
 
Call(func_802CB710)
 
Call(PanToTarget)
 
Call(UseSettingsFrom)
 
Call(LoadSettings)
 
Call(SetCamType)
 
Call(SetCamPitch)
 
Call(SetCamDistance)
 
Call(SetCamPosA)
 
Call(SetCamPosB)
 
Call(SetCamPosC)
 
Call(SetPanTarget)
 
Call(SetCamSpeed)
 
Call(GetCamType)
 
Call(GetCamPitch)
 
Call(GetCamDistance)
 
Call(GetCamPosA)
 
Call(GetCamPosB)
 
Call(GetCamPosC)
 
Call(GetCamPosition)
 
Call(WaitForCam)
 
Call(SetCamProperties)
 
Call(AdjustCam)
 
Call(ResetCam)
 
NPC
Call(CreateNpc)
 
Call(DeleteNpc)
 
Call(GetNpcPointer)
 
Call(SetNpcPos)
 
Call(SetNpcRotation)
 
Call(SetNpcRotationPivot)
 
Call(SetNpcScale)
 
Call(SetNpcCollisionSize)
 
Call(SetNpcSpeed)
 
Call(SetNpcJumpscale)
 
Call(SetNpcAnimation)
 
Call(GetNpcAnimation)
 
Call(SetNpcAnimationSpeed)
 
Call(NpcMoveTo)
 
Call(NpcJump0)
 
Call(NpcJump1)
 
Call(NpcFlyTo)
 
Call(GetNpcYaw)
 
Call(SetNpcYaw)
 
Call(InterpNpcYaw)
 
Call(NpcFacePlayer)
 
Call(NpcFaceNpc)
 
Call(SetNpcFlagBits)
 
Call(GetNpcPos)
 
Call(SetNpcCollisionChannel)
 
Call(SetNpcSprite)
 
Call(EnableNpcShadow)
 
Call(EnableNpcBlur)
 
Call(ClearPartnerMoveHistory)
 
Call(NpcSetHomePosToCurrent)
 
Call(GetPartnerPos)
 
Call(DisablePartnerAI)
 
Call(EnablePartnerAI)
 
Call(func_802CF54C)
 
Call(func_802CF56C)
 
Call(BringPartnerOut)
 
Call(PutPartnerAway)
 
Call(GetCurrentPartnerID)
 
Call(PartnerCanUseAbility)
 
Call(PartnerIsFlying)
 
Call(SetNpcImgFXParams)
 
Call(SetNpcImgFXFlags)
 
Call(SetNpcPaletteSwapMode)
 
Call(SetNpcPaletteSwapLower)
 
Call(SetNpcPaletteSwapping)
 
Call(SetNpcDecoration)
 
Call(PlaySoundAtNpc)
 
Call(SetNpcRenderMode)
 
Encounter
Call(SetEncounterStatusFlags)
 
Call(IsStartingConversation)
 
Call(func_80044238)
 
Call(LoadDemoBattle)
 
Call(func_80044290)
 
Call(MakeNpcs)
 
Call(RemoveNpc)
 
Call(RemoveEncounter)
 
Call(GetBattleOutcome)
 
Call(func_800445A8)
 
Call(func_800445D4)
 
Call(GetOwnerEncounterTrigger)
 
Call(DoNpcDefeat)
 
Call(StartBattle)
 
Call(StartBattleWith)
 
Call(StartBossBattle)
 
Call(SetBattleMusic)
 
Call(BindNpcAI)
 
Call(BindNpcIdle)
 
Call(RestartNpcAI)
 
Call(EnableNpcAI)
 
Call(SetNpcAux)
 
Call(BindNpcAux)
 
Call(RestartNpcAux)
 
Call(EnableNpcAux)
 
Call(BindNpcInteract)
 
Call(BindNpcHit)
 
Call(BindNpcDefeat)
 
Call(SetSelfVar)
 
Call(GetSelfVar)
 
Call(SetNpcVar)
 
Call(GetNpcVar)
 
Call(SetSelfRotation)
 
Call(SetSelfEnemyFlags)
 
Call(SetSelfEnemyFlagBits)
 
Call(SelfEnemyOverrideSyncPos)
 
Call(GetSelfNpcID)
 
Call(ClearDefeatedEnemies)
 
Call(SetEnemyFlagBits)
 
Call(func_8004572C)
 
Call(GetSelfAnimationFromTable)
 
Call(func_80045798)
 
Call(SetOwnerInstigatorValue)
 
Call(SetBattleAsScripted)
 
Call(GetEncounterTriggerHitTier)
 
Call(func_80045838)
 
Call(func_800458CC)
 
Call(OnPlayerFled)
 
Call(SetTattleMessage)
 
Call(ShowMerleeCoinMessage)
 
Call(ShowMerleeRanOutMessage)
 
Call(FadeInMerlee)
 
Call(FadeOutMerlee)
 
Call(MerleeUpdateFX)
 
Call(MerleeStopFX)
 
Call(PlayMerleeGatherFX)
 
Call(PlayMerleeOrbFX)
 
Call(FadeBackgroundDarken)
 
Call(FadeBackgroundLighten)
 
Call(GetCamLookAtObjVector)
 
Call(HasMerleeCasts)
 
Call(OnDefeatEnemy)
 
Call(OnFleeBattleDrops)
 
Message
Call(SpeakToPlayer)
 
Call(EndSpeech)
 
Call(ContinueSpeech)
 
Call(SpeakToNpc)
 
Call(ShowMessageAtScreenPos)
 
Call(ShowMessageAtWorldPos)
 
Call(CloseMessage)
 
Call(SwitchMessage)
 
Call(ShowChoice)
 
Call(CloseChoice)
 
Call(CancelMessage)
 
Call(SetMessageImages)
 
Call(func_802D0C94)
 
Call(SetMessageText)
 
Call(SetMessageValue)
 
Player
Call(HidePlayerShadow, hide)
 Hides the player's shadow if hide is TRUE, shows it if FALSE.
 
Call(DisablePlayerPhysics, disable)
 Disables player physics if disable is TRUE, enables it if FALSE.
 
Call(DisablePlayerInput, disable)
 Disables player and partner input, and disables the status menu.
 
Call(SetPlayerPos, x, y, z)
 Sets the player position.
 
Call(SetPlayerCollisionSize, height, diameter)
 Overrides the player collision size.
 
Call(SetPlayerSpeed, speed)
 Sets the move speed of the player for subequent PlayerMoveTo calls.
 
Call(SetPlayerJumpscale)
 
Call(SetPlayerAnimation)
 
Call(SetPlayerActionState)
 
Call(SetPlayerAnimationSpeed)
 
Call(PlayerMoveTo)
 
Call(func_802D1270)
 
Call(func_802D1380)
 
Call(PlayerJump)
 
Call(PlayerJump1)
 
Call(PlayerJump2)
 
Call(InterpPlayerYaw)
 
Call(PlayerFaceNpc)
 
Call(GetPlayerTargetYaw)
 
Call(SetPlayerFlagBits)
 
Call(GetPlayerActionState)
 
Call(GetPlayerPos)
 
Call(GetPlayerAnimation)
 
Call(FullyRestoreHPandFP)
 
Call(FullyRestoreSP)
 
Call(EnablePartner, partnerID)
 Enables switching to the given partner.
 
Call(DisablePartner, partnerID)
 Disables switching to the given partner.
 
Call(UseEntryHeading)
 
Call(func_802D2148)
 
Call(UseExitHeading)
 
Call(WaitForPlayerTouchingFloor)
 
Call(func_802D2484)
 
Call(IsPlayerOnValidFloor)
 
Call(WaitForPlayerMoveToComplete)
 
Call(WaitForPlayerInputEnabled)
 
Call(UpdatePlayerImgFX)
 
Call(SetPlayerImgFXFlags)
 
Call(FacePlayerTowardPoint)
 
Call(DisablePulseStone)
 
Call(GetPartnerInUse)
 
Call(ForceUsePartner)
 
Call(InterruptUsePartner)
 
Call(Disable8bitMario, disable)
 Enables and disables the 8-bit Mario easter egg.
 
Call(func_802D2C14)
 
Call(SetPlayerPushVelocity)
 
Call(PlaySoundAtPlayer)
 
Math
Call(MakeLerp)
 
Call(UpdateLerp)
 
Call(RandInt)
 
Call(GetAngleBetweenNPCs)
 
Call(GetAngleToNPC)
 
Call(GetAngleToPlayer)
 
Call(AwaitPlayerApproach)
 
Call(IsPlayerWithin)
 
Call(AwaitPlayerLeave)
 
Call(AddVectorPolar)
 
Call(func_802D4BDC)
 
Call(func_802D4C4C)
 
Call(func_802D4CC4)
 
Call(func_802D4D14)
 
Call(func_802D4D88)
 
Call(LoadPath)
 
Call(GetNextPathPos)
 
Call(GetDist2D)
 
Call(SetTimeFreezeMode)
 
Call(ModifyGlobalOverrideFlags)
 
Call(SetValueByRef)
 
Call(GetValueByRef)
 
Call(SetGameMode)
 
Call(ClampAngleInt)
 
Call(ClampAngleFloat)
 
UI
Call(EnableWorldStatusBar)
 
Call(ShowWorldStatusBar)
 
Call(ShowCoinCounter)
 
Audio
Call(PollMusicEvents)
 
Call(RegisterMusicEvents)
 
Call(FadeOutMusic)
 
Call(SetMusicTrack)
 
Call(FadeInMusic)
 
Call(EnableMusicProximityMix)
 
Call(AdjustMusicProximityMix)
 
Call(SetMusicTrackVolumes)
 
Call(PopSong)
 
Call(PushSong)
 
Call(PopBattleSong)
 
Call(PushBattleSong)
 
Call(SetBattleSong)
 
Call(ClearAmbientSounds)
 
Call(PlayAmbientSounds)
 
Call(PlaySound)
 
Call(PlaySoundWithVolume)
 
Call(PlaySoundAt)
 
Call(StopSound)
 
Call(StopTrackingSoundPos)
 
Call(UseDoorSounds)
 
Call(UseRoomDoorSounds)
 
Call(PlaySoundAtF)
 
Virtual Entity
Call(InitVirtualEntityList)
 
Call(CreateVirtualEntityAt)
 
Call(CreateVirtualEntity)
 
Call(CreateVirtualEntity_ALT)
 
Call(DeleteVirtualEntity)
 
Call(SetVirtualEntityRenderCommands)
 
Call(SetVirtualEntityPosition)
 
Call(GetVirtualEntityPosition)
 
Call(SetVirtualEntityRotation)
 
Call(SetVirtualEntityScale)
 
Call(SetVirtualEntityMoveSpeed)
 
Call(SetVirtualEntityJumpGravity)
 
Call(VirtualEntityMoveTo)
 
Call(VirtualEntityJumpTo)
 
Call(VirtualEntityLandJump)
 
Call(SetVirtualEntityFlags)
 
Call(SetVirtualEntityFlagBits)
 
Call(SetVirtualEntityRenderMode)
 
Item
Call(ShowKeyChoicePopup)
 
Call(ShowConsumableChoicePopup)
 
Call(RemoveKeyItemAt)
 
Call(RemoveItemAt)
 
Call(AddKeyItem)
 
Call(CloseChoicePopup)
 
Call(HasKeyItem)
 
Call(FindKeyItem)
 
Call(AddItem)
 
Call(ClearVariable)
 
Call(FindItem)
 
Call(RemoveItem)
 
Call(CountFortessKeys)
 
Call(RemoveFortressKeys)
 
Call(MakeItemEntity)
 
Call(DropItemEntity)
 
Call(DropResizableItemEntity)
 
Call(RemoveItemEntity)
 
Call(AddBadge)
 
Call(RemoveBadge)
 
Call(SetItemPos)
 
Call(SetItemFlags)
 
Call(SetItemAlpha)
 
Call(AddCoin)
 
Call(AddStarPoints)
 
Call(AddStarPieces)
 
Call(GetItemPower)
 
Call(ShowGotItem)
 
Effect
Call(ShowStartRecoveryShimmer)
 
Call(ShowRecoveryShimmer)
 
Call(func_802D7690)
 
Call(ShowEmote)
 
Call(RemoveEffect)
 
Call(DismissEffect)
 
Call(DismissItemOutline)
 
Call(func_802D7B74)
 
Call(InterpMotionBlurParams)
 
Call(SetMotionBlurParams)
 
Call(ShowSweat)
 
Call(ShowSleepBubble)
 
Call(SetSleepBubbleTimeLeft)
 
Call(PlayEffect_impl)
 
Entity
Call(MakeEntity, blueprint, x, y, z, flags, ..., MAKE_ENTITY_END)
 Creates an entity.
 
Call(SetEntityCullMode)
 
Call(UseDynamicShadow)
 
Call(AssignScript)
 
Call(AssignSwitchFlag)
 
Call(AssignBlockFlag)
 
Call(AssignChestFlag)
 
Call(AssignPanelFlag)
 
Call(AssignCrateFlag)
 
Call(DeleteTrigger, triggerPtr)
 Removes a trigger previously bound with BindTrigger.
 
Sprite shading
Call(SetSpriteShading)
 
Call(EnableSpriteShading)
 
Demo
Call(GetDemoState)
 
Call(DemoPressButton)
 
Call(DemoReleaseButton)
 
Call(DemoSetButtons)
 
Call(DemoJoystickRadial)
 
Call(DemoJoystickXY)
 

Variables

EvtScript EnemyNpcHit
 
EvtScript EnemyNpcDefeat
 

Function Documentation

◆ AddAnimatedModelRootPosition()

◆ AddBadge()

Call(AddBadge)

◆ AddCoin()

Call(AddCoin)

◆ AddItem()

Call(AddItem)

◆ AddKeyItem()

Call(AddKeyItem)

◆ AddStarPieces()

◆ AddStarPoints()

◆ AddVectorPolar()

◆ AdjustCam()

Call(AdjustCam)

◆ AdjustMusicProximityMix()

◆ AssignBlockFlag()

◆ AssignChestFlag()

◆ AssignCrateFlag()

◆ AssignPanelFlag()

◆ AssignScript()

Call(AssignScript)

Referenced by MAP_RODATA_PAD().

◆ AssignSwitchFlag()

◆ AwaitPlayerApproach()

◆ AwaitPlayerLeave()

◆ BindNpcAI()

Call(BindNpcAI)

◆ BindNpcAux()

Call(BindNpcAux)

◆ BindNpcDefeat()

◆ BindNpcHit()

Call(BindNpcHit)

◆ BindNpcIdle()

Call(BindNpcIdle)

Referenced by MAP_RODATA_PAD().

◆ BindNpcInteract()

◆ BringPartnerOut()

◆ CancelMessage()

◆ ChangeModelAnimation()

◆ ClampAngleFloat()

◆ ClampAngleInt()

◆ ClearAmbientSounds()

◆ ClearDefeatedEnemies()

◆ ClearPartnerMoveHistory()

◆ ClearVariable()

◆ CloneModel()

Call(CloneModel)

◆ CloseChoice()

Call(CloseChoice)

◆ CloseChoicePopup()

◆ CloseMessage()

Call(CloseMessage)

◆ ContinueSpeech()

◆ CountFortessKeys()

◆ CreateNpc()

Call(CreateNpc)

◆ CreateVirtualEntity()

◆ CreateVirtualEntity_ALT()

◆ CreateVirtualEntityAt()

◆ DeleteAnimatedModel()

◆ DeleteNpc()

Call(DeleteNpc)

◆ DeleteTrigger()

Call(DeleteTrigger, triggerPtr)

Removes a trigger previously bound with BindTrigger.

Parameters
triggerPtr

◆ DeleteVirtualEntity()

◆ DemoJoystickRadial()

◆ DemoJoystickXY()

◆ DemoPressButton()

◆ DemoReleaseButton()

◆ DemoSetButtons()

◆ Disable8bitMario()

Call(Disable8bitMario, disable)

Enables and disables the 8-bit Mario easter egg.

Parameters
disableDisable the easter egg if TRUE, enable it if FALSE.

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 also
PA_FLAG_8BIT_MARIO

◆ DisablePartner()

Call(DisablePartner, partnerID)

Disables switching to the given partner.

Parameters
partnerIDThe partner id to disable.
See also
EnablePartner

◆ DisablePartnerAI()

◆ DisablePlayerInput()

Call(DisablePlayerInput, disable)

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

Parameters
disableWhether to disable player input.

Referenced by MAP_RODATA_PAD().

◆ DisablePlayerPhysics()

Call(DisablePlayerPhysics, disable)

Disables player physics if disable is TRUE, enables it if FALSE.

Parameters
disableWhether to disable player physics.
See also
disable_player_static_collisions, enable_player_static_collisions

Referenced by MAP_RODATA_PAD().

◆ DisablePulseStone()

Referenced by MAP_RODATA_PAD().

◆ DismissEffect()

◆ DismissItemOutline()

◆ DoNpcDefeat()

Call(DoNpcDefeat)

◆ DropItemEntity()

◆ DropResizableItemEntity()

◆ EnableGroup()

Call(EnableGroup)

Referenced by MAP_RODATA_PAD().

◆ EnableModel()

Call(EnableModel)

◆ EnableMusicProximityMix()

◆ EnableNpcAI()

Call(EnableNpcAI)

◆ EnableNpcAux()

Call(EnableNpcAux)

◆ EnableNpcBlur()

◆ EnableNpcShadow()

◆ EnablePartner()

Call(EnablePartner, partnerID)

Enables switching to the given partner.

Parameters
partnerIDThe partner id to enable.
See also
DisablePartner

◆ EnablePartnerAI()

◆ EnableSpriteShading()

◆ EnableTexPanning()

◆ EnableWorldStatusBar()

◆ EndSpeech()

Call(EndSpeech)

◆ FacePlayerTowardPoint()

◆ FadeBackgroundDarken()

◆ FadeBackgroundLighten()

◆ FadeInMerlee()

Call(FadeInMerlee)

◆ FadeInMusic()

Call(FadeInMusic)

◆ FadeOutMerlee()

◆ FadeOutMusic()

Call(FadeOutMusic)

◆ FindItem()

Call(FindItem)

◆ FindKeyItem()

Call(FindKeyItem)

◆ ForceUsePartner()

◆ FullyRestoreHPandFP()

◆ FullyRestoreSP()

◆ func_80044238()

◆ func_80044290()

◆ func_800445A8()

◆ func_800445D4()

◆ func_8004572C()

◆ func_80045798()

◆ func_80045838()

◆ func_800458CC()

◆ func_802CB710()

◆ func_802CF54C()

◆ func_802CF56C()

◆ func_802D0C94()

◆ func_802D1270()

◆ func_802D1380()

◆ func_802D2148()

◆ func_802D2484()

◆ func_802D2C14()

◆ func_802D4BDC()

◆ func_802D4C4C()

◆ func_802D4CC4()

◆ func_802D4D14()

◆ func_802D4D88()

◆ func_802D7690()

◆ func_802D7B74()

◆ GetAngleBetweenNPCs()

◆ GetAngleToNPC()

◆ GetAngleToPlayer()

◆ GetAnimatedModelRootPosition()

◆ GetAnimatedNodePosition()

◆ GetAnimatedNodeRotation()

◆ GetAnimatedPositionByTreeIndex()

◆ GetAnimatedRotationByTreeIndex()

◆ GetBattleOutcome()

◆ GetCamDistance()

◆ GetCamLookAtObjVector()

◆ GetCamPitch()

Call(GetCamPitch)

◆ GetCamPosA()

Call(GetCamPosA)

◆ GetCamPosB()

Call(GetCamPosB)

◆ GetCamPosC()

Call(GetCamPosC)

◆ GetCamPosition()

◆ GetCamType()

Call(GetCamType)

◆ GetColliderCenter()

◆ GetCurrentPartnerID()

◆ GetDemoState()

Call(GetDemoState)

◆ GetDist2D()

Call(GetDist2D)

◆ GetEncounterTriggerHitTier()

◆ GetEntryID()

Call(GetEntryID)

Referenced by MAP_RODATA_PAD(), and MAP_RODATA_PAD().

◆ GetItemPower()

Call(GetItemPower)

◆ GetLoadType()

Call(GetLoadType)

◆ GetMapID()

Call(GetMapID)

◆ GetModelCenter()

◆ GetModelIndex()

◆ GetNextPathPos()

See also
LoadPath

Referenced by make_vine_interpolation().

◆ GetNpcAnimation()

◆ GetNpcPointer()

◆ GetNpcPos()

Call(GetNpcPos)

◆ GetNpcVar()

Call(GetNpcVar)

◆ GetNpcYaw()

Call(GetNpcYaw)

◆ GetOwnerEncounterTrigger()

◆ GetPartnerInUse()

◆ GetPartnerPos()

◆ GetPlayerActionState()

◆ GetPlayerAnimation()

◆ GetPlayerPos()

Call(GetPlayerPos)

◆ GetPlayerTargetYaw()

◆ GetSelfAnimationFromTable()

◆ GetSelfNpcID()

Call(GetSelfNpcID)

◆ GetSelfVar()

Call(GetSelfVar)

◆ GetTransformGroup()

◆ GetValueByRef()

◆ GetVirtualEntityPosition()

◆ GotoMap()

Call(GotoMap)

◆ GotoMapByID()

Call(GotoMapByID)

◆ GotoMapSpecial()

◆ GrabCamera()

Call(GrabCamera)

◆ HasKeyItem()

Call(HasKeyItem)

◆ HasMerleeCasts()

◆ HidePlayerShadow()

Call(HidePlayerShadow, hide)

Hides the player's shadow if hide is TRUE, shows it if FALSE.

Parameters
hideWhether to hide the player's shadow.
See also
disable_player_shadow, enable_player_shadow

◆ InitAnimatedModels()

◆ InitVirtualEntityList()

◆ InterpCamTargetPos()

◆ InterpMotionBlurParams()

◆ InterpNpcYaw()

Call(InterpNpcYaw)

◆ InterpPlayerYaw()

◆ InterruptUsePartner()

◆ InvalidateModelTransform()

◆ IsPlayerOnValidFloor()

◆ IsPlayerWithin()

◆ IsStartingConversation()

◆ LoadAnimatedMesh()

◆ LoadAnimatedModel()

◆ LoadDemoBattle()

◆ LoadPath()

Call(LoadPath)
See also
GetNextPathPos

Referenced by make_vine_interpolation().

◆ LoadSettings()

Call(LoadSettings)

◆ MakeEntity()

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

Creates an entity.

Parameters
blueprintPointer to EntityBlueprint to use.
x
y
z
flagsEntityFlags
...Varargs.
MAKE_ENTITY_ENDTerminates the varargs.
Variables
[out]LVar0 Created entity's ID.

Referenced by MAP_RODATA_PAD().

◆ MakeItemEntity()

Referenced by MAP_RODATA_PAD().

◆ MakeLerp()

Call(MakeLerp)

◆ MakeLocalVertexCopy()

◆ MakeNpcs()

Call(MakeNpcs)

Referenced by MAP_RODATA_PAD().

◆ MakeTransformGroup()

◆ MerleeStopFX()

Call(MerleeStopFX)

◆ MerleeUpdateFX()

◆ ModifyColliderFlags()

Referenced by MAP_RODATA_PAD().

◆ ModifyGlobalOverrideFlags()

◆ NpcFaceNpc()

Call(NpcFaceNpc)

◆ NpcFacePlayer()

◆ NpcFlyTo()

Call(NpcFlyTo)

◆ NpcJump0()

Call(NpcJump0)

◆ NpcJump1()

Call(NpcJump1)

◆ NpcMoveTo()

Call(NpcMoveTo)

◆ NpcSetHomePosToCurrent()

◆ OnDefeatEnemy()

◆ OnFleeBattleDrops()

◆ OnPlayerFled()

Call(OnPlayerFled)

◆ PanToTarget()

Call(PanToTarget)

◆ ParentColliderToModel()

◆ PartnerCanUseAbility()

◆ PartnerIsFlying()

◆ PlayAmbientSounds()

◆ PlayEffect_impl()

See also
PlayEffect

◆ PlayerFaceNpc()

◆ PlayerJump()

Call(PlayerJump)

◆ PlayerJump1()

Call(PlayerJump1)

◆ PlayerJump2()

Call(PlayerJump2)

◆ PlayerMoveTo()

Call(PlayerMoveTo)

◆ PlayMerleeGatherFX()

◆ PlayMerleeOrbFX()

◆ PlayModelAnimation()

◆ PlayModelAnimationStartingFrom()

◆ PlaySound()

Call(PlaySound)

◆ PlaySoundAt()

Call(PlaySoundAt)

◆ PlaySoundAtCollider()

◆ PlaySoundAtF()

Call(PlaySoundAtF)

◆ PlaySoundAtModel()

◆ PlaySoundAtNpc()

◆ PlaySoundAtPlayer()

◆ PlaySoundWithVolume()

◆ PollMusicEvents()

◆ PopBattleSong()

◆ PopSong()

Call(PopSong)

◆ PushBattleSong()

◆ PushSong()

Call(PushSong)

◆ PutPartnerAway()

◆ RandInt()

Call(RandInt)

◆ RegisterMusicEvents()

◆ RemoveBadge()

Call(RemoveBadge)

◆ RemoveEffect()

Call(RemoveEffect)

◆ RemoveEncounter()

◆ RemoveFortressKeys()

◆ RemoveItem()

Call(RemoveItem)

◆ RemoveItemAt()

Call(RemoveItemAt)

◆ RemoveItemEntity()

◆ RemoveKeyItemAt()

◆ RemoveNpc()

Call(RemoveNpc)

◆ ResetCam()

Call(ResetCam)

◆ ResetFromLava()

◆ RestartNpcAI()

Call(RestartNpcAI)

◆ RestartNpcAux()

◆ RotateGroup()

Call(RotateGroup)

◆ RotateModel()

Call(RotateModel)

◆ ScaleGroup()

Call(ScaleGroup)

◆ ScaleModel()

Call(ScaleModel)

◆ SelfEnemyOverrideSyncPos()

◆ SetAnimatedModelRenderMode()

◆ SetAnimatedModelRootPosition()

◆ SetAnimatedModelRootRotation()

◆ SetAnimatedModelRootScale()

◆ SetAnimatedNodeFlags()

◆ SetAnimatorFlags()

◆ SetBattleAsScripted()

◆ SetBattleMusic()

◆ SetBattleSong()

◆ SetCamBGColor()

◆ SetCamDistance()

◆ SetCamEnabled()

◆ SetCamLeadPlayer()

◆ SetCamLookTarget()

◆ SetCamNoDraw()

Call(SetCamNoDraw)

◆ SetCamPerspective()

◆ SetCamPitch()

Call(SetCamPitch)

◆ SetCamPosA()

Call(SetCamPosA)

◆ SetCamPosB()

Call(SetCamPosB)

◆ SetCamPosC()

Call(SetCamPosC)

◆ SetCamProperties()

◆ SetCamSpeed()

Call(SetCamSpeed)

◆ SetCamTarget()

Call(SetCamTarget)

◆ SetCamType()

Call(SetCamType)

◆ SetCamUpdateMode()

◆ SetCamViewport()

Referenced by A(), A(), A(), A(), and A().

◆ SetCustomGfx()

Call(SetCustomGfx)

◆ SetCustomGfxBuilders()

◆ SetCustomGfxEnabled()

◆ SetEncounterStatusFlags()

◆ SetEnemyFlagBits()

◆ SetEntityCullMode()

◆ SetGameMode()

Call(SetGameMode)

◆ SetGroupVisibility()

◆ SetInterpCamParams()

◆ SetItemAlpha()

Call(SetItemAlpha)

◆ SetItemFlags()

Call(SetItemFlags)

◆ SetItemPos()

Call(SetItemPos)

◆ SetMessageImages()

◆ SetMessageText()

◆ SetMessageValue()

◆ SetModelCustomGfx()

◆ SetModelFlags()

◆ SetModelTexVariant()

◆ SetMotionBlurParams()

◆ SetMusicTrack()

◆ SetMusicTrackVolumes()

◆ SetNoInterpCamParams()

◆ SetNpcAnimation()

◆ SetNpcAnimationSpeed()

◆ SetNpcAux()

Call(SetNpcAux)

◆ SetNpcCollisionChannel()

◆ SetNpcCollisionSize()

◆ SetNpcDecoration()

◆ SetNpcFlagBits()

Referenced by MAP_RODATA_PAD().

◆ SetNpcImgFXFlags()

◆ SetNpcImgFXParams()

◆ SetNpcJumpscale()

◆ SetNpcPaletteSwapLower()

◆ SetNpcPaletteSwapMode()

◆ SetNpcPaletteSwapping()

◆ SetNpcPos()

Call(SetNpcPos)

Referenced by MAP_RODATA_PAD().

◆ SetNpcRenderMode()

◆ SetNpcRotation()

◆ SetNpcRotationPivot()

◆ SetNpcScale()

Call(SetNpcScale)

◆ SetNpcSpeed()

Call(SetNpcSpeed)

◆ SetNpcSprite()

Call(SetNpcSprite)

◆ SetNpcVar()

Call(SetNpcVar)

◆ SetNpcYaw()

Call(SetNpcYaw)

◆ SetOwnerInstigatorValue()

◆ SetPanTarget()

Call(SetPanTarget)

◆ SetPlayerActionState()

◆ SetPlayerAnimation()

◆ SetPlayerAnimationSpeed()

◆ SetPlayerCollisionSize()

Call(SetPlayerCollisionSize, height, diameter)

Overrides the player collision size.

Parameters
height
diameter

◆ SetPlayerFlagBits()

◆ SetPlayerImgFXFlags()

◆ SetPlayerJumpscale()

◆ SetPlayerPos()

Call(SetPlayerPos, x, y, z)

Sets the player position.

Parameters
x
y-1000 is used for hiding the player.
z
See also
GetPlayerPos

Referenced by MAP_RODATA_PAD().

◆ SetPlayerPushVelocity()

◆ SetPlayerSpeed()

Call(SetPlayerSpeed, speed)

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

Parameters
speedFloat multiplier.
See also
SetNpcSpeed

◆ SetRenderMode()

◆ SetSelfEnemyFlagBits()

◆ SetSelfEnemyFlags()

◆ SetSelfRotation()

◆ SetSelfVar()

Call(SetSelfVar)

◆ SetSleepBubbleTimeLeft()

◆ SetSpriteShading()

Referenced by MAP_RODATA_PAD().

◆ SetTattleMessage()

◆ SetTexPanner()

Call(SetTexPanner)

Referenced by MAP_RODATA_PAD(), and MAP_RODATA_PAD().

◆ SetTexPanOffset()

Referenced by MAP_RODATA_PAD().

◆ SetTimeFreezeMode()

◆ SetTransformGroupEnabled()

◆ SetValueByRef()

◆ SetVirtualEntityFlagBits()

◆ SetVirtualEntityFlags()

◆ SetVirtualEntityJumpGravity()

◆ SetVirtualEntityMoveSpeed()

◆ SetVirtualEntityPosition()

◆ SetVirtualEntityRenderCommands()

◆ SetVirtualEntityRenderMode()

◆ SetVirtualEntityRotation()

◆ SetVirtualEntityScale()

◆ SetZoneEnabled()

Referenced by MAP_RODATA_PAD().

◆ ShakeCam()

Call(ShakeCam)

◆ ShowChoice()

Call(ShowChoice)

◆ ShowCoinCounter()

◆ ShowConsumableChoicePopup()

◆ ShowEmote()

Call(ShowEmote)

◆ ShowGotItem()

Call(ShowGotItem)

◆ ShowKeyChoicePopup()

◆ ShowMerleeCoinMessage()

◆ ShowMerleeRanOutMessage()

◆ ShowMessageAtScreenPos()

◆ ShowMessageAtWorldPos()

◆ ShowRecoveryShimmer()

◆ ShowSleepBubble()

◆ ShowStartRecoveryShimmer()

◆ ShowSweat()

Call(ShowSweat)

◆ ShowWorldStatusBar()

◆ SpeakToNpc()

Call(SpeakToNpc)

◆ SpeakToPlayer()

◆ StartBattle()

Call(StartBattle)

◆ StartBattleWith()

◆ StartBossBattle()

◆ StopSound()

Call(StopSound)

◆ StopTrackingSoundPos()

◆ SwitchMessage()

◆ TranslateGroup()

◆ TranslateModel()

◆ UpdateColliderTransform()

◆ UpdateLerp()

Call(UpdateLerp)

◆ UpdatePlayerImgFX()

◆ UseDoorSounds()

Referenced by MAP_RODATA_PAD().

◆ UseDynamicShadow()

◆ UseEntryHeading()

◆ UseExitHeading()

◆ UseRoomDoorSounds()

◆ UseSettingsFrom()

◆ VirtualEntityJumpTo()

◆ VirtualEntityLandJump()

◆ VirtualEntityMoveTo()

◆ WaitForCam()

Call(WaitForCam)

◆ WaitForPlayerInputEnabled()

◆ WaitForPlayerMoveToComplete()

◆ WaitForPlayerTouchingFloor()

Variable Documentation

◆ EnemyNpcDefeat

EvtScript EnemyNpcDefeat
extern

◆ EnemyNpcHit

EvtScript EnemyNpcHit
extern