diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2021-11-21 01:01:37 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-20 11:01:37 -0300 |
| commit | ea17d924e4b2bd276b01c476557c2361a5ee5f20 (patch) | |
| tree | 9e8a0d11e201a073dd4d933bffa91a03e3c501b8 /src/code/z_common_data.c | |
| parent | 97425f68aef4a8fc773a5ef6fb5bd61b51d40f71 (diff) | |
Audio BGM Macros (#460)
* Introduce bgms
* Fill in bgm enums
* Rename bgm to clearer names
* Fix spacing
* Fix "No_Music" define
* remove comment
* Improve bgm names, found another seqId function
* Another seqId function
* Another name change
* Woods of Mystery -> Sarias Song
* add saria's song bgm to pierre
* Another bgm function found!
* Add bgm's to `gSaveContext.seqIndex`
Diffstat (limited to 'src/code/z_common_data.c')
| -rw-r--r-- | src/code/z_common_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_common_data.c b/src/code/z_common_data.c index 88fa3e103..26fd324a7 100644 --- a/src/code/z_common_data.c +++ b/src/code/z_common_data.c @@ -5,9 +5,9 @@ SaveContext gSaveContext; void SaveContext_Init(void) { bzero(&gSaveContext, sizeof(gSaveContext)); gSaveContext.playerForm = 0; - gSaveContext.seqIndex = 0xFF; + gSaveContext.seqIndex = (u8)NA_BGM_DISABLED; gSaveContext.nightSeqIndex = 0xFF; - gSaveContext.unk_3F46 = 0; + gSaveContext.unk_3F46 = NA_BGM_GENERAL_SFX; gSaveContext.nextCutsceneIndex = 0xFFEF; gSaveContext.cutsceneTrigger = 0; gSaveContext.unk_3F4D = 0; |
