mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
make record mixing compile
This commit is contained in:
parent
9e7965fab0
commit
dd1c7c741a
@ -390,13 +390,13 @@ static bool8 sub_807158C(struct DayCare *daycare, u8 daycareId)
|
||||
struct DaycareMon *daycareMon = &daycare->mons[daycareId];
|
||||
|
||||
GetBoxMonNick(&daycareMon->mon, nick);
|
||||
if (daycareMon->misc.mail.itemId != 0
|
||||
&& (StringCompareWithoutExtCtrlCodes(nick, daycareMon->misc.monName) != 0
|
||||
|| StringCompareWithoutExtCtrlCodes(gSaveBlock2Ptr->playerName, daycareMon->misc.OT_name) != 0))
|
||||
if (daycareMon->mail.message.itemId != 0
|
||||
&& (StringCompareWithoutExtCtrlCodes(nick, daycareMon->mail.monName) != 0
|
||||
|| StringCompareWithoutExtCtrlCodes(gSaveBlock2Ptr->playerName, daycareMon->mail.OT_name) != 0))
|
||||
{
|
||||
StringCopy(gStringVar1, nick);
|
||||
TVShowConvertInternationalString(gStringVar2, daycareMon->misc.OT_name, daycareMon->misc.gameLanguage);
|
||||
TVShowConvertInternationalString(gStringVar3, daycareMon->misc.monName, daycareMon->misc.monLanguage);
|
||||
TVShowConvertInternationalString(gStringVar2, daycareMon->mail.OT_name, daycareMon->mail.gameLanguage);
|
||||
TVShowConvertInternationalString(gStringVar3, daycareMon->mail.monName, daycareMon->mail.monLanguage);
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
@ -119,11 +119,10 @@ void ClearAllContestWinnerPics(void)
|
||||
void sub_8084400(void)
|
||||
{
|
||||
// probably clearing one struct for battle frontier
|
||||
CpuFill32(0, gSaveBlock2Ptr->field_64C, 2272);
|
||||
CpuFill32(0, &gSaveBlock2Ptr->battleTower, 2272);
|
||||
|
||||
// those look like strings
|
||||
gSaveBlock2Ptr->field_EE1 = 0xFF;
|
||||
gSaveBlock2Ptr->field_EE9 = 0xFF;
|
||||
gSaveBlock2Ptr->field_EE1[0][0] = EOS;
|
||||
gSaveBlock2Ptr->field_EE1[1][0] = EOS;
|
||||
}
|
||||
|
||||
void WarpToTruck(void)
|
||||
|
Loading…
Reference in New Issue
Block a user