I want to be able to change a variable each time a character levels up where character 1 changes variable 1 and 2 changes variable 2, but I do not know how to do it because actors are 3 numbers (001) and variables are 4 (0001) so I can't say:
$game_variables[$actor_id - 3] += 1
If you could help, I would be very appreciated