From 81f7e7fd641077e6b7329e8b8631dfb1c75151d2 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Thu, 10 Dec 2020 13:51:15 -0700 Subject: [PATCH] Add encodings for the gift bow and circuit block --- js/format-c2g.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/js/format-c2g.js b/js/format-c2g.js index dc4b403..99f0566 100644 --- a/js/format-c2g.js +++ b/js/format-c2g.js @@ -625,6 +625,7 @@ const TILE_ENCODING = { }, 0x81: { name: 'frame_block', + has_next: true, extra_args: [ arg_direction, { @@ -647,7 +648,6 @@ const TILE_ENCODING = { }, }, ], - has_next: true, }, 0x82: { name: 'floor_mimic', @@ -705,6 +705,18 @@ const TILE_ENCODING = { name: 'hook', has_next: true, }, + + // LL-specific tiles + 0xe0: { + name: 'gift_bow', + has_next: true, + }, + 0xe1: { + name: 'circuit_block', + has_next: true, + modifier: modifier_wire, + extra_args: [arg_direction], + }, }; const REVERSE_TILE_ENCODING = {}; for (let [tile_byte, spec] of Object.entries(TILE_ENCODING)) {