• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll 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.

[Other✓] Integrating VS Seeker into Trainer Scripts?

  • 97
    Posts
    10
    Years
    • Seen Nov 22, 2021
    Hello!

    Title basically says it. I can actually get it to say the trainer is available, however it just says it's post-defeated speech upon talking to him. This is my trainer script:

    #dynamic 0x
    #org @start
    trainerbattle 0x0 0x059 0x0 @before @after
    msgbox @beaten 0x6
    release
    end

    #org @before
    = Do you really think you're a\ntrainer? You're nothing!

    #org @after
    = Shit...\nYou got me...

    #org @beaten
    = Fine, you've proven yourself.

    The script doesn't have any errors, it's pre-built so the dynamic offset isn't there. Anyway, how can I get the VS seeker to work with this?
     
    Hello!

    Title basically says it. I can actually get it to say the trainer is available, however it just says it's post-defeated speech upon talking to him. This is my trainer script:



    The script doesn't have any errors, it's pre-built so the dynamic offset isn't there. Anyway, how can I get the VS seeker to work with this?

    So basically to make trainers work with the versus seeker, they need to look something like this:
    Code:
    #dynamic 0x800000
    
    #org @start
    trainerbattle 0 0x[trainer id] 0 @intro @loss
    special2 0x800D 0x39
    compare 0x800D 1
    if 1 goto @rematch
    msgbox @normal 6
    end
    
    #org @rematch
    trainerbattle 5 0x[trainer id] 0 @intro2 @loss2
    msgbox @normal 6
    end
    
    #org @intro
    = The first battle introduction text.
    
    #org @loss
    = The first battle loss text.
    
    #org @intro2
    = The rematch introduction text.
    
    #org @loss2
    = The rematch loss text.
    
    #org @normal
    = The text that they say otherwise.

    The key is special 0x39 and the rematch's type of 5.
     
    So basically to make trainers work with the versus seeker, they need to look something like this:
    Code:
    #dynamic 0x800000
    
    #org @start
    trainerbattle 0 0x[trainer id] 0 @intro @loss
    special2 0x800D 0x39
    compare 0x800D 1
    if 1 goto @rematch
    msgbox @normal 6
    end
    
    #org @rematch
    trainerbattle 5 0x[trainer id] 0 @intro2 @loss2
    msgbox @normal 6
    end
    
    #org @intro
    = The first battle introduction text.
    
    #org @loss
    = The first battle loss text.
    
    #org @intro2
    = The rematch introduction text.
    
    #org @loss2
    = The rematch loss text.
    
    #org @normal
    = The text that they say otherwise.

    The key is special 0x39 and the rematch's type of 5.
    Thanks! That worked well!
     
    not working for me... it says "There are no Trainers within range who can battle... The Vs Seeker was turned off."

    any another idea??
     
    Hey!

    Sorry by my English
    Maybe you are not even here yet
    But I have the same problem that you had with the vs seeker.
    When I try to use it, it says
    "There are no Trainers within range who can battle... The Vs Seeker was turned off."
    Im so frustrated with that and dont know What to do
    Did you discover why is this happening?
    Thanks
     
    Back
    Top