Why are my variables resetting to 0 when player transfers maps?

I don't have any plugins going. I set a variable to a number, but when player is transfered to a different map, the variable is back to 0. I'm new to all this, but I got the impression variables were global and consistant across maps. If they aren't, how do I go about getting variable data to stick from one map to the next?
What did you do to transfer from one map to another?

Original thread: https://forums.rpgmakerweb.com/threads/why-are-my-variables-resetting-to-0-when-player-transfers-maps.129285/