diff options
author | YamaArashi <shadow962@live.com> | 2015-08-08 22:32:44 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-08-08 22:32:44 -0700 |
commit | 2b018159997e3b580efd114ff4e3548a0de3cbc5 (patch) | |
tree | c43e657b2b5734db05e01fe31e1cb12c4fa987ad /engine/menu | |
parent | 40c1ecb4374a83d9511fe2c5fa99704d9cfc521b (diff) |
commented audio code
Diffstat (limited to 'engine/menu')
-rwxr-xr-x | engine/menu/pokedex.asm | 4 | ||||
-rwxr-xr-x | engine/menu/status_screen.asm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/menu/pokedex.asm b/engine/menu/pokedex.asm index b5ebd83e..fd8a928d 100755 --- a/engine/menu/pokedex.asm +++ b/engine/menu/pokedex.asm @@ -397,7 +397,7 @@ ShowPokedexDataInternal: ; 402e2 (10:42e2) ld hl,wd72c set 1,[hl] ld a,$33 ; 3/7 volume - ld [$ff24],a + ld [rNR50],a call GBPalWhiteOut ; zero all palettes call ClearScreen ld a,[wd11e] ; pokemon ID @@ -566,7 +566,7 @@ ShowPokedexDataInternal: ; 402e2 (10:42e2) ld hl,wd72c res 1,[hl] ld a,$77 ; max volume - ld [$ff24],a + ld [rNR50],a ret HeightWeightText: ; 40448 (10:4448) diff --git a/engine/menu/status_screen.asm b/engine/menu/status_screen.asm index c13d7c85..bc58ba21 100755 --- a/engine/menu/status_screen.asm +++ b/engine/menu/status_screen.asm @@ -80,7 +80,7 @@ StatusScreen: ; 12953 (4:6953) ld hl, wd72c set 1, [hl] ld a, $33 - ld [$ff24], a ; Reduce the volume + ld [rNR50], a ; Reduce the volume call GBPalWhiteOutWithDelay3 call ClearScreen call UpdateSprites @@ -430,7 +430,7 @@ StatusScreen2: ; 12b57 (4:6b57) ld hl, wd72c res 1, [hl] ld a, $77 - ld [$ff24], a + ld [rNR50], a call GBPalWhiteOut jp ClearScreen |