mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-25 18:38:26 -05:00
dungeon generation is finished
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
Entity *sub_8045684(u8 trapID, DungeonPos *pos, u8 c);
|
||||
Entity *SpawnTrap(u8 trapID, DungeonPos *pos, u8 c);
|
||||
Entity *sub_8045708(DungeonPos *pos);
|
||||
void sub_80457DC(Entity* ent);
|
||||
|
||||
#endif // GUARD_CODE_80227B8_H
|
||||
#endif // GUARD_CODE_80227B8_H
|
||||
|
||||
@@ -53,5 +53,11 @@ enum SecondaryStructureType {
|
||||
|
||||
void GenerateFloor(void);
|
||||
bool8 StairsAlwaysReachable(s32 stairsX, s32 stairsY, bool8 markUnreachable);
|
||||
void sub_804EB30(void);
|
||||
void sub_8051E3C(void);
|
||||
|
||||
#include "structs/dungeon_entity.h"
|
||||
|
||||
void sub_8051E7C(Entity *pokemon);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -105,6 +105,11 @@ static inline bool8 PokemonFlag1(PokemonStruct1 *mon)
|
||||
return (mon->unk0 >> (FLAG_UNK_1 - 1)) & 1;
|
||||
}
|
||||
|
||||
static inline bool8 PokemonFlag1Struct2(PokemonStruct2 *mon)
|
||||
{
|
||||
return (mon->unk0 >> (FLAG_UNK_1 - 1)) & 1;
|
||||
}
|
||||
|
||||
static inline bool8 PokemonFlag2(PokemonStruct1 *mon)
|
||||
{
|
||||
return (mon->unk0 >> (FLAG_ON_TEAM - 1)) & 1;
|
||||
|
||||
Reference in New Issue
Block a user