Whats the easiest way?

So, If I walk into a forest the first tile you touch is a battle event, you kill 3 hornets and if you succeed you are transferred to another map that holds the forest.

now the problem is that I don't want to get into the fight the next time I enter the forest but get transferred right away.

I have the first part set up, the fight and the transfer, but after that, I'm lost, I tried to put in a self-switch in various places but it just shuts down the entire event.
I tried other things but then the event starts all over starting again with the fight.

It can't be that hard right? I just can't figure it out.

whats the easiest way to do this, this will be a thing that comes back a lot in my game, Does anyone have an example?
At the end of the event, self switch A On. Then add page 2 to the event, which runs only if self switch A is ON (set that as a conditional on the upper left hand corner), and make the entire event blank.

The enemy should not show up again.

If that isn't working, post a FULL screenshot of the event. This includes everything on every page of the event.
Do what @bgillisp said, but on the second page, copy-paste the transfer event (don't forget the conditions!).
Yup I did what bgillisp said a couples times already but it wasn't working, so when he told me this here I knew something else was the problem....
I figured it out and....I'm terribly embarrassed so tell this.

As the NOOB that I am, I forgot to put it on player touch at the second page.
in 4 hours of trying it never crossed my mind to actually look at that, a hard lesson for the future.
Don't feel too bad. I made an autorun a month or so ago where I forgot to turn it off...after using the program for 3 years.

So is this safe to close as solved?
It is very solved, thanx again bgillisp

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/whats-the-easiest-way.86061/