From 4c3c85d2308558608c8c0f3d1e987ae908fb6948 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 8 Apr 2012 16:25:52 -0500 Subject: [PATCH] oops forgot to create a command class for writevarcode --- extras/crystal.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/crystal.py b/extras/crystal.py index 1ca4de6cb..6f5628bfd 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -1994,6 +1994,7 @@ pksv_crystal = { 0x1A: "copyvartobyte", 0x1B: "loadvar", 0x1C: "checkcode", + 0x1D: "writevarcode", 0x1E: "writecode", 0x1F: "giveitem", 0x20: "takeitem", @@ -2004,6 +2005,8 @@ pksv_crystal = { 0x25: "givecoins", 0x26: "takecoins", 0x27: "checkcoins", + 0x28: "addcellnum", + 0x29: "delcellnum", 0x2B: "checktime", 0x2C: "checkpoke", 0x2D: "givepoke", @@ -2374,6 +2377,7 @@ pksv_crystal_more = { 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]],