summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraaaaaa123456789 <aaaaaa123456789@acidch.at>2018-10-28 21:26:32 -0300
committeraaaaaa123456789 <aaaaaa123456789@acidch.at>2018-10-28 21:26:32 -0300
commitf2da3780aef08d73d0c9a9e76fce89424787eaf4 (patch)
tree874b1b48ef2bf4fdedc92fab18930e9dc8c963f8
parent968e297e6056eaeff6cdf27c74ad02d803d0e634 (diff)
Proper instant text
-rw-r--r--Remove-the-artificial-save-delay.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/Remove-the-artificial-save-delay.md b/Remove-the-artificial-save-delay.md
index 7195e4d..ecefefd 100644
--- a/Remove-the-artificial-save-delay.md
+++ b/Remove-the-artificial-save-delay.md
@@ -328,14 +328,13 @@ Making a final edit to `SavedTheGame` achieves this goal:
```diff
SavedTheGame:
-+ ld a, [wOptions]
-+ push af
-+ xor a ; instant text speed
-+ ld [wOptions], a
++ ld hl, wOptions
++ set NO_TEXT_SCROLL, [hl]
++ push hl
+ ld hl, .saving_text
+ call PrintText
-+ pop af
-+ ld [wOptions], a
++ pop hl
++ res NO_TEXT_SCROLL, [hl]
call SaveGameData
; <PLAYER> saved the game!
ld hl, Text_PlayerSavedTheGame