Files
tmc/src/object/minishSizedEntrance.c
T
Behemoth 7ecc2caf21 decompile LikeLike and SpearMoblin
remove redundant function definitions
2020-09-18 01:21:13 +02:00

27 lines
560 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);
}
}