Update src/battle_script_commands.c

Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
This commit is contained in:
ghoulslash 2021-10-30 11:54:04 -04:00 committed by GitHub
parent dc9e418155
commit 915054e84e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6249,7 +6249,7 @@ static void Cmd_endlinkbattle(void)
}
static void Cmd_returntoball(void)
{
{
gActiveBattler = GetBattlerForBattleScript(gBattlescriptCurrInstr[1]);
BtlController_EmitReturnMonToBall(0, 1);
MarkBattlerForControllerExec(gActiveBattler);