mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 15:01:32 -04:00
ea17d924e4
* 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`
23 lines
698 B
C
23 lines
698 B
C
#include "global.h"
|
|
|
|
SaveContext gSaveContext;
|
|
|
|
void SaveContext_Init(void) {
|
|
bzero(&gSaveContext, sizeof(gSaveContext));
|
|
gSaveContext.playerForm = 0;
|
|
gSaveContext.seqIndex = (u8)NA_BGM_DISABLED;
|
|
gSaveContext.nightSeqIndex = 0xFF;
|
|
gSaveContext.unk_3F46 = NA_BGM_GENERAL_SFX;
|
|
gSaveContext.nextCutsceneIndex = 0xFFEF;
|
|
gSaveContext.cutsceneTrigger = 0;
|
|
gSaveContext.unk_3F4D = 0;
|
|
gSaveContext.nextDayTime = 0xFFFF;
|
|
gSaveContext.environmentTime = 0;
|
|
gSaveContext.dogIsLost = true;
|
|
gSaveContext.nextTransition = 0xFF;
|
|
gSaveContext.unk_3F26 = 50;
|
|
gSaveContext.language = 1;
|
|
gSaveContext.audioSetting = 0;
|
|
gSaveContext.zTargetSetting = 0;
|
|
}
|