View Single Post
  #89    
Old April 18th, 2012 (12:48 PM). Edited April 18th, 2012 by Nickalooose.
Nickalooose Nickalooose is offline
--------------------
     
    Join Date: Mar 2008
    Gender: Female
    Posts: 1,309
    Quote:
    Originally Posted by Maruno View Post
    What I did:

    Wild battle against L20 Gastly. Sent out L20 Machop, spammed Tail Whip until it fainted due to attacks/Curse. Sent out L39 Pidgeotto, used Wing Attack, works as normal, Gastly faints.

    Sorry, I still can't replicate your problem. If you want me to look at your project I can do. Just set things up first for me to jump right into the problem battle.
    I figured I would completely change to all of your newer scripts... So, I changed my scripts in data to yours, and, stupidly it gives me an error...

    Spoiler:

    Exception: NoMethodError
    Message: undefined method `length' for nil:NilClass
    PokemonUtilities:1934:in `pbSetViableDexes'
    PokemonPauseMenu:96:in `pbStartPokemonMenu'
    Scene_Map:188:in `call_menu'
    Scene_Map:159:in `update'
    Scene_Map:68:in `main'
    Scene_Map:65:in `loop'
    Scene_Map:72:in `main'
    Main:37:in `mainFunctionDebug'
    Main:15:in `mainFunction'
    Main:15:in `pbCriticalCode'


    It has no error if I comment this out:
    Code:
      def pbStartPokemonMenu
        @scene.pbStartScene
        endscene=true
        #pbSetViableDexes
        commands=[]
        cmdPokedex=-1
        cmdPokemon=-1
        cmdBag=-1
        cmdTrainer=-1
        cmdSave=-1
        cmdOption=-1
        cmdPokegear=-1
        cmdDebug=-1
        cmdQuit=-1
    I get no error... Without this bit of code, the battle is perfect... Except, I have no text box, I don't know it I'm meant to add that or not, but it's not visible
    Reply With Quote