summaryrefslogtreecommitdiff
path: root/src/sram.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/sram.asm')
-rw-r--r--src/sram.asm42
1 files changed, 34 insertions, 8 deletions
diff --git a/src/sram.asm b/src/sram.asm
index 5d01ef5..b0c9009 100644
--- a/src/sram.asm
+++ b/src/sram.asm
@@ -245,24 +245,50 @@ sEventVars:: ; b87b
ds $45
sGeneralSaveDataEnd::
- ds $144
+ ds $142
-sba44:: ; ba44
- ds $1
+sChallengeMachineMagic:: ; ba42
+ ds $2
- ds $11
+sChallengeMachineStart:: ; ba44
-sba56:: ; ba56
+sPlayerInChallengeMachine:: ; ba44
ds $1
-sba57:: ; ba57
+sTotalChallengeMachineWins:: ; ba45
+ ds $2
+
+sPresentConsecutiveWins:: ; ba47
+ ds $2
+
+sPresentConsecutiveWinsBackup:: ; ba49
+ ds $2
+
+sChallengeMachineOpponents:: ; ba4b
+ ds NUM_CHALLENGE_MACHINE_OPPONENTS
+
+; 0: not dueled
+; 1: won
+; 2: lost
+sChallengeMachineDuelResults:: ; ba50
+ ds NUM_CHALLENGE_MACHINE_OPPONENTS
+
+; the current opponent number, 0-4
+sChallengeMachineOpponentNumber:: ; ba55
ds $1
- ds $10
+sMaximumConsecutiveWins:: ; ba56
+ ds $2
-sba68:: ; ba68
+sChallengeMachineRecordHolderName:: ; ba58
+ ds NAME_BUFFER_LENGTH
+
+; TRUE if just set new consecutive win record
+sConsecutiveWinRecordIncreased:: ; ba68
ds $1
+sChallengeMachineEnd:: ; ba69
+
ds $97
; keeps track of last 16 player's names that