Hi,
Is there a way to subscribe / listen to gameVariable updates so my callback will be called upon a change in the variable?
I would not like to exploit Scene_Map.update() for performing frequent comparisons to detect the variable change.
To give a specific context of what I am looking for:
Certain time systems store the current hour in a game variable. I would like to detect that the hour has changed without having to constantly compare the previous value with the current value.
Is there a way to subscribe / listen to gameVariable updates so my callback will be called upon a change in the variable?
I would not like to exploit Scene_Map.update() for performing frequent comparisons to detect the variable change.
To give a specific context of what I am looking for:
Certain time systems store the current hour in a game variable. I would like to detect that the hour has changed without having to constantly compare the previous value with the current value.