summaryrefslogtreecommitdiffstats
path: root/pokemod/MapWildListPokemon.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2007-10-26 20:46:09 +0000
committerBen Boeckel <MathStuf@gmail.com>2007-10-26 20:46:09 +0000
commit4385af885daf460a18e236f08509358f764b2c8c (patch)
tree6c2838312dd7f42769280e24e8abc16b53c165cb /pokemod/MapWildListPokemon.cpp
parent1f08afc80c73087bf9bde639754670548b89fc9f (diff)
Reverted repo back to rev24 because committing of rev25 messed up
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@26 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/MapWildListPokemon.cpp')
-rw-r--r--pokemod/MapWildListPokemon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemod/MapWildListPokemon.cpp b/pokemod/MapWildListPokemon.cpp
index 92dc3112..896dcdf4 100644
--- a/pokemod/MapWildListPokemon.cpp
+++ b/pokemod/MapWildListPokemon.cpp
@@ -1,6 +1,6 @@
/////////////////////////////////////////////////////////////////////////////
// Name: pokemod/MapWildListPokemon.cpp
-// Purpose: Define a species that can be found in the wild
+// Purpose: Define a Pokémon that can be found in the wild
// Author: Ben Boeckel
// Modified by: Ben Boeckel
// Created: Tue Mar 20 18:50:59 2007
@@ -39,7 +39,7 @@ PokeGen::PokeMod::MapWildListPokemon::MapWildListPokemon(const Pokemod* par, Ini
bool PokeGen::PokeMod::MapWildListPokemon::Validate()
{
pokemod->ValidationMsg(QString("---------Pokémon with id %1---").arg(id), Pokemod::V_Msg);
- if (pokemod->GetSpeciesByID(species) == UINT_MAX)
+ if (pokemod->GetPokemonByID(species) == UINT_MAX)
{
pokemod->ValidationMsg("Invalid species");
isValid = false;
@@ -80,7 +80,7 @@ void PokeGen::PokeMod::MapWildListPokemon::ExportIni(QFile& fout, const QString&
bool PokeGen::PokeMod::MapWildListPokemon::SetSpecies(const unsigned s)
{
- if (pokemod->GetSpeciesByID(s) != UINT_MAX)
+ if (pokemod->GetPokemonByID(s) != UINT_MAX)
{
species = s;
return true;