The code is to move your head, use a little footwork and counter. Both Pac and khan can't fight on the inside they just cover up but khan is completely clueless when he gets close.