From 377bd14ea67d6177250fb401e12d7dfcf44e2cf6 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Wed, 9 Jun 2021 22:54:21 -0500 Subject: Dungeon pokemon/Floor ID JSON Part 1 (#39) * move Thunderwave and Tiny Woods pokemon to json * rule tweaking to actually build tool before parsing JSON * delete .inc pokemon for tiny Woods and Thunderwave * silence git complaining about br_ips and ips_patch * use defines for species and pass the header file for species * convert sinister woods * convert MtThunderPeak * convert silent chasm * add trial floor_id w/ tiny woods * change make rule name to fix compile * MtSteel converted and bugfix * convert few floor headers and great canyon pokemon * code cleanup * unify unkData into UnkTextStruct2 * more code cleanup and some text decomp * doc more funcs and decomp/split some stuff * document more save stuff * more save work and move some data * pika sniped UpdateNatureTotal * decomp a litle and convert a few more dungeons * better scanning for json files * mt freeze and peak --- include/item.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/item.h') diff --git a/include/item.h b/include/item.h index 060b750..f088484 100644 --- a/include/item.h +++ b/include/item.h @@ -55,4 +55,19 @@ enum ItemCategory ITEM_CATEGORY_ORBS }; +void LoadItemParameters(void); +struct unkStruct_203B460 *GetMoneyItemsInfo(void); +void InitializeMoneyItems(void); +u8 GetItemType(u8 index); +s32 GetItemBuyPrice(u8 itemIndex); +s32 GetItemSellPrice(u8 itemIndex); +u8 GetItemOrder(u8 itemIndex); +u8 GetItemPalette(u8 itemIndex); +u8 GetItemCategory(u8 itemIndex); +u32 GetItemUnkThrow(u8 itemIndex, u32 r1); +u8 *GetItemDescription(u8 itemIndex); +u32 GetItemUnkFood(u8 itemIndex, u32 r1); +s32 sub_8090A34(void); +bool8 sub_8090A60(u8 itemIndex); + #endif -- cgit v1.2.3