battle_setup funcs

This commit is contained in:
jiangzhengwenjz committed 2019-10-21 03:08:10 +08:00
1 parent e48725d9b5
commit b0400ef6ba
41 files changed
+1105 -2346

No files matched your search

+1 -1
View File
@@ -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;
}