shithub: pokecrystal

Download patch

ref: 0a53612f6901e2e40b24c50f140cf386f5481625
parent: 5613563d1df79dbb6af07f37ca79a3daea5c1410
author: yenatch <[email protected]>
date: Wed Dec 18 13:04:55 EST 2013

NO_TEXT_SCROLL flag in Options

--- a/constants/wram_constants.asm
+++ b/constants/wram_constants.asm
@@ -6,8 +6,9 @@
 WILDMON    EQU 4
 
 ; Options: ; cfcc
-BATTLE_SHIFT EQU 6
-BATTLE_SCENE EQU 7
+NO_TEXT_SCROLL EQU 4
+BATTLE_SHIFT   EQU 6
+BATTLE_SCENE   EQU 7
 
 ; WalkingDirection: ; d043
 STANDING EQU -1
--- a/home.asm
+++ b/home.asm
@@ -325,9 +325,8 @@
 ; $cfcf[!0] and A or B override text speed with a one-frame delay.
 ; Options[4] and $cfcf[!1] disable the delay.
 
-; delay off?
 	ld a, [Options]
-	bit 4, a
+	bit NO_TEXT_SCROLL, a
 	ret nz
 
 ; non-scrolling text?