Arrowproof Wolf - Help


#1

I changed my code several times and I always run out of time.
I also noticed that it seems I do not have a pet, even though I selected one before the game started.

This is my code:

Collect mushrooms.

First, come to the wolf pet and wake up it (say).

hero.say(“Wake up”)
while True:
arrow = hero.findNearest(hero.findEnemyMissiles())
item = hero.findNearestItem()
if item:
hero.moveXY(item.pos.x, item.pos.y)
elif arrow:
pet.catch(arrow)

Please help, I am stuck.
Thanks


#2

Do you have a wolf or not? The level kinda requires a wolf, as the name implies. But if you look at the hints (yeah, these are important) it clearly says,

ArrowProofWolfHint

I wrote no code for the wolf when I did it.

Also, did you just shout from across the clearing or did you follow the directions and, “come to it and say something.”


#3

got it right now!
Thank you!