summaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2019-07-22 22:46:14 +0200
committerxCrystal <rgr.crystal@gmail.com>2019-07-22 22:46:14 +0200
commita0bb31e3ad38896ae69ff1500346e3f732284773 (patch)
treec00a48b275009c84eb273054631aef56f90a492f /src/constants
parent0e9c5aafbdf439f9e32fd4b8b484a9c7d188db5e (diff)
More duel related disassembly and documentation
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/duel_constants.asm10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/constants/duel_constants.asm b/src/constants/duel_constants.asm
index dd448aa..0f80a73 100644
--- a/src/constants/duel_constants.asm
+++ b/src/constants/duel_constants.asm
@@ -13,9 +13,10 @@ DUELTYPE_PRACTICE EQU $80
; for normal duels (vs AI), wDuelType is $80 + [wOpponentDeckID]
; wDuelFinished constants
-TURN_PLAYER_WON EQU $1
-TURN_PLAYER_LOST EQU $2
-TURN_PLAYER_TIED EQU $3
+DUEL_NOT_FINISHED EQU $0
+TURN_PLAYER_WON EQU $1
+TURN_PLAYER_LOST EQU $2
+TURN_PLAYER_TIED EQU $3
; wDuelResult constants
DUEL_WIN EQU $0
@@ -244,3 +245,6 @@ SELECT_CHECK EQU $02
const PRACTICEDUEL_REPEAT_INSTRUCTIONS
const PRACTICEDUEL_PLAY_STARYU_FROM_BENCH
const PRACTICEDUEL_REPLACE_KNOCKED_OUT_POKEMON
+
+; wAnimationQueue length
+ANIMATION_QUEUE_LENGTH EQU 7