mirror of
https://github.com/zeldaret/tmc
synced 2026-06-01 17:58:06 -04:00
3b87c04162
To define ENT_DEPRECATED in files that still need the old entity structs.
22 lines
496 B
C
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);
|
|
}
|