Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu
- #Title[Convergence Sign "Narrow Mind"]
- #Text[farts]
- #Player[FREE]
- #BGM[script\card02\bmtl.mp3]
- #ScriptVersion[2]
- script_enemy_main {
- let frame = 0;
- let i; let j;
- @Initialize {
- SetLife(4000);
- SetEnemyMarker(true);
- SetTimer(35);
- CutIn(YOUMU, "Convergence Sign "\""Narrow Mind"\", "script\card02\SaxtonHale.png", 0, 0,
- 256, 256);
- }
- @MainLoop {
- SetCollisionA(GetX, GetY, 32);
- SetCollisionB(GetX, GetY, 24);
- frame++;
- if(frame==1){
- CreateLaserA(1, GetX, GetY, 700, 30, BLUE01, 10);
- SetLaserDataA(1, 0, 0, 1, 0, 0, 0);
- SetLaserDataA(1, 80, 80, 0, 0, 0, 0);
- SetLaserDataA(1, 240, 80, -1, 0, 0, 0);
- SetShotKillTime(1, 480);
- CreateLaserA(2, GetX, GetY, 700, 30, BLUE01, 10);
- SetLaserDataA(2, 0, 180, -1, 0, 0, 0);
- SetLaserDataA(2, 80, 100, 0, 0, 0, 0);
- SetLaserDataA(2, 240, 100, 1, 0, 0, 0);
- SetShotKillTime(2, 480);
- ascent(j in 1..16){
- ascent(i in 1..10){
- CreateShotA(3, 0, 0, 10);
- SetShotDataA_XY(3, 0, 0, 0, 0, 0, 0, 0, WHITE01);
- SetShotDataA_XY(3, 140, rand(0,-2), rand(-2,2), 0, 0, 0, 4, BLUE01);
- CreateShotA(4, 0, 0, 10);
- SetShotDataA_XY(4, 0, 0, 0, 0, 0, 0, 0, WHITE01);
- SetShotDataA_XY(4, 140, rand(0,2), rand(-2,2), 0, 0, 0, 4, BLUE01);
- AddShot(i*8, 1, 3, j*40);
- AddShot(i*8, 2, 4, j*40);
- }
- }
- FireShot(1); FireShot(2);
- }
- if(frame==240){
- CreateLaserA(1, GetX, GetY, 700, 30, RED01, 10);
- SetLaserDataA(1, 0, 0, 1, 0, 0, 0);
- SetLaserDataA(1, 80, 80, 0, 0, 0, 0);
- SetLaserDataA(1, 240, 80, -1, 0, 0, 0);
- SetShotKillTime(1, 480);
- CreateLaserA(2, GetX, GetY, 700, 30, RED01, 10);
- SetLaserDataA(2, 0, 180, -1, 0, 0, 0);
- SetLaserDataA(2, 80, 100, 0, 0, 0, 0);
- SetLaserDataA(2, 240, 100, 1, 0, 0, 0);
- SetShotKillTime(2, 480);
- ascent(j in 1..16){
- ascent(i in 1..10){
- CreateShotA(3, 0, 0, 10);
- SetShotDataA_XY(3, 0, 0, 0, 0, 0, 0, 0, WHITE01);
- SetShotDataA_XY(3, 140, rand(0,-2), rand(-2,2), 0, 0, 0, 4, RED01);
- CreateShotA(4, 0, 0, 10);
- SetShotDataA_XY(4, 0, 0, 0, 0, 0, 0, 0, WHITE01);
- SetShotDataA_XY(4, 140, rand(0,2), rand(-2,2), 0, 0, 0, 4, RED01);
- AddShot(i*8, 1, 3, j*40);
- AddShot(i*8, 2, 4, j*40);
- }
- }
- FireShot(1); FireShot(2);
- }
- if(frame==480){
- frame=0;
- }
- }
- @DrawLoop {
- }
- @Finalize {
- }
- }
Add Comment
Please, Sign In to add comment