summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-04-21 15:18:26 -0400
committerGitHub <noreply@github.com>2021-04-21 15:18:26 -0400
commitdbf3de7755136f434a1fc07496d2a685e752ef08 (patch)
treef58267820cc9e82724618343f1b7918c1cafc904 /src/battle_script_commands.c
parentcf553c7006f2b7a290a1f000f40e437f102acb71 (diff)
parent4b0dd3e40622b9f84f4a3c4709674bc2361b9adf (diff)
Merge pull request #423 from PikalaxALT/doc_pokedex_screen
Document Pokedex Screen
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index 54452e3c1..f040d9419 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -9179,7 +9179,7 @@ static void atkF2_displaydexinfo(void)
if (!gPaletteFade.active)
{
FreeAllWindowBuffers();
- gBattleCommunication[TASK_ID] = sub_8106B60(species);
+ gBattleCommunication[TASK_ID] = DexScreen_RegisterMonToPokedex(species);
++gBattleCommunication[0];
}
break;