Remove commented copy of function in npc.c

This commit is contained in:
EllipticEllipsis 2022-07-11 00:25:57 +01:00 committed by GitHub
parent 4ef3f4e351
commit 7d6510d135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 20 deletions

View File

@ -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;