Need help for Twisted Canyon

I cant get the chest in twisted canyon I got every single coin except the chest.

Welcome to the discourse @Nommoreshield

Would you please post your code? Dont forget to format it with </>

Thanks

1 Like
hero.moveLeft()
hero.moveDown()
hero.moveRight(3)
hero.moveUp(2)
hero.moveDown(2)
hero.attack("Door")
hero.moveRight(2)
hero.moveLeft(2)
hero.moveUp()

hero.moveRight()
hero.moveUp()
hero.moveRight()
hero.moveUp(2)
hero.attack("Iyert")
hero.moveLeft(2)
hero.moveRight(2)
hero.moveDown()
hero.moveRight()
hero.moveUp()
hero.moveRight()
hero.moveUp(2)
hero.attack("Merna")
hero.moveLeft(2)
hero.moveRight(2)
hero.moveDown(2)
hero.moveLeft()
hero.moveDown()
hero.moveLeft()
hero.moveDown()
hero.moveLeft()
hero.moveDown()
hero.moveLeft()
hero.moveUp()
enemy = hero.findNearestEnemy()
if enemy: 
    hero.attack(enemy)
hero.moveLeft(2)
hero.moveRight(2)
hero.moveDown(2)
hero.moveLeft(3)
hero.moveUp()
hero.moveRight(2)
hero.attack("Chest")



my code