Hi, I am doing level 24 and stuck at this code. Could anyone help me?

hi, @Kenneth1017 , welcome to the codecombat discourse!! :partying_face: :partying_face:
you can get help, share ideas or chat with coders here!!
So firstly you will need to learn how to format your code:
Then paste the code.

ogre = game.spawnXY(“munchkin”,x,y)

X and y are not defined.
Some useful links

1 Like