I'm gonna try and explain this best I can...
I'm making my own little tweaks to Ghost Shooter. I have a 7 frame sprite, called Bullet Count, that keeps track of ammo. Frame 7 of the animation depicts 6 bullets, 6th frame depicts 5 bullets, etc., down to the 1st frame showing no bullets at all. I also give Bullet Count the private variable, "Frame Number" and set Bullet Count's frame number equal to this variable. When the layout starts, Frame Number is set to 7 (thus making the Bullet Count's animation set to frame 7). When the left mouse button is clicked, a bullet is fired and 1 is subtracted from Frame Number, as long as Frame Number is greater than 1 (again, this would correspond to frame 1 of Bullet Count, which depicts no bullets).
Now, what I want to do is if the conditions aren't met - that is, Frame Number is equal to 1 and the player left clicks - to instead play a "click" sound, as if the gun were empty. I tried using the "else" event, but I couldn't get it to work correctly.
Any idea how I can achieve my goal?