It is the last obstacle, so you'll on need to use the code twice.
Code: Select all
("x = " .. party.x .. " / y = " .. party.y .. " / facing = " .. party.facing .. " / elevation = " .. party.elevation .. " / level = " .. party.level)
If that codes is too hard to understand, then look around this forum for another player movement code.
It should work. I hope I've helped you, Lightangels.