Skip to content

Commit

Permalink
Move ShoreTiles and WaterTile into data/
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Oct 5, 2022
1 parent 5271a9f commit 2f00afe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
9 changes: 9 additions & 0 deletions data/tilesets/water_tilesets.asm
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,12 @@ WaterTilesets:
db FACILITY
db PLATEAU
db -1 ; end

; tiles that allow surfing and fishing,
; depending on the tileset (see IsNextTileShoreOrWater)
ShoreTiles:
db $48, $32
; fallthrough
WaterTile:
db $14
db -1 ; end
7 changes: 0 additions & 7 deletions engine/items/item_effects.asm
Original file line number Diff line number Diff line change
Expand Up @@ -3119,13 +3119,6 @@ IsNextTileShoreOrWater::

INCLUDE "data/tilesets/water_tilesets.asm"

; shore tiles
ShoreTiles:
db $48, $32
WaterTile:
db $14
db $ff ; terminator

; reloads map view and processes sprite data
; for items that cause the overworld to be displayed
ItemUseReloadOverworldData:
Expand Down

0 comments on commit 2f00afe

Please sign in to comment.