diff options
author | yenatch <yenatch@gmail.com> | 2015-02-13 14:50:56 -0800 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2015-02-13 14:50:56 -0800 |
commit | b65c6e815643a1cbce8c7c3cd48fc9881bb56d01 (patch) | |
tree | 151a1d0eda1b28d497f4ee8340141bd6f94c1fef /engine/save.asm | |
parent | b35294752c55b5df88ccfc785279c36f30a43fd6 (diff) | |
parent | 7b7c563c93155e121e05149779cfb78b0bf9d259 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'engine/save.asm')
-rwxr-xr-x | engine/save.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/save.asm b/engine/save.asm index 7b1db4c7..d3127f04 100755 --- a/engine/save.asm +++ b/engine/save.asm @@ -173,10 +173,10 @@ NowSavingString: SaveSAVConfirm: ; 73768 (1c:7768) call PrintText hlCoord 0, 7 - ld bc,$0801 ;arrow's coordinates |b = Y|c = X| - ld a,$14 ;one line shifting ($28 = 2 lines) + ld bc,$0801 + ld a,TWO_OPTION_MENU ld [wTextBoxID],a - call DisplayTextBoxID ;handle Yes/No KeyPress + call DisplayTextBoxID ; yes/no menu ld a,[wCurrentMenuItem] ret @@ -346,10 +346,10 @@ ChangeBox:: ; 738a1 (1c:78a1) call z, Func_73a29 call Func_7393f call UpdateSprites - ld hl, $fff6 + ld hl, hFlags_0xFFF6 set 1, [hl] call HandleMenuInput - ld hl, $fff6 + ld hl, hFlags_0xFFF6 res 1, [hl] bit 1, a ret nz @@ -436,12 +436,12 @@ Func_7393f: ; 7393f (1c:793f) ld b, $c ld c, $7 call TextBoxBorder - ld hl, $fff6 + ld hl, hFlags_0xFFF6 set 2, [hl] ld de, BoxNames ; $79d9 hlCoord 13, 1 call PlaceString - ld hl, $fff6 + ld hl, hFlags_0xFFF6 res 2, [hl] ld a, [wd5a0] and $7f @@ -665,7 +665,7 @@ HallOfFame_Copy: ; 73b51 (1c:7b51) ld [MBC1SRamEnable], a ret -Func_73b6a: ; 73b6a (1c:7b6a) +ClearSAV: ; 73b6a (1c:7b6a) ld a, SRAM_ENABLE ld [MBC1SRamEnable], a ld a, $1 |