mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 13:30:47 +00:00
262f6c507c
* Decompile z_play.c and Match/Document some of z_view.c Also fix the last non matching in z_sample.c and update some game state functions. * Suggestions from PR #74 * Fix undefined reference to Gameplay_DrawOverlay * Suggestion from PR #74 (2) * Fix a fake argument in func_800BC450
19 lines
574 B
C
19 lines
574 B
C
#include <ultra64.h>
|
|
#include <global.h>
|
|
|
|
void SaveContext_Init(void) {
|
|
bzero(&gSaveContext, sizeof(gSaveContext));
|
|
D_8015FA88 = 0;
|
|
D_8015FA8C = 0;
|
|
gSaveContext.seqIndex = 0xFF;
|
|
gSaveContext.nightSeqIndex = 0xFF;
|
|
gSaveContext.unk_140E = 0;
|
|
gSaveContext.nextCutsceneIndex = 0xFFEF;
|
|
gSaveContext.cutsceneTrigger = 0;
|
|
gSaveContext.chamberCutsceneNum = 0;
|
|
gSaveContext.nextDayTime = 0xFFFF;
|
|
gSaveContext.environmentTime = 0;
|
|
gSaveContext.dogIsLost = true;
|
|
gSaveContext.nextTransition = 0xFF;
|
|
gSaveContext.unk_13EE = 50;
|
|
}
|