Creative use of what I'm assuming is RPG Maker? The guard spotting didn't quite line up but I'm guessing the two events were alternating for collision and the guard turning his head.
There was also a hit box problem with the spikes. I'm guessing the image didn't line up with the bottom of the collision box. You could probably open the image in paint and rectangle selection it to stretch it down to fill it to the event size.
Good effort and the story was neat!