Define TileCollisionTable as a standard 'db' series

This commit is contained in:
Rangi
2020-02-13 19:01:47 -05:00
parent 53cf08b6b3
commit 88bbdb6a2f
6 changed files with 273 additions and 276 deletions

View File

@@ -738,7 +738,7 @@ ENDM
; Return 0 if tile a is land. Otherwise, return carry.
call GetTileCollision
and a ; LANDTILE?
and a ; LAND_TILE
ret z
scf
ret
@@ -748,11 +748,11 @@ ENDM
; Otherwise, return carry.
call GetTileCollision
cp WATERTILE
cp WATER_TILE
jr z, .Water
; Can walk back onto land from water.
and a ; LANDTILE?
and a ; LAND_TILE
jr z, .Land
jr .Neither