How can I transform an instance variable into a global variable? Long ago, I noticed that if you make a platformer game,add 3 hp to the main character as an instance variable and ways to hurt yourself, hurt yourself in one layout and then go to another layout, my Hero's HP will be 3, not 2. Now that I am remaking my game, I need to make my Hero's HP a global variable without remaking my event sheet everywhere it mentions Hero's HP. I tried to do the same thing in my other game and I screwed the game up, it's glitchy and not working.(It was a bad game anyway...) So, is there a way to transform an instance variable into a global variable?
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL