Fix conflicts with RavePossum's standalone BW pop up (#4752)

This commit is contained in:
Alex 2024-06-10 00:02:42 +02:00 committed by GitHub
commit 43e48353ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -418,7 +418,7 @@ static void Task_MapNamePopUpWindow(u8 taskId)
{
task->tYOffset = 0;
task->tState = STATE_WAIT;
gTasks[gPopupTaskId].data[1] = 0;
gTasks[gPopupTaskId].tOnscreenTimer = 0;
}
break;
case STATE_WAIT:
@ -460,8 +460,8 @@ static void Task_MapNamePopUpWindow(u8 taskId)
HideMapNamePopUpWindow();
return;
}
if (OW_POPUP_GENERATION != GEN_5)
SetGpuReg(REG_OFFSET_BG0VOFS, task->tYOffset);
if (OW_POPUP_GENERATION != GEN_5)
SetGpuReg(REG_OFFSET_BG0VOFS, task->tYOffset);
}
void HideMapNamePopUpWindow(void)