- 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".
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
Last edited: