This commit is contained in:
Christian Semmler 2024-02-02 16:17:01 -05:00
parent ab6bd81486
commit fbeaae3a62

View File

@ -610,6 +610,7 @@ MxU8 Infocenter::HandleButtonUp(MxS32 p_x, MxS32 p_y)
else { else {
if (m_unk0x1c8 != -1) { if (m_unk0x1c8 != -1) {
m_infoManDialogueTimer = 0; m_infoManDialogueTimer = 0;
switch (m_mapAreas[m_unk0x1c8].m_unk0x04) { switch (m_mapAreas[m_unk0x1c8].m_unk0x04) {
case 3: case 3:
GameState()->FUN_10039780(m_unk0xfc); GameState()->FUN_10039780(m_unk0xfc);
@ -677,6 +678,7 @@ MxU8 Infocenter::HandleButtonUp(MxS32 p_x, MxS32 p_y)
if (m_infocenterState->GetUnknown0x74() == 5) { if (m_infocenterState->GetUnknown0x74() == 5) {
InfomainScript dialogueToPlay; InfomainScript dialogueToPlay;
if (GameState()->GetUnknown10() == 0) { if (GameState()->GetUnknown10() == 0) {
if (m_infocenterState->GetInfocenterBufferElement(0) == NULL) { if (m_infocenterState->GetInfocenterBufferElement(0) == NULL) {
m_infocenterState->SetUnknown0x74(2); m_infocenterState->SetUnknown0x74(2);
@ -722,6 +724,7 @@ MxU8 Infocenter::HandleButtonUp(MxS32 p_x, MxS32 p_y)
UpdateFrameHot(TRUE); UpdateFrameHot(TRUE);
FUN_10070d10(0, 0); FUN_10070d10(0, 0);
} }
return FALSE; return FALSE;
} }