The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Need help with some thinks.

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 July 19th, 2014 (1:10 AM).
TheZoroark007 TheZoroark007 is offline
 
Join Date: Jul 2013
Gender: Male
Posts: 94
How can I make a Firered ingame Script, where I talk to a Person, and than a chosen music( for exemple Toute 1 Theme ) will play ? And how can I make the Evolution Stones so, that they don't disapear after using( so that I can use them infinitive times)?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old July 19th, 2014 (3:51 AM).
JosefigGaming's Avatar
JosefigGaming JosefigGaming is offline
 
Join Date: May 2013
Location: Portugal
Age: 23
Gender: Male
Posts: 287
As for your first question, assuming you use XSE 1.1.1 (if you don't you should), just use the command "playsong 0xsongID", or "fadesong" if you want the song that's playing to fade, and then your song to start playing
__________________
Working on:


#fasterSneasel :D (nohomo)

Coolest IRC with the coolest people in the coolest rooms:
http://chat.linkandzelda.com:9090/?channels=romhacking,gogo,discovery,fluorite
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old July 19th, 2014 (9:18 AM).
TheZoroark007 TheZoroark007 is offline
 
Join Date: Jul 2013
Gender: Male
Posts: 94
How do I find out the song id?
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old July 19th, 2014 (9:22 AM).
JosefigGaming's Avatar
JosefigGaming JosefigGaming is offline
 
Join Date: May 2013
Location: Portugal
Age: 23
Gender: Male
Posts: 287
Open any map on A-Map, and go to the header
When you're gonna select the music you want for your map, there is a list of all the musics available, whith their values right beside them
__________________
Working on:


#fasterSneasel :D (nohomo)

Coolest IRC with the coolest people in the coolest rooms:
http://chat.linkandzelda.com:9090/?channels=romhacking,gogo,discovery,fluorite
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old July 19th, 2014 (10:11 AM). Edited July 19th, 2014 by DJTiki.
DJTiki's Avatar
DJTiki DJTiki is offline
absolutely should have never given me the internet
 
Join Date: Mar 2014
Location: Florida, USA
Gender: Male
Nature: Adamant
Posts: 1,256
So it would be like this:

Spoiler:

#dynamic 0xoffset

#org @start
lock
faceplayer
msgbox @music 0x5
compare LASTRESULT 0x1
if 0x1 goto @play
msgbox @no 0x6
release
end

#org @play
msgbox @yes 0x6
playsong 0xsongID
release
end

#org @music
= Wanna listen to music?

#org @no
= Aw man.

#org @yes
= AWESOME.


Of course this has no fadesong at the end, so it won't end. Hope this helps :)
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old July 19th, 2014 (10:47 AM).
JosefigGaming's Avatar
JosefigGaming JosefigGaming is offline
 
Join Date: May 2013
Location: Portugal
Age: 23
Gender: Male
Posts: 287
Quote:
Originally Posted by DJTiKi View Post
So it would be like this:

#dynamic 0xoffset

#org @start
lock
faceplayer
msgbox @music 0x5
compare LASTRESULT 0x1
if 0x1 goto @play
msgbox @no 0x6
release
end

#org @music
msgbox @yes 0x6
playsong 0xsongID
release
end

#org @music
= Wanna listen to music?

#org @no
= Aw man.

#org @yes
= AWESOME.

Of course this has no fadesong at the end, so it won't end. Hope this helps :)
Would be nice if you put scripts inside quotes, and also
Spoiler:
#org @play
msgbox @yes 0x6
playsong 0xsongID
release
end
__________________
Working on:


#fasterSneasel :D (nohomo)

Coolest IRC with the coolest people in the coolest rooms:
http://chat.linkandzelda.com:9090/?channels=romhacking,gogo,discovery,fluorite
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old July 19th, 2014 (10:58 AM).
DJTiki's Avatar
DJTiki DJTiki is offline
absolutely should have never given me the internet
 
Join Date: Mar 2014
Location: Florida, USA
Gender: Male
Nature: Adamant
Posts: 1,256
Quote:
Originally Posted by JosefigGaming View Post
Would be nice if you put scripts inside quotes, and also
Spoiler:
#org @play
msgbox @yes 0x6
playsong 0xsongID
release
end
Woops xD sorry about that. Hopefully you didn't copy and paste that, I wrote that on my mobile device :p
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old July 19th, 2014 (11:03 AM).
TheZoroark007 TheZoroark007 is offline
 
Join Date: Jul 2013
Gender: Male
Posts: 94
I made the Script :#dynamic 0x80000

#org @start
lock
faceplayer
msgbox @music 0x5
compare LASTRESULT 0x1
if 0x1 goto @play
msgbox @no 0x6
release
end

#org @play
msgbox @yes 0x6
playsong 0x110
release
end

#org @music
= Wanna listen to music?

#org @no
= Aw man.

#org @yes
= AWESOME.

but Xse says: To less parameters in 15. The correct number is 2.
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old July 19th, 2014 (11:12 AM).
DJTiki's Avatar
DJTiki DJTiki is offline
absolutely should have never given me the internet
 
Join Date: Mar 2014
Location: Florida, USA
Gender: Male
Nature: Adamant
Posts: 1,256
Quote:
Originally Posted by TheZoroark007 View Post
I made the Script :#dynamic 0x80000

#org @start
lock
faceplayer
msgbox @music 0x5
compare LASTRESULT 0x1
if 0x1 goto @play
msgbox @no 0x6
release
end

#org @play
msgbox @yes 0x6
playsong 0x110
release
end

#org @music
= Wanna listen to music?

#org @no
= Aw man.

#org @yes
= AWESOME.

but Xse says: To less parameters in 15. The correct number is 2.
Add 0x0 at the end of the line with playsong.
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

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:11 AM.