Files
tmc/src/npc/wheaton.c
T
octorock 3b87c04162 Invert NENT_DEPRECATED define
To define ENT_DEPRECATED in files that still need the old entity structs.
2023-12-30 18:30:00 +01:00

22 lines
496 B
C

/**
* @file wheaton.c
* @ingroup NPCs
*
* @brief Wheaton NPC
*/
#include "npc.h"
void Wheaton(Entity* this) {
static const Hitbox gUnk_0810C3C0 = { 0, 4, { 0, 0, 0, 0 }, 6, 12 };
if (this->action == 0) {
this->action++;
SetEntityPriority(this, PRIO_MESSAGE);
SortEntityAbove(this, this);
this->hitbox = (Hitbox*)&gUnk_0810C3C0;
this->spriteOffsetY = 0xfe;
sub_0807DD64(this);
}
ExecuteScriptAndHandleAnimation(this, NULL);
}