direction = point_direction(x,y,player.x,player.y) div 90
if direction = 0 then sprite_index = spr_lewo
if direction = 1 then sprite_index = spr_dół
if direction = 2 then sprite_index = spr_prawo
if direction = 3 then sprite_index = spr_góra
Wszystko do STEP potwora