kenLMP is undefined and it says that player1State is not defined. The line its refrencing is 487
else if(!rightPressed && !leftPressed &&
player1State.state != "kenLMP" &&
player1State.state != "kenLMPMirror" &&
player1State.state != "kenHP" &&
player1State.state != "kenHPMirror" &&
player1State.state != "kenLMK" &&
player1State.state != "kenLMKMirror" &&
player1State.state != "kenHK" &&
player1State.state != "kenHKMirror"
)
487 is the 2nd line, again i do not know what defined/ undefined means. Ive been following a youtube tutorial for this and ive gone through the entire code multiple times and I can't find anything wrong with it. I'm on the verge of pulling my hair out this is sooooo fustrating. plzzz help!