aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-08-29 17:15:05 -0700
committerYamaArashi <shadow962@live.com>2015-08-29 17:15:05 -0700
commitb6a7e5e9cf20e7924f6cf427c66e9aeb42fa77f3 (patch)
treeaf1bac71243d59c9479898fa0c86ba37d742aacf /home
parentMerge pull request #114 from YamaArashi/master (diff)
downloadpokeyellow-b6a7e5e9cf20e7924f6cf427c66e9aeb42fa77f3.tar.gz
pokeyellow-b6a7e5e9cf20e7924f6cf427c66e9aeb42fa77f3.tar.xz
pokeyellow-b6a7e5e9cf20e7924f6cf427c66e9aeb42fa77f3.zip
documented flags and misc. fixes
Diffstat (limited to 'home')
-rw-r--r--home/overworld.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index 051d055e..9eafba04 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -1190,8 +1190,8 @@ IsSpriteInFrontOfPlayer2:: ; 0b6d (0:0b6d)
ld a,l
and a,$f0
inc a
- ld l,a
- set 7,[hl]
+ ld l,a ; hl = $c1x1
+ set 7,[hl] ; set flag to make the sprite face the player
ld a,e
ld [hSpriteIndexOrTextID],a
ret