'Kay, so I fixed all those, and now the script looks like this:
#TouhouDanmakufu
#Title [Test Sign 'My First Script']
#Text [AKA character testing script!]
#ScriptVersion [2]
script_enemy_main {
let CSD = GetCurrentScriptDirectory;
let yukari = CSD ~ "system\yukari1.png";
let bg = CSD ~ "system\yukaribg.png";
let cut = CSD ~ "system\yukaricutin.png";
@Initialize {
SetX(GetCenterX);
SetY(GetClipMinY + 80);
SetLife(5000);
SetTimer(60);
SetScore(10000);
LoadGraphic(yukari);
LoadGraphic(cut);
LoadGraphic(bg);
CutIn(YOUMU,"Test Sign -My First Spell-",cut,0,0,512,512);
}
@MainLoop{
let x = 0;
let dir = 0;
SetCollisionA(GetX, GetY, 24);
SetCollisionB(GetX, GetY, 24);
while (x<36){
CreateShotA(1,GetEnemyX,GetEnemyY,30);
SetShotDataA(1,0,0,dir,0,0,0,PURPLE31);
SetShotDataA(1,60,2,dir,0.2,0,2,PURPLE31);
FireShot(1);
dir+=360/36;
x++;
}
x = 0;
dir = 0;
wait(60);
yield;
}
@DrawLoop {
SetTexture(yukari);
SetRenderState(ALPHA);
SetAlpha(255);
SetGraphicRect(0,0,80,96);
SetGraphicScale(1,1);
SetGraphicAngle(0,0,0);
DrawGraphic(GetX, GetY);
}
@BackGround{
SetTexture(bg);
SetRenderState(ALPHA);
SetAlpha(255);
SetGraphicRect(0,0,385,449);
SetGraphicScale(1,1);
SetGraphicAngle(0,0,0);
DrawGraphic(GetCenterX, GetCenterY);
}
@Finalize {
DeleteGraphic(yukari);
DeleteGraphic(bg);
DeleteGraphic(cut);
}
}
However, there's still something wrong with it. Did I put the closing bracket in the wrong space or what? Sorry for being so annoying, I'm still learning the basics of Danmakufu.