shithub: pokered

Download patch

ref: fa206ce835cbf75dcebbafe247bb22a6073d2f1e
parent: 2baf0ae962fb4d22e5258ad1ffc065a3311c353c
author: dannye <33dannye@gmail.com>
date: Mon Mar 29 21:03:30 EDT 2021

Fix incorrect sfx id
AUDIO_1 is loaded during trade animations, not AUDIO_2

--- a/engine/battle/animations.asm
+++ b/engine/battle/animations.asm
@@ -875,7 +875,7 @@
 	cp $ff
 	jr nz, .skipPlayingSound
 .playSound ; play sound if next move distance is 12 or this is the last one
-	ld a, SFX_BATTLE_18
+	ld a, SFX_SWAP
 	call PlaySound
 .skipPlayingSound
 	push bc