e//INTERLUDE
begin()
//initial stuff
disableSpeedUp()
playMusic(miscThemePracticeMode)

//placeholder text graphic shown
addImage(key999, general/tempGraphicsArePlaceholders,1,0,0)
//

//

//addImage(key0,interlude/a_00,1,48,16)

text("...you've got all the cores?", 12x12, 32, 144, 3, 1, 90)
addImage(key1, interlude/b_0,0.5, 48,16)
addAnimation(key99,general/fadeIn_,4,30,1.0,48,16,false,true)

block();
//

//remove(key0)
text("amazing.{pause=60} we knew you could do it!", 12x12, 32, 144, 3, 1, 120)
block();
//


text("i'm sending the warp coordinates\nto your ship computer now. {pause=60}\n\nhang on tight.", 12x12, 32, 144, 3, 1, 120)

block();
//

remove(key1)
addImage(key2,interlude/ca_00,0.5,48,16)
addImage(key22,interlude/cb_00,0.6,48,16)
playSound(movieInterludeSpaceWarpCharge)
// play sound for teleport

wait(120)

block();
//

remove(key22)
addAnimation(key23,interlude/cc_,4,15,0.6,48,16,false,true)
// play sound for teleport


wait(120)

block();
//

remove(key2)
addImage(key3,interlude/da_00,0.5,48,16)
wait(60)
playSound(movieInterludeWarpedIn)
addAnimation(key33,interlude/db_,2,15,0.6,48,16,false,true)
//addImage(key33,interlude/db_00,0.9,48,16)

wait(120)

block();
//

remove(key22)
remove(key3)
remove(key33)
playSound(movieInterludeFootLand)
addImage(key4,interlude/e_00,1,48,16)

text("welcome to the planetary defense \ncannon,{pause=20} lieutenant.", 12x12, 32, 144, 3, 1, 120)

block();
//

addImage(key4,interlude/e_01,1,48,16)
playSound(movieInterludeRobotsArrive)
text("men, get those cores into the pow- \ner array!{pause=90}\n\nyes,{pause=10} sir!", 12x12, 32, 144, 3, 1, 120)

block();
//

remove(key3)
addImage(key4,interlude/f_00,1,48,16)

wait(60)

text("maybe hold onto something.{pause=20}.{pause=20}.{pause=20}", 12x12, 32, 144, 3, 1, 60)

block();
//

remove(key4)
playSound(movieInterludeLaserCharging)
addAnimation(key6,interlude/g_,3,160,0.5,48,16,false,true)

//sounds for gun charging, firing
wait(480)
block();
//

//gun fires
remove(key5)
addImage(key6,interlude/g_3,1,48,16)
wait(120)

block();
//

remove(key6)
addAnimation(key7,interlude/h_,2,15,0.5,48,16,false,true)
wait(210) 
addAnimation(key99,general/fadeOutW_,4,15,1.0,48,16,false,true)
wait(60)
block();
//

remove(key7)
addImage(key8, interlude/ja_0, 0.5, 48,16)
addImage(key88,interlude/jb_00,0.6,48,16)
pan(key88, -0.02, 0.02, 120)
addAnimation(key99,general/fadeInW_,4,6,1.0,48,16,false,true)
wait(120)
pan(key88, -0.02, 0.02, 240)
text("it can't be!!!", 12x12, 32, 144, 3, 1, 180)
block();
//
remove(key8)
remove(key88)
playSound(movieInterludeStationCharging)
addAnimation(key9,interlude/k_,3,60,0.5,48,16, false, true)
wait(120)
text("it's still operational?!{pause=60} men!{pause20}\nfire the cannon again!!!", 12x12, 32, 144, 3, 1, 120)

block();
//
remove(key9)
addImage(key1,interlude/l_00,0.5,48,16)
text("we can't,{pause=20} sir!{pause=20} the cannon's over-\nheated from the excess energy!{pause=20}\nit'll explode if we fire right\naway!", 12x12, 32, 144, 3, 1, 120)

block();
//

remove(key1)
playSound(movieInterludeHeartBeat)
addImage(key0,interlude/m_00,0.5,48,16)

text("what do we do?!", 12x12, 32, 144, 3, 1, 180)

block();
//

remove(key0)
addImage(key1,interlude/n_00,0.5,48,16)
wait(120)
block();
//
playSound(menuBeginGame)
remove(key1)
playSound(movieInterludeJetTakeOff)
addImage(key2,interlude/o_00,0.5,48,16)
wait(30)
block();
//
addAnimation(key99,general/fadeOutW_,4,30,0.9,48,16,false,true)
wait(180)
addAnimation(key100,general/fadeOut_,4,15,0.95,48,16,false,true)
wait(60)
block();
//



fadeOutMusic(200)
wait(200)
//loop();
end()


//text("retrieve the four power cores lo-\ncated throughout our star system. {pause=120}\n\nour planetary defense cannon re-  \nquires their combined energy to  \nbreak through the enemy's shields.", 12x12, 32, 144, 3, 1, 180)
