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:
ee76e434119623811ddb2ed63e659d912859fac4_2_517x199
Then paste the code.

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

X and y are not defined.
Some useful links

1 Like