![]() |
Routines |
Prev: 60725 | Up: Map | Next: 60815 |
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 | 60797 | LD A,(65528) | Jump to ToggleMusicOff if *MusicOnOff is equal to 1. | |
60800 | CP 1 | |||
60802 | JR Z,ToggleMusicOff | |||
60804 | LD A,1 | Write ON (1) to *MusicOnOff. | ||
60806 | LD (65528),A | |||
60809 | RET | Return. | ||
ToggleMusicOff | 60810 | XOR A | Write OFF (0) to *MusicOnOff. | |
60811 | LD (65528),A | |||
60814 | RET | Return. |
Prev: 60725 | Up: Map | Next: 60815 |