mirror of
https://github.com/zeldaret/tmc
synced 2026-09-02 10:11:36 -04:00
create enemy struct and enemy flags
This commit is contained in:
@@ -30,7 +30,7 @@ extern const s8 gUnk_080CD0B0[];
|
||||
|
||||
void WallMaster(WallMasterEntity* this) {
|
||||
WallMaster_Functions[GetNextFunction(super)](this);
|
||||
SetChildOffset(super, 0, 1, -0x10);
|
||||
EnemySetFXOffset(super, 0, 1, -0x10);
|
||||
}
|
||||
|
||||
void WallMaster_OnTick(WallMasterEntity* this) {
|
||||
@@ -55,7 +55,7 @@ void WallMaster_OnCollision(WallMasterEntity* this) {
|
||||
super->knockbackDuration -= 4;
|
||||
|
||||
if (super->confusedTime != 0) {
|
||||
Create0x68FX(super, FX_STARS);
|
||||
EnemyCreateFX(super, FX_STARS);
|
||||
}
|
||||
|
||||
EnemyFunctionHandlerAfterCollision(super, (EntityActionArray)WallMaster_Functions);
|
||||
|
||||
Reference in New Issue
Block a user