gmc-jam-7/objects/obj_talker/Draw_0.gml

226 lines
11 KiB
Plaintext
Raw Permalink Normal View History

d3d_set_projection_ortho(0,0,800,600,0)
draw_set_color(c_black)
draw_set_alpha(.75)
draw_roundrect(50,450,750,590,false)
draw_set_alpha(.25)
draw_roundrect(50,450,750,555,false)
draw_roundrect(50,450,750,520,false)
draw_roundrect(50,450,750,485,false)
draw_set_color(c_white)
draw_set_alpha(1)
draw_roundrect(50,450,750,590,true)
draw_roundrect(53,453,747,587,true)
draw_sprite_ext(spr_player_port,0,75-25*bossactive,150,1,1,0,c_white,1-.5*bossactive)
switch global.stage
{
case 1:
draw_sprite_ext(spr_s1boss_port,0,450-25*bossactive,150,1,1,0,c_white,.5+.5*bossactive)
break;
case 2:
draw_sprite_ext(spr_s2boss_port,0,450-25*bossactive,150,1,1,0,c_white,.5+.5*bossactive)
break;
case 3:
draw_sprite_ext(spr_s3boss_port,0,450-25*bossactive,150,1,1,0,c_white,.5+.5*bossactive)
break;
case 4:
draw_sprite_ext(spr_s4boss_port,0,450-25*bossactive,150,1,1,0,c_white,.5+.5*bossactive)
break;
case 5:
draw_sprite_ext(spr_s5boss_port,0,450-25*bossactive,150,1,1,0,c_white,.5+.5*bossactive)
break
default:
break
}
draw_set_font(fn_fixed)
if global.stage = 1
{
switch sceneno
{
case 0:
bossactive = 1
draw_text(65,460,string_hash_to_newline("Ah! Jens! I'm so glad I found you! # # # "))
break;
case 1:
draw_text(65,460,string_hash_to_newline("There's been a heavy disturbance in the #balance between light and darkness! #Angels and demons have been attacking #and spreading despair! "))
break;
case 2:
bossactive = 0
draw_text(65,460,string_hash_to_newline("Yeah... I noticed. #What do you expect me to do about it, #though? Isn't that the keepers' job; #to maintain balance in our world? "))
break;
case 3:
bossactive = 1
draw_text(65,460,string_hash_to_newline("It was... but... # # # "))
break;
case 4:
bossactive = 0
draw_text(65,460,string_hash_to_newline("But what?! Maynii, tell me what #happened to the keepers! # # "))
break;
case 5:
bossactive = 1
draw_text(65,460,string_hash_to_newline("They... all three were corrupted by a #malevolent force... The forces of chaos #overcame them, opening the way for #despair to spread. "))
break;
case 6:
bossactive = 1
draw_text(65,460,string_hash_to_newline("I was lucky to have escaped when the #temple of crystals was collapsing. # # "))
break;
case 7:
bossactive = 1
draw_text(65,460,string_hash_to_newline("I'm just so... dead inside... I failed #in my duty to protect Eisiol... #I don't know what I'm going to do now... # "))
break;
case 8:
bossactive = 0
draw_text(65,460,string_hash_to_newline("Maynii, snap out of it! I can go fix #this mess, but first, let's get you #cheered up! Let's play together, and #the winner fixes the problem! "))
break;
case 9:
global.boss = 1
instance_destroy();
default:
break;
}
}
if global.stage = 2
{
switch sceneno
{
case 0:
bossactive = 0
draw_text(65,460,string_hash_to_newline("So this is the castle, temple of law... #That means that the keeper here is the #weaponsmaster Shalmii... # "))
break;
case 1:
bossactive = 1
draw_text(65,460,string_hash_to_newline("It was once a keeper of law... hehe... # # # "))
break;
case 2:
bossactive = 0
draw_text(65,460,string_hash_to_newline("Yes... the necessary evil, but the #epitome of the common man! #Your corruption has caused tyranny and #fear, supposed queen! "))
break;
case 3:
bossactive = 1
draw_text(65,460,string_hash_to_newline("So you saw through it too... Yes... #Very well... you will have no choice #except for execution, at my hands! # "))
break;
case 4:
global.boss = 2
instance_destroy()
default:
break;
}
}
if global.stage = 3
{
switch sceneno
{
case 0:
bossactive = 0
draw_text(65,460,string_hash_to_newline("The volumes within this library... it #must have every piece of written data. #As I would expect from the keeper of #truth. But you're a lie, aren't you! "))
break;
case 1:
bossactive = 1
draw_text(65,460,string_hash_to_newline("Yes or no, it makes no difference. #Jens, this world is coming down, the #wise thing would be to join us. Tailii #saw my way was the true path! "))
break;
case 2:
bossactive = 0
draw_text(65,460,string_hash_to_newline("It may be falling, but I won't let a lie #stand in my way! # # "))
break;
case 3:
bossactive = 0
global.boss = 3
instance_destroy()
default:
break;
}
}
if global.stage = 4
{
switch sceneno
{
case 0:
bossactive = 1
draw_text(65,460,string_hash_to_newline("Stop, gunslinger. You will go no further.# # # "))
break;
case 1:
bossactive = 1
draw_text(65,460,string_hash_to_newline("We cannot allow you to pass. Our #programming forbids it. # # "))
break;
case 2:
bossactive = 0
draw_text(65,460,string_hash_to_newline("The keeper of self... corrupted to a #hive mind! # # "))
break;
case 3:
bossactive = 1
draw_text(65,460,string_hash_to_newline("Self no longer exists. We are the #perfect embodiment of a being, a #cooperative cluster! We are I, and I am #Legion of beings. "))
break;
case 4:
bossactive = 0
draw_text(65,460,string_hash_to_newline("Eisiol, snap out of it! You know yourself#better than anyone ever has! Stop with #this madness! # "))
break;
case 5:
bossactive = 1
draw_text(65,460,string_hash_to_newline("Silence, gunslinger! Eisiol is no longer #here! Now, how can one simple gunslinger #fare against the forces of thousands of #spirits! "))
break;
case 6:
global.boss = 4
instance_destroy()
default:
break;
}
}
if global.stage = 5
{
switch sceneno
{
case 0:
bossactive = 0
draw_text(65,460,string_hash_to_newline("I... didn't remember a fourth temple... # # # "))
break;
case 1:
bossactive = 1
draw_text(65,460,string_hash_to_newline("And yet, it exists, and I exist. #Welcome, Jens, to the temple of chaos! # # "))
break;
case 2:
bossactive = 0
draw_text(65,460,string_hash_to_newline("And so the culprit appears! #Tell me, are you a fiend, or a grand #angel? What force do you serve! # "))
break;
case 3:
bossactive = 1
draw_text(65,460,string_hash_to_newline("I don't serve any force. I am the #final keeper. I am the keeper of chaos. #I am the keeper who protects our worlds #from entropy and decay. "))
break;
case 4:
bossactive = 1
draw_text(65,460,string_hash_to_newline("I am the grand keeper Salia, eldest of #our circle. # # "))
break;
case 5:
bossactive = 1
draw_text(65,460,string_hash_to_newline("Ask yourself, Jens. Did you intend to #save the keepers? Or did you intend to #kill them all? # "))
break;
case 6:
bossactive = 0
draw_text(65,460,string_hash_to_newline("! # # # "))
break;
case 7:
bossactive = 1
draw_text(65,460,string_hash_to_newline("That's right! While their corruption #was both dangerous and my own fault, it #would have mended over time. However... # "))
break;
case 8:
bossactive = 1
draw_text(65,460,string_hash_to_newline("Maynii's warning launched you into action#not against the angels and demons that #threatened you but against the roots of #our world. Luckily, I saved their souls. "))
break;
case 9:
bossactive = 1
draw_text(65,460,string_hash_to_newline("Because of your meddling, child, you will#never escape my temple! With the powers #of all the keepers, I will crush you! # "))
break;
case 10:
bossactive = 0
draw_text(65,460,string_hash_to_newline("Only one in perfect balance can be keeper#However, you are chaos aligned. #With the balance of light and darkness, #I will become the new keeper of our world"))
break;
case 11:
global.boss = 5
instance_destroy()
default:
break;
}
}
d3d_set_projection_perspective(0,0,800,600,0)
d3d_set_projection(obj_3Dstuff.x,obj_3Dstuff.y,obj_3Dstuff.z,obj_3Dstuff.x,obj_3Dstuff.y+100,0,0,0,1)