Hmm, strange, my code is identical to yours(nearly).
Try changing this line
hero.move(gemA.pos);
to this
hero.moveXY(gemA.pos.x, gemB.pos.y);
Same with B stone.
In other your code is same as mine(I passed this level)
Hmm, strange, my code is identical to yours(nearly).
Try changing this line
hero.move(gemA.pos);
to this
hero.moveXY(gemA.pos.x, gemB.pos.y);
Same with B stone.
In other your code is same as mine(I passed this level)