diff --git a/chameleonic.p8 b/chameleonic.p8 index 71c4f97..c286736 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -661,13 +661,13 @@ function player:update() wrongbleep:bleep() end if btncd(0) then - try_move(-1,0,{{orientx=-1,orienty=0,px=-2},{px=1}}) + try_move(-1,0,{{orientx=-1,orienty=0,px=-2,py=0},{px=1}}) elseif btncd(1) then - try_move(1,0,{{orientx=1,orienty=0,px=2},{px=-1}}) + try_move(1,0,{{orientx=1,orienty=0,px=2,py=0},{px=-1}}) elseif btncd(2) then - try_move(0,-1,{{orienty=-1,py=-2},{py=1}}) + try_move(0,-1,{{orienty=-1,px=0,py=-2},{py=1}}) elseif btncd(3) then - try_move(0,1,{{orienty=1,py=2},{py=-1}}) + try_move(0,1,{{orienty=1,px=0,py=2},{py=-1}}) elseif not self.rope and kbd:btnr(4) then local dx,dy=self.orientx,self.orienty if (dy!=0) dx=0