;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 7
Scriptname QF___LALLRoyIntro01_07270E22 Extends Quest Hidden

;BEGIN ALIAS PROPERTY CryTrigger
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_CryTrigger Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY RoyShip
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_RoyShip Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY ShipLadder
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_ShipLadder Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Roy
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Roy Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY OutsideOfShipTrigger
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_OutsideOfShipTrigger Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY ShipDoor
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_ShipDoor Auto
;END ALIAS PROPERTY

;BEGIN ALIAS PROPERTY Melanie
;ALIAS PROPERTY TYPE ReferenceAlias
ReferenceAlias Property Alias_Melanie Auto
;END ALIAS PROPERTY

;BEGIN FRAGMENT Fragment_0
Function Fragment_0()
;BEGIN CODE
;Quest has been started by note. Await player enter triggerbox
SetObjectiveDisplayed(0)
Alias_RoyShip.TryToEnable()
Alias_ShipLadder.TryToEnable()
Alias_ShipDoor.TryToEnable()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_6
Function Fragment_6()
;BEGIN AUTOCAST TYPE __LALLRoyIntroScript
Quest __temp = self as Quest
__LALLRoyIntroScript kmyQuest = __temp as __LALLRoyIntroScript
;END AUTOCAST
;BEGIN CODE
;Entered triggerbox outside of ship
kmyQuest.Stage50Thoughts()
SeekingFeria.Start()
SeekingFeria.SetStage(0)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_5
Function Fragment_5()
;BEGIN AUTOCAST TYPE __LALLRoyIntroScript
Quest __temp = self as Quest
__LALLRoyIntroScript kmyQuest = __temp as __LALLRoyIntroScript
;END AUTOCAST
;BEGIN CODE
;Talked to Melanie
kmyQuest.BlockDoor(false)
SetObjectiveCompleted(30)
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_1
Function Fragment_1()
;BEGIN AUTOCAST TYPE __LALLRoyIntroScript
Quest __temp = self as Quest
__LALLRoyIntroScript kmyQuest = __temp as __LALLRoyIntroScript
;END AUTOCAST
;BEGIN CODE
;Player dialogue will ensue and Roy will approach player
Alias_Roy.TryToEnable()
kmyQuest.PlayerCry()
RoyFGPlayerScene.Start()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_4
Function Fragment_4()
;BEGIN AUTOCAST TYPE __LALLRoyIntroScript
Quest __temp = self as Quest
__LALLRoyIntroScript kmyQuest = __temp as __LALLRoyIntroScript
;END AUTOCAST
;BEGIN CODE
;After player had init convo with Roy
kmyQuest.Stage30Thoughts()
;END CODE
EndFunction
;END FRAGMENT

;BEGIN FRAGMENT Fragment_3
Function Fragment_3()
;BEGIN AUTOCAST TYPE __LALLRoyIntroScript
Quest __temp = self as Quest
__LALLRoyIntroScript kmyQuest = __temp as __LALLRoyIntroScript
;END AUTOCAST
;BEGIN CODE
;Go to Roy's house
kmyQuest.MoveToRoysHouse()
kmyQuest.Blockdoor(true)
;END CODE
EndFunction
;END FRAGMENT

;END FRAGMENT CODE - Do not edit anything between this and the begin comment

Quest Property SeekingFeria  Auto  

Scene Property RoyFGPlayerScene  Auto  
