mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-18 11:02:30 +13:00
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:
parent
39c0261872
commit
cab111d01b
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue