Finite State Machine for GameMaker · By Sohom Sahaun
Couldn't get it to work.
I did finally get it to work by renaming the "move_and_collide" function...