//OUTRO HARD / V NO 1CC
//TEMP
begin()
stopMusic()
//initial stuff
disableSpeedUp()


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

playSound(movieOutroStationExplode)

addAnimation(key000,outro/aa_,6,3,0.75,48,16,false,false)
addImage(key11,general/fadeOutW_3,1,48,16)
wait(1)
block();

//explosion sounds
remove(key11)
wait(368)
block();
//

remove(key0) 
remove(key00)
remove(key000)
addImage(key1,outro/b_00,0.25,48,16)
addImage(key11,general/fadeOutW_3,1,48,16)
wait(2)
block();

remove(key11)
wait(238)
block();
//

//remove(key1)
//addImage(key2,outro/c_0,0.5,48,16)
//wait(240)
//block();
//
addAnimation(key99,general/fadeOut_,4,30,1.0,48,16,false,true)
wait(240)


block();
//

remove(key1)
text(".{pause=20}.{pause=20}.{pause=80}lt. striker,{pause=20} do you read?", 12x12, 32, 144, 3, 1, 180)

block();
//

remove(key2)
addAnimation(key3,outro/da_,2,6,0.5,48,16,false,false)
addAnimation(key33,outro/db_,4,6,0.6,48,16,false,false)
addAnimation(key99,general/fadeIn_,4,30,1.0,48,16,false,true)
playSound(movieOutroSearchForStriker)
playMusic(miscThemeOutro)
wait(240)
block();
//

remove(key3)
remove(key33)
playSound(movieOutroFoundStriker)
addAnimation(key4,outro/ea_,2,6,0.5,48,16,false,false)
addAnimation(key44,outro/eb_,2,6,0.6,48,16,false,false)
//green rectangle appears, play boop sound
text("there!", 12x12, 32, 144, 3, 1, 180)
block();
//

remove(key4)
remove(key44)
addAnimation(key5,outro/f_,2,6,0.5,48,16,false,false)
//view of the monitor scientist is looking at. striker is visible, drifting upside-down, etc script
text("unconscious...{pause=60} but alive.", 12x12, 32, 144, 3, 1, 180)
block();
//

remove(key5)
playSound(movieOutroSpace)
addImage(key6,outro/ga_00,0.25,48,16)
addImage(key66,outro/gb_00,0.50,48,16)
addImage(key666,outro/gc_00,0.50,48,16)
pan(key66, -0.05, 0, 240)
pan(key666, 0.05, 0, 240)
//space scene, striker is drifting, unmoving.
wait(240)
block();
//

playSound(movieOutroCoffinTeleport)
addAnimation(key6666,outro/gd_,4,10,0.40,48,16,false,true)
pan(key66, -0.05, 0, 240)
pan(key666, 0.05, 0, 240)
//coffin looking ship warps in
wait(120)
block();
//

remove(key6)
playSound(movieOutroCoffinOpen)
addImage(key7,outro/h_00,1,48,16)
//new shot,coffin ship has opened up and is grabbing at striker
wait(120)
playSound(movieOutroGrabbed)
wait(60)
block();
//
remove(key6)
remove(key66)
remove(key666)
remove(key7)

addImage(key8,outro/i_00,0.5,48,16)
//striker is laid in the coffin, scuffed up,hose-like arms are getting him situatied.
wait(120)
text("we'll get you patched up...", 12x12, 32, 144, 3, 1, 120)
block();
//

//remove(key8)
playSound(movieOutroCoffinClose)
addAnimation(key99,general/fadeOut_,4,30,1.0,48,16,false,true)
//fade to black
wait(180)
block();
//

text("great work,{pause=20} comet.{pause=120}\n\nsee you on the ground.{pause=20}.{pause=20}.{pause=20}", 12x12, 32, 144, 3, 1, 120)
block();
//

//i need some toggle to fade this kind of text out, after timer elapses.

wait(60)
//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)
