summaryrefslogtreecommitdiff
path: root/engine/evolution.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-23 16:54:51 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-23 16:54:51 -0400
commit10f2d4e69db6c9fcc4d7c061720ab2bcc7874288 (patch)
tree4d1e57d002075f8515822571e3b1a87593845103 /engine/evolution.asm
parent9da88a19beed6b713317bb446d21cbd493ab8009 (diff)
Yellow-ize evolution code
Diffstat (limited to 'engine/evolution.asm')
-rwxr-xr-xengine/evolution.asm10
1 files changed, 3 insertions, 7 deletions
diff --git a/engine/evolution.asm b/engine/evolution.asm
index c65cc293..780d78e7 100755
--- a/engine/evolution.asm
+++ b/engine/evolution.asm
@@ -1,4 +1,4 @@
-EvolveMon: ; 7bde9 (1e:7de9)
+EvolveMon: ; 5da70 (17:5a70)
push hl
push de
push bc
@@ -9,9 +9,7 @@ EvolveMon: ; 7bde9 (1e:7de9)
xor a
ld [wLowHealthAlarm], a
ld [wChannelSoundIDs + CH4], a
- dec a
- ld [wNewSoundID], a
- call PlaySound
+ call StopAllMusic
ld a, $1
ld [H_AUTOBGTRANSFERENABLED], a
ld a, SFX_TINK
@@ -67,9 +65,7 @@ EvolveMon: ; 7bde9 (1e:7de9)
ld a, [wEvoNewSpecies]
.done
ld [wWholeScreenPaletteMonSpecies], a
- ld a, $ff
- ld [wNewSoundID], a
- call PlaySound
+ call StopAllMusic
ld a, [wWholeScreenPaletteMonSpecies]
call PlayCry
ld c, 0