diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-07 14:38:52 -0500 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-07 14:38:52 -0500 |
commit | 09603bf0315862d7c008e08a9960e6111a0859f8 (patch) | |
tree | 2048e722577287becfa79420fab1aabbf1e12a77 /data | |
parent | eb39f6a3396b21047a11dd871263c6dbc5f2c65f (diff) |
More Battle Tower shenanigans
Diffstat (limited to 'data')
-rw-r--r-- | data/battle_tower.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/data/battle_tower.asm b/data/battle_tower.asm index 775b65951..8b278fca9 100644 --- a/data/battle_tower.asm +++ b/data/battle_tower.asm @@ -1,13 +1,13 @@ Function_LoadOpponentTrainerAndPokemons: ; 1f8000 ld a, [rSVBK] push af - ld a, BANK(BT_OTrainer) + ld a, BANK(BT_OTTrainer) ld [rSVBK], a - ; Fill BT_OTrainer with zeros + ; Fill BT_OTTrainer with zeros xor a - ld hl, BT_OTrainer - ld bc, BT_OTrainerEnd - BT_OTrainer + ld hl, BT_OTTrainer + ld bc, BT_OTTrainerEnd - BT_OTTrainer call ByteFill ; Write $ff into the Item-Slots @@ -17,7 +17,7 @@ Function_LoadOpponentTrainerAndPokemons: ; 1f8000 ld [BT_OTPkmn3Item], a ; Set BT_OTTrainer as start address to write the following data to - ld de, BT_OTrainer + ld de, BT_OTTrainer ld a, [hRandomAdd] ld b, a |