diff options
Diffstat (limited to 'wram.asm')
-rw-r--r-- | wram.asm | 58 |
1 files changed, 48 insertions, 10 deletions
@@ -884,6 +884,16 @@ wMiscEnd:: wc7e8:: ds 24 +RSSET $c608 ;$c000+(wc608-wc000) ; compute the address through doesn't seem to work +BT_OTTempCopy RW 1 +str_tData RB 256 +str_bCount RB 1 +str_SIZEOF RB 0 + +GLOBAL BT_OTTempCopy + + + SECTION "Overworld Map", WRAM0 [$c800] wc800:: @@ -1818,6 +1828,7 @@ wd25e:: ds 4 wd262:: ds 1 wd263:: ds 1 wd264:: ds 1 +GetPokemonName_Parameter:: wd265:: ds 1 wd266:: ds 1 wd267:: ds 1 @@ -2600,8 +2611,27 @@ SECTION "WRAM 3", WRAMX, BANK [3] ds $100 -w3_d100:: - ds $700 +BT_OTrainer:: +w3_d100:: ; BattleTower OpponentTrainer-Data (lengt = 0xe0) + ds $6 + ds $5 +BT_OTPkmn1:: ; w3_d10b + ds $1 +BT_OTPkmn1Item:: + ds $3b-1 +BT_OTPkmn2:: ; w3_d146 + ds $1 +BT_OTPkmn2Item:: + ds $3b-1 +BT_OTPkmn3:: ; w3_d181 + ds $1 +BT_OTPkmn3Item:: + ds $3b-1 + + ds $24 +BT_OTrainerEnd:: + + ds $620 w3_d800:: ds 1 @@ -2772,17 +2802,25 @@ sCrystalData:: s1_be44:: ds 1 s1_be45:: ds 1 +; data of the BattleTower must be in SRAM because you can save and leave between battles sBattleTower:: ; be46 sbe46:: ds 1 sbe47:: ds 1 -sbe48:: ds 7 -sbe4f:: ds 2 -sbe51:: ds 1 -sbe52:: ds 1 -sbe53:: ds 1 -sbe54:: ds 1 -sbe55:: ds 1 -sbe56:: 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 +; Pkmn of previous trainer +sBTPkmnOfTrainers:: ; 0xbe51 +sBTPkmnPrevTrainer1:: + ds 1 +sBTPkmnPrevTrainer2:: ds 1 +sBTPkmnPrevTrainer3:: ds 1 +; Pkmn of preprevious trainer +sBTPkmnPrevPrevTrainer1:: ds 1 +sBTPkmnPrevPrevTrainer2:: ds 1 +sBTPkmnPrevPrevTrainer3:: ds 1 SECTION "Boxes 1-7", SRAM, BANK [2] |