- Edited
I changed everything you said in the state machine and made it much smaller, but this is all that's in my state class's script:
Could the issue be that all the enemy states that extend state use super() for their ready, enter_state, and exit_state functions?
EDIT: I was wrong, they do not use super(). However, this is leaving me super confused. I've also found out that the freezing doesn't happen when I have 2 of the same enemy. It only happens with 2 different enemies. Also, if I'm correct, if current_state:
returns true if current_state has a value and false if it doesn't.