Decompile remainder of Enemy4D

This commit is contained in:
octorock
2022-02-22 17:56:48 +01:00
parent eed39c54b6
commit df21aa7eb5
8 changed files with 310 additions and 715 deletions
+1 -1
View File
@@ -446,7 +446,7 @@ u32 sub_0806FCAC(Entity* this, Entity* other) {
return sub_0806F5B0(GetFacingDirection(this, other));
}
u32 EntityWithinDistance(Entity* ent, s32 x, s32 y, s32 distance) {
bool32 EntityWithinDistance(Entity* ent, s32 x, s32 y, s32 distance) {
return PointInsideRadius(ent->x.HALF.HI - x, ent->y.HALF.HI - y, distance);
}