wait 1
set title 120
Level 13
wait 4
set title 120
Epic Battle
Play Music 1
wait 3
On Crystal_Spawned self doAction maybeSpawnGatherBot
Asteroid doAction spawnLarge
Asteroid doAction spawnSmall
Asteroid doAction spawnMedium
Asteroid doAction spawnMedium
Asteroid doAction spawnSmall
Asteroid doAction spawnMedium
wait 10
Asteroid doAction spawnLarge
Asteroid doAction spawnSmall
Asteroid doAction spawnMedium
Asteroid doAction spawnMedium
Asteroid doAction spawnSmall
Asteroid doAction spawnMedium
wait 6
Pirate doAction spawn
wait 1
Pirate doAction spawn
wait 1
Pirate doAction spawn
wait 1
Pirate doAction spawn
wait 3
Argonaut doAction spawn
wait 1
Argonaut doAction spawn
wait 1
Argonaut doAction spawn
wait 1
Argonaut doAction spawn
wait 1
Argonaut doAction spawn
wait 1
Asteroid doAction spawnSmall
Asteroid doAction spawnSmall
Asteroid doAction spawnSmall
wait 2
Asteroid doAction spawnMedium
Asteroid doAction spawnLarge
Asteroid doAction spawnSmall
Asteroid doAction spawnSmall
Asteroid doAction spawnLarge
Asteroid doAction spawnMedium
wait 3
Asteroid doAction spawnSmall
Asteroid doAction spawnLarge
Pirate doAction spawn
wait 2
Asteroid doAction spawnMedium
Asteroid doAction spawnLarge
Asteroid doAction spawnSmall
Asteroid doAction spawnSmall
Asteroid doAction spawnLarge
Asteroid doAction spawnLarge
wait 5
Asteroid doAction spawnSmall
wait 20
set title 120
Wave 2
Pirate doAction spawn
wait 1
Pirate doAction spawn
wait 1
Pirate doAction spawn
wait 1
Pirate doAction spawn
wait 2
Pirate doAction spawn
wait 1
Pirate doAction spawn
wait 1
Pirate doAction spawn
wait 5
DreadPirate doAction spawn
Asteroid doAction spawnSmall
Asteroid doAction spawnMedium
Asteroid doAction spawnLarge
Asteroid doAction spawnLarge
wait 20 
Asteroid doAction spawnSmall
Asteroid doAction spawnMedium
Asteroid doAction spawnLarge
Asteroid doAction spawnLarge
wait 20
Asteroid doAction spawnSmall
Asteroid doAction spawnMedium
Asteroid doAction spawnLarge
Asteroid doAction spawnLarge
wait 20
Asteroid doAction spawnSmall
Asteroid doAction spawnMedium
Asteroid doAction spawnLarge
Asteroid doAction spawnHuge
set title 120
Wave 3
wait 4
set title 120
Brace Yourself
Asteroid doAction spawnMedium
Asteroid doAction spawnLarge
Asteroid doAction spawnLarge
Asteroid doAction spawnHuge
wait 3
Asteroid doAction spawnLarge
Asteroid doAction spawnLarge
Asteroid doAction spawnHuge
wait 5
Pirate doAction spawn
Pirate doAction spawn
DreadPirate doAction spawn
wait 10
Pirate doAction spawn
Pirate doAction spawn
DreadPirate doAction spawn
wait 10
Pirate doAction spawn
Pirate doAction spawn
DreadPirate doAction spawn
wait 10
Asteroid doAction spawnMedium
Asteroid doAction spawnLarge
Asteroid doAction spawnLarge
On Notification AllPiratesDestroyed Play Music 0
On Notification AllAsteroidsDestroyed currentLevel doAction beatLevel


