From 0e75ecc837d5225edcd0f68d8ab6b351f581fd48 Mon Sep 17 00:00:00 2001 From: Estebanfer Date: Fri, 6 Oct 2023 23:52:24 -0300 Subject: [PATCH] add tilecodes to valid, fix poison sheet --- src/modlunky2/levels/tile_codes.py | 5 +++++ src/modlunky2/sprites/tilecode_extras.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/modlunky2/levels/tile_codes.py b/src/modlunky2/levels/tile_codes.py index 8ad2a2647..8a4fc378a 100644 --- a/src/modlunky2/levels/tile_codes.py +++ b/src/modlunky2/levels/tile_codes.py @@ -403,6 +403,11 @@ "punishball_attach_top", "punishball_attach_left", "punishball_attach_right", + "arrow_wooden", + "arrow_metal", + "arrow_wooden_poison", + "arrow_metal_poison", + "venom", ] ) diff --git a/src/modlunky2/sprites/tilecode_extras.py b/src/modlunky2/sprites/tilecode_extras.py index 829fdc183..1e150d33b 100644 --- a/src/modlunky2/sprites/tilecode_extras.py +++ b/src/modlunky2/sprites/tilecode_extras.py @@ -128,10 +128,10 @@ class StickyTrapSheet(BaseSpriteLoader): class PoisonSheet(BaseSpriteLoader): - _sprite_sheet_path = Path("static/images/arrows_poison.png") + _sprite_sheet_path = Path("static/images/venom.png") _chunk_size = 128 _chunk_map = { - "venom": (4, 0, 5, 1), + "venom": (0, 0, 1, 1), }