From 00f3c09a226d6dcba25ec52d92a03d54e766aa65 Mon Sep 17 00:00:00 2001 From: PCG <75729017+PCG06@users.noreply.github.com> Date: Wed, 28 May 2025 16:21:00 +0530 Subject: [PATCH] Fixed `CreateMon` param order in `CreateFacilityMon` (#6989) --- src/battle_tower.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_tower.c b/src/battle_tower.c index c20c59602b..73bea47899 100644 --- a/src/battle_tower.c +++ b/src/battle_tower.c @@ -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.