mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 08:35:23 +13:00
Tiles can have different attributes in different blocks
This commit is contained in:
parent
94d9c77070
commit
820c2257bc
374 changed files with 554 additions and 348 deletions
20
ram/wram.asm
20
ram/wram.asm
|
|
@ -321,14 +321,6 @@ wTilemapEnd::
|
|||
; This union spans 480 bytes.
|
||||
SECTION UNION "Miscellaneous", WRAM0
|
||||
|
||||
; surrounding tiles
|
||||
; This buffer determines the size for the rest of the union;
|
||||
; it uses exactly 480 bytes.
|
||||
wSurroundingTiles:: ds SURROUNDING_WIDTH * SURROUNDING_HEIGHT
|
||||
|
||||
|
||||
SECTION UNION "Miscellaneous", WRAM0
|
||||
|
||||
; box save buffer
|
||||
; SaveBoxAddress uses this buffer in three steps because it
|
||||
; needs more space than the buffer can hold.
|
||||
|
|
@ -2454,9 +2446,9 @@ wTilesetBlocksBank:: db
|
|||
wTilesetBlocksAddress:: dw
|
||||
wTilesetCollisionBank:: db
|
||||
wTilesetCollisionAddress:: dw
|
||||
wTilesetAttributesBank:: db
|
||||
wTilesetAttributesAddress:: dw
|
||||
wTilesetAnim:: dw ; bank 3f
|
||||
ds 2 ; unused
|
||||
wTilesetPalettes:: dw ; bank 3f
|
||||
wTilesetEnd::
|
||||
assert wTilesetEnd - wTileset == TILESET_LENGTH
|
||||
|
||||
|
|
@ -2709,7 +2701,7 @@ wCurBaseDataEnd::
|
|||
|
||||
wCurDamage:: dw
|
||||
|
||||
ds 2
|
||||
wTilesetDataAddress:: dw
|
||||
|
||||
wMornEncounterRate:: db
|
||||
wDayEncounterRate:: db
|
||||
|
|
@ -3523,6 +3515,12 @@ SECTION "News Script RAM", WRAMX
|
|||
w4_d000:: ds $1000
|
||||
|
||||
|
||||
SECTION "Surrounding Data", WRAMX
|
||||
|
||||
wSurroundingTiles:: ds SURROUNDING_WIDTH * SURROUNDING_HEIGHT
|
||||
wSurroundingAttributes:: ds SURROUNDING_WIDTH * SURROUNDING_HEIGHT
|
||||
|
||||
|
||||
SECTION "GBC Video", WRAMX, ALIGN[8]
|
||||
|
||||
; eight 4-color palettes each
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue