diff options
author | pfero <ohpee@loves.dicksinhisan.us> | 2017-10-28 23:47:52 +0200 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-10-28 18:08:24 -0400 |
commit | 7c9a1561332d3ac9522b6c2dfa74e40835ab790b (patch) | |
tree | 428daed38d0319a5e5bda06850733eec786e54cd /home/map_objects.asm | |
parent | 4e4e7924747b7eeeb898181ccdfb5339d60b1abb (diff) |
Fix WATERTILE/WALLTILE constants
WATRTILE was wrongly defined as 15, and WALLTILE as 1. Those had to be
flipped around.
This has allowed for us to replace inmediate values with these constants
in several places to improve readability.
WATRTILE was renamed to WATERTILE in the name of readability.
Diffstat (limited to 'home/map_objects.asm')
-rw-r--r-- | home/map_objects.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/map_objects.asm b/home/map_objects.asm index f64ebd8ab..4c896c7d7 100644 --- a/home/map_objects.asm +++ b/home/map_objects.asm @@ -84,7 +84,7 @@ GetPlayerStandingTile:: ; 184a CheckOnWater:: ; 1852 ld a, [PlayerStandingTile] call GetTileCollision - sub 1 + sub WATERTILE ret z and a ret |