summaryrefslogtreecommitdiff
path: root/engine/clear_save.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/clear_save.asm')
-rwxr-xr-xengine/clear_save.asm6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/clear_save.asm b/engine/clear_save.asm
index b47cd6c4..ab2a6aa8 100755
--- a/engine/clear_save.asm
+++ b/engine/clear_save.asm
@@ -1,10 +1,12 @@
-DoClearSaveDialogue:
+DoClearSaveDialogue: ; DoClearSaveDialogue:
call ClearScreen
call RunDefaultPaletteCommand
call LoadFontTilePatterns
call LoadTextBoxTilePatterns
ld hl, ClearSaveDataText
call PrintText
+ ld a, B_BUTTON
+ ld [wJoyIgnore], a
coord hl, 14, 7
lb bc, 8, 15
ld a, NO_YES_MENU
@@ -12,6 +14,8 @@ DoClearSaveDialogue:
ld a, TWO_OPTION_MENU
ld [wTextBoxID], a
call DisplayTextBoxID
+ ld a, 0
+ ld [wJoyIgnore], a
ld a, [wCurrentMenuItem]
and a
jp z, Init