summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm75
1 files changed, 51 insertions, 24 deletions
diff --git a/wram.asm b/wram.asm
index 928ed33a4..014a86f6b 100644
--- a/wram.asm
+++ b/wram.asm
@@ -370,6 +370,7 @@ Sprites: ; c400
; bit 3: vram bank (cgb only)
; bit 2-0: pal # (cgb only)
ds 160
+SpritesEnd
TileMap: ; c4a0
; 20x18 grid of 8x8 tiles
@@ -786,8 +787,8 @@ OverworldMapEnd:
ds 12
SECTION "gfx2",WRAM0[$cd20]
-BGMapBuffer:
-CreditsPos: ; cd20
+CreditsPos:
+BGMapBuffer: ; cd20
ds 2
CreditsTimer: ; cd22
ds 1
@@ -833,16 +834,11 @@ CurSpecies: ; cf60
MenuSelection:; cf74
ds 1
- ds 14
-
-TileY: ; cf82
- ds 1
-TileX: ; cf83
- ds 1
-
-SECTION "VBlank",WRAM0[$cfb2]
+SECTION "VBlank",WRAM0[$cfb1]
+OverworldDelay: ; cfb1
+ ds 1
TextDelayFrames: ; cfb2
ds 1
VBlankOccurred: ; cfb3
@@ -929,6 +925,7 @@ EngineBuffer1: ; d03e
CurFruit: ; d03f
ds 1
+MartPointer: ; d040
ds 2
MovementAnimation: ; d042
@@ -984,7 +981,13 @@ VramState: ; d0ed
; flickers when climbing waterfall
ds 1
- ds 24
+ ds 2
+
+CurMart: ; d0f0
+ ds 16
+CurMartEnd
+
+ ds 6
CurItem: ; d106
ds 1
@@ -1079,7 +1082,16 @@ CurPartyLevel: ; d143
ds 1
-SECTION "connections",WRAMX[$d1a9],BANK[1]
+SECTION "UsedSprites",WRAMX[$d154],BANK[1]
+UsedSprites: ; d154
+ ds 32
+
+SECTION "map",WRAMX[$d1a3],BANK[1]
+
+MapEventBank: ; d1a3
+ ds 1
+
+ ds 5
MapConnections:
@@ -1191,8 +1203,8 @@ EvolvableFlags: ; d1e8
ds 1
-Buffer1:
-MagikarpLength: ; d1ea
+MagikarpLength:
+Buffer1: ; d1ea
ds 1
MovementType:
Buffer2: ; d1eb
@@ -1527,8 +1539,10 @@ SECTION "Scripting",WRAMX[$d434],BANK[1]
ScriptFlags: ; d434
SCRIPT_RUNNING EQU 2
ds 1
-
- ds 2
+ScriptFlags2: ; d435
+ ds 1
+ScriptFlags3: ; d436
+ ds 1
ScriptMode: ; d437
SCRIPT_OFF EQU 0
@@ -1557,17 +1571,19 @@ PlayerGender: ; d472
ds 8
PlayerID: ; d47b
ds 2
+
PlayerName: ; d47d
ds 11
-PlayerNameEnd: ; d488
-
+MomsName: ; d488
ds 11
-
-WRivalName: ; d493
+RivalName: ; d493
+ ds 11
+RedsName: ; d49e
+ ds 11
+GreensName: ; d4a9
ds 11
-WRivalNameEnd: ; d49e
- ds 24
+ ds 2
; init time set at newgame
StartDay: ; d4b6
@@ -1604,7 +1620,9 @@ FRIDAY EQU 5
SATURDAY EQU 6
ds 1
- ds 12
+ ds 10
+
+ ds 2
PlayerSprite: ; d4d8
ds 1
@@ -1655,6 +1673,11 @@ OBJECT_LENGTH EQU $10
ds OBJECT_LENGTH * NUM_OBJECTS
+SECTION "VariableSprites",WRAMX[$d82e],BANK[1]
+VariableSprites: ; d82e
+ ds $10
+
+
SECTION "Status",WRAMX[$d841],BANK[1]
TimeOfDayPal: ; d841
ds 1
@@ -1686,21 +1709,25 @@ KantoBadges: ; d858
SECTION "Items",WRAMX[$d859],BANK[1]
TMsHMs: ; d859
ds 57
+TMsHMsEnd
NumItems: ; d892
ds 1
Items: ; d893
ds 41
+ItemsEnd
NumKeyItems: ; d8bc
ds 1
KeyItems: ; d8bd
ds 26
+KeyItemsEnd
NumBalls: ; d8d7
ds 1
Balls: ; d8d8
ds 25
+BallsEnd
SECTION "overworld",WRAMX[$d95b],BANK[1]
WhichRegisteredItem: ; d95b
@@ -1982,7 +2009,7 @@ BreedMon1Nick: ; def6
BreedMon1OT: ; df01
ds 11
BreedMon1Stats:
-Breedmon1Species: ; df0c
+BreedMon1Species: ; df0c
ds 1
ds 31