blob: 38b2585b4a8b402f659087afc07c9c2a9f5d8ef3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/**
* @file wheaton.c
* @ingroup NPCs
*
* @brief Wheaton NPC
*/
#include "npc.h"
#include "physics.h"
#include "script.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);
}
|