Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu[Stage]
- #Title[Stage for testing stuff]
- #Text[]
- #Image[]
- #Background[]
- #BGM[]
- #Player[FREE]
- #ScriptVersion[2]
- script_stage_main{
- let CSD = GetCurrentScriptDirectory;
- function wait(let frames){
- loop(frames){yield;}
- }
- //Wait For Zero Enemy
- function WFZE{
- while(GetEnemyNum != 0){yield;}
- }
- //====================================================HERE=THE=STAGE=SCENARIO=GOES========================================================
- task stage{
- wait(120);
- loop(10){
- CreateEnemyFromFile(CSD ~ "NMEs\orb.txt",0,92,1,0,rand_int(1,2)); // 1 stands for green orb, 2 for red
- wait(40);
- yield;
- }
- WFZE;
- wait(60);
- Clear;
- }
- //========================================================================================================================================
- @Initialize{
- stage;
- }
- @MainLoop{
- yield;
- }
- @Background{
- }
- @Finalize{
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment