• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Error] Cant give a nickname right after capturing a pokemon

  • 2
    Posts
    6
    Years
    • Seen Jun 13, 2019
    Hey, I started making my own pokemon game 2 days ago without any idea on how to do scripts or so, I pretty much know all the basics now so I recently installed EBS, everything's fine except that when I try to give a nickname to a Pokemon, the game shows a error message, after that if I close the messsage the game keeps running without any crashes, but the pokemon that I captured disappears.

    Here's the error:
    Exception: NameError
    Message: uninitialized constant USEKEYBOARDTEXTENTRY
    TextEntry:1601:in `pbEnterText'
    TextEntry:1622:in `pbEnterPokemonName'
    PokeBattle_Scene:2499:in `pbNameEntry_ebs'
    EliteBattle_Scene:1784:in `pbNameEntry'
    PokeBattle_Battle:17:in `pbStorePokemon'
    PokeBattle_Battle:166:in `pbThrowPokeBall_ebs'
    EliteBattle_Battle:367:in `pbThrowPokeBall'
    PItem_ItemEffects:1683
    PItem_ItemEffects:1682:in `call'
    Event:150:in `trigger'

    Any help would be appreciated, thanks.
     
    Last edited:
    My lazy and completely untested idea would be to do
    Code:
    USEKEYBOARDTEXTENTRY = true
    Somewhere in the Settings part of the scripts. The error message is complaining about not having that variable assigned to anything, so either true or false (depending on what you want) ought to work?
     
    My lazy and completely untested idea would be to do
    Code:
    USEKEYBOARDTEXTENTRY = true
    Somewhere in the Settings part of the scripts. The error message is complaining about not having that variable assigned to anything, so either true or false (depending on what you want) ought to work?

    Okay it worked, that was so simple damn, I feel stupid lol. Ty!
     
    Back
    Top