Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu
- #Title[Keanu...]
- #Text[neospell]
- #Player[REIMU, MARISA]
- #ScriptVersion[2]
- script_enemy_main {
- let CSD = GetCurrentScriptDirectory;
- let imgBoss = CSD ~ "IMG\Keanu.png";
- let frame=0;
- let frame2=0;
- let frame3=0;
- let GATP=NULL;
- let angle=0;
- let angle2=0;
- let N=1;
- @Initialize {
- LoadUserShotData("script\Yamamoto's\SYSTEM\supershot.txt");
- CreateEventFromScript("script\Yamamoto's\talk.txt");
- LoadGraphic(imgBoss);
- SetLife(3000);
- SetTimer(80);
- SetInvincibility(30);
- SetMovePosition01(GetCenterX, GetCenterY, 90);
- }
- @MainLoop {
- SetCollisionA(GetX, GetY, 32);
- SetCollisionB(GetX, GetY, 16);
- yield;
- frame++;
- angle+=2;
- if(frame>=112 && frame%13==0){
- loop(10){
- CreateShotA(2,GetX,GetY,10);
- SetShotDataA(2,0,0,angle+90,0,0.2,3,42);
- angle+=360/70;
- FireShot(2);
- }
- }
- }
- @DrawLoop {
- SetTexture(imgBoss);
- SetGraphicRect(0,0,85,110);
- DrawGraphic(GetX,GetY);
- }
- @Finalize {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement