The PokéCommunity

We are still working on a better slogan!

Visit Index

Advertise here

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Post Reply
Thread Tools
Old July 28th, 2013, 03:27 AM
Join Date: May 2013
Gender: Male

Advertise here
This error shows up when I talk to the Move Relearner.What do I do to fix it?

Exception: RuntimeError

Message: Script error within event 1, map 184 (Tutor building):

Exception: NameError

Message: Section116:4:in `pbEachNaturalMove'undefined local variable or method `k' for #<Interpreter:0xae2ffa8>

***Full script:


Interpreter:243:in `pbExecuteScript'

PokemonMoveRelearner:3:in `each'

PokemonMoveRelearner:3:in `pbEachNaturalMove'

PokemonMoveRelearner:15:in `pbGetRelearnableMoves'

PokemonMoveRelearner:9:in `pbHasRelearnableMove?'

(eval):2:in `pbExecuteScript'

(eval):1:in `call'

PokemonParty:1352:in `pbChooseAblePokemon'

PokemonParty:1351:in `each'

PokemonParty:1351:in `pbChooseAblePokemon'

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+Menu On Map:201:in `update'

Scene_Map+Menu On Map:199:in `loop'

Scene_Map+Menu On Map:212:in `update'

Scene_Map+Menu On Map:121:in `main'
Old July 28th, 2013, 03:35 PM
Join Date: Mar 2008
Gender: Female
You shouldn't post errors from an older version of Essentials without letting us know you're not using 12.1.

def pbEachNaturalMove(pokemon)
  for i in movelist
    yield i[1],i[0]
Maruno, maybe you should make this a rule or something lol
Old July 29th, 2013, 12:23 AM
Join Date: May 2013
Gender: Male
That's the reason I didn't post it in the Bugs and Errors thread.
I didn't know if it was the essentials or something I caused.
Post Reply
Quick Reply

Sponsored Links

Advertise here
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25

All times are UTC -8. The time now is 10:01 AM.

About Us
© 2002 - 2014 The PokéCommunity™, Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.

All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / Poké PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.