View Single Post
  #3825    
Old May 13th, 2010 (05:50 PM).
pokemon1412's Avatar
pokemon1412 pokemon1412 is offline
 
Join Date: Aug 2006
Gender:
Nature: Calm
Posts: 53
I have little problem with playing specific sound for trainer battle...

does anyone know how to use specific battle song in trainer battle...?

I can change wildbattle song, but trainerbattle... i cannot...

wildbattle, just like this (using pokemon emerald rom):

Spoiler:

#org 0xA00000
checksound
cry 0x199 0x2
pause 0x28
waitcry
setvar 0x8004 0x199 // Jirachi
setvar 0x8005 0x5 // lv 5
setvar 0x8006 0x0 // item none
special 0x1E2
setflag 0x8C1
special 0x139
playsong 0x1C8 0x27 //playing specific music while battle with pokemon
clearflag 0x8C1
setflag 0x1428
pause 0xA0
hidesprite LASTTALKED
fadescreen 0x2
end