Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu // This line must be required
- #Title[2-4 Read and Weep] // The title of the script
- #Text[Spinning, spinning, spinning...] // The description of the script which is shown when selected
- #BackGround[] // Information of the background image (optional)
- //#BGM[.\bgm\Doll Judgement.mp3] // The path of the background music (optional)
- #PlayLevel[Normal] // Play level (optional)
- #Player[FREE] // Available characters (optional)
- #ScriptVersion[2] // Script version (normally 2)
- script_enemy_main {
- //insert script variables here
- let frame=0;
- let frame2=0;
- let frame3=0;
- let GATP=NULL;
- let angle=0;
- let angle2=0;
- let N=1;
- //insert relevant variables here
- let spellName = "Aquamancy 'Whirlpool'";
- let ImgBoss = "script\img\ExRumia.png";
- let timer = 20;
- //no touching
- //#include_function ".\sanGayaFramework.dnh"
- #include_function ".\variables.dnh"
- #include_function ".\moveFunction.dnh"
- #include_function ".\shot_variables.dnh"
- #include_function ".\SanGayaLib.dnh"
- //#include_function ".\sanGayaInclude.dnh"
- #include_function ".\sanGayaFramework.dnh"
- task TMain {
- SetMovePosition03(GetCenterX, GetCenterY-100, 11, 15); SetInvincibility(60); wait(60);
- SetInvincibility(120); while(OnPlayerMissed || OnBomb) { SetInvincibility(180); yield; }
- wait(120); Concentration02(60); PlaySE(seCharge); SetInvincibility(60); wait(60);
- attack1;
- }
- //no touching ends here
- task attack1{
- loop{
- frame++;
- angle+=1.19;
- angle2+=2;
- if(frame>=120 && frame%30==0){
- loop(10){
- CreateShotA(3,GetX,GetY,10);
- SetShotDataA(3,0,0,angle2,0,0.09,2,237);
- angle2+=360/10;
- FireShot(3);
- }
- }
- if(frame >= 120 && frame%8==0){
- PlaySE(seKira00);
- ascent(i in 0..2){
- loop(2){
- CreateShotA(1,GetX+60*cos(angle),GetY+60+i*13*sin(angle),10);
- SetShotDataA(1,0,0,angle,-1,0.09,1,67);
- SetShotDataA(1,120,NULL,NULL,0,0,0,67);
- FireShot(1);
- CreateShotA(2,GetX+60*cos(angle),GetY+60+i*13*sin(angle),10);
- SetShotDataA(2,0,0,angle,1,0.09,1,67);
- SetShotDataA(2,120,NULL,NULL,0,0,0,67);
- FireShot(2);
- angle+=360/2;
- }
- }
- }
- //insert attack pattern here
- }
- yield;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment