From 6f8c3e5c3ea2edb80fddd2d17cf689fc1da39120 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 5 Jul 2012 10:05:09 -0500 Subject: [PATCH] use decimal output for givepoke in extras/crystal.py --- extras/crystal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/crystal.py b/extras/crystal.py index 97ca30c2e..5f664082b 100644 --- a/extras/crystal.py +++ b/extras/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 ? }