Add and omit previous random function

Retain the previous random function but comment it out. In case we want
to use it for Gen 3 and Gen 4 battles