Not sure exactly on the system as I've not played those games but assuming like most turn based RPGs where they are set positions you can use variables so on first press you're at position '1' and then press it again you're at position '2' etc.
You could also use something like 'for each enemy (ordered by X)' which would pick each enemy in order across the screen and you could assign them variables 1,2,3 which relates to the above.