Add encodings for the gift bow and circuit block

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-10 13:51:15 -07:00
parent 823fe4de37
commit 81f7e7fd64

View File

@ -625,6 +625,7 @@ const TILE_ENCODING = {
}, },
0x81: { 0x81: {
name: 'frame_block', name: 'frame_block',
has_next: true,
extra_args: [ extra_args: [
arg_direction, arg_direction,
{ {
@ -647,7 +648,6 @@ const TILE_ENCODING = {
}, },
}, },
], ],
has_next: true,
}, },
0x82: { 0x82: {
name: 'floor_mimic', name: 'floor_mimic',
@ -705,6 +705,18 @@ const TILE_ENCODING = {
name: 'hook', name: 'hook',
has_next: true, 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 = {}; const REVERSE_TILE_ENCODING = {};
for (let [tile_byte, spec] of Object.entries(TILE_ENCODING)) { for (let [tile_byte, spec] of Object.entries(TILE_ENCODING)) {