mirror of
https://github.com/zeldaret/tmc
synced 2026-08-15 21:00:13 -04:00
25 lines
586 B
C
25 lines
586 B
C
#include "global.h"
|
|
#include "entity.h"
|
|
|
|
extern bool32 CheckIsDungeon();
|
|
extern void sub_080AE068(Entity*);
|
|
extern void LoadFixedGFX(Entity*, u32);
|
|
|
|
extern void (*const gUnk_08122254[])(Entity*);
|
|
|
|
void MinishSizedEntrance(Entity* this) {
|
|
gUnk_08122254[this->action](this);
|
|
}
|
|
|
|
void sub_08090EC0(Entity* this) {
|
|
this->action = 1;
|
|
this->spriteRendering.b3 = 3;
|
|
this->spritePriority.b0 = 7;
|
|
this->frameIndex = (this->entityType).parameter;
|
|
if (CheckIsDungeon()) {
|
|
this->frameIndex += 4;
|
|
sub_080AE068(this);
|
|
LoadFixedGFX(this, 0x184);
|
|
}
|
|
}
|