enderalse/source/scripts/sf_mq07a_sc12_jesparfinaldia_0010a751.psc

59 lines
1.3 KiB
Plaintext

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 11
Scriptname SF_MQ07A_SC12_JesparFinalDia_0010A751 Extends Scene Hidden
;BEGIN FRAGMENT Fragment_10
Function Fragment_10()
;BEGIN CODE
AllowIdleChatter.SetValue(0)
If GetOwningQuest().GetCurrentStageID() == 187
Utility.Wait(3.0) ; Wait a bit for the player to end teleporting
Else
Utility.Wait(0.1)
If PlayerREF.GetActorValue("Variable03") == 5.0
Utility.Wait(2.0) ; Wait a bit for the player to end teleporting
EndIf
EndIf
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_3
Function Fragment_3()
;BEGIN CODE
MQ07a.FadeBackSC13()
Game.EnablePlayerControls()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_8
Function Fragment_8()
;BEGIN CODE
AllowIdleChatter.SetValue(1)
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN CODE
MQ07a.EnableWordOfTheDeadSound()
;END CODE
EndFunction
;END FRAGMENT
;BEGIN FRAGMENT Fragment_7
Function Fragment_7()
;BEGIN CODE
MQ07a.MoveJesparAndPlayer()
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment
_00E_MQ07a_Functions Property MQ07A Auto
GlobalVariable Property AllowIdleChatter Auto
Actor Property PlayerREF Auto