shithub: pokecrystal

Download patch

ref: 4c3c85d2308558608c8c0f3d1e987ae908fb6948
parent: 51ef61e327fba778c41c1042ddd0883c7be12402
author: Bryan Bishop <[email protected]>
date: Sun Apr 8 12:25:52 EDT 2012

oops forgot to create a command class for writevarcode

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1994,6 +1994,7 @@
     0x1A: "copyvartobyte",
     0x1B: "loadvar",
     0x1C: "checkcode",
+    0x1D: "writevarcode",
     0x1E: "writecode",
     0x1F: "giveitem",
     0x20: "takeitem",
@@ -2004,6 +2005,8 @@
     0x25: "givecoins",
     0x26: "takecoins",
     0x27: "checkcoins",
+    0x28: "addcellnum",
+    0x29: "delcellnum",
     0x2B: "checktime",
     0x2C: "checkpoke",
     0x2D: "givepoke",
@@ -2374,6 +2377,7 @@
     0x1A: ["copyvartobyte", ["address", RAMAddressParam]],
     0x1B: ["loadvar", ["address", RAMAddressParam], ["value", SingleByteParam]],
     0x1C: ["checkcode", ["variable_id", SingleByteParam]],
+    0x1D: ["writevarcode", ["variable_id", SingleByteParam]],
     0x1E: ["writecode", ["variable_id", SingleByteParam], ["value", SingleByteParam]],
     0x1F: ["giveitem", ["item", ItemLabelByte], ["quantity", SingleByteParam]],
     0x20: ["takeitem", ["item", ItemLabelByte], ["quantity", SingleByteParam]],