• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other✓] Need help with some thinks.

  • 94
    Posts
    11
    Years
    • Seen Sep 18, 2023
    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)?
     
    So it would be like this:

    Spoiler:


    Of course this has no fadesong at the end, so it won't end. Hope this helps :)
     
    Last edited:
    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:
     
    Would be nice if you put scripts inside quotes, and also
    Spoiler:

    Woops xD sorry about that. Hopefully you didn't copy and paste that, I wrote that on my mobile device :p
     
    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.
     
    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.
     
    Back
    Top