mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-22 04:04:15 +01:00
no exp for ai mons
This commit is contained in:
parent
fec8f14fff
commit
5f7819f697
@ -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…
x
Reference in New Issue
Block a user