Do this:
Create An Event
Create The Action,"Variable Operation"
Create A New Variable And Name It, "Fuel"
Set it To = 500
Press Okay
Create The Action, "Variable Operation"
Create A New Variable And Name It, "Distance"
Set It To The Number Of Steps
Press Okay
Create The Action, "Conditional Branch"
Set It To Check If The Variable, "Fuel" = 0
Under Met Condition, Create The Action, "Message"
Set The Message To Say, "Your Out Of Fuel!"
Create The Action Show Choice
Set Them To Say, "Fuel Up For 60$, Be Towed Away"
Under Fuel Up Case Handler, Create The Action, "Change Money"
Set It To "Money" - "60"
Create The Action, "Teleport"
Set It To Teleport To The Gas Station
Create The Action, "End Event Processing"
Under Be Towed Away Handler, Create The Action, "Teleport"
Set It To Teleport To The Junk Yard
Create The Action, "End Event Processing"
Under Else Case Handler, Create The Action, "Condition Branch"
Set It To Check If The Variable, "Distance" = "1"
Under Met Condition, Create The Action, "Variable Operation"
Set It To Do The Equation, "Fuel" - "Distance"
Then Create The Action, "Variable Operation"
Set The Variable, "Distance" = "0"
Create The Action, "End Event Processing"
Under Else Case Handler, Create The Action, "End Event Processing"