![]() |
Routines |
| Prev: 46193 | Up: Map | Next: 46228 |
|
Used by the routines at GameMenu and ThemeMusic.
|
||||
|
If the music is still playing, jump ahead to ThemeMusic.
|
||||
| Check_Music | 46210 | LD HL,(46311) | HL=*Pointer_MusicData. | |
|
Retrieve music data (the terminator is 0).
|
||||
| 46213 | LD A,(HL) | A=*HL. | ||
| 46214 | OR A | If A is not zero jump to ThemeMusic. | ||
| 46215 | JR NZ,ThemeMusic | |||
|
Music has finished, so kick off demo mode.
|
||||
| 46217 | LD A,1 | Write 1 to Flag_DemoMode. | ||
| 46219 | LD (46431),A | |||
| 46222 | LD A,255 | Write 255 to TempStore_GameOptions. | ||
| 46224 | LD (46313),A | |||
| 46227 | RET | Return. | ||
| Prev: 46193 | Up: Map | Next: 46228 |