i saw the code for the fighting game you posted and you are missing an " = " sing like

if (on_cul == 1){ " code to move left " then -= 1}
you just wrote the code with only a " - " sign...
i'm trying to get a tutorial for a fighting game too I just don't know how to code around but at least I know most of the sintax..