I am trying to add a custom type of BP in my battle system (the inbuilt BP doesn't fit my needs as there are 'full' and 'temporary' BP that are shown differently). I have been attempting to figure out how to get my BP to show in the status window, using the custom JS feature.
While my BP does draw correctly at the start of battle, it does not update as the battle goes on. I suspect this is due to my using the "this.contentsBack.gradientRect()" function to show my BP (guessing contentsBack doesn't refresh).
As the code is obsfucated, is there anywhere with documentation/examples for the objects in the custom status window?
I stumbled across contentsBack almost by accident, as I haven't found another structure name within the object that I can draw in.
Any help here would be greatly appreciated!
While my BP does draw correctly at the start of battle, it does not update as the battle goes on. I suspect this is due to my using the "this.contentsBack.gradientRect()" function to show my BP (guessing contentsBack doesn't refresh).
As the code is obsfucated, is there anywhere with documentation/examples for the objects in the custom status window?
I stumbled across contentsBack almost by accident, as I haven't found another structure name within the object that I can draw in.
Any help here would be greatly appreciated!