summaryrefslogtreecommitdiff
path: root/src/item.c
blob: 8ba2e8482ffd9804d029cab9f77afb7420ed1f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "global.h"
#include "item.h"

// TODO - How does this relate to PlayerItemFunctions? Is this just a lookup table?
void (*const gItemFunctions[])(ItemBehavior*, u32) = {

    ItemDebug,        ItemSword,    ItemSword,    ItemSword,    ItemSword,     ItemSword,     ItemSword,
    ItemBomb,         ItemBomb,     ItemBow,      ItemBow,      ItemBoomerang, ItemBoomerang, ItemShield,
    ItemShield,       ItemLantern,  ItemLantern,  ItemGustJar,  ItemPacciCane, ItemMoleMitts, ItemRocsCape,
    ItemPegasusBoots, ItemDebug,    ItemOcarina,  ItemDebug,    ItemDebug,     ItemDebug,     ItemTryPickupObject,
    ItemJarEmpty,     ItemJarEmpty, ItemJarEmpty, ItemJarEmpty,
};