Haxway is there to frustrate the player. Its obvious that the computer simply cheats. (I'm only half joking)
For example:
-no rain, no item, no set up: thunder hits three times in a row with a critical hit each time.
-100% accuracy moves miss multiple times in a row, again with no set up or...