Rando: GtG and carpenter prompts skip (#663)

* Skip gtg and carpenter prompt

For rando. Tested and just works.

* Fixed missing break
This commit is contained in:
aMannus 2022-07-13 00:57:02 +02:00 committed by GitHub
parent c9fdf8a480
commit 2159c006fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,12 +252,18 @@ void func_80B3A4F8(EnWonderTalk2* this, GlobalContext* globalCtx) {
} }
this->unk_158 = 0; this->unk_158 = 0;
if (!this->unk_156) { if (!this->unk_156) {
// whether or not to skip the text in rando // Whether or not to skip the text in rando
bool randoSkipText = false; bool randoSkipText = false;
if (gSaveContext.n64ddFlag) { if (gSaveContext.n64ddFlag) {
// scenes for which all of this type of wonder talk should be skipped. // Scenes for which all of this type of wonder talk should be skipped.
switch (globalCtx->sceneNum) { switch (globalCtx->sceneNum) {
case 0x0007: //shadow temple case 0x0007: // Shadow Temple
randoSkipText = true;
break;
case 0x000B: // Gerudo Training Grounds
randoSkipText = true;
break;
case 0x000C: // Inside Gerudo Fortress
randoSkipText = true; randoSkipText = true;
break; break;
default: default: