mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
add reset func for EnBats actor (#724)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user