shithub: pokered

Download patch

ref: 013c2c7d6637b14e4779fd769e3af311553404be
parent: 695757abe50e8c189d14da666809119e37a9ed28
author: U-Daniel-PC\Daniel <corrnondacqb@yahoo.com>
date: Fri Jun 12 07:34:00 EDT 2015

Hardcoded audio bank references

--- a/engine/overworld/healing_machine.asm
+++ b/engine/overworld/healing_machine.asm
@@ -35,7 +35,7 @@
 	dec b
 	jr nz, .asm_7046e
 	ld a, [wc0ef]
-	cp $1f
+	cp BANK(Music1f_UpdateMusic)
 	ld [wc0f0], a
 	jr nz, .asm_70495
 	ld a, $ff
--- a/scripts/ssanne7.asm
+++ b/scripts/ssanne7.asm
@@ -48,13 +48,13 @@
 	TX_FAR _SSAnne7RubText
 	db $8
 	ld a, [wc0ef]
-	cp $1f
+	cp BANK(Music1f_UpdateMusic)
 	ld [wc0f0], a
 	jr nz, .asm_61908 ; 0x618f9 $d
 	ld a, $ff
 	ld [wc0ee], a
 	call PlaySound
-	ld a, Bank(Func_9876)
+	ld a, Bank(Music_PkmnHealed)
 	ld [wc0ef], a
 .asm_61908
 	ld a, MUSIC_PKMN_HEALED