summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm57
1 files changed, 32 insertions, 25 deletions
diff --git a/wram.asm b/wram.asm
index 5d09b77..78a74df 100644
--- a/wram.asm
+++ b/wram.asm
@@ -17,43 +17,46 @@ wChannel6:: channel_struct wChannel6 ; c0fa
wChannel7:: channel_struct wChannel7 ; c12c
wChannel8:: channel_struct wChannel8 ; c15e
- ds 1 ; c190
+ ds 8 ; TODO
-wCurTrackDuty:: db ; c191
-wCurTrackIntensity:: db ; c192
-wCurTrackFrequency:: dw ; c193
-wc195:: db ; c195
-
- ds 2 ; TODO
+wCurChannel:: ; c198
+ db
-wCurChannel:: db ; c198
-wVolume:: db ; c199
-wSoundOutput:: db ; c19a
+wVolume:: ; c199
+ db
- ds 1 ; TODO
+ ds 2 ; TODO
-wMusicID:: dw ; c19c
-wMusicBank:: db ; c19e
+wMusicID:: ; c19c
+ dw
+wMusicBank:: ; c19e
+ db
+
ds 6 ; TODO
+
+wSoundFade:: ; c1a5
+ db
+
+ ds 1
-wMusicFade:: ; c1a5
-; fades volume over x frames
-; bit 7: fade in/out
-; bit 0-6: number of frames for each volume level
-; $00 = none (default)
+wNextBGM:: ; c1a7
db
-wMusicFadeCount:: db ; c1a6
-wMusicFadeID:: dw ; c1a7
+
+ ds 5
+
+wMapMusic:: ; c1ad
+ db
- ds 4 ; TODO
+wCryPitch:: ; c1ae
+ dw
-wMapMusic:: db ; c1ad
-wCryPitch:: dw ; c1ae
-wCryLength:: dw ; c1b0
+wCryLength:: ; c1b0
+ dw
ds 10 ; TODO
+
; either wChannelsEnd or wMusicEnd, unsure
wMusicInitEnd:: ; c1bc
@@ -110,6 +113,9 @@ SECTION "CB56", WRAM0[$CB5B]
wcb5b:: ds 1 ; multipurpose, also wName, wMonDexIndex2
wNameCategory:: ds 1
+SECTION "CB5E", WRAM0[$CB5E]
+wJumptableIndex:: ds 4
+
SECTION "CB62", WRAM0[$CB62]
wVBCopySize:: ds 1 ; cb62
@@ -149,7 +155,8 @@ wVBlankOccurred: db ; cc33
ds 4
-wcc38:: ; cc38 ; TODO: wceeb in pokegold, what is this?
+;Controls what type of opening (fire/notes) you get.
+wTitleSequenceOpeningType:: ; cc38
db
wDebugWarpSelection:: ; cc39