• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

[Script] Problem with "playsong" command

  • 18
    Posts
    4
    Years
    • Seen Apr 17, 2023
    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)
     
    Back
    Top