summaryrefslogtreecommitdiffstats
path: root/sigscript/SpeciesWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-09-25 22:55:25 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-09-25 22:55:25 +0000
commit64730b32e2c595469eb23e9cd40332b4a80e3e27 (patch)
treea75a17a7c7ac78e2e323e1cdecef8f6a3939f844 /sigscript/SpeciesWrapper.cpp
parent4c4fdc8d4540bd1bd52021b502f05f27a8ef98e1 (diff)
downloadsigen-64730b32e2c595469eb23e9cd40332b4a80e3e27.tar.gz
sigen-64730b32e2c595469eb23e9cd40332b4a80e3e27.tar.xz
sigen-64730b32e2c595469eb23e9cd40332b4a80e3e27.zip
[FIX] Removed *_End defines
[FIX] Added weights to items and associated fields [FIX] Option for pausing during ATB battles when choosing moves added git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@267 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigscript/SpeciesWrapper.cpp')
-rw-r--r--sigscript/SpeciesWrapper.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/sigscript/SpeciesWrapper.cpp b/sigscript/SpeciesWrapper.cpp
index 5f1b1a72..42a46a50 100644
--- a/sigscript/SpeciesWrapper.cpp
+++ b/sigscript/SpeciesWrapper.cpp
@@ -100,6 +100,11 @@ int Sigscript::SpeciesWrapper::catchValue() const
return m_species->catchValue();
}
+int Sigscript::SpeciesWrapper::maxHoldWeight() const
+{
+ return m_species->maxHoldWeight();
+}
+
Sigmod::Fraction Sigscript::SpeciesWrapper::runChance() const
{
if (hasValueOfType<Sigmod::Fraction>("runChance"))