mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-25 05:35:29 +01:00
Use form table in species check
This commit is contained in:
parent
f0cb6190e0
commit
6c6363f7cf
@ -8669,7 +8669,7 @@ bool32 IsEntrainmentTargetOrSimpleBeamBannedAbility(u16 ability)
|
||||
sentIn = gSentPokesToOpponent[(gBattlerFainted & 2) >> 1];
|
||||
currSpecies = GetMonData(&party[monId], MON_DATA_SPECIES, NULL);
|
||||
|
||||
if ((gSpeciesToNationalPokedexNum[currSpecies - 1] == SPECIES_BURMY) && (gBitTable[monId] & sentIn))
|
||||
if ((GET_BASE_SPECIES_ID(currSpecies) == SPECIES_BURMY) && (gBitTable[monId] & sentIn))
|
||||
{
|
||||
switch (gBattleTerrain)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user