diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-20 21:59:07 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-20 21:59:23 -0500 |
commit | 60a19d681cda14c4ebeab5d18a98e3b07a5e93a3 (patch) | |
tree | f660e34515e72a33f68af5f8822dd2eb1628dc08 /src/dungeon_ai_movement.c | |
parent | 96372eb336d21e5da66246983e0522212f370bdf (diff) |
Decomped GetMapTile_2
Diffstat (limited to 'src/dungeon_ai_movement.c')
-rw-r--r-- | src/dungeon_ai_movement.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dungeon_ai_movement.c b/src/dungeon_ai_movement.c index 5fa6d87..49609d7 100644 --- a/src/dungeon_ai_movement.c +++ b/src/dungeon_ai_movement.c @@ -49,7 +49,7 @@ u32 sub_8075818(struct DungeonEntity *entity) entityData = entity->entityData; if(EntityExists(entity)) { - tile = GetMapEntityForDungeonEntity(entity); + tile = GetMapTileForDungeonEntity_2(entity); if(HasIQSkill(entity, IQ_SKILL_SUPER_MOBILE)) if(!(tile->tileType & (TILE_TYPE_FLOOR | TILE_TYPE_LIQUID))) return 1; @@ -136,7 +136,7 @@ void sub_8075900(struct DungeonEntity *pokemon, u8 r1) { if(!gDungeonGlobalData->monsterHouseActive) { - if((GetMapEntityForDungeonEntity(pokemon)->tileType & TILE_TYPE_MONSTER_HOUSE)) + if((GetMapTileForDungeonEntity_2(pokemon)->tileType & TILE_TYPE_MONSTER_HOUSE)) { // It's a monster house! SendMessage(GetLeaderEntity(), gPtrItsaMonsterHouseMessage); |