2021-10-05 22:15:58 +00:00
|
|
|
;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
|
2024-01-09 22:00:18 +00:00
|
|
|
AllowIdleChatter.SetValue(0)
|
2024-01-10 14:08:24 +00:00
|
|
|
If GetOwningQuest().GetCurrentStageID() == 187
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|
2024-01-09 22:00:18 +00:00
|
|
|
AllowIdleChatter.SetValue(1)
|
2021-10-05 22:15:58 +00:00
|
|
|
;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
|
2024-01-09 22:00:18 +00:00
|
|
|
GlobalVariable Property AllowIdleChatter Auto
|
2021-10-05 22:15:58 +00:00
|
|
|
Actor Property PlayerREF Auto
|