summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authoranmart <andrewrmartinek@gmail.com>2016-02-09 03:10:12 -0500
committeranmart <andrewrmartinek@gmail.com>2016-02-09 03:10:12 -0500
commit67ef216c62b726bcee05d615cb6b831d62b75038 (patch)
treefb99dbe082ecf1eb6800bbff31a3f685067d8ea1 /src/wram.asm
parent5f0525837668e6388034b90445cce42d2516183b (diff)
Provided labels for various data
Defined two new labels in wram. Defined names for the oddly arbitrary values representing whose turn it is in battle. Renamed labels for some parts of the dueling main loop and loss function.
Diffstat (limited to 'src/wram.asm')
-rwxr-xr-xsrc/wram.asm15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/wram.asm b/src/wram.asm
index 384767b..cb50d68 100755
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -268,10 +268,23 @@ wSerialRecvIndex:: ; cba4
wSerialRecvBuf:: ; $cba5 - $cbc4
ds $20
- ds $49
+ ds $1
+
+
;--- Duels 2 ----------------------------------------------
+wBattleMenuSelection:: ; $cbc6
+ ds $1
+ ds $40
+
+; 0 = no one has won battle yet
+; 1 = player whose turn it is has won the battle
+; 2 = player whose turn it is has lost the battle
+wBattleFinished:: ; $cc07
+ ds $1
+ ds $6
+
; this seems to hold the current opponent's deck id - 2,
; perhaps to account for the two unused pointers at the
; beginning of DeckPointers