Display variable in place of step count

I want to add a morale feature into my game.  I created a variable for Morale and have made lots of actions that change morale, but I can't figure out how to display it.  I find the step count feature in the main menu unnecessary, so I tried replacing it with morale in the script editor (I'm new at scripting ), but all I get is a bunch of errors.  Is there any script change that would replace step count with a variable? 
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


It would have helped if you'd shown what you'd done, and what the errors were. We can't see if you were close, but not quite, or if you were totally off. The other thing you'll now have to do is to make sure you've set everything back correctly, because you could still get errors if you don't have it exactly the way it was before.


Basically, find the window that displays $game_party.steps and replace $game_party.steps with $game_variables[id] where id is the variable id, with no leading zeros.


Other responders - note, this is RMXP, not VX Ace.
Your code change worked!  Thanks you so much I was trying since Saturday to figure that out.  And sorry not doing the stuff you said, I'm new to these kinds of forums as well as scripting.

Original thread: https://forums.rpgmakerweb.com/threads/display-variable-in-place-of-step-count.38361/