• 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!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] Special 0x3B issue on Fire Red

Clessidra

Real but not too much
  • 5
    Posts
    6
    Years
    Hi there. I've been messing around for a while with the special function 0x3B on two Fire Red ROM, one is v1.1, one is v1.0. The latter is the one I'm currently using.
    So, I found out that this special function works perfectly on such scripts:
    #dynamic 0xOFFSET

    #org @main
    lock
    faceplayer
    'some instructions
    special 0x3B
    playsong 0xN 0x0
    trainerbattle 0x0 0xID 0x0 @ignored_txt @defeat_txt
    'more instructions
    release
    end

    I use this kind of script to make a trainer battle so that the music playing during the fight is the track chosen with the playsong command. After the fight, the script continues as normal.
    However, this is only true if I give the script to a person.

    Whenever I make a tile script featuring the "special 0x3B" line, it almost works as well, except that the player faces down after the battle.
    This is quite annoying because, even if I put an "applymovement" right after the "trainerbattle" to change player's facing, the facing down is still seen for some frames.
    Does anyone know why this happens, and if there's a way to fix it?
     
    Hi,

    This thread may have the answer you are looking for: ***

    According to what I understood, this tutorial makes it so the player faces the trainer who approached him/her using its view radius. Which is a nice feature, but my problem doesn't occour with them. Actually, scripts which use the special 0x3B should crash or freeze the game if given to those trainers. The issue I described happens when I use said special on a green tile script. Player faces down right after the battle, no matter what direction was faced before, nor which sprites have been moved, nor what trainer has been fought.
    Spoiler:
     
    Last edited:
    Back
    Top