ScriptName FNCastelFlamesOff
short triggered
float timer
Begin onTrigger player
if triggered == 0
TriggerHitShader 5
FNCatselCollisionBoxNoWay.enable
disablePlayerControls
FNcastelFlamesOffFX07.enable
FNcastelFlamesOffFX06.enable
FNcastelFlamesOffFX03.enable
FNcastelFlamesOffFX01.playgroup equip 0
FNcastelFlamesOffFX02.playgroup forward 0
FNcastelFlamesOffFX04.playgroup equip 0
FNcastelFlamesOffFX05.playgroup equip 0
FNCastelFlamesOff02.disable
FNStages0210XMakerLord.disable
FNCastelFlamesOff01.disable
XMakerLordFlamesOff.enable
FNFlamesOffSound.enable
LordDeadBarierre.disable
set triggered to 1
set timer to 6
endif
End
Begin GameMode
if triggered == 0
return
endif
if timer >= 0 && triggered == 1
set timer to timer - getSecondsPassed
endif
if timer <= 5
FNCastelFlamesOff02.disable
FNCastelFlamesOff01.disable
endif
if timer <= 4
FNcastelFlamesOffFX02.playgroup Backward 0
endif
if timer <= 1
FNLordKlesfardIIRef.StartConversation player, FNLordRunAway
endif
if timer <= 0
FNCatselCollisionBoxNoWay.disable
enablePlayerControls
TriggerHitShader 0