• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Maruno

Lead Dev of Pokémon Essentials
  • 5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    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.
     
  • 49
    Posts
    14
    Years
    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.
     

    tImE

    It's still me, 44tim44 ;)
  • 673
    Posts
    17
    Years
    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.
     

    Maruno

    Lead Dev of Pokémon Essentials
  • 5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    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.
     
  • 49
    Posts
    14
    Years
    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
     

    tImE

    It's still me, 44tim44 ;)
  • 673
    Posts
    17
    Years
    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
     

    Pitaelitmaster

    The Master Of Puppets
  • 41
    Posts
    14
    Years
    • Seen Oct 11, 2009
    How do you add another rival into pokemon fire red?I use XSE for script and Advancemap
     
  • 485
    Posts
    14
    Years
    Sounds like you're ROM Hacking. At the top, it clearly says:

    "This forum is not for ROM-Hacks or things related to them!"

    Try the ROM Hacking forum.
     

    Zenny

    The Bird is the Word
  • 2
    Posts
    14
    Years
    • Seen Aug 3, 2009
    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
     

    Pitaelitmaster

    The Master Of Puppets
  • 41
    Posts
    14
    Years
    • Seen Oct 11, 2009
    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?
     

    lx_theo

    Game Developer
  • 958
    Posts
    14
    Years
    • Seen Nov 2, 2013
    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.
     

    Pitaelitmaster

    The Master Of Puppets
  • 41
    Posts
    14
    Years
    • Seen Oct 11, 2009
    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:

    Konekodemon

    The Master of Pokemon Breeding
  • 2,074
    Posts
    17
    Years
    • Age 39
    • NC
    • Seen Nov 20, 2023
    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