I've been using Yanfly's Row Formation and I've found myself stuck trying to work out an attack.
Say I have 4 rows to correspond with 4 battlers.
I want to make an attack that checks if battler 1, 2, and 3 are standing in row 1, 2 or 3.
Handy diagram:
















If the above battlers are found standing in that range they will take damage, if they are standing outside they will take no damage.
The problem is I can't quite figure out how do this. I've tried making a for loop but that's only useful for checking battler indexes above 2. I've also tried using the "target enemy row" notetags with Yanfly's Target Core but that doesn't seem to work either.
Is there's a solution to this? I would greatly appreciate it.
Say I have 4 rows to correspond with 4 battlers.
I want to make an attack that checks if battler 1, 2, and 3 are standing in row 1, 2 or 3.
Handy diagram:
















If the above battlers are found standing in that range they will take damage, if they are standing outside they will take no damage.
The problem is I can't quite figure out how do this. I've tried making a for loop but that's only useful for checking battler indexes above 2. I've also tried using the "target enemy row" notetags with Yanfly's Target Core but that doesn't seem to work either.
Is there's a solution to this? I would greatly appreciate it.