shithub: pokecrystal

Download patch

ref: 51ef61e327fba778c41c1042ddd0883c7be12402
parent: 247469f740e97c161cbd5f36a72e69d3c496a659
author: Bryan Bishop <[email protected]>
date: Sun Apr 8 12:20:34 EDT 2012

fix pokemart command parsing for the script at 0x9cac7

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -2497,7 +2497,7 @@
     0x91: ["end"],
     0x92: ["reloadandreturn"],
     0x93: ["resetfuncs"],
-    0x94: ["pokemart", ["dialog_id", SingleByteParam], ["mart_id", SingleByteParam]],
+    0x94: ["pokemart", ["dialog_id", SingleByteParam], ["mart_id", MultiByteParam]], #maybe it should be a pokemark constant id/label?
     0x95: ["elevator", ["floor_list_pointer", PointerLabelParam]],
     0x96: ["trade", ["trade_id", SingleByteParam]],
     0x97: ["askforphonenumber", ["number", SingleByteParam]],