summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/config.h4
-rw-r--r--src/save_failed_screen.c9
2 files changed, 10 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 65f176e19..5ee062006 100644
--- a/include/config.h
+++ b/include/config.h
@@ -11,9 +11,11 @@
#if REVISION >= 1
#define BUGFIX_GLYPHWIDTH
-#define BUGFIX_SAVEFAILEDSCREEN
+#define BUGFIX_SAVEFAILEDSCREEN1
#endif
+// #define BUGFIX_SAVEFAILEDSCREEN2
+
// European editions of Ruby/Sapphire and all editions of Emerald have this fix.
// #define BUGFIX_TRAINERAPPROACH
diff --git a/src/save_failed_screen.c b/src/save_failed_screen.c
index 7d5483fbf..41e61eadb 100644
--- a/src/save_failed_screen.c
+++ b/src/save_failed_screen.c
@@ -10,9 +10,9 @@
#include "gba/flash_internal.h"
#include "asm.h"
-// In 1.0, the text window is too small, causing text to overflow.
+// In English 1.0, the text window is too small, causing text to overflow.
-#ifdef BUGFIX_SAVEFAILEDSCREEN
+#ifdef BUGFIX_SAVEFAILEDSCREEN1
#define MSG_WIN_TOP 10
#else
#define MSG_WIN_TOP 12
@@ -160,7 +160,12 @@ static void CB2_WipeSave(void)
sub_8125C3C(gUnknown_0203933C);
if (gUnknown_03005EA8)
+ {
+#ifdef BUGFIX_SAVEFAILEDSCREEN2
+ MenuDrawTextWindow(1, MSG_WIN_TOP, 28, 19);
+#endif
MenuPrint(gSystemText_SaveFailedBackupCheck, 2, MSG_WIN_TOP + 1);
+ }
wipeTries++;
}