This commit is contained in:
dannye 2021-05-31 17:01:33 -05:00
commit 25b568cb98
2 changed files with 23 additions and 2 deletions

View File

@ -227,13 +227,19 @@ ROMX $3F
"Overworld Pikachu"
"NPC Sprites 3"
WRAM0
"WRAM"
"Audio RAM"
org $c100
"Sprite State Data"
org $c300
"OAM Buffer"
"Tilemap"
"Overworld Map"
"WRAM"
WRAMX $1
"WRAM Bank 1"
"Party Data"
"Main Data"
"Current Box Data"
org $df15
"Stack"
VRAM $0

View File

@ -6,7 +6,7 @@ INCLUDE "macros/wram.asm"
INCLUDE "vram.asm"
SECTION "WRAM", WRAM0
SECTION "Audio RAM", WRAM0
wUnusedC000:: db
@ -157,6 +157,9 @@ wOAMBufferSprite{02d:n}:: sprite_oam_struct wOAMBufferSprite{02d:n}
ENDR
wOAMBufferEnd::
SECTION "Tilemap", WRAM0
; buffer for tiles that are visible on screen (20 columns by 18 rows)
wTileMap:: ds SCREEN_WIDTH * SCREEN_HEIGHT
@ -266,6 +269,9 @@ ENDU
ds 80
SECTION "Overworld Map", WRAM0
UNION
wOverworldMap:: ds 1300
wOverworldMapEnd::
@ -346,6 +352,9 @@ wcbec::
ds 16
ENDU
SECTION "WRAM", WRAM0
; the tiles of the row or column to be redrawn by RedrawRowOrColumn
wRedrawRowOrColumnSrcTiles:: ds SCREEN_WIDTH * 2
@ -1865,6 +1874,8 @@ wSavedNPCMovementDirections2Index:: db
wPlayerName:: ds NAME_LENGTH
SECTION "Party Data", WRAMX
wPartyDataStart::
wPartyCount:: db
@ -1892,6 +1903,8 @@ wPartyMonNicksEnd::
wPartyDataEnd::
SECTION "Main Data", WRAMX
wMainDataStart::
wPokedexOwned:: flag_array NUM_POKEMON
@ -2548,6 +2561,8 @@ wDayCareMon:: box_struct wDayCareMon
wMainDataEnd::
SECTION "Current Box Data", WRAMX
wBoxDataStart::
wBoxCount:: db