Gens 1 & 2: Fix turn order
Since comparePriority is not on the Battle prototype and gen 1 and 2 mods reference it with this, it was not being used.
Side effect of 27be6a2a6548d53d77c8961e3b4237a0733ed68b