ref: 4d61c351726b38b22e0606df23bd2fdfb13640cc
parent: bb1bf5e6a7536378dffc2b995384d6dc8692bea8
author: YamaArashi <shadow962@live.com>
date: Fri Oct 28 22:04:48 EDT 2016
correct mistaken comments
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -203,4 +203,4 @@
LINKBATTLE_RUN EQU $F
LINKBATTLE_STRUGGLE EQU $E
-LINKBATTLE_NO_ACTION EQU $D ; never sent
+LINKBATTLE_NO_ACTION EQU $D
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -3097,8 +3097,8 @@
cp STRUGGLE
ld b, LINKBATTLE_STRUGGLE
jr z, .next
- dec b
- inc a
+ dec b ; LINKBATTLE_NO_ACTION
+ inc a ; does move equal -1 (i.e. no action)?
jr z, .next
ld a, [wPlayerMoveListIndex]
jr .doExchange