• 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] I tried to give a Pokémon to the player as a starter option and got this, I'll provide more event info if needed

R.L

  • 16
    Posts
    5
    Years
    =================

    [2024-04-27 10:50:01 +0100]
    [Pokémon Essentials version 21.1]
    [v21.1 Hotfixes 1.0.9]

    Script error in event 1 (coords 3,3), map 2 (Lappet Town)
    Exception: RuntimeError
    Message: Unknown ID pkmn.

    ***Full script:
    pkmn = Pokemon.new(:BULBASAUR, 5)
    pkmn.ability = :PSIONICREVERSAL
    pkmn.cannot_release = true
    pkmn.iv[:DEFENSE] = 31
    pkmn.iv[:SPECIAL_DEFENSE] = 31
    pkmn.nature = :BASHFUL
    pkmn.owner.name = "???"
    pkmn.poke_ball = :STRANGEBALL
    pkmn.giveRibbon(:DESTINYMARK)
    pkmn.calc_stats
    pbAddPokemonSilent(:pkmn)

    Backtrace:
    GameData:103:in `get'
    Pokemon:1160:in `initialize'
    [Generation 9 Pack] [000] Pokemon.rb:45:in `initialize'
    [[MUI] Improved Mementos] [003] Data.rb:266:in `initialize'
    [[DBK] Terastallization] [005] Pokemon.rb:9:in `initialize'
    Utilities_Pokemon:80:in `new'
    Utilities_Pokemon:80:in `pbAddPokemonSilent'
    (eval):11:in `execute_script'
    Interpreter:138:in `eval'
    Interpreter:138:in `execute_script'
     
    Back
    Top