script_enemy_main {
let frame = 0;
let BossImage = "script\img\ExRumia.png";
let BossCutIn = "script\img\ExRumia.png";
@Initialize {
LoadGraphic(BossImage);
SetLife(2000);
SetDamageRate(100, 0);
SetTimer(30);
SetInvincibility(30);
CutIn(KOUMA, "Spellcard Name", BossCutIn, 0, 0, 200, 600);
SetScore(9001);
SetEnemyMarker(true);
SetDurableSpellCard;
Concentration01(60);
Concentration02(60);
MagicCircle(false);
SetEffectForZeroLife(0, 0, 0);
}
@MainLoop {
SetCollisionA(GetX, GetY, 32);
SetCollisionB(GetX, GetY, 24);
if(frame==60){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer, RED03, 20);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==68){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer, RED03, 17);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==75){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer, RED03, 15);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==83){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer, RED03, 12);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==90){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer, RED03, 9);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==97){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer, RED03, 7);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==101){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 20, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==103){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 40, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==105){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 60, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==107){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 80, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==109){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 100, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==111){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 120, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==113){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 140, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==115){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 160, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==117){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 180, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==119){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 200, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==121){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 220, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==123){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 240, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==125){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 260, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==127){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 280, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==129){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 300, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==131){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 320, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
}
if(frame==133){
CreateShot01(GetX, GetY, 10, GetAngleToPlayer + 340, RED03, 10);
PlaySE("script\BROFIST\se_tan00.wav");
frame = -120;
}
frame++;
}
@DrawLoop {
SetTexture(BossImage);
DrawGraphic(GetX, GetY);
}
@Finalize {
}
}
@BackGround {
}
}
Trying to make scarlet meister. A couple of issues:
1. Rumia doesn't appear. She just shoots from nowhere land. Keep in mind I have no idea how drawing works and jsu copypastaed this stuff lol.
2. There should be a way to work a loop into there so it's not so ugly but I'm not familair with these kinds of loops (I've only used Python before)
3. How to I make the rest of the card? :V