Calling the label on all screens
Posted: Wed Feb 17, 2021 12:23 pm
I have a variable label, basically these variables control some aspects within my game.
I have a loop that performs an event check, and before the loop I execute the calling of these variables, however during the game, I need to create new variables and find that I have to restart the whole game so that my variable is defined, or call the label at the beginning of my new script file.
To avoid having to call this, I put my variable variable inside my loop but even so it doesn't work, how do I make the variable available to me at any time during development, without having to call it again?
I have a loop that performs an event check, and before the loop I execute the calling of these variables, however during the game, I need to create new variables and find that I have to restart the whole game so that my variable is defined, or call the label at the beginning of my new script file.
To avoid having to call this, I put my variable variable inside my loop but even so it doesn't work, how do I make the variable available to me at any time during development, without having to call it again?
Code: Select all
label variables:
$ varA = 0
$ varB = 1
return
label loop:
while runing:
call variables
call event
return