no exp for ai mons
This commit is contained in:
parent
fec8f14fff
commit
5f7819f697
1 changed files with 3 additions and 1 deletions
|
@ -4068,7 +4068,9 @@ static void Cmd_getexp(void)
|
|||
switch (gBattleScripting.getexpState)
|
||||
{
|
||||
case 0: // check if should receive exp at all
|
||||
if (GetBattlerSide(gBattlerFainted) != B_SIDE_OPPONENT || (gBattleTypeFlags &
|
||||
if (GetBattlerSide(gBattlerFainted) != B_SIDE_OPPONENT
|
||||
|| IsAiVsAiBattle()
|
||||
|| (gBattleTypeFlags &
|
||||
(BATTLE_TYPE_LINK
|
||||
| BATTLE_TYPE_RECORDED_LINK
|
||||
| BATTLE_TYPE_TRAINER_HILL
|
||||
|
|
Loading…
Reference in a new issue