summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
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 ?
}