Fix compile

This commit is contained in:
Eduardo Quezada 2024-08-14 09:26:26 -04:00 committed by GitHub
parent 913c97c80e
commit db81dbd84a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2690,8 +2690,8 @@ void ConvertBattleStruct(void *expStruct, void *vanStruct, u32 structId, bool32
vanMon->spDefenseIV = expMon->spDefenseIV;
vanMon->isEgg = FALSE;
vanMon->ability = expMon->ability;
vanMon->type1 = expMon->type1;
vanMon->type2 = expMon->type2;
vanMon->type1 = expMon->types[0];
vanMon->type2 = expMon->types[1];
vanMon->unknown = 0;
vanMon->hp = expMon->hp;
vanMon->level = expMon->level;