wheaton.c OK

This commit is contained in:
21aslade
2020-07-01 12:13:36 -06:00
parent 607c32ac5e
commit d21a0afec2
3 changed files with 27 additions and 39 deletions
+26
View File
@@ -0,0 +1,26 @@
#include "global.h"
#include "entity.h"
extern void sub_0805E3A0(Entity *, u32);
extern void ResolveEntityOnTop(Entity *, Entity *);
extern BoundingBox gUnk_0810C3C0;
extern void sub_0807DD64(Entity *);
extern void sub_0807DD94(Entity *, u32);
void Wheaton(Entity *this) {
if (this->action == 0) {
this->action++;
sub_0805E3A0(this, 2);
ResolveEntityOnTop(this, this);
this->boundingBox = &gUnk_0810C3C0;
this->spriteOffsetY = 0xfe;
sub_0807DD64(this);
}
sub_0807DD94(this, 0);
}