The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Problem with "playsong" command

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old March 18th, 2021 (9:33 AM).
MarcoShinyEmerald MarcoShinyEmerald is offline
 
Join Date: Dec 2020
Posts: 18
Code:
lock
faceplayer
cry 0x91 0x0
msgbox 0x8869C2A MSG_NORMAL '"Gyaooo!"
waitcry
wildbattle 0x91 0x3C 0x0
special 0x138
playsong 0x1D8 0x0
special2 LASTRESULT 0xB7
compare LASTRESULT 0x1
if 0x1 goto 0x8869C34
compare LASTRESULT 0x4
if 0x1 goto 0x8869C27
fadescreen 0x1
hidesprite 0x9
fadescreen 0x0
setflag 0x203
release
end
I wrote this script for setting a wild battle. I use "playsong 0x18D 0x0" but the theme strarts when the battle is over and not during. What have I missed?

(I didn't put the entire script but only the important part)
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:19 AM.