Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #System ["./SYS/System.dnh"]
- #TouhouDanmakufu[Plural]
- #Title["Alice MidBattle"]
- #Text["Revenge against the thief!"]
- #ScriptVersion[3]
- #Background["./BG/MForest/MagicalForestDay.dnh"]
- #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"]
- @Initialize{
- TPlural;
- SetPlayerLife(10);
- SetStgFrame(50, 50, 750, 550, 20, 80);
- SetPlayerClip(0, 0, 700, 500);
- }
- @MainLoop{
- yield;
- }
- task TPlural{
- //Init Vars
- let dir=GetCurrentScriptDirectory();
- let obj=ObjEnemyBossScene_Create(); //Plurals are made from Boss Scene objects\
- //Adding Attacks to sequence
- ObjEnemyBossScene_Add(obj, 0, dir~"./AliceNonSpell.dnh");
- ObjEnemyBossScene_Add(obj, 0, dir~"./AliceDialogue.dnh");
- ObjEnemyBossScene_Add(obj, 0, dir~"./AliceSpellcard.dnh");
- //Finalize plural
- ObjEnemyBossScene_LoadInThread(obj); //You must load the plural inside the thread/process
- ObjEnemyBossScene_Regist(obj); //You must register the Boss Scene object
- while(!Obj_IsDeleted(obj)){ //Until the plural has been cleared, the TPlural yields.
- yield;
- }
- //End the script
- CloseScript(GetOwnScriptID()); //Close the plural.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement