Scripted losses

Now the last issue is making this not crash when restoring the player's team. Very odd...
This commit is contained in:
Llinos Evans 2023-05-13 20:13:40 +01:00
parent 4de0a13543
commit 8e10d26336
4 changed files with 42 additions and 13 deletions

View file

@ -366,6 +366,8 @@ OverworldLoopLessDelay::
ld a, [wCurMap]
cp OAKS_LAB
jp z, .noFaintCheck ; no blacking out if the player lost to the rival in Oak's lab
cp BATTLE_TENT
jp z, .noFaintCheck
callfar AnyPartyAlive
ld a, d
and a