Ah yes, sorry... I should have removed that. That was another direction I was going to go in, to have the variable change if the player was touching the ground. If you want to add a global variable, just right click above event 1. You can call the variable from the system settings.
You can delete it, it's not being used.