if (oCharacter.state == 50) { with (oCharacter) { state = 24 statetime = 0 yVel = -6 fixedy = 60 } }