BlackListedPokemon = [
PBSpecies::MOLTRES,
PBSpecies::ARTICUNO,
PBSpecies::ZAPDOS,
PBSpecies::MEWTWO,
PBSpecies::MEW,
PBSpecies::RAIKOU,
PBSpecies::ENTEI,
PBSpecies::SUICUNE,
PBSpecies::LUGIA,
PBSpecies::HOOH,
PBSpecies::CELEBI,
PBSpecies::REGIROCK,
PBSpecies::REGICE,
PBSpecies::REGISTEEL,
PBSpecies::LATIOS,
PBSpecies::LATIAS,
PBSpecies::KYOGRE,
PBSpecies::GROUDON,
PBSpecies::RAYQUAZA,
PBSpecies::JIRACHI,
PBSpecies::DEOXYS,
PBSpecies::UXIE,
PBSpecies::MESPRIT,
PBSpecies::AZELF,
PBSpecies::DIALGA,
PBSpecies::PALKIA,
PBSpecies::GIRATINA,
PBSpecies::REGIGIGAS,
PBSpecies::HEATRAN,
PBSpecies::CRESSELIA,
PBSpecies::DARKRAI,
PBSpecies::GENESECT,
PBSpecies::VOLCANION,
PBSpecies::HOOPA,
PBSpecies::COBALION,
PBSpecies::TERRAKION,
PBSpecies::VIRIZION,
PBSpecies::TORNADUS,
PBSpecies::THUNDURUS,
PBSpecies::RESHIRAM,
PBSpecies::ZEKROM,
PBSpecies::LANDORUS,
PBSpecies::KYUREM,
PBSpecies::XERNEAS,
PBSpecies::YVELTAL,
PBSpecies::ZYGARDE,
PBSpecies::TYPENULL,
PBSpecies::SILVALLY,
PBSpecies::TAPUKOKO,
PBSpecies::TAPULELE,
PBSpecies::TAPUBULU,
PBSpecies::TAPUFINI,
PBSpecies::COSMOG,
PBSpecies::COSMOEM,
PBSpecies::SOLGALEO,
PBSpecies::LUNALA,
PBSpecies::NECROZMA,
PBSpecies::POIPOLE,
PBSpecies::NAGANADEL,
PBSpecies::STAKATAKA,
PBSpecies::BLACEPHALON,
PBSpecies::GUZZLORD,
PBSpecies::KARTANA,
PBSpecies::CELESTEELA,
PBSpecies::XURKITREE,
PBSpecies::PHEROMOSA,
PBSpecies::BUZZWOLE,
PBSpecies::NIHILEGO,
PBSpecies::PHIONE,
PBSpecies::MANAPHY,
PBSpecies::SHAYMIN,
PBSpecies::VICTINI,
PBSpecies::KELDEO,
PBSpecies::MELOETTA,
PBSpecies::DIANCIE,
PBSpecies::MARSHADOW,
PBSpecies::MAGEARNA,
PBSpecies::ZERAORA,
PBSpecies::MELTAN,
PBSpecies::ARCEUS,
PBSpecies::BULBASAUR,
PBSpecies::CHARMANDER,
PBSpecies::SQUIRTLE,
PBSpecies::CYNDAQUIL,
PBSpecies::CHIKORITA,
PBSpecies::TOTODILE,
PBSpecies::TREECKO,
PBSpecies::TORCHIC,
PBSpecies::MUDKIP,
PBSpecies::TURTWIG,
PBSpecies::CHIMCHAR,
PBSpecies::PIPLUP,
PBSpecies::SNIVY,
PBSpecies::TEPIG,
PBSpecies::OSHAWOTT,
PBSpecies::CHESPIN,
PBSpecies::FENNEKIN,
PBSpecies::FROAKIE,
PBSpecies::ROWLET,
PBSpecies::LITTEN,
PBSpecies::POPPLIO,
]
# Pokemon to Black List. Any pokemon in here will NEVER appear.
WhiteListedPokemon = []
# Leave this empty if all pokemon are allowed, otherwise only pokemon listed
# above will be selected.
end
######################### Do not edit anything below here.
class PokeBattle_Pokemon
alias randomized_init initialize
def initialize(species,level,player=nil,withMoves=true)
if $game_switches && $game_switches[RandomizedChallenge::Switch]
species = RandomizedChallenge::WhiteListedPokemon.shuffle[0]
if RandomizedChallenge::WhiteListedPokemon.length == 0
species = rand(PBSpecies.maxValue - 1) + 1
while RandomizedChallenge::BlackListedPokemon.include?(species)
species = rand(PBSpecies.maxValue - 1) + 1
end
end
end
randomized_init(species, level, player, withMoves)
end
end