![]() |
Routines |
| Prev: 54688 | Up: Map | Next: 54727 |
|
Used by the routine at MenuKeypress.
|
||||
|
Mostly a clone of InGame_ToggleMusic.
|
||||
| ToggleMusic | 54704 | LD A,(65528) | Jump to ToggleMusicOn if *MusicOnOff is equal to 0. | |
| 54707 | CP 0 | |||
| 54709 | JR Z,ToggleMusicOn | |||
| 54711 | LD A,0 | Write OFF (0) to *MusicOnOff. | ||
| 54713 | LD (65528),A | |||
| 54716 | JP MenuKeypress_Loop | Jump to MenuKeypress_Loop. | ||
| ToggleMusicOn | 54719 | LD A,1 | Write ON (1) to *MusicOnOff. | |
| 54721 | LD (65528),A | |||
| 54724 | JP MenuKeypress_Loop | Jump to MenuKeypress_Loop. | ||
| Prev: 54688 | Up: Map | Next: 54727 |