• We've opened up applications for site moderators! Head over to the announcement to learn more!

v19.1 Help with battleback issue

This thread pertains to v19.1 of Pokémon Essentials.

nickymage

Rookie
Member
Joined
Nov 23, 2021
Posts
2
Age
21
I'm having some trouble with the battlebacks in v19.1. I set the terrain tag to 4 for some rock in my tileset and whenever I do a battle on said tiles it only shows the indoor graphics whenever the battle comes up. The same happens in any area I go to, regardless of terrain tag.

I don't know if I'm being clear enough here but would anyone be able to help me?

Capture.PNG


Capture2.PNG
 

ThatWelshOne_

Umbreon User
Moderator
Joined
Sep 29, 2020
Posts
269
I'm not sure how/if the code that draws the battle scene makes a link between terrain tag and battle background. Maybe someone else can comment on that.
One thing you could do is use battle rules to set the battle background manually for each trainer battle (assuming you want a different battle background than what you could specify in the map metadata). Examples from the Wiki:
Ruby:
setBattleRule("backdrop", "rocky")
setBattleRule("base", "rocky")
 
Top