• 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.

Rival?

Status
Not open for further replies.

Lord Varion

Guess who's back?
2,642
Posts
15
Years
    • Age 29
    • Seen Jan 6, 2015
    Probably the most silly question to ask.
    But how would I make it so the player chooses the Rival's name?

    Like in Red and Blue you choose a few names like ( Blue, Jon, Pete) or a New name all together?

    and it sets it for me to be able to use in battles and stuff.
     
    1,748
    Posts
    14
    Years
  • Probably the most silly question to ask.
    But how would I make it so the player chooses the Rival's name?

    Like in Red and Blue you choose a few names like ( Blue, Jon, Pete) or a New name all together?

    and it sets it for me to be able to use in battles and stuff.

    You could use:
    Code:
    $game_variables[x] = Kernel.pbMessageFreeText("Enter your rival's name", "", 256, false)

    Sorry if I got the FreeText wrong (I might be the call or the argument structure) but this will allow you to enter a Rival's name via Keyboard.

    also x = the variable ID of the rival.
     

    Lord Varion

    Guess who's back?
    2,642
    Posts
    15
    Years
    • Age 29
    • Seen Jan 6, 2015
    So, how do I make it show the typed in name later in game like for example:

    ''[RIVAL] Hey, [player's name] how ya doing?''
     
    1,748
    Posts
    14
    Years
  • So, how do I make it show the typed in name later in game like for example:

    ''[RIVAL] Hey, [player's name] how ya doing?''

    \v[x] -- X being again the variable number of your rival, as of in-battles I don't know although I am sure Maruno set up pre-defined variables in the Settings script.

    Edit: \v[x] would be like that inside a normal message. (From the Event editor)
     

    Lord Varion

    Guess who's back?
    2,642
    Posts
    15
    Years
    • Age 29
    • Seen Jan 6, 2015
    When someone types a name in they get:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError

    Message: Script error within event 1, map 51 (Intro):

    Exception: NoMethodError

    Message: Section081:116:in `insert'undefined method `>=' for false:FalseClass

    ***Full script:

    $game_variables[90] =
    Kernel.pbMessageFreeText("Enter your
    rival's name", "", 256, false)


    Interpreter:243:in `pbExecuteScript'

    PokemonTextEntry:206:in `insert'

    PokemonTextEntry:797:in `update'

    PokemonTextEntry:795:in `each'

    PokemonTextEntry:795:in `update'

    PokemonTextEntry:788:in `each'

    PokemonTextEntry:788:in `update'

    PokemonTextEntry:869:in `pbFreeText'

    PokemonTextEntry:866:in `loop'

    PokemonTextEntry:880:in `pbFreeText'



    Interpreter:276:in `pbExecuteScript'

    Interpreter:1599:in `command_355'

    Interpreter:494:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Scene_Map:103:in `update'

    Scene_Map:101:in `loop'

    Scene_Map:114:in `update'

    Scene_Map:68:in `main'



    This exception was logged in

    C:\Users\Sam\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     

    Shoukien

    Pokemon Master
    5
    Posts
    11
    Years
    • Seen Dec 1, 2012
    I have a question related to "Rival" also.
    How do you make it so at the beginning of the game, after you choose a Pokemon.
    Your Rival picks the Pokemon that is super effective against yours?

    Example;
    You pick Charmander, and then your Rival picks Squirtle.

    and how to edit his party later in the game while keeping his/her starter.
     

    Lord Varion

    Guess who's back?
    2,642
    Posts
    15
    Years
    • Age 29
    • Seen Jan 6, 2015
    I have a question related to "Rival" also.
    How do you make it so at the beginning of the game, after you choose a Pokemon.
    Your Rival picks the Pokemon that is super effective against yours?

    Example;
    You pick Charmander, and then your Rival picks Squirtle.

    and how to edit his party later in the game while keeping his/her starter.

    Only way I can think is:
    Make 3 Switches:
    1:Bulbasaur
    2:Charmander
    3:Squirtle.

    When you pick Bulbasaur set switch 1 to on
    When Charmander Set switch 2 to on
    When squirtle set switch 3.

    Then you need 3 pages of the rival event, one for each page.
    Each page will have the rival pick the super effective, and fight with it.
    You've just got to script and put in the event and fights.
     

    Shoukien

    Pokemon Master
    5
    Posts
    11
    Years
    • Seen Dec 1, 2012
    Only way I can think is:
    Make 3 Switches:
    1:Bulbasaur
    2:Charmander
    3:Squirtle.

    When you pick Bulbasaur set switch 1 to on
    When Charmander Set switch 2 to on
    When squirtle set switch 3.

    Then you need 3 pages of the rival event, one for each page.
    Each page will have the rival pick the super effective, and fight with it.
    You've just got to script and put in the event and fights.
    That was pretty easy to understand.

    But even if my switch is on, How do I make it so way later in the game I can change his party while keeping his starter(evolved).


    ~EDIT~
    I did not notice the "Route 22 Appearance" part of the Rival topic on the Wiki.
    NOTE: I think the wiki could use a bit more work though, there are "Red" and unfinished links/articles.
     
    Last edited:

    Lord Varion

    Guess who's back?
    2,642
    Posts
    15
    Years
    • Age 29
    • Seen Jan 6, 2015
    Same thing as earlier. Just have the fight with the rival including the evolved form.

    Let me know when you guys decide to read the wiki.

    The wiki takes to long to load for my and my browser mistakes the waiting as a unrespondent page, so I never visit the wiki.
     
    Last edited:

    Shoukien

    Pokemon Master
    5
    Posts
    11
    Years
    • Seen Dec 1, 2012
    Same thing as earlier. Just have the fight with the rival including the evolved form.



    The wiki takes to long to load for my and my browser mistakes the waiting as a unrespondent page, so I never visit the wiki.
    Are you using Google Chrome?
    I heard from several of my friends on Facebook say that Google Chrome has too many problems.
     

    Lord Varion

    Guess who's back?
    2,642
    Posts
    15
    Years
    • Age 29
    • Seen Jan 6, 2015
    I do indeed use chrome.
    But the problem is not Chrome. T'is indeed my internet.
     
    5
    Posts
    11
    Years
    • Seen Apr 15, 2014
    I do indeed use chrome.
    But the problem is not Chrome. T'is indeed my internet.

    Sorry to post in a old thread, but since my question is link to Rivals so here is it:

    How can I give the specified pokemon to the rival, after player picked up a pokemon?

    I mean, just like original Fire Red version, if you pick up a grass one, rival will pick up a fire one. No problem here, I know how to set different events. But after that, player and rival will have a battle. And how can I give the super effective one to rival, and let him battle with player using the super effective pokemon?

    Sorry for my bad English.
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    Different versions of the rival trainer depending on the player's choice of starter. Read the wiki and look at the example maps.

    Please don't bump threads that have been inactive for more than 2 months. Even if the topic is similar or even the same, it's against the rules. Make a new thread instead.
     
    Status
    Not open for further replies.
    Back
    Top