Fixed CreateMon param order in CreateFacilityMon (#6989)

This commit is contained in:
PCG 2025-05-28 16:21:00 +05:30 committed by GitHub
parent d80e92e687
commit 00f3c09a22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1581,7 +1581,7 @@ void CreateFacilityMon(const struct TrainerMon *fmon, u16 level, u8 fixedIV, u32
}
ModifyPersonalityForNature(&personality, fmon->nature);
CreateMon(dst, fmon->species, level, fixedIV, TRUE, personality, otID, OT_ID_PRESET);
CreateMon(dst, fmon->species, level, fixedIV, TRUE, personality, OT_ID_PRESET, otID);
friendship = MAX_FRIENDSHIP;
// Give the chosen Pokémon its specified moves.