• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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.

Help with static encounters

  • 1
    Posts
    3
    Years
    • Seen Jul 8, 2023
    I managed to make an encounter with Raikou on Fire Red and I plan on making all of the 3 legendary beasts, but after finally making Raikou encounterable, he plays the Ruby/Sapphire trainer battle theme instead of any regular battle theme even when I try changing it.

    Here's my script (Using XSE)

    '---------------
    #org 0x71A5A4
    hidesprite 0x201
    compare LASTRESULT 0x2
    if 0x1 goto 0x81A7AE0
    special 0x188
    special 0x187
    compare LASTRESULT 0x2
    if 0x1 goto 0x81A7AE0
    special 0x188
    lock
    faceplayer
    setwildbattle 0xF3 0x32 0x0
    checksound
    cry 0xF3 0x2
    preparemsg 0x81A6448 '"ROOOOOAAAARRRR!"
    waitmsg
    waitcry
    pause 0xA
    playsong 0x157 0x0
    waitkeypress
    setflag 0x807
    special 0x138
    waitstate
    clearflag 0x807
    special2 LASTRESULT 0xB4
    compare LASTRESULT 0x1
    if 0x1 goto 0x8163B96
    compare LASTRESULT 0x4
    if 0x1 goto 0x8163B9F
    compare LASTRESULT 0x5
    if 0x1 goto 0x8163B9F
    setflag 0x2BD
    release
    end

    '---------------
    #org 0x1A7AE0
    release
    end

    '---------------
    #org 0x163B96
    setflag 0x2BD
    goto 0x81A922D

    '---------------
    #org 0x163B9F
    setvar 0x8004 0xF3
    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 0x1A6448
    = ROOOOOAAAARRRR!

    #org 0x1A63C4
    = The [buffer1] flew away!

    EDIT: I also don't know why Raikou disappears the second I speak to him. I want him to disappear after the battle not before the battle begins
     
    Last edited:
    I'm assuming Raikou disappearing is because of the hidesprite at the start of the script.
     
    Back
    Top