from .items import *

INVENTORY_MAP = {
    SWORD: "01",
    BOMB: "02",
    POWER_BRACELET: "03",
    SHIELD: "04",
    BOW: "05",
    HOOKSHOT: "06",
    MAGIC_ROD: "07",
    PEGASUS_BOOTS: "08",
    OCARINA: "09",
    FEATHER: "0A",
    SHOVEL: "0B",
    MAGIC_POWDER: "0C",
    BOOMERANG: "0D",
    TOADSTOOL: "0E",
}
CHEST_ITEMS = {
    POWER_BRACELET: 0x00,
    SHIELD: 0x01,
    BOW: 0x02,
    HOOKSHOT: 0x03,
    MAGIC_ROD: 0x04,
    PEGASUS_BOOTS: 0x05,
    OCARINA: 0x06,
    FEATHER: 0x07, SHOVEL: 0x08, MAGIC_POWDER: 0x09, BOMB: 0x0A, SWORD: 0x0B, FLIPPERS: 0x0C,
    MEDICINE: 0x10,
    TAIL_KEY: 0x11, ANGLER_KEY: 0x12, FACE_KEY: 0x13, BIRD_KEY: 0x14, GOLD_LEAF: 0x15,
    RUPEES_50: 0x1B, RUPEES_20: 0x1C, RUPEES_100: 0x1D, RUPEES_200: 0x1E, RUPEES_500: 0x1F,
    SEASHELL: 0x20, MESSAGE: 0x21, GEL: 0x22,
    MAP: 0x16, COMPASS: 0x17, STONE_BEAK: 0x18, NIGHTMARE_KEY: 0x19, KEY: 0x1A,
    ROOSTER: 0x96,

    BOOMERANG: 0x0E,
    SLIME_KEY: 0x0F,

    KEY1: 0x23,
    KEY2: 0x24,
    KEY3: 0x25,
    KEY4: 0x26,
    KEY5: 0x27,
    KEY6: 0x28,
    KEY7: 0x29,
    KEY8: 0x2A,
    KEY9: 0x2B,

    MAP1: 0x2C,
    MAP2: 0x2D,
    MAP3: 0x2E,
    MAP4: 0x2F,
    MAP5: 0x30,
    MAP6: 0x31,
    MAP7: 0x32,
    MAP8: 0x33,
    MAP9: 0x34,

    COMPASS1: 0x35,
    COMPASS2: 0x36,
    COMPASS3: 0x37,
    COMPASS4: 0x38,
    COMPASS5: 0x39,
    COMPASS6: 0x3A,
    COMPASS7: 0x3B,
    COMPASS8: 0x3C,
    COMPASS9: 0x3D,

    STONE_BEAK1: 0x3E,
    STONE_BEAK2: 0x3F,
    STONE_BEAK3: 0x40,
    STONE_BEAK4: 0x41,
    STONE_BEAK5: 0x42,
    STONE_BEAK6: 0x43,
    STONE_BEAK7: 0x44,
    STONE_BEAK8: 0x45,
    STONE_BEAK9: 0x46,

    NIGHTMARE_KEY1: 0x47,
    NIGHTMARE_KEY2: 0x48,
    NIGHTMARE_KEY3: 0x49,
    NIGHTMARE_KEY4: 0x4A,
    NIGHTMARE_KEY5: 0x4B,
    NIGHTMARE_KEY6: 0x4C,
    NIGHTMARE_KEY7: 0x4D,
    NIGHTMARE_KEY8: 0x4E,
    NIGHTMARE_KEY9: 0x4F,

    TOADSTOOL: 0x50,

    GUARDIAN_ACORN: 0x51,

    HEART_PIECE: 0x80,
    BOWWOW: 0x81,
    ARROWS_10: 0x82,
    SINGLE_ARROW: 0x83,

    MAX_POWDER_UPGRADE: 0x84,
    MAX_BOMBS_UPGRADE: 0x85,
    MAX_ARROWS_UPGRADE: 0x86,

    RED_TUNIC: 0x87,
    BLUE_TUNIC: 0x88,
    HEART_CONTAINER: 0x89,
    BAD_HEART_CONTAINER: 0x8A,

    SONG1: 0x8B,
    SONG2: 0x8C,
    SONG3: 0x8D,
    
    INSTRUMENT1: 0x8E,
    INSTRUMENT2: 0x8F,
    INSTRUMENT3: 0x90,
    INSTRUMENT4: 0x91,
    INSTRUMENT5: 0x92,
    INSTRUMENT6: 0x93,
    INSTRUMENT7: 0x94,
    INSTRUMENT8: 0x95,

    TRADING_ITEM_YOSHI_DOLL: 0x97,
    TRADING_ITEM_RIBBON: 0x98,
    TRADING_ITEM_DOG_FOOD: 0x99,
    TRADING_ITEM_BANANAS: 0x9A,
    TRADING_ITEM_STICK: 0x9B,
    TRADING_ITEM_HONEYCOMB: 0x9C,
    TRADING_ITEM_PINEAPPLE: 0x9D,
    TRADING_ITEM_HIBISCUS: 0x9E,
    TRADING_ITEM_LETTER: 0x9F,
    TRADING_ITEM_BROOM: 0xA0,
    TRADING_ITEM_FISHING_HOOK: 0xA1,
    TRADING_ITEM_NECKLACE: 0xA2,
    TRADING_ITEM_SCALE: 0xA3,
    TRADING_ITEM_MAGNIFYING_GLASS: 0xA4,

    PIECE_OF_POWER: 0xA5,
}
