Essentials v16 - Question about move effect code scripting

MagentaGiratina

Distortion World Enthusiast
Member
Joined
Jun 16, 2019
Posts
46
I'm using Essentials v16, mostly because it was the first version I found when I searched for Essentials to start working on my game last year, and I'm keeping it around because I like the dual screen setup and I'm trying to avoid using too many third-party resource packs etc. I'm trying to set up a move that both does damage and sets up spikes on the opponent's side, which I know I'm gonna need a new effect code for. When I previously asked about this, I got the suggestion to use pbEffectAfterHit, which isn't in my version of Essentials. I'm considering porting the script sections that define it over, but I'm hesitant to do that since I don't want to seriously break stuff.

However, I did notice that there is an option for effect codes to set up pbAdditionalEffect for damaging moves for status conditions, stat boosts, et cetera. Does that work for other non-damaging effects like weather or entry hazards?
 

MagentaGiratina

Distortion World Enthusiast
Member
Joined
Jun 16, 2019
Posts
46
Also, is there a way to handle damaging + side effects in target? I checked the Wiki and there are target codes for "side" and "opposing Pokemon", but maybe those can't combine?
 
Top