- 423
- Posts
- 14
- Years
- Seen Aug 31, 2023
ok i do know that there is a common event example in essentials for calling prof oak to get a rating but I made this before i realized so if anyone would like to use it then feel free if not then dont
what this script does is checks how many species there are and gives you a new message for around every 10% caught
Code:
def pbdexrate
Kernel.pbMessage(_INTL("You have Own {1} Pokémon and you Seen {2} Pokémon",$Trainer.pokedexOwned,$Trainer.pokedexSeen))
$game_variables[27] = $Trainer.pokedexOwned
$game_variables[28] = $Trainer.pokedexSeen
if $game_variables[27] == PBSpecies.maxValue
Kernel.pbMessage(_INTL("Your PokéDex is entirely complete Congratulations!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 90
Kernel.pbMessage(_INTL("Outstanding! You've become a real pro at this!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 80
Kernel.pbMessage(_INTL("I'm impressed! It must have been difficult to do!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 70
Kernel.pbMessage(_INTL("Wonderful!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 60
Kernel.pbMessage(_INTL("Very good!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 50
Kernel.pbMessage(_INTL("OH! This is getting even better!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 40
Kernel.pbMessage(_INTL("Looking good!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 30
Kernel.pbMessage(_INTL("Good, you're trying hard!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 20
Kernel.pbMessage(_INTL("You still need more POKéMON!"))
else
if $game_variables[27] > (PBSpecies.maxValue / 100) * 10
Kernel.pbMessage(_INTL("You're on the right track!"))
else
Kernel.pbMessage(_INTL("You still have lots to do. Look for POKéMON in grassy areas!"))
end
end
end
end
end
end
end
end
end
end
end