KrystalLo wrote...
it only shows the image for a second and turns back to normal to the pirate with full health instead of staying on the second image where he has gotten hurt.if (iCounter %10==0){
iHurt = 1;
setImage("pirate"+direction+iHurt+".png");
}

