diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-11-18 20:00:36 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-11-18 20:00:36 +0100 |
commit | 1b0cfb075723af7b457ec118eca2888df449bf9e (patch) | |
tree | 10d1e3635e50be6b4909f56097652fe4b989e373 /src/scrcmd.c | |
parent | 032dd251e628debd1ec7774fa42b6e7d39b3d83b (diff) |
Party Size and Num Stats
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c index 127a5ecaa..d2a6c2a17 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -1713,8 +1713,8 @@ bool8 ScrCmd_checkpartymove(struct ScriptContext *ctx) u8 i; u16 moveId = ScriptReadHalfword(ctx); - gSpecialVar_Result = 6; - for (i = 0; i < 6; i++) + gSpecialVar_Result = PARTY_SIZE; + for (i = 0; i < PARTY_SIZE; i++) { u16 species = GetMonData(&gPlayerParty[i], MON_DATA_SPECIES, NULL); if (!species) |