From 3353f64fa53498557825dfba54b315dab1e4b5b9 Mon Sep 17 00:00:00 2001 From: meejle <35422415+meejle@users.noreply.github.com> Date: Sun, 19 Mar 2023 21:52:34 +0000 Subject: [PATCH] Small improvement - throbber now gets destroyed on the same frame that the text printer clears --- Show-a-throbber-animation-while-the-game-is-saving.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Show-a-throbber-animation-while-the-game-is-saving.md b/Show-a-throbber-animation-while-the-game-is-saving.md index 7488287..a2ed479 100644 --- a/Show-a-throbber-animation-while-the-game-is-saving.md +++ b/Show-a-throbber-animation-while-the-game-is-saving.md @@ -112,13 +112,13 @@ With this one: if (saveStatus == SAVE_STATUS_OK) { - DestroySprite(&gSprites[spriteId]); ShowSaveMessage(gText_PlayerSavedGame, SaveSuccessCallback); + DestroySprite(&gSprites[spriteId]); } else { - DestroySprite(&gSprites[spriteId]); ShowSaveMessage(gText_SaveError, SaveErrorCallback); + DestroySprite(&gSprites[spriteId]); } ## Step 3: Make changes to src/save.c