diff options
Diffstat (limited to 'home/map_objects.asm')
-rw-r--r-- | home/map_objects.asm | 4 |
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 |