mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-09 17:45:57 -05:00
dungeon - sub_809034C
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
#ifndef GUARD_CONSTANTS_DUNGEON_H
|
||||
#define GUARD_CONSTANTS_DUNGEON_H
|
||||
|
||||
#define NUM_DUNGEON_MAZE (NUM_DUNGEONS - DUNGEON_NORMAL_MAZE_2)
|
||||
|
||||
#define NUM_BASIC_DUNGEON_MAZE (DUNGEON_STEEL_MAZE - DUNGEON_NORMAL_MAZE_2 + 1)
|
||||
|
||||
enum DungeonID
|
||||
{
|
||||
DUNGEON_TINY_WOODS = 0,
|
||||
@@ -108,6 +104,14 @@ enum DungeonID
|
||||
NUM_DUNGEONS
|
||||
};
|
||||
|
||||
#define DUNGEON_FIRST_MAZE DUNGEON_NORMAL_MAZE_2
|
||||
#define DUNGEON_LAST_MAZE DUNGEON_RESCUE_TEAM_MAZE
|
||||
#define DUNGEON_LAST_BASIC_MAZE DUNGEON_STEEL_MAZE
|
||||
|
||||
#define NUM_DUNGEON_MAZE (DUNGEON_LAST_MAZE - DUNGEON_FIRST_MAZE + 1)
|
||||
#define NUM_BASIC_DUNGEON_MAZE (DUNGEON_LAST_BASIC_MAZE - DUNGEON_FIRST_MAZE + 1)
|
||||
#define DUNGEON_IS_MAZE(id)((id) >= DUNGEON_FIRST_MAZE && (id) <= DUNGEON_LAST_MAZE)
|
||||
|
||||
static inline bool8 IsExperienceLocked(s32 joinedDungeon)
|
||||
{
|
||||
if (joinedDungeon == DUNGEON_JOIN_LOCATION_CLIENT_POKEMON || joinedDungeon == DUNGEON_RESCUE_TEAM_BASE)
|
||||
|
||||
Reference in New Issue
Block a user