use decimal output for givepoke in extras/crystal.py

This commit is contained in:
Bryan Bishop 2012-07-05 10:05:09 -05:00
parent c98f1166ec
commit 6f8c3e5c3e
1 changed files with 2 additions and 2 deletions

View File

@ -1947,9 +1947,9 @@ class GivePoke(Command):
end = False end = False
param_types = { param_types = {
0: {"name": "pokemon", "class": PokemonParam}, 0: {"name": "pokemon", "class": PokemonParam},
1: {"name": "level", "class": SingleByteParam}, 1: {"name": "level", "class": DecimalParam},
2: {"name": "item", "class": ItemLabelByte}, 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 4: {"name": "trainer_name_pointer", "class": MultiByteParam}, #should probably use TextLabelParam
5: {"name": "pkmn_nickname", "class": MultiByteParam}, #XXX TextLabelParam ? 5: {"name": "pkmn_nickname", "class": MultiByteParam}, #XXX TextLabelParam ?
} }