mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-18 05:44:53 +00:00
apply a PR suggestion
https://github.com/zeldaret/oot/pull/2286#discussion_r1829219841
This commit is contained in:
parent
b8953fd0b9
commit
32a2dd0ae2
5 changed files with 11 additions and 11 deletions
|
@ -189,14 +189,14 @@ void Cutscene_UpdateScripted(PlayState* play, CutsceneContext* csCtx) {
|
|||
|
||||
if (CHECK_BTN_ALL(input->press.button, BTN_DLEFT) && (csCtx->state == CS_STATE_IDLE) && IS_CUTSCENE_LAYER) {
|
||||
gUseCutsceneCam = false;
|
||||
gSaveContext.save.cutsceneIndex = CS_INDEX_RESET;
|
||||
gSaveContext.save.cutsceneIndex = CS_INDEX_TRIGGERED;
|
||||
gSaveContext.cutsceneTrigger = 1;
|
||||
}
|
||||
|
||||
if (CHECK_BTN_ALL(input->press.button, BTN_DUP) && (csCtx->state == CS_STATE_IDLE) && IS_CUTSCENE_LAYER &&
|
||||
!gDebugCamEnabled) {
|
||||
gUseCutsceneCam = true;
|
||||
gSaveContext.save.cutsceneIndex = CS_INDEX_RESET;
|
||||
gSaveContext.save.cutsceneIndex = CS_INDEX_TRIGGERED;
|
||||
gSaveContext.cutsceneTrigger = 1;
|
||||
}
|
||||
}
|
||||
|
@ -208,7 +208,7 @@ void Cutscene_UpdateScripted(PlayState* play, CutsceneContext* csCtx) {
|
|||
|
||||
if ((gSaveContext.cutsceneTrigger != 0) && (csCtx->state == CS_STATE_IDLE)) {
|
||||
PRINTF(T("\nデモ開始要求 発令!", "\nDemo start request issued!"));
|
||||
gSaveContext.save.cutsceneIndex = CS_INDEX_RESET;
|
||||
gSaveContext.save.cutsceneIndex = CS_INDEX_TRIGGERED;
|
||||
gSaveContext.cutsceneTrigger = 1;
|
||||
}
|
||||
|
||||
|
@ -2293,7 +2293,7 @@ void Cutscene_SetupScripted(PlayState* play, CutsceneContext* csCtx) {
|
|||
u8 i;
|
||||
|
||||
if ((gSaveContext.cutsceneTrigger != 0) && (csCtx->state == CS_STATE_IDLE) && !Player_InCsMode(play)) {
|
||||
gSaveContext.save.cutsceneIndex = CS_INDEX_RESET;
|
||||
gSaveContext.save.cutsceneIndex = CS_INDEX_TRIGGERED;
|
||||
}
|
||||
|
||||
if ((gSaveContext.save.cutsceneIndex >= CS_INDEX_0) && (csCtx->state == CS_STATE_IDLE)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue