Skip to content

Commit

Permalink
Documenting zloc_BE0
Browse files Browse the repository at this point in the history
  • Loading branch information
Clownacy committed Mar 9, 2015
1 parent 1fa29a3 commit 9b5d599
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions s2.sounddriver.asm
Expand Up @@ -2145,7 +2145,7 @@ zSpeedUpMusic:
or a
ld a,(zTempoTurbo)
jr z,zSetTempo
jr zloc_BE0
jr zSetTempo_1up

; ===========================================================================
; zloc_BCB:
Expand All @@ -2156,7 +2156,7 @@ zSlowDownMusic:
or a
ld a,(zTempoMod)
jr z,zSetTempo
jr zloc_BE0
jr zSetTempo_1up

; ===========================================================================
; helper routines for changing the tempo
Expand All @@ -2166,10 +2166,11 @@ zSetTempo:
ld (zSpeedUpFlag),a
ret
; ---------------------------------------------------------------------------
zloc_BE0:
ld (1E3Ah),a
;zloc_BE0
zSetTempo_1up:
ld (z1upBackup+zCurrentTempo-zComRange),a ; Store new tempo value
ld a,b
ld (1E4Ch),a
ld (z1upBackup+zSpeedUpFlag-zComRange),a
ret

; ||||||||||||||| S U B R O U T I N E |||||||||||||||||||||||||||||||||||||||
Expand Down

0 comments on commit 9b5d599

Please sign in to comment.