script_enemy_main {
 let img = GetCurrentScriptDirectory~"img\hyousei1.png";

 @Initialize {
  SetLife(200);

  LoadGraphic(img);
  SetTexture(img);
  SetGraphicRect(0, 0, 32, 32);
 }

 @MainLoop {
  SetCollisionA(GetX, GetY, 24);
  SetCollisionB(GetX, GetY, 16);

  CreateShot01(GetX, GetY, 2, 40, RED11, 0);
 }

 @DrawLoop {
  DrawGraphic(GetX, GetY);
 }

 @Finalize {
 }

}