if Yap = 0 {
GameCam.direction= point_direction(GameCam.x,GameCam.y,x,y)
Focus = 1
Talk = 1
MsgBox.Act= 0
MsgBox.Msg="Waaaaaait!      #Wait, "+global.Name+"!"
}

if Yap = 1 {
MsgBox.FontSize= 1
MsgBox.Msg="*pant* *pant*      #"+global.Name+"... I have to speak with "+global.Name+"!       #I just HAVE to! Please!"
Rick.direction= point_direction(Rick.x,Rick.y,x,y)
}

if Yap = 2 {
GameCam.x =Rick.x-32
GameCam.y =Rick.y+128
GameCam.z = 96
Focus = 0
GameCam.direction= point_direction(GameCam.x,GameCam.y,AmTabitha.x,AmTabitha.y)
Talk = 0
AmTabitha.Talk = 1
MsgBox.Msg="#...very well, Tiel.        #You may speak with him before he goes."
}

if Yap = 3 {
GameCam.x =Rick.x-32
GameCam.y =Rick.y-128
GameCam.z = 80
GameCam.direction= point_direction(GameCam.x,GameCam.y,x,y)
Rick.direction= point_direction(Rick.x,Rick.y,x,y)
AmTabitha.Talk = 0
Talk = 1
MsgBox.Msg=global.Name+"... I knew this day would come.        #...but promise me something, "+global.Name+": You #have to come back. If anything, you have to bring #Sabrina back."
}

if Yap = 4 {
MsgBox.Msg=global.Name+"... I... this is the moment of truth for #you...       #If you don't succeed... No, you MUST succeed...       #Well... I don't know if this really is goodbye..."
}

if Yap = 5 {
MsgBox.Msg="#Before you go, I wanted to give you this blessing..."
}

if Yap = 6 {
instance_create(0,0,Subtitle)
An = 1
sprite_index = TielPray
GameCam.x = x+90
GameCam.y = y-40
GameCam.z = z+12
GameCam.direction= point_direction(GameCam.x,GameCam.y,x,y)
Focus = 0
MsgBox.Msg="Oh, Trin... Miriri sacri "+global.Name+" fa malae vitalin,  #to retan ad erxi areis.      #Miriri sacri "+global.Name+" fa malae trium koneti #ponsib ad Sierr.  Amen."
Subtitle.Txt="Oh, ???... Please bless "+global.Name+" that he'll live, and return to this place.  Please bless "+global.Name+" that he'll succeed in serving his duty to Sierr.  Amen."
}

if Yap = 7 {
with Subtitle{
instance_destroy()
}
An = 0
MsgBox.Msg="#"+global.Name+"... You have to do this.      #Just don't forget to come back."
}

if Yap = 8 {
direction = 270
MsgBox.Msg="#...continue, Tabitha."
}

if Yap = 9 {
Talk = 0
AmTabitha.Talk = 1
GameCam.x = AmTabitha.x+32
GameCam.y = AmTabitha.y-144
GameCam.z = AmTabitha.z
GameCam.direction = point_direction(GameCam.x,GameCam.y,AmTabitha.x,AmTabitha.y)
FarewellTiel.y += 40
MsgBox.Msg="#Okay, Tiel...        #Everyone, as we have practiced..."
direction = point_direction(x,y,Rick.x,Rick.y)
}

if Yap = 10 {
sound_loop(TriumphantTheme)
AmElphaba.Talk = 1
AmCherlindrea.Talk = 1
AmAlmithea.Talk = 1
GameCam.CineMode = 1
AmTabitha.CamRot = .5
AmTabitha.sprite_index = TabithaPray
AmElphaba.sprite_index = ElphabaPray
AmCherlindrea.sprite_index = CherlindreaPray
AmAlmithea.sprite_index = AlmitheaPray
AmTabitha.An = 1
AmElphaba.An = 1
AmCherlindrea.An = 1
AmAlmithea.An = 1
GameCam.x = SierrGroundMark.x
GameCam.y = SierrGroundMark.y
GameCam.z = SierrGroundMark.z+32
Rick.x = SierrGroundMark.x
Rick.y = SierrGroundMark.y
instance_create(0,0,Subtitle)
MsgBox.Msg="Pixen, Draconi, lisay ash concep.       #Orija tota maho, ash desira vo, ash rari vo kah ash #yohn morta ningensa..."
Subtitle.Txt="Fairies, Dragons, hear our plea.  As the spawn of all magic, we beg to share your power with we four mortal beings..."
}

if Yap = 11 {
Subtitle.Pan = 0
MsgBox.Msg="Dut sacri Dai Pixen Yura, erxi malae, "+global.Name+", #manda duelar Wyverne Balzoda, Dai Wyrsaur, et #amomort tota ningensias."
Subtitle.Txt="As the duty bestowed by the Great Fairy Yura, this young boy, "+global.Name+", must confront Wyverne Balzoda, the great Dragonian, for the fate of all humanity."
}

if Yap = 12 {
Subtitle.Pan = 0
MsgBox.Msg="#Pamen no rui gener chaos aro areis no Sierr...        #Miriri, gi ash vo kah..."
Subtitle.Txt="The cost of failure will create disorder among the land of Sierr... Please, lend us your power..."
}

if Yap = 13 {
Subtitle.Pan = 0
MsgBox.Msg="#Tele malae ad Mesaro no Falsim...     #ad dilev erxi cont..."
Subtitle.Txt="Transport this boy to the Mountain of Illusion... to save this world..."
}

if Yap = 14 {
AmTabitha.sprite_index = TabithaAArms
AmElphaba.sprite_index = ElphabaAArms
AmCherlindrea.sprite_index = CherlindreaArms
AmAlmithea.sprite_index = AlmitheaAArms
MsgBox.Msg="?."
with Subtitle{
instance_destroy()}
MsgBox.Letter = 1
MsgBox.Act = 0
MsgBox.Dist = 0
Yap = 16
alarm[4]= 90
GameCam.direction = 225
GameCam.x = SierrGroundMark.x+144
GameCam.y = SierrGroundMark.y-144
GameCam.z = SierrGroundMark.z+96
AmTabitha.CamRot = 0
global.CreateZ = SierrGroundMark.z
instance_create(SierrGroundMark.x,SierrGroundMark.y,GreatWarp)
}

if Yap = 17 {
MsgBox.Letter = 1
MsgBox.Dist = 0
Yap = 18
alarm[4]= 60
Talk = 1
}

if Yap = 19 {
MsgBox.Letter = 0
AmTabitha.CamRot = 0
GameCam.x = FarewellTiel.x+96
GameCam.y = FarewellTiel.y-96
GameCam.z = FarewellTiel.z+12
AmTabitha.Talk = 0
AmElphaba.Talk = 0
AmCherlindrea.Talk = 0
AmAlmithea.Talk = 0
MsgBox.Msg="#...good luck...       #"+global.Name+"..."
}

if Yap = 20 {
instance_create(0,0,GoToSig)
GoToSig.GoTo = 2
MsgBox.Msg= "!"
}