shithub: pokecrystal

Download patch

ref: 2d40e99d1127fcfd1625274a24b95153b47fd836
parent: ce99c9e93c7a5e898eacbeaf998b769dbb7d1208
author: Daniel Harding <[email protected]>
date: Thu Dec 29 02:59:32 EST 2022

Ensure linked songs are in the same bank (#1027)


--- a/audio.asm
+++ b/audio.asm
@@ -77,8 +77,11 @@
 
 INCLUDE "audio/music/viridiancity.asm"
 INCLUDE "audio/music/celadoncity.asm"
+
 INCLUDE "audio/music/wildpokemonvictory.asm"
 INCLUDE "audio/music/successfulcapture.asm"
+assert BANK(Music_WildPokemonVictory) == BANK(Music_SuccessfulCapture)
+
 INCLUDE "audio/music/gymleadervictory.asm"
 INCLUDE "audio/music/mtmoonsquare.asm"
 INCLUDE "audio/music/gym.asm"
@@ -85,15 +88,21 @@
 INCLUDE "audio/music/pallettown.asm"
 INCLUDE "audio/music/profoakspokemontalk.asm"
 INCLUDE "audio/music/profoak.asm"
+
 INCLUDE "audio/music/lookrival.asm"
 INCLUDE "audio/music/aftertherivalfight.asm"
+assert BANK(Music_LookRival) == BANK(Music_AfterTheRivalFight)
+
 INCLUDE "audio/music/surf.asm"
 INCLUDE "audio/music/nationalpark.asm"
 INCLUDE "audio/music/azaleatown.asm"
 INCLUDE "audio/music/cherrygrovecity.asm"
 INCLUDE "audio/music/unioncave.asm"
+
 INCLUDE "audio/music/johtowildbattle.asm"
 INCLUDE "audio/music/johtowildbattlenight.asm"
+assert BANK(Music_JohtoWildBattle) == BANK(Music_JohtoWildBattleNight)
+
 INCLUDE "audio/music/johtotrainerbattle.asm"
 INCLUDE "audio/music/lookyoungster.asm"
 INCLUDE "audio/music/tintower.asm"
@@ -106,8 +115,11 @@
 INCLUDE "audio/music/goldsilveropening.asm"
 INCLUDE "audio/music/goldsilveropening2.asm"
 INCLUDE "audio/music/lookhiker.asm"
+
 INCLUDE "audio/music/lookrocket.asm"
 INCLUDE "audio/music/rockettheme.asm"
+assert BANK(Music_LookRocket) == BANK(Music_RocketTheme)
+
 INCLUDE "audio/music/mainmenu.asm"
 INCLUDE "audio/music/lookkimonogirl.asm"
 INCLUDE "audio/music/pokeflutechannel.asm"