• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • The site will be down for planned maintenance beginning 2PM Eastern Time. We apologize for any inconvenience this causes!
  • 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
    16
    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