script_enemy_main {
  #include_function "lib\Ikareimu\Enemy.dnh"
  
  let frame=0;
  let imgBoss="script\Ikareimu\img\sprite\Cirno.png";
  
  @Initialize {
    IkareimuEnemy_Initialize;
    IkareimuEnemy_SetPolarity(BLUE);
    
    LoadGraphic(imgBoss);
    
    SetLife(1);
    SetCommonData("BossPosition", [GetX, GetY]);
  }
  
  @MainLoop {
    VanishEnemy;
    
    IkareimuEnemy_Run;
    frame++;
  }
  
  @Finalize {
    IkareimuEnemy_Finalize;
  }
  
  @DrawLoop {
    SetTexture(imgBoss);
    SetGraphicRect(0, 0, 64, 64);
    DrawGraphic(GetX, GetY);
  }
}