Fixed mons mot disobeying with Gen8 mechanics disabled (#2990)

This commit is contained in:
Eclipse 2023-05-15 04:09:45 +02:00 committed by GitHub
parent 2420134e45
commit 76379661d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8114,8 +8114,6 @@ u8 IsMonDisobedient(void)
if (!IsOtherTrainer(gBattleMons[gBattlerAttacker].otId, gBattleMons[gBattlerAttacker].otName))
levelReferenced = gBattleMons[gBattlerAttacker].metLevel;
else
#else
if (gBattleMons[gBattlerAttacker].level <= obedienceLevel)
#endif
levelReferenced = gBattleMons[gBattlerAttacker].level;