summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h150
1 files changed, 2 insertions, 148 deletions
diff --git a/include/global.h b/include/global.h
index d864a6ab7..50d3f9104 100644
--- a/include/global.h
+++ b/include/global.h
@@ -454,156 +454,10 @@ struct RecordMixingDayCareMail
#define VARS_COUNT 256
#define MAIL_COUNT 16
-enum
-{
- LILYCOVE_LADY_QUIZ,
- LILYCOVE_LADY_FAVOUR,
- LILYCOVE_LADY_CONTEST
-};
-
-struct LilycoveLadyQuiz
-{
- /*0x000*/ u8 id;
- /*0x001*/ u8 phase;
- /*0x002*/ u16 unk_002[9];
- /*0x014*/ u16 unk_014;
- /*0x016*/ u16 unk_016;
- /*0x018*/ u8 playerName[8];
- /*0x020*/ u16 playerTrainerId[4];
- /*0x028*/ u16 itemId;
- /*0x02a*/ u8 unk_02a;
- /*0x02b*/ u8 unk_02b;
- /*0x02c*/ u8 unk_02c;
- /*0x02d*/ u8 language;
-};
-
-struct LilycoveLadyFavour
-{
- /*0x000*/ u8 id;
- /*0x001*/ u8 phase;
- /*0x002*/ u8 unk_002;
- /*0x003*/ u8 unk_003;
- /*0x004*/ u8 playerName[8];
- /*0x00c*/ u8 unk_00c;
- /*0x00e*/ u16 itemId;
- /*0x010*/ u16 unk_010;
- /*0x012*/ u8 language;
-};
-
-struct LilycoveLadyContest
-{
- /*0x000*/ u8 id;
- /*0x001*/ u8 phase;
- /*0x002*/ u8 fave_pkblk;
- /*0x003*/ u8 other_pkblk;
- /*0x004*/ u8 playerName[8];
- /*0x00c*/ u8 max_sheen;
- /*0x00d*/ u8 category;
- /*0x00e*/ u8 language;
-};
-
-typedef union // TODO
-{
- struct LilycoveLadyQuiz quiz;
- struct LilycoveLadyFavour favour;
- struct LilycoveLadyContest contest;
- u8 id;
-} LilycoveLady;
-
-struct WaldaPhrase
-{
- u16 field_0;
- u16 field_2;
- u8 text[16];
- u8 iconId;
- u8 patternId;
- bool8 patternUnlocked;
-};
-
struct SaveBlock1
{
- /*0x00*/ struct Coords16 pos;
- /*0x04*/ struct WarpData location;
- /*0x0C*/ struct WarpData warp1;
- /*0x14*/ struct WarpData warp2;
- /*0x1C*/ struct WarpData warp3;
- /*0x24*/ struct WarpData warp4;
- /*0x2C*/ u16 battleMusic;
- /*0x2E*/ u8 weather;
- /*0x2F*/ u8 filler_2F;
- /*0x30*/ u8 flashUsed;
- /*0x32*/ u16 mapDataId;
- /*0x34*/ u16 mapView[0x100];
- /*0x234*/ u8 playerPartyCount;
- /*0x238*/ struct Pokemon playerParty[6];
- /*0x490*/ u32 money;
- /*0x494*/ u16 coins;
- /*0x496*/ u16 registeredItem; // registered for use with SELECT button
- /*0x498*/ struct ItemSlot pcItems[50];
- /*0x560*/ struct ItemSlot bagPocket_Items[30];
- /*0x5D8*/ struct ItemSlot bagPocket_KeyItems[30];
- /*0x650*/ struct ItemSlot bagPocket_PokeBalls[16];
- /*0x690*/ struct ItemSlot bagPocket_TMHM[64];
- /*0x790*/ struct ItemSlot bagPocket_Berries[46];
- /*0x848*/ struct Pokeblock pokeblocks[40];
- /*0x988*/ u8 seen1[52];
- /*0x9BC*/ u16 berryBlenderRecords[3];
- /*0x9C2*/ u8 field_9C2[6];
- /*0x9C8*/ u16 trainerRematchStepCounter;
- /*0x9CA*/ u8 trainerRematches[100];
- /*0xA30*/ struct MapObject mapObjects[MAP_OBJECTS_COUNT];
- /*0xC70*/ struct MapObjectTemplate mapObjectTemplates[64];
- /*0x1270*/ u8 flags[FLAGS_COUNT];
- /*0x139C*/ u16 vars[VARS_COUNT];
- /*0x159C*/ u32 gameStats[NUM_GAME_STATS];
- /*0x169C*/ struct BerryTree berryTrees[BERRY_TREES_COUNT];
- /*0x1A9C*/ struct SecretBaseRecord secretBases[20];
- /*0x271C*/ u8 playerRoomDecor[12];
- /*0x2728*/ u8 playerRoomDecorPos[12];
- /*0x2734*/ u8 decorDesk[10];
- /*0x????*/ u8 decorChair[10];
- /*0x????*/ u8 decorPlant[10];
- /*0x????*/ u8 decorOrnament[30];
- /*0x????*/ u8 decorMat[30];
- /*0x????*/ u8 decorPoster[10];
- /*0x????*/ u8 decorDoll[40];
- /*0x????*/ u8 decorCushion[10];
- /*0x27CA*/ u8 padding_27CA[2];
- /*0x2B90*/ u16 outbreakPokemonSpecies;
- /*0x2B92*/ u8 outbreakLocationMapNum;
- /*0x2B93*/ u8 outbreakLocationMapGroup;
- /*0x2B94*/ u8 outbreakPokemonLevel;
- /*0x2B95*/ u8 outbreakUnk1;
- /*0x2B96*/ u16 outbreakUnk2;
- /*0x2B98*/ u16 outbreakPokemonMoves[4];
- /*0x2BA0*/ u8 outbreakUnk4;
- /*0x2BA1*/ u8 outbreakPokemonProbability;
- /*0x2BA2*/ u16 outbreakDaysLeft;
- /*0x2BB0*/ u16 unk2BB0[6];
- /*0x2BBC*/ u16 unk2BBC[6];
- /*0x2BC8*/ u16 unk2BC8[6];
- /*0x2BD4*/ u16 unk2BD4[6];
- /*0x2BE0*/ struct MailStruct mail[MAIL_COUNT];
- /*0x2E20*/ u8 additionalPhrases[5]; // bitfield for 33 additional phrases in easy chat system
- /*0x2E25*/ u8 unk2E25[3]; // possibly padding?
- /*0x2E28*/ OldMan oldMan;
- /*0x2e64*/ struct EasyChatPair easyChatPairs[5]; //Dewford trend [0] and some other stuff
- /*0x2e90*/ struct ContestWinner contestWinners[13]; // 0 - 5 used in contest hall, 6 - 7 unused?, 8 - 12 museum
- /*0x3030*/ struct DayCare daycare;
- /*0x3150*/ struct LinkBattleRecord linkBattleRecords[5];
- /*0x31A0*/ u8 unk_31A0;
- /*0x31A1*/ u8 filler_31A1[7];
- /*0x31A8*/ u8 giftRibbons[52];
- /*0x31DC*/ struct Roamer roamer;
- /*0x31F8*/ struct EnigmaBerry enigmaBerry;
- /*0x322C*/ u8 field_322C[1276];
- /*0x3728*/ struct RamScript ramScript;
- /*0x3B14*/ struct RecordMixingGift recordMixingGift;
- /*0x3B24*/ u8 seen2[52];
- /*0x3B58*/ LilycoveLady lilycoveLady;
- /*0x3B88*/ u8 filler_3B88[0x1E8];
- /*0x3D70*/ struct WaldaPhrase waldaPhrase;
- // sizeof: 0x3D88
+ /*0x0000*/ u8 filler[0x3A4C];
+ /*0x3A4C*/ u8 rivalName[PLAYER_NAME_LENGTH];
};
extern struct SaveBlock1* gSaveBlock1Ptr;