aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie/evolution.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 16:37:47 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 16:37:47 -0400
commit9878f01e29b1443d6c894c1332cbf381fa12646e (patch)
tree8e763ca94f2b90faaa470416055c320dbdb89cbf /engine/movie/evolution.asm
parentMake suggested edits: (diff)
downloadpokeyellow-9878f01e29b1443d6c894c1332cbf381fa12646e.tar.gz
pokeyellow-9878f01e29b1443d6c894c1332cbf381fa12646e.tar.xz
pokeyellow-9878f01e29b1443d6c894c1332cbf381fa12646e.zip
Organize macros/ like pokecrystal
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.
Diffstat (limited to 'engine/movie/evolution.asm')
-rwxr-xr-xengine/movie/evolution.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/movie/evolution.asm b/engine/movie/evolution.asm
index 731735c5..af2ed13b 100755
--- a/engine/movie/evolution.asm
+++ b/engine/movie/evolution.asm
@@ -9,7 +9,7 @@ EvolveMon:
xor a
ld [wLowHealthAlarm], a
ld [wChannelSoundIDs + Ch5], a
- dec a
+ dec a ; SFX_STOP_ALL_MUSIC
ld [wNewSoundID], a
call PlaySound
ld a, $1
@@ -67,7 +67,7 @@ EvolveMon:
ld a, [wEvoNewSpecies]
.done
ld [wWholeScreenPaletteMonSpecies], a
- ld a, $ff
+ ld a, SFX_STOP_ALL_MUSIC
ld [wNewSoundID], a
call PlaySound
ld a, [wWholeScreenPaletteMonSpecies]