summaryrefslogtreecommitdiff
path: root/sram.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-11-24 15:18:44 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-11-24 15:18:44 -0500
commitf599e477fc3306dbca9cad4aeadfe7a66b84c7bc (patch)
tree0ce99b46559247e5b44f17bce643941ceac88685 /sram.asm
parent6c248953b79237de98a177b7820ed7b9c4e96880 (diff)
Partial interpretation of battle tower trainer data
Diffstat (limited to 'sram.asm')
-rw-r--r--sram.asm11
1 files changed, 6 insertions, 5 deletions
diff --git a/sram.asm b/sram.asm
index 7b901409f..b825813c0 100644
--- a/sram.asm
+++ b/sram.asm
@@ -143,20 +143,21 @@ sMobileEventIndex:: ds 1
sCrystalData::
ds wCrystalDataEnd - wCrystalData
sMobileEventIndexBackup:: ds 1
-sSaveType:: ds 1
+
+SECTION "SRAM Battle Tower", SRAM, BANK [1]
+; data of the BattleTower must be in SRAM because you can save and leave between battles
+sBattleTowerChallengeState:: ds 1
; 0: normal
; 2: battle tower
-; data of the BattleTower must be in SRAM because you can save and leave between battles
sBattleTower:: ; be46
-sNrOfBeatenBattleTowerTrainers::
-sbe46:: ds 1
+sNrOfBeatenBattleTowerTrainers:: ds 1
sbe47:: ds 1
; The 7 trainers of the BattleTower are saved here, so nobody appears more than once
sBTTrainers:: ; sbe48
ds 7
sbe4f:: ds 1
-sbe50:: ds 1
+sBattleTowerReward:: ds 1
; Pkmn of previous trainer
sBTPkmnOfTrainers:: ; 0xbe51
sBTPkmnPrevTrainer1::