aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/route22.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2014-09-13 00:50:56 -0700
committerYamaArashi <shadow962@live.com>2014-09-13 00:50:56 -0700
commit0c916aea3353ed1bf2750be403b0da9ea0b922d4 (patch)
tree4e50d805a37f06fabac6086a7ad6ed1d4f4526c4 /scripts/route22.asm
parentLabelled and commented mostly sprite-related things (diff)
downloadpokeyellow-0c916aea3353ed1bf2750be403b0da9ea0b922d4.tar.gz
pokeyellow-0c916aea3353ed1bf2750be403b0da9ea0b922d4.tar.xz
pokeyellow-0c916aea3353ed1bf2750be403b0da9ea0b922d4.zip
Commented more sprite and map code
Diffstat (limited to 'scripts/route22.asm')
-rwxr-xr-xscripts/route22.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/route22.asm b/scripts/route22.asm
index cd47d1dc..667edd65 100755
--- a/scripts/route22.asm
+++ b/scripts/route22.asm
@@ -83,7 +83,7 @@ Route22Script0: ; 50f00 (14:4f00)
xor a
ld [wcd50], a
predef EmotionBubble
- ld a, [wd700]
+ ld a, [wWalkBikeSurfState]
and a
jr z, .asm_50f4e ; 0x50f44 $8
ld a, $ff
@@ -222,7 +222,7 @@ Route22Script_5104e: ; 5104e (14:504e)
xor a
ld [wcd50], a
predef EmotionBubble
- ld a, [wd700]
+ ld a, [wWalkBikeSurfState]
and a
jr z, .skipYVisibilityTesta
ld a, $ff