Is that error telling you that the enemy can not be found? Something like their may not always be an enemy so use an if statement?
The code looks great. The problem is in the second part of the battle against the enemy. The first part of the battle against the enemy works.
So why the second battle, does not work?
Kithgard Dungeon Level Help
I tried to rewrite my code in several things, and if i get my hero stuck.