The Final Kithmaze - "undefined is not a function"


#1

Below is my code:

loop:
    self.moveRight()
    self.moveUp()
    self.moveRight()
    enemy = self.findNearestEnemy()
    self.attack(enemy)
    self.attack(enemy)
    self.moveDown()
    self.moveDown()
    self.moveUp()

I get “Line 2: undefined is not a function.” The code looks correct. Can someone point to me what I am missing exactly?


#2

I just realized I got these new boots and they have the self.moveXY(x,y) function. How do I know which numbers to put?


#3

I just unequiped the old boots and put on the new ones since I couldnt hover over at the time to find the coordinates. thread closed


#4

Sorry about that! We are definitely planning to make it easier to understand when you have a different item from the one you need, and to make it less likely to buy awesome stuff before you can really use it.