mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-23 22:32:50 -05:00
Set Navi timer back to normal
This commit is contained in:
parent
48a41bd11c
commit
a5acf6da20
@ -1382,7 +1382,7 @@ void func_80A053F0(Actor* thisx, GlobalContext* globalCtx) {
|
|||||||
|
|
||||||
if (player->naviTextId == 0) {
|
if (player->naviTextId == 0) {
|
||||||
if (player->unk_664 == NULL) {
|
if (player->unk_664 == NULL) {
|
||||||
if (((gSaveContext.naviTimer >= 40) && (gSaveContext.naviTimer <= 3000)) || (nREG(89) != 0)) {
|
if (((gSaveContext.naviTimer >= 600) && (gSaveContext.naviTimer <= 3000)) || (nREG(89) != 0)) {
|
||||||
player->naviTextId = ElfMessage_GetCUpText(globalCtx);
|
player->naviTextId = ElfMessage_GetCUpText(globalCtx);
|
||||||
|
|
||||||
if (player->naviTextId == 0x15F) {
|
if (player->naviTextId == 0x15F) {
|
||||||
@ -1401,7 +1401,7 @@ void func_80A053F0(Actor* thisx, GlobalContext* globalCtx) {
|
|||||||
|
|
||||||
if (thisx->textId == ElfMessage_GetCUpText(globalCtx)) {
|
if (thisx->textId == ElfMessage_GetCUpText(globalCtx)) {
|
||||||
this->fairyFlags |= 0x80;
|
this->fairyFlags |= 0x80;
|
||||||
gSaveContext.naviTimer = 10;
|
gSaveContext.naviTimer = 3001;
|
||||||
}
|
}
|
||||||
|
|
||||||
this->fairyFlags |= 0x10;
|
this->fairyFlags |= 0x10;
|
||||||
|
@ -15287,8 +15287,8 @@ void func_80853148(GlobalContext* globalCtx, Actor* actor) {
|
|||||||
this->naviActor->flags |= ACTOR_FLAG_8;
|
this->naviActor->flags |= ACTOR_FLAG_8;
|
||||||
func_80835EA4(globalCtx, 0xB);
|
func_80835EA4(globalCtx, 0xB);
|
||||||
// If rando'd and Navi wants to give you a general quest tip, give a rando tip instead
|
// If rando'd and Navi wants to give you a general quest tip, give a rando tip instead
|
||||||
// if (actor->textId >= 0x0140 && actor->textId <= 0x015F && gSaveContext.n64ddFlag) {
|
if (actor->textId >= 0x0140 && actor->textId <= 0x015F && gSaveContext.n64ddFlag) {
|
||||||
// Message_StartTextbox(globalCtx, 0x0140, NULL);
|
Message_StartTextbox(globalCtx, 0x0140, NULL);
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user