if Yap = 0 {
MsgBox.Msg="?."
Balzoda.LR = 0
Balzoda.Targeted = 0
Rick.Strafe = 0
GameCam.CineMode= 1
Balzoda.Act = 43
Balzoda.RotSpd = 3
Balzoda.direction = 180
Rick.direction = 0
Rick.speed = 0
Rick.x = Altar.x-96
Rick.y = 96
Balzoda.y = 96
Balzoda.x = Altar.x+144
with Balzoda{
event_perform(ev_other,ev_user1)}
Balzoda.alarm[10] = 30
Yap = 1
alarm[4] = 120
MsgBox.Letter= 1
MsgBox.Act = 0
MsgBox.Dist = 0
with Firewall{
instance_destroy()
}
GameCam.x = Rick.x+16
GameCam.y = Rick.y+8
GameCam.z = Rick.GroundZ+32
GameCam.direction = 0
d3d_set_fog(true,c_navy,2,1000)
}

if Yap = 2 {
Balzoda.alarm[10] = 0
Balzoda.alarm[11] = 2
MsgBox.Msg="No... "+global.Name+"...     #You wouldn't have been a somebody if it weren't for #me!"
}

if Yap = 3 {
GameCam.direction = 180
GameCam.x = Rick.x+72
Rick.visible = 1
Rick.Talk = 0
GameCam.z = Rick.GroundZ+10
MsgBox.Msg = "#...."
Balzoda.Mouth = 0
}

if Yap =4{
Focus = 0
Rick.visible = 1
Rick.Talk = 0
GameCam.x = Rick.x-16
GameCam.y = Rick.y+16
GameCam.z = Rick.GroundZ+30
GameCam.direction = 0
MsgBox.Msg = "Heh...        #You cannot slay me...        #You don't have the stomach for it."
}

if Yap =5{
Balzoda.alarm[11] = 0
MsgBox.Msg = "#HE WILL SLAY YOU, WYVERNE BALZODA. #HE MUST."
Rick.direction = 45
Balzoda.Mouth = 2
}

if Yap =6{
Balzoda.direction =135
GameCam.direction = 90
GameCam.x= Altar.x-32
GameCam.y= Altar.y-16
GameCam.z= Altar.z+96
Yap = 7
alarm[4] = 90
MsgBox.Msg = "?."
MsgBox.Act = 0
MsgBox.Dist = 0
MsgBox.Letter = 1
Act = 1
sound_play(BigRoar)
}


if Yap =8{
Balzoda.Mouth = 2
Balzoda.alarm[11] = 2
MsgBox.Msg ="Father! You came!       #Come on, Father! We can finish this child together!         #Once he's gone, Dragons and Fairies will live #together in harmony!"
sound_loop(GhidraBGM)
}


if Yap =9{
Focus = 0
GameCam.direction =90
Rick.Talk = 0
GameCam.z= 320
Scale = 3
Balzoda.alarm[11] = 0
y =208
GameCam.y = 0
GameCam.z = Altar.z+144
Act = 0
MsgBox.Msg = "NO.#          #THERE NEVER WAS HARMONY BETWEEN #DRAGONS AND FAIRIES..."
}

if Yap =10{
Rick.Talk = 0
MsgBox.Msg = "#BESIDES... YOU ARE MORE HUMAN THAN YOU #REALIZE..."
}

if Yap =11{
GameCam.direction = 270
GameCam.x = Balzoda.x-48
GameCam.y = -128
GameCam.z = Rick.z+24
visible = 0
Rick.direction = 90
MsgBox.Msg = "#WHAT DO YOU THINK THE WORLD WOULD BE #LIKE WITHOUT HUMANS, BALZODA?"
}

if Yap =12{
Rick.direction = 0
Balzoda.alarm[11] = 2
MsgBox.Msg = "It'll be a world without destruction! It will be peaceful!         #Without humans, no Dragons or Fairies will have to #die at their hands!"
}

if Yap =13{
Rick.direction = 45
GameCam.direction = 90
GameCam.y = 256
GameCam.z = Rick.z+ 64
visible = 1
Scale = 2.5
x =256
y =192
Balzoda.alarm[11] = 0
MsgBox.Msg = "NO.#       #IT WILL BE A WORLD CONQUERED THROUGH #DESTRUCTION... CREATED BY YOUR OWN SELF."
}

if Yap =14{
MsgBox.Msg = "#ONCE YOU CONQUER THE WORLD, THERE WILL #ALWAYS BE DESTRUCTION..."
}

if Yap =15{
MsgBox.Msg = "YOU COMMAND MANY CREATURES, AND YOU #SPEAK OF PEACE?        #THERE IS NO PEACE WHERE THERE IS EVIL."
}

if Yap =16{
MsgBox.Msg = "#SUCH IS THE WAY OF HUMANS."
}

if Yap =17{
GameCam.direction =90
Rick.Talk = 0
GameCam.x= 0
GameCam.z= 320
Scale = 4
x = 256
y= 260
MsgBox.Msg = "HUMANS ARE MANY THINGS.      #SOME ARE GOOD.      #SOME ARE EVIL.       #SOME ARE THE TORMENTED."
}

if Yap=18{
MsgBox.Msg = "DRAGONS ONLY SERVE THE DARK.       #FAIRIES ONLY SERVE THE LIGHT.       #HUMANS ARE THE BRIDGE BETWEEN THE TWO,      #FOR BETTER OR WORSE."
}

if Yap=19{
MsgBox.Msg = "#WITHOUT HUMANS, MAGIC WOULD HAVE NO #BALANCE... "
}

if Yap=20{
Balzoda.alarm[11] = 2
GameCam.z = Balzoda.z+64
GameCam.x = Balzoda.x-192
GameCam.y = -192
GameCam.direction =300
visible = 0
Balzoda.Act = 47
with Balzoda{
event_perform(ev_other,ev_user1)}
MsgBox.Msg = "#NO! Father, humans ARE the imbalance!"
}

if Yap=21{
GameCam.x = Balzoda.x+96
GameCam.y = Balzoda.y+96
GameCam.z = Balzoda.z+120
visible = 1
Scale = 3
GameCam.direction = Balzoda.direction
y = 192
MsgBox.Msg = "NO, CHILD... AT THIS MOMENT, YOU ARE THE #IMBALANCE.       #YOU ARE A LIVING CONTRADICTION..."
}

if Yap=22{
MsgBox.Msg = "THE EVILS THAT HUMANITY HAS FORGED #WILL NOT DIE WITH HUMANITY...       #THEY WILL LIVE ON WITH YOU, AS THEY DO #NOW."
}

if Yap=23{
Balzoda.Act = 48
with Balzoda{
event_perform(ev_other,ev_user1)}
GameCam.direction = 315
GameCam.x = Balzoda.x+240*sin((GameCam.direction+270)*pi/180)
GameCam.y = Balzoda.y+240*cos((GameCam.direction+270)*pi/180)
GameCam.z = Balzoda.z+32
visible = 0
MsgBox.Msg = "#No! That's not true!        #That CAN'T be true!"
}

if Yap=24{
visible = 1
Scale = 3
x = 328
GameCam.x = Rick.x-32
GameCam.y = Rick.y+144
GameCam.z = Rick.z+32
GameCam.direction = 80
Rick.direction = 90
MsgBox.Msg = "HUMAN! #THIS MONSTER CANNOT BE REASONED WITH!       #STRIKE DOWN WYVERNE BALZODA WITH ALL #YOUR MIGHT!"
}

if Yap=25{
GameCam.x = Balzoda.x-48
GameCam.y =Balzoda.y
GameCam.z = Balzoda.z+10
GameCam.direction = 180
MsgBox.Msg = "?."
Act = 2
Yap = 26
MsgBox.Msg = "?."
MsgBox.Act = 0
MsgBox.Dist = 0
MsgBox.Letter = 1
alarm[4] =50
visible = 0
}

if Yap=27{
Yap = 28
with Rick{
Att = 1
SwordDir = direction
sound_play(SwordinC)
sound_stop(GhidraBGM)
instance_create(x,y,VertSword)
alarm[8] = 4
}
alarm[4] =3
MsgBox.Act = 0
MsgBox.Dist = 0
MsgBox.Letter = 1
}

if Yap=28{
sound_play(EchoSlice)
Yap = 29
MsgBox.Act = 0
MsgBox.Dist = 0
MsgBox.Letter = 1
alarm[4] =60
Balzoda.Cripple = 2
Balzoda.image_index = 0
Balzoda.sprite_index = MoonDust
Balzoda.image_speed = 0
instance_create(0,0,HitFlash)
}

if Yap=30{
GameCam.x = Rick.x-80
GameCam.y = Rick.y+32
GameCam.z = Rick.z+16
GameCam.direction = 15
HitFlash.Act = 2
MsgBox.Act = 0
MsgBox.Dist = 0
MsgBox.Letter = 1
alarm[4] =60
Yap = 31
Act = 0
}

if Yap=32{
MsgBox.Act = 0
MsgBox.Dist = 0
MsgBox.Letter = 1
alarm[4] =60
Balzoda.image_speed = .25
Yap = 33
}

if Yap = 34{
MsgBox.Msg = "#HUMAN...       #YOU HAVE DONE WHAT YOU MUST..."
}

if Yap=35{
GameCam.direction = 90
visible = 1
x = 360
y = 120
Scale = 1.75
GameCam.x = DeadSabrina.x+12
GameCam.y = DeadSabrina.y+80
GameCam.z = Rick.z+12
Rick.direction = point_direction(Rick.x,Rick.y,DeadSabrina.x,DeadSabrina.y)
MsgBox.Msg = "#THE PRINCESS THAT LAY THERE...      #TAKE HER BACK."
}

if Yap=36{
MsgBox.Msg = "#THE FOUR WILL KNOW WHAT TO DO."
}

if Yap=37{
MsgBox.Msg = "?."
DeadSabrina.Act = 2
MsgBox.Letter = 1
MsgBox.Dist = 0
MsgBox.Act = 0
Yap = 38
alarm[4]= 60
}

if Yap = 39{
instance_create(0,0,GoToSig)
global.Story += 1
MsgBox.Letter = 1
MsgBox.Dist = 0
MsgBox.Act = 0
}