From bbd9b639eea63c0ded0a613c9d2ec56caa4002d0 Mon Sep 17 00:00:00 2001 From: Luke Hubmayer-Werner Date: Wed, 2 Aug 2023 14:34:59 +0930 Subject: [PATCH] Add status colour note --- scripts/loaders/sprite_loader.gd | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/scripts/loaders/sprite_loader.gd b/scripts/loaders/sprite_loader.gd index 1681914..1da1456 100644 --- a/scripts/loaders/sprite_loader.gd +++ b/scripts/loaders/sprite_loader.gd @@ -38,6 +38,22 @@ var character_battle_sprite_palette_disabled_texture: ImageTexture var character_battle_sprite_palette_stone_texture: ImageTexture var weapon_textures = {} +var character_status_palette_replacements = { + 'poison': {4: '$7EDB = #DEB5FF', 8: '$4DD3 = #9C739C'}, # Also kneel + 'zombie': {3: '$7FFF = #FFFFFF', 4: '$3AF5 = #ADBD73', 8: '$3210 = #848463'}, # Also kneel in menu + # Darkness None + 'old': {5: '$5294 = #A5A5A5', 9: '$4210 = #848484'}, + # Sleep None, Paralyze None, Charm None + 'berserk': {4: '$013F = #FF4A00', 8: '$001F = #FF0000'}, + # Mute None, Image None + 'wall': {1: '$6A60 = #009CD6'}, # Strobe between normal ($1084 = #212121) and this aqua at 30Hz (2 frames each) + 'armor': {1: '$031F = #FFC600'}, # Strobe between normal ($1084 = #212121) and this orange at 30Hz (2 frames each) + 'shell': {1: '$0B64 = #21DE10'}, # Strobe between normal ($1084 = #212121) and this green 30Hz (2 frames each) + 'stop': {1: '$001A = #D60000'}, # Strobe between normal ($1084 = #212121) and this aqua at 30Hz (2 frames each) + 'haste': {1: '$017F = #FF5A00'}, # Strobe between normal ($1084 = #212121) and this orange at 30Hz (2 frames each) + 'slow': {1: '$7FFF = #FFFFFF'}, # Strobe between normal ($1084 = #212121) and this green 30Hz (2 frames each) +} + static func ByteArray(size: int) -> PoolByteArray: var arr := PoolByteArray() arr.resize(size)