Merge pull request #1372 from GriffinRichards/doc-countdown

Document minigame countdown
This commit is contained in:
GriffinR
2021-03-15 21:39:58 -04:00
committed by GitHub
6 changed files with 457 additions and 325 deletions
+3 -1
View File
@@ -38,6 +38,8 @@
#include "constants/rgb.h"
#include "constants/songs.h"
#define TAG_COUNTDOWN 0x1000
struct BerryCrushGame_Player
{
u8 unk0[PLAYER_NAME_LENGTH + 1 + 4];
@@ -2295,7 +2297,7 @@ static u32 BerryCrushCommand_Countdown(struct BerryCrushGame *r4, __attribute__
case 1:
if (!IsLinkTaskFinished())
return 0;
StartMinigameCountdown(0x1000, 0x1000, 120, 80, 0);
StartMinigameCountdown(TAG_COUNTDOWN, TAG_COUNTDOWN, 120, 80, 0);
break;
case 2:
if (IsMinigameCountdownRunning())