summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-10-26 10:23:13 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-10-26 10:23:13 -0400
commit93f0703fcdda810062071fde4febe111146c18cc (patch)
tree241164c7e5fd5e71a9e3eca6eb8d6a918566d963 /src/scrcmd.c
parentfd78afa5a7d4441fe0d76693e301deb6bc2557dc (diff)
parent1f569f0136952135a0e17fe22cf180c0e87dd007 (diff)
Merge branch 'master' of github.com:pret/pokefirered into script_menu
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index be8e328db..9675a132e 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1916,7 +1916,7 @@ bool8 ScrCmd_checktrainerflag(struct ScriptContext *ctx)
{
u16 index = VarGet(ScriptReadHalfword(ctx));
- ctx->comparisonResult = HasTrainerAlreadyBeenFought(index);
+ ctx->comparisonResult = HasTrainerBeenFought(index);
return FALSE;
}