ref: 6f8c3e5c3ea2edb80fddd2d17cf689fc1da39120
parent: c98f1166ec32bccf2ac9716a8bfa7b6717957a5c
author: Bryan Bishop <[email protected]>
date: Thu Jul 5 06:05:09 EDT 2012
use decimal output for givepoke in extras/crystal.py
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1947,9 +1947,9 @@
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 ?
}