mirror of https://github.com/zeldaret/oot.git
`D_808321A8` -> `sSavedButtonStatus`
This commit is contained in:
parent
739832c90e
commit
eac2bf134b
|
@ -932,7 +932,7 @@ static void* sPromptChoiceTexs[][2] = {
|
|||
//! non-static, but we make it static here to match the bss order and patch the relocation section later in the build
|
||||
//! as our relocation generator does count COMMON symbols.
|
||||
|
||||
static u8 D_808321A8[5];
|
||||
static u8 sSavedButtonStatus[5];
|
||||
static PreRender sPlayerPreRender;
|
||||
void* sPreRenderCvg;
|
||||
|
||||
|
@ -3672,11 +3672,11 @@ void KaleidoScope_Update(PlayState* play) {
|
|||
|
||||
switch (pauseCtx->state) {
|
||||
case PAUSE_STATE_INIT:
|
||||
D_808321A8[0] = gSaveContext.buttonStatus[0];
|
||||
D_808321A8[1] = gSaveContext.buttonStatus[1];
|
||||
D_808321A8[2] = gSaveContext.buttonStatus[2];
|
||||
D_808321A8[3] = gSaveContext.buttonStatus[3];
|
||||
D_808321A8[4] = gSaveContext.buttonStatus[4];
|
||||
sSavedButtonStatus[0] = gSaveContext.buttonStatus[0];
|
||||
sSavedButtonStatus[1] = gSaveContext.buttonStatus[1];
|
||||
sSavedButtonStatus[2] = gSaveContext.buttonStatus[2];
|
||||
sSavedButtonStatus[3] = gSaveContext.buttonStatus[3];
|
||||
sSavedButtonStatus[4] = gSaveContext.buttonStatus[4];
|
||||
|
||||
pauseCtx->cursorX[PAUSE_MAP] = 0;
|
||||
pauseCtx->cursorSlot[PAUSE_MAP] = pauseCtx->cursorPoint[PAUSE_MAP] = pauseCtx->dungeonMapSlot =
|
||||
|
@ -4705,11 +4705,11 @@ void KaleidoScope_Update(PlayState* play) {
|
|||
break;
|
||||
}
|
||||
|
||||
gSaveContext.buttonStatus[0] = D_808321A8[0];
|
||||
gSaveContext.buttonStatus[1] = D_808321A8[1];
|
||||
gSaveContext.buttonStatus[2] = D_808321A8[2];
|
||||
gSaveContext.buttonStatus[3] = D_808321A8[3];
|
||||
gSaveContext.buttonStatus[4] = D_808321A8[4];
|
||||
gSaveContext.buttonStatus[0] = sSavedButtonStatus[0];
|
||||
gSaveContext.buttonStatus[1] = sSavedButtonStatus[1];
|
||||
gSaveContext.buttonStatus[2] = sSavedButtonStatus[2];
|
||||
gSaveContext.buttonStatus[3] = sSavedButtonStatus[3];
|
||||
gSaveContext.buttonStatus[4] = sSavedButtonStatus[4];
|
||||
interfaceCtx->unk_1FA = interfaceCtx->unk_1FC = 0;
|
||||
PRINTF_COLOR_YELLOW();
|
||||
PRINTF("i=%d LAST_TIME_TYPE=%d\n", i, gSaveContext.prevHudVisibilityMode);
|
||||
|
|
Loading…
Reference in New Issue