mirror of
https://github.com/HarbourMasters/2ship2harkinian.git
synced 2024-11-23 05:59:40 +00:00
add reset func for EnBats actor (#724)
This commit is contained in:
parent
da76b32433
commit
36f31463f3
@ -18,6 +18,7 @@ void EnBat_Init(Actor* thisx, PlayState* play);
|
||||
void EnBat_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnBat_Update(Actor* thisx, PlayState* play);
|
||||
void EnBat_Draw(Actor* thisx, PlayState* play);
|
||||
void EnBat_Reset(void);
|
||||
|
||||
s32 EnBat_IsGraveyardOnSecondDay(PlayState* play);
|
||||
void EnBat_SetupPerch(EnBat* this);
|
||||
@ -39,6 +40,7 @@ ActorInit En_Bat_InitVars = {
|
||||
/**/ EnBat_Destroy,
|
||||
/**/ EnBat_Update,
|
||||
/**/ EnBat_Draw,
|
||||
/**/ EnBat_Reset,
|
||||
};
|
||||
|
||||
static ColliderSphereInit sSphereInit = {
|
||||
@ -560,3 +562,8 @@ void EnBat_Draw(Actor* thisx, PlayState* play) {
|
||||
this->drawDmgEffFrozenSteamScale, this->drawDmgEffAlpha, this->drawDmgEffType);
|
||||
}
|
||||
}
|
||||
|
||||
void EnBat_Reset(void) {
|
||||
sNumberAttacking = 0;
|
||||
sAlreadySpawned = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user