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

Continuing after losing a rival battle

9
Posts
9
Years
    • Seen Mar 30, 2015
    So im still new at this and i just finall decided on a rival well i cant seem to figure out how to make it so if you lose he walks away. is that a conditional or if anyone knows a better way to do it please tell me
     
    9
    Posts
    9
    Years
    • Seen Mar 30, 2015
    ok i read that page i couldnt find i before but now im having this error pop up when i try to battle the rival
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError

    Message: Script error within event 13, map 43 (professor hanz):

    Exception: NameError

    Message: (eval):1:in `pbExecuteScript'uninitialized constant Interpreter::True

    ***Full script:

    pbTrainerBattle(PBTrainers::RIVAL1,"Goku",_I("im a loser"),false,1,True)

    Interpreter:243:in `pbExecuteScript'

    Interpreter:794:in `eval'

    Interpreter:243:in `pbExecuteScript'

    Interpreter:794:in `command_111'

    Interpreter:320:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Scene_Map:103:in `update'

    Scene_Map:101:in `loop'



    Interpreter:276:in `pbExecuteScript'

    Interpreter:794:in `command_111'

    Interpreter:320:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Scene_Map:103:in `update'

    Scene_Map:101:in `loop'

    Scene_Map:114:in `update'

    Scene_Map:68:in `main'



    This exception was logged in

    C:\Users\ian\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     
    9
    Posts
    9
    Years
    • Seen Mar 30, 2015
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError

    Message: Script error within event 13, map 43 (professor hanz):

    Exception: TypeError

    Message: Section064:783:in `+'false can't be coerced into Fixnum

    ***Full script:

    pbTrainerBattle(PBTrainers::RIVAL1,"Goku",_I("im a loser"),false,1,true)

    Interpreter:243:in `pbExecuteScript'

    PokeBattle_Pokemon:783:in `calcHP'

    PokeBattle_Pokemon:807:in `calcStats'

    PokeBattle_Pokemon:804:in `each'

    PokeBattle_Pokemon:804:in `calcStats'

    PokemonTrainers:82:in `pbLoadTrainer'

    PokemonTrainers:46:in `each'

    PokemonTrainers:46:in `pbLoadTrainer'

    PokemonTrainers:32:in `each'

    PokemonTrainers:32:in `pbLoadTrainer'



    Interpreter:276:in `pbExecuteScript'

    Interpreter:794:in `command_111'

    Interpreter:320:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Scene_Map:103:in `update'

    Scene_Map:101:in `loop'

    Scene_Map:114:in `update'

    Scene_Map:68:in `main'



    This exception was logged in

    C:\Users\ian\Saved Games/Pokemon Essentials/errorlog.txt.

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