No idea what you are trying to do here but just from looking at the image, the following advice might help.
Put stuff as subevents and use (system) else. Right click the green arrow on the left side of event sheet trigger event and add blank subevent. Do it twice or more. Then moven stuff there.
Keyboard on right arrow pressed
- if Pikmin frame = 1 ... then set Pikmin frame to 0, Act frame to 1
- else if Act frame = 1 ... then set Act frame to 0, Item frame to 1
- else if Item frame = 1 ... then set Item frame to 0, Mercy frame to 1