View Single Post
Old December 16th, 2012 (2:02 PM). Edited December 16th, 2012 by Arma.
Arma's Avatar
Arma Arma is offline
The Hyena
Join Date: Dec 2009
Location: The Hague
Age: 23
Gender: Male
Nature: Jolly
Posts: 1,254
Thank you! I should've looked at the tutorial for the nicknames, instead of the old notes.html file XD.

This error keeps popping up:

Exception: RuntimeError
Message: Script error within event 4, map 2 (Lappet Town):
Exception: ArgumentError
Message: Section108:55:in `>'comparison of String with 0 failed
***Full script:
pbTrainerBattle(PBTrainers::FISHERMAN,"Andrew",_I("\bWashed out!"),false,0)
Interpreter:243:in `pbExecuteScript'
PokemonTrainers:55:in `pbLoadTrainer'
PokemonTrainers:21:in `each'
PokemonTrainers:21:in `pbLoadTrainer'
PokemonTrainersin `each'
PokemonTrainersin `pbLoadTrainer'
PokemonTrainers:322:in `pbTrainerBattle'
(eval)in `pbExecuteScript'
Interpreter:788:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:276:in `pbExecuteScript'
Interpreter:788: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'

I placed this if below the one checking for shadow Pokemon (line 54):
      if poke[16] > 0 && poke[16] < 100 #### percentage of pokemon's max health
        Pokebattle_Pokemon(poke[1]).hp = Pokebattle_Pokemon(poke[1]).maxHP * poke[16] / 100
Reply With Quote