Routines |
Prev: ED35 | Up: Map | Next: ED8F |
Used by the routine at PlayerControls.
|
||||
A clone in functionality of ToggleMusic, just the check is the opposite way round and we return instead of jumping.
|
||||
InGame_ToggleMusic | ED7D | LD A,($FFF8) | Jump to ToggleMusicOff if *MusicOnOff is equal to 01. | |
ED80 | CP $01 | |||
ED82 | JR Z,ToggleMusicOff | |||
ED84 | LD A,$01 | Write ON (01) to *MusicOnOff. | ||
ED86 | LD ($FFF8),A | |||
ED89 | RET | Return. | ||
ToggleMusicOff | ED8A | XOR A | Write OFF (00) to *MusicOnOff. | |
ED8B | LD ($FFF8),A | |||
ED8E | RET | Return. |
Prev: ED35 | Up: Map | Next: ED8F |