Adds support for shouldDynamax and shouldTerastal in trainer parties (#4431)
This commit is contained in:
parent
308475a163
commit
aaaccbfe6c
1 changed files with 6 additions and 0 deletions
|
@ -1822,12 +1822,18 @@ static void fprint_trainers(const char *output_path, FILE *f, struct Parsed *par
|
||||||
fprintf(f, ",\n");
|
fprintf(f, ",\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pokemon->dynamax_level_line || pokemon->gigantamax_factor_line)
|
||||||
|
{
|
||||||
|
fprintf(f, " .shouldDynamax = TRUE,\n");
|
||||||
|
}
|
||||||
|
|
||||||
if (pokemon->tera_type_line)
|
if (pokemon->tera_type_line)
|
||||||
{
|
{
|
||||||
fprintf(f, "#line %d\n", pokemon->tera_type_line);
|
fprintf(f, "#line %d\n", pokemon->tera_type_line);
|
||||||
fprintf(f, " .teraType = ");
|
fprintf(f, " .teraType = ");
|
||||||
fprint_constant(f, "TYPE", pokemon->tera_type);
|
fprint_constant(f, "TYPE", pokemon->tera_type);
|
||||||
fprintf(f, ",\n");
|
fprintf(f, ",\n");
|
||||||
|
fprintf(f, " .shouldTerastal = TRUE,\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pokemon->moves_n > 0)
|
if (pokemon->moves_n > 0)
|
||||||
|
|
Loading…
Reference in a new issue