From 7d6510d135eeb82a08e60868960412c769bac9dd Mon Sep 17 00:00:00 2001 From: EllipticEllipsis Date: Mon, 11 Jul 2022 00:25:57 +0100 Subject: [PATCH] Remove commented copy of function in npc.c --- src/npc.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/npc.c b/src/npc.c index dc1e924b..244749f0 100644 --- a/src/npc.c +++ b/src/npc.c @@ -14,26 +14,6 @@ extern NPCStruct gNPCData[100]; extern void InitNPC(Entity*); -// NONMATCH("asm/non_matching/arm_proxy/NPCUpdate.inc", void NPCUpdate(Entity* this)) { -// if ((this->health & 0x7f) && !ReadBit(&gUnk_020342F8, this->health - 1)) -// DeleteThisEntity(); -// if (this->action == 0 && (this->flags & ENT_DID_INIT) == 0) -// InitNPC(this); -// if (!EntityIsDeleted(this)) -// gNPCFunctions[this->id][0](this); -// if (this->next != NULL) { -// if (gNPCFunctions[this->id][1] != NULL) -// gNPCFunctions[this->id][1](this); -// if ((this->health & 0x7f) != 0) { -// u32 temp = this->health & 0x7f; -// gNPCData[temp * 2 - 2].x = this->x.HALF.HI - gRoomControls.origin_x; -// gNPCData[temp * 2 - 2].y = this->y.HALF.HI - gRoomControls.origin_y; -// } -// DrawEntity(this); -// } -// } -// END_NONMATCH - void NPCUpdate(Entity* this) { u32 health = this->health; u32 temp;