mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-09 03:26:31 -05:00
no exp for ai mons
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user