Tyhm's Classic Quest Bush is broken

It looks like the 2.2.2 graal version doesn’t like images that change x and y during transportation, do you guys know a quick fix for this?

In short, the explosion always occurs relative to the starting x/y position, so always at the same spot.

There is also another kind of bush that needs to be displaced that has the same problem.

You can get the level there: http://d.pr/f/NvDy

if(created){
canbecarried;
}

if(playerenters&&isleader||bushesreset==1){
x=26;
y=36;
showlocal;
blockagainlocal;
}

if (washit || exploded) {
putleaps 0,x,y;
hide;
dontblock;
sleep 1;
show;
blockagain;
}

if (wasthrown) {
unset carriesaredbush;
putleaps 0,x,y;
putexplosion 9,x-2,y+2;
putexplosion 9,x-2,y-2;
putexplosion 9,x+2,y-2;
putexplosion 9,x+2,y+2;
hide;
dontblock;
x=26;
y=36;
sleep 1;
show;
blockagain;
}

As always, thank you guys!

if(created){
  canbecarried;
}

if(playerenters&&isleader||bushesreset==1){
  x=26;
  y=36;
  showlocal;
  blockagainlocal;
}

if (washit || exploded) {
  putleaps 0,x,y;
  hide;
  dontblock;
  sleep 1;
  show;
  blockagain;
}

if (wasthrown) {
  x = playerx + 0.5 + vecx(playerdir)*6;
  y = playery + 1 + vecy(playerdir)*6;
  unset carriesaredbush;
  putleaps 0,x,y;
  putexplosion 9,x-2,y+2;
  putexplosion 9,x-2,y-2;
  putexplosion 9,x+2,y-2;
  putexplosion 9,x+2,y+2;
  hide;
  dontblock;
  //x=26;
  //y=36;
  sleep 1;
  show;
  blockagain;
}

Pretty simple fix once you figure out why it’s happening. Just update the x and y values relative to where the player threw the bush from and in what direction.

Ok thx!

I thought about that solution, but I wondered if the reason it didnt work like before was something like unrecognized syntax by the picky gserver.

Thanks a lot for constantly helping me with my old code!

It now works perfectly!