summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-07-05 10:05:09 -0500
committerBryan Bishop <kanzure@gmail.com>2012-07-05 10:25:33 -0500
commit107fc14663c33996b4c726cff9b8f9db11c1d255 (patch)
tree7527e4f3eee3894d1b616c4764de5d234f72a9c8 /crystal.py
parent2a0389e3842741740ab2809fd0a7149610f8fb32 (diff)
use decimal output for givepoke in extras/crystal.py
original-commit-id: 6f8c3e5c3ea2edb80fddd2d17cf689fc1da39120
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/crystal.py b/crystal.py
index 97ca30c..5f66408 100644
--- a/crystal.py
+++ b/crystal.py
@@ -1947,9 +1947,9 @@ class GivePoke(Command):
end = False
param_types = {
0: {"name": "pokemon", "class": PokemonParam},
- 1: {"name": "level", "class": SingleByteParam},
+ 1: {"name": "level", "class": DecimalParam},
2: {"name": "item", "class": ItemLabelByte},
- 3: {"name": "trainer", "class": SingleByteParam},
+ 3: {"name": "trainer", "class": DecimalParam},
4: {"name": "trainer_name_pointer", "class": MultiByteParam}, #should probably use TextLabelParam
5: {"name": "pkmn_nickname", "class": MultiByteParam}, #XXX TextLabelParam ?
}