There's a few ways you could handle this.
You could use a show picture command with a move picture. When the 2 walls close together, turn the player character transparent and place an event there with the gore sprite, then use the move picture command to move the walls back and a move route to change the sprite.
You could also make large wall sprites, attach them to an event and have the event move along the x axis towards the player. This would effectively be the same thing as the show picture command, just an alternate way of handling it.
Speaking of, you could also make a gore picture, then when the character is crushed, turn the player transparent put the gore picture centered on the player (ensuring the anchor is set to center), then use 'move picture' with the scale image width from 0% to x% to give a smoother animation compared to the sprite based method.
You could also combine both the sprite based method and the picture method for the gore, by having the gore itself be a picture, but use a sprite for "particles" such as blood drips and a blood pool.
Anyways, it's not hard to do, but will take a little bit of time getting everything to sync up properly.