Pick what Gen that you want to find in your game !
This script uses Switches
Script OC: Umbreon
This script uses Switches
Script OC: Umbreon
Code:
################################################################################
# Pokemon Level Balancing - By Umbreon
# Modded - Zeak6464
################################################################################
# Balances any and all pokemon's levels towards the player's party level.
#
# NOTE: This won't affect any pokemon the player owns.
#
# To use: simply activate Switch Number X
# (X = the number listed After "Switch = ", default is switch number 37.)
#
#
################################################################################
module LevelBalance
Switch = 226 # The switch used to activate/deactivate the level balancing
end
module Random
Switch = 227 # The switch used to activate/deactivate the Randomizer
end
module G1
Switch = 201 # The switch used to activate/deactivate the Gen 1 Randomizer
end
module G2
Switch = 202 # The switch used to activate/deactivate the Gen 2 Randomizer
end
module G3
Switch = 203 # The switch used to activate/deactivate the Gen 3 Randomizer
end
module G4
Switch = 204 # The switch used to activate/deactivate the Gen 4 Randomizer
end
module G5
Switch = 205 # The switch used to activate/deactivate the Gen 5 Randomizer
end
module G6
Switch = 206 # The switch used to activate/deactivate the Gen 6 Randomizer
end
module G7
Switch = 207 # The switch used to activate/deactivate the Gen 7 Randomizer
end
class PokeBattle_Pokemon
alias balanced_level_init initialize
def initialize(species,level,player=nil,withMoves=true)
if $game_switches && $game_switches[LevelBalance::Switch] && $Trainer && $Trainer.party.length > 0
level = pbBalancedLevel($Trainer.party)
end
if $game_switches && $game_switches[Random::Switch]
level = pbBalancedLevel($Trainer.party)
species = 1+ rand(PBSpecies.maxValue)
end
if $game_switches && $game_switches[G1::Switch]
level = pbBalancedLevel($Trainer.party)
species = rand(1..151)
end
if $game_switches && $game_switches[G2::Switch]
level = pbBalancedLevel($Trainer.party)
species = rand(152..251)
end
if $game_switches && $game_switches[G3::Switch]
level = pbBalancedLevel($Trainer.party)
species = rand(252..386)
end
if $game_switches && $game_switches[G4::Switch]
level = pbBalancedLevel($Trainer.party)
species = rand(387..493)
end
if $game_switches && $game_switches[G5::Switch]
level = pbBalancedLevel($Trainer.party)
species = rand(494..649)
end
if $game_switches && $game_switches[G6::Switch]
level = pbBalancedLevel($Trainer.party)
species = rand(650..721)
end
if $game_switches && $game_switches[G7::Switch]
level = pbBalancedLevel($Trainer.party)
species = rand(722..809)
end
balanced_level_init(species, level, player, withMoves)
end
end
Last edited: