Hi,
by fluke, I have been thinking about something similar, inspired by the Paper Mario Games.
You want to put the enemy at a disadvantage before the battle really started by damaging him due to a "first strike" attack, right?
Heres my way how i did it by using an item on map on front of enemies:
Since i have become kind of friends with the GALV_Tools-Plugin (link below), i use it to obtain some kind of "backstab dagger", that allows me to "stab" right to the next event the player is facing to, everytime i press a button. ) I suppose, the script calls the plugin features are meant to harvest some berries or plant some seeds on bushes/field tiles in front of you but, this line of code
Galv.TOOLS.frontEvent('beast')
goes for everything, as long as its an event with a fitting comment (like <beast> in this case), hence map enemies work too. It checks, whats "one tile away from the player" like you wrote.
After the item is used, it connects to a common event, where you are free to create all effects of your "first strike". For example, you can use a switch to alter the upcoming battle scene and already damage the enemies you wish before the first turn starts. Preemptive.
Its more or less like a compromise and im sure there are better ways, but i wanted to share my thought on this.
link to the script (you need 30 min or so to get into it, but its free, love GALV):
FEATURES This plugin creates a tool system, where the player can cycle between items that are designated as tools and press a button to use the tool that is selected on the screen. The basis behind…
galvs-scripts.com