You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Define TileCollisionTable as a standard 'db' series
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user