pokefreak890
The One that will make everything great
- 853
- Posts
- 10
- Years
- Seen May 18, 2023
hello so i made a mew legendary battle script and everything is working fine but i run into one problem i want to use the RSE legend music for the actual battle but it only shows up when i click on the mew but when im actually in battle it gives me a RSE trainer fight music and im not sure why also the sprite does dissapear but when i walk one step it shows up again and i can battle it and im not sure why as well this is what my script looks like if anyone can help me that would be great
Spoiler:
'---------------
#org 0x90A596
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x81A7AE0
special 0x188
lock
faceplayer
checksound
cry 0x97 0x2
preparemsg 0x8177F9F '"MEW!"
waitmsg
waitcry
pause 0x14
playsong 0x191 0x0
waitkeypress
setwildbattle 0x97 0x46 0x0
setflag 0x807
special 0x138
waitstate
clearflag 0x807
special2 LASTRESULT 0xB4
compare LASTRESULT 0x1
if 0x1 goto 0x8162558
compare LASTRESULT 0x4
if 0x1 goto 0x8162561
compare LASTRESULT 0x5
if 0x1 goto 0x8162561
setflag 0x2BC
release
end
'---------------
#org 0x1A7AE0
release
end
'---------------
#org 0x162558
setflag 0x2BC
goto 0x81A922D
'---------------
#org 0x162561
setvar 0x8004 0x96
goto 0x81A9236
'---------------
#org 0x1A922D
fadescreen 0x1
hidesprite LASTTALKED
fadescreen 0x0
release
end
'---------------
#org 0x1A9236
fadescreen 0x1
hidesprite LASTTALKED
fadescreen 0x0
bufferpokemon 0x0 0x8004
msgbox 0x81A63C4 MSG_KEEPOPEN '"The [buffer1] flew away!"
release
end
'---------
' Strings
'---------
#org 0x177F9F
= MEW!
#org 0x1A63C4
= The [buffer1] flew away!
#org 0x90A596
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x81A7AE0
special 0x188
lock
faceplayer
checksound
cry 0x97 0x2
preparemsg 0x8177F9F '"MEW!"
waitmsg
waitcry
pause 0x14
playsong 0x191 0x0
waitkeypress
setwildbattle 0x97 0x46 0x0
setflag 0x807
special 0x138
waitstate
clearflag 0x807
special2 LASTRESULT 0xB4
compare LASTRESULT 0x1
if 0x1 goto 0x8162558
compare LASTRESULT 0x4
if 0x1 goto 0x8162561
compare LASTRESULT 0x5
if 0x1 goto 0x8162561
setflag 0x2BC
release
end
'---------------
#org 0x1A7AE0
release
end
'---------------
#org 0x162558
setflag 0x2BC
goto 0x81A922D
'---------------
#org 0x162561
setvar 0x8004 0x96
goto 0x81A9236
'---------------
#org 0x1A922D
fadescreen 0x1
hidesprite LASTTALKED
fadescreen 0x0
release
end
'---------------
#org 0x1A9236
fadescreen 0x1
hidesprite LASTTALKED
fadescreen 0x0
bufferpokemon 0x0 0x8004
msgbox 0x81A63C4 MSG_KEEPOPEN '"The [buffer1] flew away!"
release
end
'---------
' Strings
'---------
#org 0x177F9F
= MEW!
#org 0x1A63C4
= The [buffer1] flew away!