summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-04-21 09:21:53 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-04-21 10:34:15 -0400
commit704dc2f913a9d3f2cd6217795a10dd54ad6d2e2f (patch)
treeb14daa387d349dd7ee54ec41586f9ee84dc902e4 /src/battle_script_commands.c
parentcf553c7006f2b7a290a1f000f40e437f102acb71 (diff)
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;