Is this one possible?
#TouhouDanmakufu
#Title[Stuff 2]
#Text[OMFG THE INK BLOTS!
THE INK BLOTS!!!!
This one may very well be impossible.]
#ScriptVersion[2]
script_enemy_main {
let frame = 0;
let frame2 = -120;
let x = GetX;
let y = GetY; //+170;
let a = 0;
function wait(k){
loop(k){yield;}
}
@Initialize {
SetLife(1500); if(GetPlayerType == REIMU_A || GetPlayerType == REIMU_B) { SetDamageRate(40, 0); } else { SetDamageRate(20, 0); } SetTimer(75);
SetEnemyMarker(true);
SetMovePosition02(GetCenterX, GetClipMinY+100, 60);
CutIn(KOUMA,"Little Rock「Rorschach Test」", "", 0, 0, 0, 0);
SetScore(10000000);
SetShotAutoDeleteClip(500, 500, 500, 500);
}
@MainLoop {
x = GetX;
y = GetY;
if(frame < 300) { frame++; }
frame2++;
if(frame2 == 60) { SetMovePosition02(GetClipMinX+50, GetClipMaxY-25, 120); }
if(frame2 == 180) { SetMovePosition02(GetClipMaxX-50, GetClipMaxY-25, 120); }
if(frame2 == 300) { SetMovePosition02(GetCenterX, GetClipMinY+150, 120); }
if(frame2 == 420) { PlaySE(GetCurrentScriptDirectory~"se\se_ch00.wav"); SetColor(0, 0, 255); Concentration02(120); }
if(frame2 == 540) { SetMovePosition02(GetCenterX, GetClipMaxY, 10); }
if(frame2 == 560) {
PlaySE(GetCurrentScriptDirectory~"se\se_water.wav");
ascent(i in -6..6) {
CreateShot01(GetX, GetY, 5, GetAngleToPlayer+i*12, BLUE03, 10);
}
SetMovePosition02(GetCenterX, GetClipMinY+50, 30);
frame2 = 0;
}
if(frame == 120) { lissajous; }
if(!OnBomb) { SetCollisionA(GetX, GetY, 32); } //32 for boss, 10 for fairy
SetCollisionB(GetX, GetY, 24);//24 for boss, 5 for fairy
yield;
}
@DrawLoop {
}
@Finalize {
if(GotSpellCardBonus) {
loop(50) { CreateItem(ITEM_SCORE, GetX+rand(-150, 150), GetY+rand(-50, 50)); }
} else {
loop(5) { CreateItem(ITEM_SCORE, GetX+rand(-150, 150), GetY+rand(-50, 50)); }
}
}
task lissajous {
x = GetX;
y = GetY; //+170;
loop(300) {
CreateShot02(x-100*cos(a-90), y-75*cos(a-90), -5, -a, 0.1, 3, RED04, 10);
CreateShot02(x-100*cos(a+90), y+75*cos(a+90), -5, a+180, 0.1, 3, RED04, 10);
a+=6.5;
wait(1);
}
wait(1);
loop(300) {
CreateShot02(x-75*cos(a-90), y-125*cos(a-90), -5, -a, 0.1, 3, ORANGE04, 10);
CreateShot02(x-75*cos(a+90), y+125*cos(a+90), -5, a+180, 0.1, 3, ORANGE04, 10);
a+=6.5;
wait(1);
}
lissajous;
}
}
Seems not to be so for me.
(Thanks Naut for Rorschach (matHh) base) (also i heart cosine!)