im also struggling w a similar issue. line 29 of player_state_machine keeps saying function "changestate()" not found in base self. I checked for errors, restarted the program, etc. and its not working still. i even restarted from scratch twice and it still get this problem.