• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
    9
    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?
     
  • 3,830
    Posts
    14
    Years
    • Age 27
    • OH
    • Seen May 10, 2024
    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.
     
  • 97
    Posts
    9
    Years
    • Seen Nov 22, 2021
    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!
     
  • 98
    Posts
    10
    Years
    • Seen May 8, 2021
    not working for me... it says "There are no Trainers within range who can battle... The Vs Seeker was turned off."

    any another idea??
     
  • 1
    Posts
    4
    Years
    • Seen Apr 6, 2021
    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