How to make a state machine! | ScratchStats