Files
pmd-red/include/trade_items_menu.h
T
Seth Barberee 377bd14ea6 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
2021-06-09 22:54:21 -05:00

53 lines
933 B
C

#ifndef GUARD_TRADE_ITEMS_MENU_H
#define GUARD_TRADE_ITEMS_MENU_H
#include "text.h"
struct TradeSubStruct
{
u8 itemIndex; // item id?
u8 fill3[0x3];
u32 numItems; // number of items?
};
struct TradeItemsMenu
{
// size: 0x3A0
u32 currMenu;
u32 unk4;
u32 itemMode;
u32 linkStatus;
u32 unk10;
u32 numItemsToSend; // item #
u32 unk18;
u32 unk1C;
u32 unk20;
u32 unk24;
u32 unk28;
struct UnkTextStruct2 *unk2C;
u32 unk30;
u32 unk34;
u8 fill38[0x44 - 0x38];
u32 unk44;
u8 fill8[0x134 - 0x48];
u32 unk134;
u8 fill138[0x184 - 0x138];
struct UnkTextStruct2 unk184[4];
struct UnkTextStruct2 unk1E4[4];
// TODO These might be structs...
struct TradeSubStruct unk244;
struct TradeSubStruct unk24C;
struct TradeSubStruct unk254;
u8 unk25C;
u8 chosenNum;
u8 chosenItem;
u8 fill25F[0x3A0 - 0x25F];
};
#endif