So I have this problem with the Events...
It's supposed to load the image of the boss for the conversation, but instead it loads that.
The code is the next one (I Apologize for not using pastebin, but it does not open right now for some reason...)
#TouhouDanmakufu[Single]
#Title[Stage 1 Boss Conversation]
#Text[Chimei Jigyosho Pre-Battle Conversation (Reimu)]
#Player[FREE]
#BackGround[Default]
#ScriptVersion[2]
script_event Event01
{
let Boss1 = GetCurrentScriptDirectory ~ ".\enm1img\Chimei00b.png";
let Boss2 = GetCurrentScriptDirectory ~ ".\enm1img\Chimei00c.png";
let Boss3 = GetCurrentScriptDirectory ~ ".\enm1img\Chimei00d.png";
let Boss4 = GetCurrentScriptDirectory ~ ".\enm1img\Chimei00e.png";
let White = GetCurrentScriptDirectory ~ ".\enm1img\white.png";
let BGM = GetCurrentScriptDirectory ~ ".\enm1bgm\02.mp3";
let BossAll = [Boss1, Boss2, Boss3, Boss4];
@Initialize
{
ascent(i in 0..length(BossAll)){LoadGraphic(BossAll[i]);}
LoadGraphic(White);
LoadMusic(BGM);
}
@MainLoop
{
SetChar(LEFT, White);
SetGraphicRect(LEFT, 0, 0, 1, 1);
MoveChar(LEFT, FRONT);
TextOut("\c[BLUE]Plants are acting berserk \naround here...");
TextOut("\c[BLUE]Somebody must be surely causing \ntroubles!");
MoveChar(LEFT,BACK);
TextOut("\c[RED]T-that's probably my master.");
SetChar(RIGHT, BossAll[0]);
MoveChar(RIGHT, FRONT);
SetGraphicRect(LEFT, 0, 0, 384, 512);
TextOut("\c[RED]She is resurrecting plants /nall over the forest.");
End;
}
@DrawLoop
{
}
@Finalize
{
}
}
script_enemy_main
{
@Initialize
{
SetLife(1);
SetMovePosition01(GetCenterX, GetCenterY-100, 2);
CreateEventFromScript("Event01");
}
@MainLoop
{
yield;
if(OnEvent == false){SetLife(0);}
}
@DrawLoop
{
}
@Finalize
{
}
}