GML
if keyboard_check(ord("I")) && if gotowy = =1
{
switch direct
{
case 180:sprite_index=spr_sprud2;image_speed=1/5;
gotowy=0;
alarm[0]=18;
if con=1
global.fighter2hp-=10;break;
case 360:sprite_index=spr_sprud1;image_speed=1/5;
gotowy=0;
alarm[0]=18;
if con=1
global.fighter2hp-=10;break;
}
}