please see the picture.
Hm. it looks correct. Could you post the whole your code?
Every time the pet hears something, the pet is saying 3 things. After the first 3 goals complete, the level ends, but at that time, the hero hasn’t actually ‘asked’ the last question (about the moons).
Also Mars has 2 moons.