Function: DrawDialogBox_IconPannel
Insert:
Code: Select all
if((m_iLU_Pool > 0) && (m_bIsDialogEnabled[12] == FALSE)) PutString_SprFont2( 557, 395, "Level Up!", (timeGetTime()/3)%255, (timeGetTime()/3)%255, 0);
Find:
Code: Select all
if (cButtonSide == 1) {
Code: Select all
if((m_iLU_Pool > 0) && (m_bIsDialogEnabled[12] == FALSE) && (msX > 555) && (msX < 625) && (msY > 395) && (msY < 407)){
PlaySound('E', 14, 5);
EnableDialogBox(12, NULL, NULL, NULL);