Hey, I recognise that code... It's my Flappy Bird Typing Tutor (sans typing): https://github.com/mrspeaker/Omega500/tree/master/ex/flapjam
You should have used my flappy-accurate "Wafty Man" code: https://github.com/mrspeaker/wafty-man/ - it has exactly the same rotation and physics as the original ;)