mirror of
https://github.com/pret/pmd-red.git
synced 2026-07-13 07:11:14 -05:00
use CORRIDOR_ROOM
This commit is contained in:
parent
45b9ab804d
commit
b2ca4e1160
|
|
@ -70,12 +70,12 @@ void sub_8071B48(void)
|
|||
entity = dungeon->wildPokemon[index];
|
||||
if ((EntityIsValid(entity)) &&
|
||||
(tile = GetTile((entity->pos).x, (entity->pos).y),
|
||||
(tile->terrainType & 0x100) == 0)) {
|
||||
(tile->terrainType & TERRAIN_TYPE_UNBREAKABLE) == 0)) {
|
||||
counter++;
|
||||
}
|
||||
}
|
||||
if (dungeon->unk644.unk2A == 0) {
|
||||
if (gDungeon->monsterHouseRoom == 0xff) {
|
||||
if (gDungeon->monsterHouseRoom == CORRIDOR_ROOM) {
|
||||
if (counter >= gUnknown_80F4DA6) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user