diff options
| author | EllipticEllipsis <elliptic.ellipsis@gmail.com> | 2022-07-11 00:25:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-11 00:25:57 +0100 |
| commit | 7d6510d135eeb82a08e60868960412c769bac9dd (patch) | |
| tree | 4772cec35cfb26d6c4741ad04ad9cbb3e41e4a55 /src | |
| parent | 4ef3f4e351b81b706ce6013ae84b17d013e4ca5a (diff) | |
Remove commented copy of function in npc.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/npc.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -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; |
