How Do I "Store / Compare" Variables

Hi,

Does anybody know how to "store" the value of a variable, and then compare the same variable to that value a little while later.

For example, in my game, when the player completes a quest, I would like them to have to wait five days before they receive another. The days are stored in a variable.

Or, when a player plants something, they have to wait ten days for it to grow. Every day, the game compares the day that the plant was planted, and the current day.
If there's a difference of ten, then the plant is harvestable.
you use control variable with another variable to store the current value into that other variable, and then compare the two variables at a later time.
you use control variable with another variable to store the current value into that other variable, and then compare the two variables at a later time.
Okay, I'll try it. Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-store-compare-variables.81295/