diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-11-27 12:58:31 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 12:58:31 -0600 |
commit | 2e2cd59160d8254fbdf7cff25140c43e41aa892a (patch) | |
tree | 73b236b56ae57ef7f74e045597b7781819eb32f6 /include/battle_pyramid.h | |
parent | c909aa92dee0a8d202d9195d80d0cc96b0d1ebc8 (diff) | |
parent | f316d53c585b7c35a39fa0e3f73aee7340e5ccbf (diff) |
Merge pull request #404 from garakmon/frontier-data
Some frontier data
Diffstat (limited to 'include/battle_pyramid.h')
-rw-r--r-- | include/battle_pyramid.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/battle_pyramid.h b/include/battle_pyramid.h index 5d38e9f35..8d8e01bfb 100644 --- a/include/battle_pyramid.h +++ b/include/battle_pyramid.h @@ -1,6 +1,33 @@ #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); @@ -21,4 +48,19 @@ 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 |