diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2021-11-02 04:54:19 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-01 13:54:19 -0400 |
| commit | 970513253b315c1c3243de0fb9bec045242c24ed (patch) | |
| tree | e55c31680271c5e7fcb72f266190f5c0e565ed7d /src/code/z_common_data.c | |
| parent | fa7007d73b72c852440e037ce4a48ff58f812f2a (diff) | |
Introducing Macros for BGM (Background Music) (#979)
* Import bgm Ids
* Small correction
* Fix kaleido
* Add defines for 0, 1, 0xFFFF. Fill in missing macros
* Improve names, move to bgm.h, add in macros to kankyo.c
* format
* Swap order of bgm macros and flags
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 43611d9d0..f63c9b4af 100644 --- a/src/code/z_common_data.c +++ b/src/code/z_common_data.c @@ -8,9 +8,9 @@ void SaveContext_Init(void) { bzero(&gSaveContext, sizeof(gSaveContext)); D_8015FA88 = 0; D_8015FA8C = 0; - gSaveContext.seqIndex = 0xFF; + gSaveContext.seqIndex = (u8)NA_BGM_DISABLED; gSaveContext.nightSeqIndex = 0xFF; - gSaveContext.unk_140E = 0; + gSaveContext.unk_140E = NA_BGM_GENERAL_SFX; gSaveContext.nextCutsceneIndex = 0xFFEF; gSaveContext.cutsceneTrigger = 0; gSaveContext.chamberCutsceneNum = 0; |
