Advertisement
Guest User

AlicePlural

a guest
Sep 21st, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. #System ["./SYS/System.dnh"]
  2. #TouhouDanmakufu[Plural]
  3. #Title["Alice MidBattle"]
  4. #Text["Revenge against the thief!"]
  5. #ScriptVersion[3]
  6. #Background["./BG/MForest/MagicalForestDay.dnh"]
  7. #Player["./PLAYERS/Patchouli/Sun.dnh", "./PLAYERS/Patchouli/Moon.dnh", "./PLAYERS/Patchouli/Earth.dnh", "./PLAYERS/Reimu/Homing.dnh", "./PLAYERS/Reimu/Needles.dnh", "./PLAYERS/Reimu/Spread.dnh"]
  8.  
  9. @Initialize{
  10. TPlural;
  11. SetPlayerLife(10);
  12. SetStgFrame(50, 50, 750, 550, 20, 80);
  13. SetPlayerClip(0, 0, 700, 500);
  14. }
  15.  
  16. @MainLoop{
  17. yield;
  18. }
  19.  
  20. task TPlural{
  21. //Init Vars
  22. let dir=GetCurrentScriptDirectory();
  23. let obj=ObjEnemyBossScene_Create(); //Plurals are made from Boss Scene objects\
  24.  
  25. //Adding Attacks to sequence
  26. ObjEnemyBossScene_Add(obj, 0, dir~"./AliceNonSpell.dnh");
  27. ObjEnemyBossScene_Add(obj, 0, dir~"./AliceDialogue.dnh");
  28. ObjEnemyBossScene_Add(obj, 0, dir~"./AliceSpellcard.dnh");
  29.  
  30. //Finalize plural
  31. ObjEnemyBossScene_LoadInThread(obj); //You must load the plural inside the thread/process
  32. ObjEnemyBossScene_Regist(obj); //You must register the Boss Scene object
  33. while(!Obj_IsDeleted(obj)){ //Until the plural has been cleared, the TPlural yields.
  34. yield;
  35. }
  36.  
  37. //End the script
  38. CloseScript(GetOwnScriptID()); //Close the plural.
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement