summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-08-25 08:24:37 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-08-25 08:24:37 -0400
commit3ede05f2b7dfa8e05f5376dc9f383ffbadd4d3d1 (patch)
tree413103c42b31f26e8fe2dc0996db38739fb7c377 /wram.asm
parentd2e3b286a4ac5530b299fe7fc0530df734584bb3 (diff)
Create linkerscript
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm24
1 files changed, 12 insertions, 12 deletions
diff --git a/wram.asm b/wram.asm
index ac3646a0..198969fa 100644
--- a/wram.asm
+++ b/wram.asm
@@ -1,7 +1,7 @@
INCLUDE "includes.asm"
INCLUDE "macros/wram.asm"
-SECTION "Audio", WRAM0[$c000]
+SECTION "Audio", WRAM0
wc000::
wMusic::
wMusicPlaying:: ; c000
@@ -123,7 +123,7 @@ wMapMusic:: ; c1c0
wDontPlayMapMusicOnReload:: ds 1
wMusicEnd::
-SECTION "WRAM", WRAM0[$c1c2]
+SECTION "WRAM", WRAM0
wLZAddress:: dw ; c1c2
wLZBank:: ds 1 ; c1c4
wc1c5:: ds 1 ; c1c5
@@ -185,7 +185,7 @@ wc1fd:: ds 1 ; c1fd
wc1fe:: ds 1 ; c1fe
wc1ff:: ds 1 ; c1ff
-SECTION "GBC Palettes", WRAM0[$c200]
+SECTION "GBC Palettes", WRAM0
palbuffer: MACRO
\1Pal0:: ds 8
\1Pal1:: ds 8
@@ -202,16 +202,16 @@ wTempOBPals:: palbuffer wTempOB ; c240
wBGPals:: palbuffer wBG ; c280
wOBPals:: palbuffer wOB ; c2c0
-SECTION "OAM Buffer", WRAM0[$c300]
+SECTION "OAM Buffer", WRAM0
wOAMBuffer:: ; c300
ds 4 * 40
-SECTION "TileMap", WRAM0[$c3a0]
+SECTION "TileMap", WRAM0
wTileMap:: ; c3a0
ds SCREEN_HEIGHT * SCREEN_WIDTH
wTileMapEnd:: ; c508
-SECTION "Animated Objects", WRAM0[$c508]
+SECTION "Animated Objects", WRAM0
wMisc:: ; c508
wTileMapBackup:: ; c508
; ds SCREEN_HEIGHT * SCREEN_WIDTH
@@ -1812,7 +1812,7 @@ wcc1d:: ds 1 ; cc1d
wcc1e:: ds 1 ; cc1e
wcc1f:: ds 1 ; cc1f
-SECTION "Video", WRAM0[$cc20]
+SECTION "Video", WRAM0
wBGMapBuffer:: ds 1 ; cc20
wcc21:: ds 1 ; cc21
wcc22:: ds 1 ; cc22
@@ -2387,7 +2387,7 @@ wcffd:: ds 1 ; cffd
wcffe:: ds 1 ; cffe
wcfff:: ds 1 ; cfff
-SECTION "WRAM1", WRAMX[$d000], BANK[$1]
+SECTION "WRAM1", WRAMX, BANK[$1]
wd000:: ds 1 ; d000
wd001:: ds 1 ; d001
wd002:: ds 1 ; d002
@@ -2726,7 +2726,7 @@ wd19e:: ds 1 ; d19e
wd19f:: ds 1 ; d19f
wd1a0:: ds 1 ; d1a0
-SECTION "Game Data", WRAMX[$d1a1], BANK[1]
+SECTION "Game Data", WRAMX, BANK[1]
wGameData::
wPlayerID:: dw ; d1a1
@@ -3632,7 +3632,7 @@ wda1f:: ds 1 ; da1f
wda20:: ds 1 ; da20
wda21:: ds 1 ; da21
-SECTION "Party", WRAMX[$da22], BANK[1]
+SECTION "Party", WRAMX, BANK[1]
wPokemonData::
wPartyCount:: ds 1 ; da22
@@ -3867,7 +3867,7 @@ wdd52:: ds 1 ; dd52
wdd53:: ds 1 ; dd53
wdd54:: ds 1 ; dd54
-SECTION "OT Party", WRAMX[$dd55], BANK[1]
+SECTION "OT Party", WRAMX, BANK[1]
wOTPartyCount:: ds 1 ; dd55
wOTPartySpecies:: ds PARTY_LENGTH ; dd56
@@ -3920,7 +3920,7 @@ ENDU
wGameDataEnd::
-SECTION "Stack", WRAMX[$dfff], BANK[1]
+SECTION "Stack", WRAMX, BANK[1]
wStackTop::
ds 1