aboutsummaryrefslogtreecommitdiffstats
path: root/ram
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-07-02 23:39:15 -0400
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2025-07-02 23:39:15 -0400
commit5a142e3fee043ad950c361bdd0e5d7e9e9f1e467 (patch)
treeaf8573a5f2683de5467cf5ffb0a4cdc7cd0a7d4c /ram
parentMerge branch 'master' of https://github.com/pret/pokered (diff)
downloadpokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.tar.gz
pokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.tar.xz
pokeyellow-5a142e3fee043ad950c361bdd0e5d7e9e9f1e467.zip
Use hardware.inc constants in places unique to Yellow
Diffstat (limited to 'ram')
-rw-r--r--ram/wram.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/ram/wram.asm b/ram/wram.asm
index 7b03c846..3778c137 100644
--- a/ram/wram.asm
+++ b/ram/wram.asm
@@ -316,7 +316,7 @@ wHandshakeFrameDelay:: db
wPrinterSerialFrameDelay:: db
wPrinterSendByteOffset:: dw
wPrinterDataSize:: dw
-wPrinterTileBuffer:: ds SCREEN_HEIGHT * SCREEN_WIDTH
+wPrinterTileBuffer:: ds SCREEN_AREA
wPrinterStatusIndicator:: dw
wcae2:: db
wPrinterSettingsTempCopy:: db
@@ -2503,12 +2503,12 @@ wBoxDataEnd::
SECTION "CGB Palette Data", WRAM0
wCGBBasePalPointers:: ds NUM_ACTIVE_PALS * 2
-wCGBPal:: ds PALETTE_SIZE
+wCGBPal:: ds PAL_SIZE
wLastBGP:: db
wLastOBP0:: db
wLastOBP1:: db
wdef4:: db
-wBGPPalsBuffer:: ds NUM_ACTIVE_PALS * PALETTE_SIZE
+wBGPPalsBuffer:: ds NUM_ACTIVE_PALS * PAL_SIZE
SECTION "Stack", WRAM0