mirror of
https://github.com/pret/pokered.git
synced 2026-08-24 10:24:49 -05:00
Relocate and use MAP_TILESET_SIZE (#586)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
DEF MAP_TILESET_SIZE EQU $60 ; tiles
|
||||
|
||||
; tileset ids
|
||||
; Tilesets indexes (see data/tilesets/tileset_headers.asm)
|
||||
const_def
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
DEF MAP_TILESET_SIZE EQU $60
|
||||
|
||||
UpdatePlayerSprite:
|
||||
ld a, [wSpritePlayerStateData2WalkAnimationCounter]
|
||||
and a
|
||||
|
||||
@@ -875,7 +875,7 @@ LoadTilesetTilePatternData::
|
||||
ld a, [wTilesetGfxPtr + 1]
|
||||
ld h, a
|
||||
ld de, vTileset
|
||||
ld bc, $600
|
||||
ld bc, MAP_TILESET_SIZE tiles
|
||||
ld a, [wTilesetBank]
|
||||
jp FarCopyData2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user