• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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
    5
    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