mirror of
https://github.com/zeldaret/tmc
synced 2026-08-25 23:54:15 -04:00
add subdirs
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#include "global.h"
|
||||
#include "entity.h"
|
||||
#include "flags.h"
|
||||
|
||||
extern void DeleteThisEntity();
|
||||
extern void sub_0808E714(Entity*);
|
||||
|
||||
extern void (*const gUnk_08121C48[])(Entity*);
|
||||
|
||||
extern BoundingBox gUnk_08121C58;
|
||||
|
||||
void HeartContainer(Entity* this) {
|
||||
gUnk_08121C48[this->action](this);
|
||||
}
|
||||
|
||||
void sub_0808E6A0(Entity* this) {
|
||||
|
||||
if (CheckFlags(*(u16*)&this->cutsceneBeh)) {
|
||||
DeleteThisEntity();
|
||||
}
|
||||
this->action = 1;
|
||||
this->entityType.form = 0x62;
|
||||
this->spriteSettings.b.draw = 0;
|
||||
this->boundingBox = &gUnk_08121C58;
|
||||
this->collisionLayer = 3;
|
||||
this->scriptedScene = 3;
|
||||
}
|
||||
|
||||
void sub_0808E6E4(Entity* this) {
|
||||
if (CheckFlags(this->field_0x86)) {
|
||||
this->action = 2;
|
||||
this->spriteSettings.b.draw = 1;
|
||||
this->spriteRendering.b0 = 3;
|
||||
sub_0808E714(this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user