summaryrefslogtreecommitdiff
path: root/home/map_objects.asm
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-04-22 23:15:53 -0400
committerentrpntr <entrpntr@gmail.com>2020-04-22 23:18:36 -0400
commit1d456d5f66627e8023c074419180639cc027e7bc (patch)
tree96b4ef0b214f716d7c5478804d9f9bb596373564 /home/map_objects.asm
parentb87cc706430f281d6af24daa942890574449a803 (diff)
Finish home cleanup, identify tileset data, other misc cleanups.
Diffstat (limited to 'home/map_objects.asm')
-rw-r--r--home/map_objects.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/map_objects.asm b/home/map_objects.asm
index d9cebf48..39bc915a 100644
--- a/home/map_objects.asm
+++ b/home/map_objects.asm
@@ -18,7 +18,7 @@ GetSpriteVTile::
push hl
push bc
ld hl, wUsedSprites + 2
- ld c, $b
+ ld c, SPRITE_GFX_LIST_CAPACITY - 1
ld b, a
ldh a, [hMapObjectIndexBuffer]
cp 0
@@ -80,7 +80,7 @@ GetPlayerStandingTile::
CheckOnWater::
ld a, [wPlayerStandingTile]
call GetTileCollision
- sub WATERTILE
+ sub WATER_TILE
ret z
and a
ret