summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-31 15:55:39 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-31 15:55:39 -0400
commit439efda1ba940b010786be1186007355adf23965 (patch)
tree0becd0b5980b180a0abd11377d1ed35ae3814bda /home.asm
parent45cb263360f3242db5538367ebf8035632d97534 (diff)
Champion's room; resolve predefs
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home.asm b/home.asm
index 19a5b6fc..11a0dcc0 100644
--- a/home.asm
+++ b/home.asm
@@ -2739,7 +2739,7 @@ PlayTrainerMusic:: ; 3379 (0:3379)
xor a
ld [wAudioFadeOutControl], a
call StopAllMusic ; stop music
- ld a, $1f ; BANK(Music_MeetEvilTrainer)
+ ld a, BANK(Music_MeetEvilTrainer)
ld [wAudioROMBank], a
ld [wAudioSavedROMBank], a
ld a, [wEngagedTrainerClass]
@@ -2751,7 +2751,7 @@ PlayTrainerMusic:: ; 3379 (0:3379)
jr z, .noEvilTrainer
cp b
jr nz, .evilTrainerListLoop
- ld a, $f5 ; MUSIC_MEET_EVIL_TRAINER
+ ld a, MUSIC_MEET_EVIL_TRAINER
jr .PlaySound
.noEvilTrainer
ld hl, FemaleTrainerList
@@ -2761,10 +2761,10 @@ PlayTrainerMusic:: ; 3379 (0:3379)
jr z, .maleTrainer
cp b
jr nz, .femaleTrainerListLoop
- ld a, $f8 ; MUSIC_MEET_FEMALE_TRAINER
+ ld a, MUSIC_MEET_FEMALE_TRAINER
jr .PlaySound
.maleTrainer
- ld a, $fb ; MUSIC_MEET_MALE_TRAINER
+ ld a, MUSIC_MEET_MALE_TRAINER
.PlaySound
ld [wNewSoundID], a
jp PlaySound
@@ -3515,7 +3515,7 @@ GetItemPrice:: ; 37d2 (0:37d2)
push af
ld a, [wListMenuID]
cp MOVESLISTMENU
- ld a, $1 ; BANK(ItemPrices)
+ ld a, BANK(ItemPrices)
jr nz, .asm_37e0
ld a, $f ; hardcoded Bank
.asm_37e0