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

[Error] Battle Animation Editor : Defining FreeHand Path

  • 22
    Posts
    3
    Years
    • Seen Apr 29, 2021
    While making animations for gen 8 project I got this error in clean essentials.
    Code:
     =================
    
    [Tue Mar 16 16:10:10 India Standard Time 2021]
    [Pokémon Essentials version 18.1]
    Exception: NameError
    Message: undefined local variable or method `mouse' for #<PokemonPauseMenu:0xc3e59d8>
    
    Backtrace:
    Editor_BattleAnimationEditor:3344:in `pbDefinePath'
    Editor_BattleAnimationEditor:3199:in `loop'
    Editor_BattleAnimationEditor:3391:in `pbDefinePath'
    Editor_BattleAnimationEditor:3621:in `animationEditorMain'
    Editor_BattleAnimationEditor:3521:in `loop'
    Editor_BattleAnimationEditor:3705:in `animationEditorMain'
    Editor_BattleAnimationEditor:3728:in `pbAnimationEditor'
    Debug_Menu:775:in `pbDebugMenuActions'
    Debug_Menu:775:in `pbFadeOutIn'
    Debug_Menu:775:in `pbDebugMenuActions'
    
    =================
    Edit - It's vanilla essentials with custom animation graphics ( No PokemonAnimations.rxdata and move2anim.dat files copied from Pokemon Reborn ( Only animations folder).
     

    StCooler

    Mayst thou thy peace discover.
  • 9,311
    Posts
    4
    Years
    • Seen yesterday
    While making animations for gen 8 project I got this error in clean essentials.
    <Error>

    I'm glad to see someone willing to contribute to my project :)

    As for the error, in the file Editor_BattleAnimationEditor, in the function:
    Code:
    def pbDefinePath(canvas)
    find the line:
    Code:
            if mouse && !pointpath.isEndPoint?(mousepos[0],mousepos[1])
    and replace it with:
    Code:
            if mousepos && !pointpath.isEndPoint?(mousepos[0],mousepos[1])

    Keep it up :)
     
    Back
    Top