Remove artificial save delay

Taken from this tutorial: https://github.com/pret/pokered/wiki/Remove-Artificial-Save-Delay

This makes saving far faster like in RG. The game artificially lags itself.
This commit is contained in:
May Evans 2022-08-31 14:26:56 +01:00
parent 39c0261872
commit cab111d01b
2 changed files with 2 additions and 9 deletions

View file

@ -392,7 +392,7 @@ PrintSaveScreenText:
call PrintPlayTime call PrintPlayTime
ld a, $1 ld a, $1
ldh [hAutoBGTransferEnabled], a ldh [hAutoBGTransferEnabled], a
ld c, 30 ld c, 15 ; quicker player stat display
jp DelayFrames jp DelayFrames
PrintNumBadges: PrintNumBadges:

View file

@ -161,21 +161,14 @@ SaveSAV:
lb bc, 4, 18 lb bc, 4, 18
call ClearScreenArea call ClearScreenArea
hlcoord 1, 14 hlcoord 1, 14
ld de, NowSavingString
call PlaceString
ld c, 120
call DelayFrames
ld hl, GameSavedText ld hl, GameSavedText
call PrintText call PrintText
ld a, SFX_SAVE ld a, SFX_SAVE
call PlaySoundWaitForCurrent call PlaySoundWaitForCurrent
call WaitForSoundToFinish call WaitForSoundToFinish
ld c, 30 ld c, 10 ; removes the artificial save delay
jp DelayFrames jp DelayFrames
NowSavingString:
db "Now saving...@"
SaveSAVConfirm: SaveSAVConfirm:
call PrintText call PrintText
hlcoord 0, 7 hlcoord 0, 7