Here I got it down from 96 to 37 but there is more that could be done. e.g. use a Family for the sprites, but I don't know if you have the full version. Also I use Functions a lot normally, but I didn't bother here.
Main things are:
1. Use arrays. Don't store values directly in your events. Then instead of If x is 1 do this else if x is 2 do that, etc. you can just have one line using x as an index to an array. In my file I've used multiple 1D arrays but you could use a 2D array as well. You could also load the values from JSON but I've just directly coded them on startup.
2. Look for repeating patterns in your events, and factor out the common stuff (then see point 1)
3. Use states (e.g 0=idle, 1=running) and act on the states, not directly on the player actions.