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

Trainer VS Animation

gsorby

Pokémon Spiritanium Creator
46
Posts
15
Years
  • Hey guys. I know someone else had this error, they said they fixed it but they didn't provide the solution. I've imported Luka S.J's VS script from Pokémon Essentials DS into the latest release of Essentials and when I try to play it though, I get an error as follows:

    Code:
    ---------------------------
    Pokemon Spiritanium
    ---------------------------
    Exception: RuntimeError
    
    Message: Script error within event 32, map 25 (Glacier Mountain):
    
    Exception: NoMethodError
    
    Message: Section082:697:in `pbBattleAnimation'undefined method `fullname' for nil:NilClass
    
    ***Full script:
    
    pbTrainerBattle(PBTrainers::ArcadeStar,"Dahlia",_I("A very good battle, indeed."),false,0)
    
    Interpreter:243:in `pbExecuteScript'
    
    PokemonTrainers:397:in `pbTrainerBattle'
    
    (eval):1:in `pbExecuteScript'
    
    Interpreter:788:in `eval'
    
    Interpreter:243:in `pbExecuteScript'
    
    Interpreter:788:in `command_111'
    
    Interpreter:320:in `execute_command'
    
    Interpreter:193:in `update'
    
    Interpreter:106:in `loop'
    
    Interpreter:198:in `update'
    
    
    
    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'
    
    
    
    This exception was logged in 
    
    C:\Users\George Sorby\Saved Games/Pokemon Spiritanium/errorlog.txt.
    
    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK   
    ---------------------------

    Any help would really be appreciated. :)
     
    Last edited:

    gsorby

    Pokémon Spiritanium Creator
    46
    Posts
    15
    Years
  • I did do it with pictures at one point but I find the script to be much cleaner. Any answers people?

    FIXED. Anyone else wanting to know how I fixed it, you need to add $trainername=trainername just under def pbTrainerBattle(trainerid,trainername,endspeech,doublebattle=false,trainerparty=0,canlose=false) in PokemonTrainers.
     
    Last edited:
    Back
    Top