summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2012-09-10 21:20:58 -0600
committerIIMarckus <iimarckus@gmail.com>2012-09-10 21:20:58 -0600
commit3501a0be8cfda7505743051668451b17a0b5337d (patch)
treec2bef654b8268a280897c0bbf556b79ca88ac198 /wram.asm
parent9037759c1ab9d9452961a94502719cab5c075e65 (diff)
Add labels for ram values discovered while disassembling battle music.
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm33
1 files changed, 33 insertions, 0 deletions
diff --git a/wram.asm b/wram.asm
index 6593e7bd0..11e40ccb1 100644
--- a/wram.asm
+++ b/wram.asm
@@ -56,6 +56,30 @@ BattleMonSpclAtk: ; c646
BattleMonSpclDef: ; c648
ds 2
+SECTION "OtherTrainerClass",BSS[$d22f]
+
+OtherTrainerClass: ; 0xd22f
+; class (Youngster, Bug Catcher, etc.) of opposing trainer
+; 0 if opponent is a wild Pokémon, not a trainer
+ ds 1
+
+Wramd230: ; 0xd230
+; XXX what is this for
+ ds 1
+
+OtherTrainerID: ; 0xd231
+; which trainer of the class that you're fighting
+; (Joey, Mikey, Albert, etc.)
+ ds 1
+
+SECTION "Timeofday",BSS[$d269]
+
+TimeOfDay: ; 0xd269
+; 0 if morn
+; 1 if day
+; 2 if nite
+ ds 1
+
SECTION "OtherTrainerParty",BSS[$d280]
OTPartyMonHeader: ; d280
@@ -649,6 +673,15 @@ Box13Name: ; 0xdb31
Box14Name: ; 0xdb3a
ds 9
+SECTION "BackupMapInfo", BSS[$dcad]
+
+; used on maps like second floor pokécenter, which are reused, so we know which
+; map to return to
+BackupMapGroup: ; 0xdcad
+ ds 1
+BackupMapNumber: ; 0xdcae
+ ds 1
+
SECTION "PlayerMapInfo", BSS[$dcb4]
WarpNumber: ; 0xdcb4