Today I was working on my fangame when I found a really weird sprite glitch. One of my traps uses a fish object (Cheep-Cheep) that faces up, and when it hits a certain point it is supposed to look down and move off screen. To make him do this "animation" I am using the sprite_index command, but when I load the game the fish is replaced with the first sprite for the kid. Is there any way to stop this or another way to change sprites?
Images:
Code: