diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-12-28 23:00:59 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 23:00:59 -0600 |
commit | edf909be4da55a435bf81f96ffcbd156b2120562 (patch) | |
tree | 7bbce0d40ce8c714e793ef22f3a7c125f9ff3fbd /src/dungeon_movement.c | |
parent | 6512ebff67e163a5a6c0f5e19847e2a4dda19ad1 (diff) | |
parent | ea10f7b7bd6957312b9b0dfa371761c5936bc80a (diff) |
Merge pull request #91 from AnonymousRandomPerson/master
More item AI decomp
Diffstat (limited to 'src/dungeon_movement.c')
-rw-r--r-- | src/dungeon_movement.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dungeon_movement.c b/src/dungeon_movement.c index 1601cff..bcf6163 100644 --- a/src/dungeon_movement.c +++ b/src/dungeon_movement.c @@ -51,7 +51,7 @@ u32 sub_8075818(struct DungeonEntity *entity) { tile = GetMapEntityForDungeonEntity(entity); if(HasIQSkill(entity, IQ_SKILL_SUPER_MOBILE)) - if(!(tile->tileType & (TILE_TYPE_FLOOR | TILE_TYPE_UNK_1))) + if(!(tile->tileType & (TILE_TYPE_FLOOR | TILE_TYPE_LIQUID))) return 1; subEntity = tile->mapObject; if(subEntity != NULL) @@ -95,7 +95,7 @@ flag_check: { if(!(entityData->heldItem.itemFlags & ITEM_FLAG_EXISTS)) { - if(!(tile->tileType & (TILE_TYPE_FLOOR | TILE_TYPE_UNK_1))) + if(!(tile->tileType & (TILE_TYPE_FLOOR | TILE_TYPE_LIQUID))) { if(entityData->isEnemy) break; |