Pet Translator C++

I have reached the level pet translator and I am stuck on this one part. It says “// Your pet should translate commands.” and I have no idea what I am supposed to write. I have never seen this prompt before and the hints/methods don’t help. Maybe its something easy I am missing but I don’t see it. I have looked up online and like normal only can find java and python versions but in their code its not even in it. Any help?

Hi @ValentyP, welcome to the CodeCombat Discourse!

You can disregard that comment, it’s supposed to be at the top of the code, on line 1.

Ok so why doesn’t the code work then.

Try removing the else and all of its contents (lines 33-35)
It slows down your ‘hero’ and your code, and it’s not necessary

I did. My character doesn’t move but gets pushed back and dies.