diff options
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/gyorgBossObject.c | 2 | ||||
| -rw-r--r-- | src/object/warpPoint.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/object/gyorgBossObject.c b/src/object/gyorgBossObject.c index 92ea7fa2..f348b6e6 100644 --- a/src/object/gyorgBossObject.c +++ b/src/object/gyorgBossObject.c @@ -418,7 +418,7 @@ void sub_080A1FF0(GyorgBossObjectEntity* this) { } } if (this->unk_7b) { - if (isEntityWithinDistance(&gPlayerEntity, gRoomControls.origin_x + 0x200, gRoomControls.origin_y + 0x210, + if (EntityWithinDistance(&gPlayerEntity, gRoomControls.origin_x + 0x200, gRoomControls.origin_y + 0x210, 0x100)) { if (super->actionDelay == 0) { super->actionDelay = 0x78; diff --git a/src/object/warpPoint.c b/src/object/warpPoint.c index 27ed883d..02b73a9a 100644 --- a/src/object/warpPoint.c +++ b/src/object/warpPoint.c @@ -192,10 +192,10 @@ void sub_0808B73C(Entity* this) { this->palette.b.b0 = this->parent->palette.b.b0; InitializeAnimation(this, 1); } - if (isEntityWithinDistance(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x28)) { + if (EntityWithinDistance(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x28)) { this->spriteSettings.draw = 1; } else { - if (isEntityWithinDistance(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x2e)) { + if (EntityWithinDistance(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x2e)) { this->spriteSettings.draw ^= 1; } else { this->spriteSettings.draw = 0; |
