diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-01-07 16:10:24 -0600 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2021-01-09 10:33:29 -0600 |
commit | ec192a8fa80c389c67878d3da9f9faeb07b1451f (patch) | |
tree | ce0ee74fdae92286e4ae091196bb5044c6a1f768 /include | |
parent | 469212f7ee42d04e3160d357ed1f088f12edd391 (diff) |
5% wooo
Diffstat (limited to 'include')
-rw-r--r-- | include/constants/bg_music.h | 13 | ||||
-rw-r--r-- | include/crt0.h | 11 | ||||
-rw-r--r-- | include/event_flag.h | 13 | ||||
-rw-r--r-- | include/music.h | 20 |
4 files changed, 55 insertions, 2 deletions
diff --git a/include/constants/bg_music.h b/include/constants/bg_music.h index 0e6f416..df4c318 100644 --- a/include/constants/bg_music.h +++ b/include/constants/bg_music.h @@ -1,6 +1,15 @@ #ifndef GUARD_BG_MUSIC_H #define GUARD_BG_MUSIC_H -#define MUS_TINY_WOODS 1 +#define MUS_POKEMON_SQUARE 7 +#define MUS_LOADING_SCREEN 8 +#define MUS_THERES_TROUBLE 10 +#define MUS_KECLEON_SHOP 17 +#define MUS_STOP_THIEF 18 +#define MUS_WORLD_CALAMITY 19 +#define MUS_INTRO 40 +#define MUS_TITLE_SCREEN 43 -#endif //GUARD_BG_MUSIC_H +#define NUM_BG_SONGS 128 + +#endif //GUARD_BG_MUSIC_H diff --git a/include/crt0.h b/include/crt0.h new file mode 100644 index 0000000..3121eea --- /dev/null +++ b/include/crt0.h @@ -0,0 +1,11 @@ +#ifndef GUARD_CRT0_H +#define GUARD_CRT0_H + +// Exported type declarations + +// Exported RAM declarations + +// Exported ROM declarations +extern u32 IntrMain[]; + +#endif //GUARD_CRT0_H diff --git a/include/event_flag.h b/include/event_flag.h new file mode 100644 index 0000000..c9bab15 --- /dev/null +++ b/include/event_flag.h @@ -0,0 +1,13 @@ +struct UnkEventStruct +{ + /* 0x0 */ s16 *unk0; + /* 0x4 */ u32 *unk4; +}; + + +bool8 sub_80026CC(s16 r0); +void sub_80026E8(s16 r0); +bool8 sub_8002700(void *r0); +bool8 sub_8002718(u8 *r0); +void sub_8002758(u32 *r0); +u8 sub_800276C(void); diff --git a/include/music.h b/include/music.h new file mode 100644 index 0000000..3a83946 --- /dev/null +++ b/include/music.h @@ -0,0 +1,20 @@ +#ifndef GUARD_MUSIC_H +#define GUARD_MUSIC_H + +void sub_800C93C(void); +void sub_800C9CC(void); +u8 sub_800CA38(u32 songIndex); +void StartNewBGM(u16 songIndex); +bool8 IsBGSong(u32 songIndex); +bool8 sub_800CAAC(u32 songIndex); +bool8 sub_800CACC(u32 songIndex); +u16 sub_800CAE0(u16 songIndex); +bool8 sub_800CAF0(u16 songIndex); +void StartNewBGM(u16 songIndex); +void FadeInNewBGM(u16 SongIndex, u16 speed); +u16 GetCurrentBGSong(void); + +void nullsub_19(void); +void nullsub_20(u16 songIndex); + +#endif //GUARD_MUSIC_H |