This commit is contained in:
Martha Schilling 2024-07-01 21:13:43 +01:00
parent 1681f5def4
commit 97557d005e

View file

@ -1,21 +1,5 @@
BattleCommand_Present: BattleCommand_Present:
; BUG: Present damage is incorrect in link battles (see docs/bugs_and_glitches.md)
ld a, [wLinkMode]
cp LINK_COLOSSEUM
jr z, .colosseum_skippush
push bc
push de
.colosseum_skippush
call BattleCommand_Stab call BattleCommand_Stab
ld a, [wLinkMode]
cp LINK_COLOSSEUM
jr z, .colosseum_skippop
pop de
pop bc
.colosseum_skippop
ld a, [wTypeMatchup] ld a, [wTypeMatchup]
and a and a
jp z, AnimateFailedMove jp z, AnimateFailedMove