30 |
extern void Player_SetMusic_Birthday(); |
extern void Player_SetMusic_Birthday(); |
31 |
|
|
32 |
unsigned char CurrentMusic=LOADER_FIRST_MUSIC; |
unsigned char CurrentMusic=LOADER_FIRST_MUSIC; |
|
//int CounterMusicWhatever=50*2; |
|
33 |
|
|
34 |
void main() |
void main() |
35 |
{ |
{ |
41 |
MusicLooped=1; |
MusicLooped=1; |
42 |
|
|
43 |
System_InstallIRQ_SimpleVbl(); |
System_InstallIRQ_SimpleVbl(); |
44 |
LoaderApiEntryIndex=LOADER_FIRST_MUSIC+1; |
LoaderApiEntryIndex=LOADER_FIRST_MUSIC; |
45 |
//LoadFile(); |
LoadFile(); |
46 |
//Mym_ReInitialize(); |
Mym_ReInitialize(); |
47 |
|
|
48 |
while (1) |
while (1) |
49 |
{ |
{ |
50 |
|
/* |
51 |
if (MusicLooped) |
if (MusicLooped) |
52 |
{ |
{ |
53 |
poke(0xbb80+40*25,16 | ((peek(0xbb80+40*25)+1)&7) ); |
poke(0xbb80+40*25,16 | ((peek(0xbb80+40*25)+1)&7) ); |
61 |
Mym_ReInitialize(); |
Mym_ReInitialize(); |
62 |
++CurrentMusic; |
++CurrentMusic; |
63 |
} |
} |
64 |
|
*/ |
|
//--CounterMusicWhatever; |
|
65 |
|
|
66 |
for (LoaderApiEntryIndex=LOADER_FIRST_PICTURE;LoaderApiEntryIndex<LOADER_LAST_PICTURE;LoaderApiEntryIndex++) |
for (LoaderApiEntryIndex=LOADER_FIRST_PICTURE;LoaderApiEntryIndex<LOADER_LAST_PICTURE;LoaderApiEntryIndex++) |
67 |
{ |
{ |