• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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:
    I had exactly the same error.
    So I do it as an event with Pictures
     
    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