clear bongo bongo static effect on actor reset (#2603)

This commit is contained in:
Adam Bird 2023-03-12 03:06:52 -04:00 committed by GitHub
parent 39acd71fc4
commit 1ce9634f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ const ActorInit Boss_Sst_InitVars = {
(ActorFunc)BossSst_Destroy,
(ActorFunc)BossSst_UpdateHand,
(ActorFunc)BossSst_DrawHand,
NULL,
(ActorResetFunc)BossSst_Reset,
};
#include "z_boss_sst_colchk.c"
@ -3268,4 +3268,13 @@ void BossSst_Reset(void) {
sCutsceneCamera= 0;
sBodyStatic = false;
// Reset death colors
sBodyColor.a = 255;
sBodyColor.r = 255;
sBodyColor.g = 255;
sBodyColor.b = 255;
sStaticColor.a = 255;
sStaticColor.r = 0;
sStaticColor.g = 0;
sStaticColor.b = 0;
}