src/enemyUtils.c file

Functions

void EnemyDisableRespawn(Entity*)
void ReplaceMonitoredEntity(Entity* old, Entity* new)
Replace an entity that is currently being monitored with a new one.
auto GetEnemyDefinition(Entity* entity) -> const EnemyDefinition*
auto LoadEnemySprite(Entity* entity, const EnemyDefinition* definition) -> bool32
void EnemyCopyParams(Entity* src, Entity* dest)
auto EnemyInit(Enemy* this) -> bool32
void sub_0804A720(Entity* parent)
void EnemyCreateDeathFX(Enemy* parent, u32 parentId, u32 fixedItem)
void GenericDeath(Entity* this)
auto EnemyCreateProjectile(Entity* parent, u32 projectileId, u32 projectileType) -> Entity*
void EnemySetFXOffset(Entity* entity, s32 xOffset, s32 yOffset, s32 zOffset)
auto EnemyCreateFX(Entity* parent, u32 fxType) -> Entity*
void EnemyDetachFX(Entity* entity)
void EnemyFunctionHandlerAfterCollision(Entity* entity, void(*[])() fntable)
Unsets bitfield 0x80 before calling GetNextFunction, so that the enemyFunction 1 is not called.
auto CreateEnemy(u32 subtype, u32 form) -> Entity*

Variables

EnemyDefinition gEnemyDefinitions
const struct_080D3D94 gUnk_080D3D94
const u16 gUnk_080D3E74