So I have this part where player collects a jetpack and an instance variable on the player sprite 'droid.power_jetpack' needs to toggle.
Default value = false.Here's the event sheet.
First I couldn't figure out, then ran a debug panel and it looks like toggling the boolean is working at random.
I run layout like 3-5 times, then I see it works (goes to 1, when player collects the jetpack) and then run layout again and it doesnt work.
Been kinda frustrating for the last 3 hours.. about 4:00 am here
Anyone knows why this is so!