summaryrefslogtreecommitdiffstats
path: root/pokemod/PokemonMove.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2007-05-23 02:24:14 +0000
committerBen Boeckel <MathStuf@gmail.com>2007-05-23 02:24:14 +0000
commit1a4b623c8ecb9d0c7d991312c12d78be4a68eff2 (patch)
tree97e260380c334f8f55ac6d82f174ce8604d7dd6c /pokemod/PokemonMove.cpp
parente858d98977a09b3c8faf4df87ada4abc1399e8e5 (diff)
downloadsigen-1a4b623c8ecb9d0c7d991312c12d78be4a68eff2.tar.gz
sigen-1a4b623c8ecb9d0c7d991312c12d78be4a68eff2.tar.xz
sigen-1a4b623c8ecb9d0c7d991312c12d78be4a68eff2.zip
Added more PokéMod modules
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@13 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/PokemonMove.cpp')
-rw-r--r--pokemod/PokemonMove.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemod/PokemonMove.cpp b/pokemod/PokemonMove.cpp
index 6af754d7..39709094 100644
--- a/pokemod/PokemonMove.cpp
+++ b/pokemod/PokemonMove.cpp
@@ -38,7 +38,7 @@ PokeGen::PokeMod::PokemonMove::PokemonMove(Ini &ini, unsigned _id)
{
LogCtorIni("PokemonMove", _id);
ImportIni(ini);
- if(_id == UINT_MAX)
+ if (id == UINT_MAX)
LogIdError("PokemonMove");
}
@@ -114,11 +114,11 @@ void PokeGen::PokeMod::PokemonMove::ImportIni(Ini &ini, unsigned _id)
LogImportOver("PokemonMove", id);
}
-void PokeGen::PokeMod::PokemonMove::ExportIni(std::ofstream &fout) const
+void PokeGen::PokeMod::PokemonMove::ExportIni(std::ofstream &fout, const String &pokemon) const
{
LogExportStart("PokemonMove", id);
// Make elements
- Ini exPokemonMove("pokemonMove");
+ Ini exPokemonMove(pokemon + " pokemonMove");
exPokemonMove.AddField("id", id);
exPokemonMove.AddField("move", move);
exPokemonMove.AddField("level", level);