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

Help and Requests

Status
Not open for further replies.
Okay, I've got a problem using the "mount bike script" in an event:

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

Message: Script error within event 1, map 41 (Route 1):

(eval):1:in `pbExecuteScript'undefined local variable or method `pb' for #<Interpreter:0xbfdb668>

***Full script:

pb.MountBike


Interpreter:238:in `pbExecuteScript'

Interpreter:1652:in `eval'

Interpreter:238:in `pbExecuteScript'

Interpreter:1652:in `command_355'

Interpreter:496:in `execute_command'

Interpreter:190:in `update'

Interpreter:104:in `loop'

Interpreter:195:in `update'

Scene_Map:100:in `update'

Scene_Map:98:in `loop'



Interpreter:279:in `pbExecuteScript'

Interpreter:1652:in `command_355'

Interpreter:496:in `execute_command'

Interpreter:190:in `update'

Interpreter:104:in `loop'

Interpreter:195:in `update'

Scene_Map:100:in `update'

Scene_Map:98:in `loop'

Scene_Map:111:in `update'

Scene_Map:67:in `main'



This exception was logged in errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK   
---------------------------
What the heck, is wrong?

Thanks in Advance~


//44tim44
Use "pbMountBike" without the dot. Also, post your questions about Essentials in the thread in this same section made specifically for questions about Essentials.

Doing both those things should solve your problem.
 
Hiya people. Im wondering does anybody have sprites for the HG/SS hero on the bike and surfing? I have the walking and running sprite(thanks you ryushin5 for them) :D

Tah~

By the way im sorry if i posted this in the wrong section. Wasn't sure if i was allowed to make requests in the resources thread.
 
Use "pbMountBike" without the dot. Also, post your questions about Essentials in the thread in this same section made specifically for questions about Essentials.

Doing both those things should solve your problem.

Thanks~

But I get the same problem when I remove the dot, that's why I put it there in the first place, xD
And yeah, I'll post in the essentials thread next time, but since I've already posted here.

Anyway, can somebody still help me?
It doesn't work with or without dot.
 
Thanks~

But I get the same problem when I remove the dot, that's why I put it there in the first place, xD
And yeah, I'll post in the essentials thread next time, but since I've already posted here.

Anyway, can somebody still help me?
It doesn't work with or without dot.
"Kernel.pbMountBike"

Try that.
 
Gots a question. :D

You know in some of the Pokemon games when you have to pick your Poke out of the bag? Anybody help me with doing this in my game. Basically exactly the same way is what im wanting. Go up to the bag, open it up and there are 3 pokeballs there. Choose one blahh blah blah.

Thanks in advanced :D
 
Since no one bothers answering questions in the Essentials thread, I post my error here.

Code:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `*' for nil:NilClass

PokeBattle_Battle:138:in `pbThrowPokeBall'

PokeBattle_Battle:1653:in `pbRegisterItem'

PokeBattle_Battle:2453:in `pbCommandPhase'

PokeBattle_Battle:2412:in `loop'

PokeBattle_Battle:2467:in `pbCommandPhase'

PokeBattle_Battle:2401:in `each'

PokeBattle_Battle:2401:in `pbCommandPhase'

PokeBattle_Battle:736:in `pbStartBattleCore'

PokeBattle_Battle:735:in `logonerr'

PokeBattle_Battle:735:in `pbStartBattleCore'



This exception was logged in errorlog.txt.

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

This happened after I added this:

Code:
def pbThrowPokeBall(ball,rareness=nil)
  if pbIsSnagBall?(ball)
    pbSnagPokeBall(ball,rareness)
    return
  end
  itemname=PBItems.getName(ball)
  pbDisplayBrief(_INTL("{1} threw one {2}!",self.pbPlayer.name,itemname))
  if @opponent
    @scene.pbThrowAndDeflect(ball,1)
    pbDisplay(_INTL("The Trainer blocked the Ball!  Don't be a thief!"))
  [B][COLOR="Red"]elsif $game_switches[31]
    @scene.pbThrowAndDeflect(ball,1)
    pbDisplay(_INTL("The Pokémon is too strong, it blocked the Ball!"))[/COLOR][/B]
  else
    battler=self.battlers[1]
  if battler.hp<=0
    battler=battler.pbPartner
  end
  if battler.hp<=0
     pbDisplay(_INTL("But there was no target..."))
     return
  end

Thanks in advance~


//44tim44
 
I have been searching around for some tiles now and I haven't been able to find any.. in particular I am looking for Twinleaf town tiles.. though anything else that you could possibly give me will be extremely helpful!

Thanks in advance.

-Zenny
 
Im using pokemon essentials starter kit/RPGMX and does anybody know how i can change so that after the intro with prof.oak you start indoors or in another map then the test map?
In the intro event, near the end there is a transfer player command. Just changed it so it transfers you to where you want to start out at.
 
thanks

In the intro event, near the end there is a transfer player command. Just changed it so it transfers you to where you want to start out at.

Thanks it worked! i have another question:If i put a pokemon center somewhere in the map , is it automatically a pokemon center or do i have to add a script?
Also , what are the scripts for a door to take the player to another map?
 
Last edited:
Can someone help me with my PC game called,'Pokemon Coordinator'? I can't use RPG Maker anymore as it wants me to pay for it and I don't have the money to pay for it.
 
Status
Not open for further replies.
Back
Top