Here is my code for the final kithmaze. It keeps saying that enemy is undefined. I have reloaded and everything but it just keeps saying that enemy in line 4 is undefined. HOW DO I MAKE THIS STOP. Please help
Good point. One issue with the earlier levels is that they assume you don’t have better equipment than a beginner would have at that stage. So if you equip something that doesn’t have self.findNearestEnemy(), you don’t get a warning about it on the equipment screen.
Can you double-check to make sure that you have the glasses equipped? I’m not really sure what’s going wrong here; the code is fine, but the error message is strange.