Hello! I'm working on a shooter and got stuck with something simple, I hope you can help me.
--
The character have 2 weapons, one called buster and the other a homing attack.
I created 2 global variables (Buster level (1-3), and Homing level (1-3)).
So if the buster is set to 1 and above and homing to 0 it will shoot the buster. And if the homing is set to 1 and above and the buster to 0 it will shoot the homing.
When I press A to change the values it works on the first time, but not on the second time.
For example:
1)Press A;
2) If buster is set to 1, change it to 0 and change homing to 1. <<--- Ok, it works;
3) If homing is set to 1, change it to 0 and change buster to 0. <<--- The same thing, but don't work.
--
The strange thing is that if i change the order of the events, only the first one works. I'm getting frustrated here, trying to solve this thing.
Can you guys help me out?