Identify BATTLEACTION_D and _E (thanks, ax6)

This commit is contained in:
Rangi
2018-10-21 00:52:10 -04:00
parent 12666e3c70
commit 3b20a18200
4 changed files with 13 additions and 13 deletions

View File

@@ -1552,10 +1552,10 @@ _LinkBattleSendReceiveAction:
and a ; BATTLEPLAYERACTION_USEMOVE?
jr nz, .switch
ld a, [wCurPlayerMove]
ld b, BATTLEACTION_E
ld b, BATTLEACTION_STRUGGLE
cp STRUGGLE
jr z, .struggle
ld b, BATTLEACTION_D
ld b, BATTLEACTION_SKIPTURN
cp $ff
jr z, .struggle
ld a, [wCurMoveNum]