Try something like this.
Make an Empty event space where you want the guard to stand after he sees the item that you need, so that you can get past.
Go to the Events on the guard, and select "Conditional Branch"
<>Branch if (Your item) Possessed
<>Message: I see you have (Item), You may pass.
<> Switch Operation: [####:Gp2] ON <-- EDIT
<> Switch Operation: [####:Guard] ON
: Else Handler
<>Message: You may not pass unless you have (Item) in your possession, Leave this place at once!
<>
:End
<>
Now, Make a Page Two on that guard, and set a Precondition of "[Check] Switch [Guard] ON"
That way once it turns the switch on, you'll get a blank guard now, Moved in position. Feel free to add a Message on Page two saying something like "You have the (Item), You may enter."
And there ya go.
I hope that helped you.
EDIT: GP2 is the second page of the initial guard. Making it so that the space is empty, I realized that with my trade two event locations event, The instant you moved off screen, and came back, the guard would be there again. Creating yet another flaw.
P.S. Sorry for the late edit on this. Not like you're going to see it anyway though. Pointless to sign on for a day, ask something, then never check on it. =/ Oh well, It's here if you ever decide to come back.