if (oCharacter.state == 60 && point_distance((x + 8), (y + 16), oCharacter.x, oCharacter.y) < 32) { state = 2 statetime = 0 }