boss killer call

This commit is contained in:
Sonic Dreamcaster
2024-11-17 02:57:00 -03:00
parent c0feb5a5c5
commit 02b3449e33
+8
View File
@@ -27,6 +27,10 @@ s32 gTeamHelpTimer = 0;
f32 D_display_800CA23C[3] = { 0.5f, 0.25f, 0.25f };
f32 D_display_800CA248[3] = { 2.0f, 1.0f, 0.5f };
#if DEBUG_BOSS_KILLER == 1
void KillBoss(void);
#endif
void Display_DrawHelpAlert(void) {
bool sp7C;
f32 sp78;
@@ -1979,6 +1983,10 @@ void Display_Update(void) {
sPlayersVisible[gPlayerNum] = false;
Matrix_Pop(&gGfxMatrix);
#if DEBUG_BOSS_KILLER == 1
KillBoss();
#endif
if (CVarGetInteger("gDebugSpeedControl", 0) == 1) {
Player* player = gPlayer;
static s32 prevSpeed;