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

[Question] Error Editing Battle_Scene_Objects

  • 21
    Posts
    9
    Years
    • he/him
    • Seen Mar 17, 2023
    I'm in the process of moving my project over from Essentials v18.1 to v20.1 (I'm a little late to the party haha). In 18.1 I was able to tweak the PokeBattle_SceneElements script to allow Essentials to pull from a different PNG file when displaying a Foe's status condition, rather than using the same image file for both the player's and foe's battlers. However, when working in the Battle_Scene_Objects script in v20 (which houses most of the same information as PokeBattle_SceneElements from v18), I am struggling to make this change successfully. I was essentially was just trying to add an additional decision branch, but when I run it in debug mode I get the following error:

    I have attempted to fix the formatting numerous times, but this was the version that looked the most correct to me.
    This is the default version of the script section:


    And here is my attempt at editing it:


    Any help or advice would be greatly appreciated:)

    UPDATE: Problem solved with a simple fix! Can't believe I skipped over that second "end".
     

    Attachments

    • [PokeCommunity.com] Error Editing Battle_Scene_Objects
      Screenshot (169).png
      13.8 KB · Views: 5
    • [PokeCommunity.com] Error Editing Battle_Scene_Objects
      Screenshot (168).png
      33.3 KB · Views: 6
    • [PokeCommunity.com] Error Editing Battle_Scene_Objects
      Screenshot (166).png
      26 KB · Views: 2
    Last edited:
    Back
    Top