improved BE compatibility, credits @AsparagusEduardo
This commit is contained in:
parent
a8da254fcf
commit
5ff1dcec9d
1 changed files with 6 additions and 0 deletions
|
@ -9979,9 +9979,15 @@ static void Cmd_displaydexinfo(void)
|
|||
if (!gPaletteFade.active)
|
||||
{
|
||||
FreeAllWindowBuffers();
|
||||
#ifndef BATTLE_ENGINE
|
||||
gBattleCommunication[TASK_ID] = DisplayCaughtMonDexPage(species,
|
||||
gBattleMons[gBattlerTarget].otId,
|
||||
gBattleMons[gBattlerTarget].personality);
|
||||
#else
|
||||
gBattleCommunication[TASK_ID] = DisplayCaughtMonDexPage(species,
|
||||
gBattleMons[GetCatchingBattler()].otId,
|
||||
gBattleMons[GetCatchingBattler()].personality);
|
||||
#endif
|
||||
gBattleCommunication[0]++;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue