Finish frontier data

This commit is contained in:
DizzyEggg
2018-11-27 22:45:50 +01:00
parent 2e2cd59160
commit 7cfe0342f0
12 changed files with 948 additions and 822 deletions

View File

@@ -1,33 +1,6 @@
#ifndef GUARD_BATTLE_PYRAMID_H
#define GUARD_BATTLE_PYRAMID_H
#define TOTAL_ROUNDS 20
#define PICKUP_ITEMS_PER_ROUND 10
struct PyramidWildMon
{
u16 species;
u8 lvl;
u8 abilityBit;
u16 moves[4];
};
struct Struct_08613650
{
u8 unk0;
u8 unk1;
u8 unk2;
u8 unk3;
u8 runMultiplier;
u8 unk5[8];
};
struct ClassMusic
{
u8 class;
u8 music;
};
void CallBattlePyramidFunction(void);
u16 LocalIdToPyramidTrainerId(u8 localId);
bool8 GetBattlePyramidTrainerFlag(u8 eventId);
@@ -48,19 +21,4 @@ void sub_81AA2F8(void);
u8 sub_81AAA40(void);
u16 GetBattlePyramidPickupItemId(void);
// Const rom data.
extern const u16 sPickupItemsLvl50[TOTAL_ROUNDS][PICKUP_ITEMS_PER_ROUND];
extern const u16 sPickupItemsLvlOpen[TOTAL_ROUNDS][PICKUP_ITEMS_PER_ROUND];
extern const u8 gUnknown_08613ABC[63][2];
extern const u8 gUnknown_08613B3A[];
extern const u16 gUnknown_08D856C8[][16];
extern const u8 gUnknown_08613C1C[50][2];
extern const u8 *const *const *const gUnknown_08613EC0[];
extern const struct ClassMusic gUnknown_08613B44[54];
extern const struct PyramidWildMon *const gBattlePyramidOpenLevelWildMonPointers[];
extern const struct PyramidWildMon *const gBattlePyramidLevel50WildMonPointers[];
extern const struct Struct_08613650 gUnknown_08613650[];
extern const u8 gUnknown_08613750[34][2];
extern const u8 gUnknown_08613794[];
#endif // GUARD_BATTLE_PYRAMID_H

View File

@@ -1,7 +1,3 @@
//
// Created by scott on 9/12/2017.
//
#ifndef GUARD_EVENT_SCRIPTS_H
#define GUARD_EVENT_SCRIPTS_H
@@ -578,4 +574,9 @@ extern const u8 MossdeepCity_SpaceCenter_2F_EventScript_224175[];
extern const u8 SSTidalCorridor_EventScript_23C050[];
extern const u8 gUnknown_082A8350[];
#endif //GUARD_EVENT_SCRIPTS_H
// Battle Pyramid.
extern const u8 BattleFrontier_BattlePyramidEmptySquare_EventScript_252C88[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_EventScript_252C4F[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_EventScript_252C6A[];
#endif // GUARD_EVENT_SCRIPTS_H

View File

@@ -29,4 +29,6 @@ u8 GetFrontierBrainMonNature(u8 monId);
u8 GetFrontierBrainMonEvs(u8 monId, u8 evStatId);
s32 GetFronterBrainSymbol(void);
extern const u16 gFrontierBannedSpecies[];
#endif // GUARD_FRONTIER_UTIL_H

View File

@@ -1275,4 +1275,132 @@ extern const u8 gText_082C8589[];
extern const u8 gText_082C85AE[];
extern const u8 gText_082C877B[];
// Battle Pyramid.
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252D2D[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252D57[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252D81[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252DAB[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25330B[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2532CC[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25328B[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253248[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253206[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2531C4[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253183[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253140[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2530FD[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2544A6[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25445A[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25440B[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2543BA[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25436A[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25431A[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2542CB[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25427A[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252DD5[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252E03[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252E31[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252E5F[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25362E[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2535D4[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253578[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25351A[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2534BD[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253460[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253404[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2533A6[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25334D[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25471E[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2546CC[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25467C[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25462A[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2545D9[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254588[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254538[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2544E6[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252E8D[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252EAA[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252EC7[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252EE4[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2539EC[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253980[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253915[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2538A8[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25383C[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2537D0[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253765[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2536F8[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25368B[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254A0B[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2549AE[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25494D[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2548EB[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25488A[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254829[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2547C9[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254767[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252F01[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252F3A[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252F73[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252FAC[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253D3E[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253CE0[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253C87[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253C2C[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253BD2[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253B78[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253B1F[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253AC4[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253A69[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254C3E[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254BF1[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254BAE[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254B69[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254B25[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254AE1[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254A9E[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254A59[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_252FE5[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253000[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25301B[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253036[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253F6C[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253F34[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253EFA[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253EBE[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253E83[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253E48[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253E0E[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253DD2[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253D96[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254E6E[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254E27[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254DE0[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254D97[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254D4F[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254D07[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254CC0[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254C77[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253051[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25307C[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2530A7[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2530D2[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25422B[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2541DD[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25418D[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25413B[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_2540EA[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254099[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254049[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253FF7[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_253FA5[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_255068[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_25502F[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254FF6[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254FBB[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254F81[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254F47[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254F0E[];
extern const u8 BattleFrontier_BattlePyramidEmptySquare_Text_254ED3[];
#endif //GUARD_STRINGS_H