Thread: [Essentials Script] Pokémon Following Character script
View Single Post
  #14    
Old December 15th, 2009 (8:54 AM).
Nosman's Avatar
Nosman Nosman is offline
I'm with stupid ^
     
    Join Date: Jun 2008
    Location: Not installed yet
    Age: 24
    Gender: Male
    Nature: Naughty
    Posts: 117
    i get tis message when i test it out

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

    Message: Script error within event 22, map 39 (Oak's Lab):

    Section126:445:in `addEvent2'undefined method `x' for nil:NilClass

    ***Full script:

    Kernel.pbAddPokemon(
    PBSpecies:IKACHU,5
    )
    # Get the Pokémon just added
    p=$Trainer.party[
    $Trainer.party.length-1]
    pbAutoLearnMove(p,PBMoves::TACKLE)
    auto_change_without_animation


    Interpreter:238:in `pbExecuteScript'

    DependentEventsin `pbAddDependen'

    Pokemon folow you:160:in `auto_change_without_animation'

    (eval)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: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
    ---------------------------



    pleaz help
    __________________

    (\__/)
    (='.'=) This Is Bunny. Copy And Paste Bunny Into
    ('')_('') Your Signature To Help Him Gain World Domination!!!!

    GAMES I SUPPORT
    Spoiler: