Protected
gameOptional
mysteryIf the current battle is a Mystery Encounter, this will always be defined
Optional
mysteryThe number of times a Pokemon on the player's side has fainted this battle
Returns if the battle is of type BattleType.MYSTERY_ENCOUNTER
Generates a random number using the current battle's seed. Calls Utils.randSeedInt
How large of a range of random numbers to choose from. If range <= 1, returns min
The minimum integer to pick, default 0
A random integer between min and (min + range - 1)
The number of times a Pokemon on the enemy's side has fainted this battle