diff options
author | ExpoSeed <> | 2021-05-15 15:56:17 -0500 |
---|---|---|
committer | ExpoSeed <> | 2021-05-15 15:56:17 -0500 |
commit | 361fa594b30005edaa8aef5f6b02ac8b15149cba (patch) | |
tree | 24cfa5b11022ac28cccd5634e95bfe1e2ad6040c /src/egg_hatch.c | |
parent | ab8318cc79de60413085b104125490cbae344169 (diff) |
Various BUGFIXes and UBFIXes
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r-- | src/egg_hatch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egg_hatch.c b/src/egg_hatch.c index 7a3019f56..576e5c0d9 100644 --- a/src/egg_hatch.c +++ b/src/egg_hatch.c @@ -584,6 +584,9 @@ static void Task_EggHatchPlayBGM(u8 taskID) PlayBGM(MUS_EVOLUTION); DestroyTask(taskID); // UB: task is destroyed, yet the value is incremented + #ifdef UBFIX + return; + #endif } gTasks[taskID].data[0]++; } |