Fix allowing the player to run from wild double battles

This commit is contained in:
DizzyEggg 2019-03-06 12:13:37 +01:00
parent 7a8f524bc5
commit 666e2ac584

View file

@ -4410,7 +4410,7 @@ BattleScript_GiveExp::
BattleScript_HandleFaintedMon::
atk24 BattleScript_82DA8F6
jumpifbyte CMP_NOT_EQUAL, gBattleOutcome, 0, BattleScript_FaintedMonEnd
jumpifbattletype BATTLE_TYPE_TRAINER, BattleScript_FaintedMonTryChooseAnother
jumpifbattletype BATTLE_TYPE_TRAINER | BATTLE_TYPE_DOUBLE, BattleScript_FaintedMonTryChooseAnother
jumpifword CMP_NO_COMMON_BITS, gHitMarker, HITMARKER_x400000, BattleScript_FaintedMonTryChooseAnother
printstring STRINGID_USENEXTPKMN
setbyte gBattleCommunication, 0x0