aboutsummaryrefslogtreecommitdiffstats
path: root/engine/clear_save.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2016-05-23 14:14:13 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2016-05-23 14:14:13 -0400
commit3618f25a34ca78ba424bf1977cb6e21241eedb2b (patch)
tree8a9a1e883c228ee90373986babc31a8cab368780 /engine/clear_save.asm
parentBank15 misc functions (diff)
parentMove diploma tilemaps out of incbins (diff)
downloadpokeyellow-3618f25a34ca78ba424bf1977cb6e21241eedb2b.tar.gz
pokeyellow-3618f25a34ca78ba424bf1977cb6e21241eedb2b.tar.xz
pokeyellow-3618f25a34ca78ba424bf1977cb6e21241eedb2b.zip
Merge pull request #8 from PikalaxALT/master
Disassemble yellow sounds
Diffstat (limited to 'engine/clear_save.asm')
-rwxr-xr-xengine/clear_save.asm8
1 files changed, 6 insertions, 2 deletions
diff --git a/engine/clear_save.asm b/engine/clear_save.asm
index adbef1a4..37d098e6 100755
--- a/engine/clear_save.asm
+++ b/engine/clear_save.asm
@@ -1,10 +1,12 @@
-DoClearSaveDialogue: ; 1c98a (7:498a)
+DoClearSaveDialogue: ; DoClearSaveDialogue: ; 1c21e (7:421e)
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,12 +14,14 @@ DoClearSaveDialogue: ; 1c98a (7:498a)
ld a, TWO_OPTION_MENU
ld [wTextBoxID], a
call DisplayTextBoxID
+ ld a, 0
+ ld [wJoyIgnore], a
ld a, [wCurrentMenuItem]
and a
jp z, Init
callba ClearSAV
jp Init
-ClearSaveDataText: ; 1c9c1 (7:49c1)
+ClearSaveDataText: ; 1c25f (7:425f)
TX_FAR _ClearSaveDataText
db "@"