Because of the way Construct works it runs the first event then when it gets to the second event the animation opening condition is true so it also runs the second event. Way to fix it is to use a sub-event (press S) and indent the conditions using an Else, so it reads animation On is playing ELSE animation Opening is playing.