Fix bug with IF_GENDER evolution condition (#7749)

This commit is contained in:
FosterProgramming 2025-09-19 19:13:29 +02:00 committed by GitHub
parent b6f1a6be5f
commit 4e6f726efe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4477,7 +4477,7 @@ bool32 DoesMonMeetAdditionalConditions(struct Pokemon *mon, const struct Evoluti
{
// Gen 2
case IF_GENDER:
if (gender == GetMonGender(mon))
if (gender == params[i].arg1)
currentCondition = TRUE;
break;
case IF_MIN_FRIENDSHIP: