#ifndef ITEM_H #define ITEM_H #include "global.h" #include "entity.h" typedef struct { u8 unk; u8 behaviorID; u8 unk2; u8 unk3; u8 stateID; u8 filler[4]; u8 unk4; u8 filler2[4]; u8 unk5; } ItemBehavior; void extern CellOverwriteSet(ItemBehavior*, u32); void extern Sword(ItemBehavior*, u32); void extern Sword(ItemBehavior*, u32); void extern Sword(ItemBehavior*, u32); void extern Sword(ItemBehavior*, u32); void extern Sword(ItemBehavior*, u32); void extern Sword(ItemBehavior*, u32); void extern Bomb(ItemBehavior*, u32); void extern Bomb(ItemBehavior*, u32); void extern Bow(ItemBehavior*, u32); void extern Bow(ItemBehavior*, u32); void extern sub_08075D14(ItemBehavior*, u32); void extern sub_08075D14(ItemBehavior*, u32); void extern Shield(ItemBehavior*, u32); void extern Shield(ItemBehavior*, u32); void extern Lantern(ItemBehavior*, u32); void extern Lantern(ItemBehavior*, u32); void extern GustJar(ItemBehavior*, u32); void extern PacciCane(ItemBehavior*, u32); void extern MoleMitts(ItemBehavior*, u32); void extern RocsCape(ItemBehavior*, u32); void extern sub_08076800(ItemBehavior*, u32); void extern CellOverwriteSet(ItemBehavior*, u32); void Ocarina(ItemBehavior*, u32); void extern CellOverwriteSet(ItemBehavior*, u32); void extern CellOverwriteSet(ItemBehavior*, u32); void extern CellOverwriteSet(ItemBehavior*, u32); void extern TryPickupObject(ItemBehavior*, u32); void extern JarEmpty(ItemBehavior*, u32); void extern JarEmpty(ItemBehavior*, u32); void extern JarEmpty(ItemBehavior*, u32); void extern JarEmpty(ItemBehavior*, u32); /* On hold until naming conflicts are resolved */ /* enum { Untyped, SmithSword = 0x01, GreenSword = 0x02, RedSword = 0x03, BlueSword = 0x04, // UnusedSword = 0x05, FourSword = 0x06, Bombs = 0x07, RemoteBombs = 0x08, Bow = 0x09, LightArrow = 0x0A, Boomerang = 0x0B, MagicBoomerang = 0x0C, Shield = 0x0D, MirrorShield = 0x0E, LanternOff = 0x0F, GustJar = 0x11, PacciCane = 0x12, MoleMitts = 0x13, RocsCape = 0x14, PegasusBoots = 0x15, FireRod = 0x16, Ocarina = 0x17, GreenOrb = 0x18, BlueOrb = 0x19, RedOrb = 0x1A, Trap = 0x1B, Bottle1 = 0x1C, Bottle2 = 0x1D, Bottle3 = 0x1E, Bottle4 = 0x1F, BottleEmpty = 0x20, BottleButter = 0x21, BottleMilk = 0x22, BottleHalfMilk = 0x23, BottleRedPotion = 0x24, BottleBluePotion = 0x25, BottleWater = 0x26, BottleMineralWater = 0x27, BottleFairy = 0x28, BottlePicolyteRed = 0x29, BottlePicolyteOrange = 0x2A, BottlePicolyteYellow = 0x2B, BottlePiclolyteGreen = 0x2C, BottlePicolyteBlue = 0x2D, BottlePicolyteWhite = 0x2E, BottleCharmNayru = 0x2F, BottleCharmFarore = 0x30, BottleCharmDin = 0x31, SmithSwordQuest = 0x34, BrokenPicoriBlade = 0x35, DogFoodBottle = 0x36, LonLonKey = 0x37, WakeUpMushroom = 0x38, HyruleanBestiary = 0x39, PicoriLegend = 0x3A, MaskHistory = 0x3B, GraveyardKey = 0x3C, TingleTrophy = 0x3D, CarlovMedal = 0x3E, ShellsX = 0x3F, EarthElement = 0x40, FireElement = 0x41, WaterElement = 0x42, WindElement = 0x43, GripRing = 0x44, PowerBracelets = 0x45, Flippers = 0x46, HyruleMap = 0x47, SpinAttack = 0x48, RollAttack = 0x49, DashAttack = 0x4A, RockBreaker = 0x4B, SwordBeam = 0x4C, GreatSpin = 0x4D, DownThrust = 0x4E, PerilBeam = 0x4F, DungeonMap = 0x50, Compass = 0x51, BigKey = 0x52, SmallKey = 0x53, Rupee1 = 0x54, Rupee5 = 0x55, Rupee20 = 0x56, Rupee50 = 0x57, Rupee100 = 0x58, Rupee200 = 0x59, JabberNut = 0x5B, KinstoneX = 0x5C, Bombs5 = 0x5D, Arrows5 = 0x5E, SmallHeart = 0x5F, Fairy = 0x60, Shells30 = 0x61, HeartContainer = 0x62, PieceOfHeart = 0x63, Wallet = 0x64, BombBag = 0x65, LargeQuiver = 0x66, KinstoneBag = 0x67, Brioche = 0x68, Croissant = 0x69, PieSlice = 0x6A, CakeSlice = 0x6B, Bombs10 = 0x6C, Bombs30 = 0x6D, Arrows10 = 0x6E, Arrows30 = 0x6F, ArrowButterfly = 0x70, DigButterfly = 0x71, SwimButterfly = 0x72, FastSpin = 0x73, FastSplit = 0x74, LongSpin = 0x75 } ItemType; */ #endif