summaryrefslogtreecommitdiff
path: root/home/map.asm
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-03-14 15:12:13 -0400
committerentrpntr <entrpntr@gmail.com>2020-03-17 11:03:16 -0400
commit1e0807e4bfd5ca3e710c284cbbd4c0a50131baf3 (patch)
tree30c3108612fa8196fee6241070e21515ed111867 /home/map.asm
parent6231351906960364a5ad2f34efefd809cceb0eb8 (diff)
Itemfinder routines and labels.
Diffstat (limited to 'home/map.asm')
-rw-r--r--home/map.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/map.asm b/home/map.asm
index 036969e1..cf60545b 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -859,11 +859,11 @@ ReadCoordEvents:: ; 24d0 (0:24d0)
ReadSignposts:: ; 24e7 (0:24e7)
ld a, [hli]
ld c, a
- ld [wd94b], a
+ ld [wCurMapBGEventCount], a
ld a, l
- ld [wd94c], a
+ ld [wCurMapBGEventsPointer], a
ld a, h
- ld [wd94d], a
+ ld [wCurMapBGEventsPointer + 1], a
ld a, c
and a
ret z
@@ -1981,7 +1981,7 @@ CheckFacingSign::
ld a, e
sub $4
ld e, a
- ld a, [wd94b]
+ ld a, [wCurMapBGEventCount]
and a
ret z
ld c, a
@@ -1995,7 +1995,7 @@ CheckFacingSign::
ret
CheckIfFacingTileCoordIsSign:: ; 2b8f (0:2b8f)
- ld hl, wd94c
+ ld hl, wCurMapBGEventsPointer
ld a, [hli]
ld h, [hl]
ld l, a