All of the members you want access to are initialized in Game_CharacterBase, which is parent to both Game_Event and Game_Player.
Only one instance of Game_Player is needed for most RPGs, so by default it is created when a new game is started and stored as a global variable ($gamePlayer).
Being a global variable, $gamePlayer can be accessed from anywhere you want to reference it, which is why you are able to access those members conveniently from within the event command list's script command.
If we can do that for $gamePlayer, surely we can do that for an individual event, right? Yes, we can.
In order to understand how to access the information we want, we have to find out where that information lives and how to communicate with it from our desired location.
In our situation, we want to access it conveniently via the event command list's script command or even the conditional branch's script condition (very useful).
We already know where the information we want is because I mentioned it earlier; the info we want access to lives inside an instance of Game_Event, so the question becomes "how do we access instances of Game_Event via the event command list?"
The magic of the event command list happens inside the Game_Interpreter class; if we look in there, we will find that whenever an instance of Game_Interpreter is setup, the eventId of the instance of the Game_Event the interpreter is running within gets passed down to it.
As you can imagine, we are almost there!
So where are instances of Game_Event instantiated then? Why, in the Game_Map class of course, which conveniently for us is also a global variable ($gameMap). So does Game_Map have a way of gaining access to individual instances Game_Event(s) that are stored in it? Yeah man, you bet.
We have arrived at our destination; by creating a custom function within Game_Interpreter, we can conveniently gain access to a Game_Event.
Code:
Game_Interpreter.prototype.event = function() {
return $gameMap.event(this._eventId);
};
By adding the function above to Game_Interpreter, you can easily access an event's member variables using the same methods as you do for the player by simply referencing it in the following manner;
Code:
this.event().direction() === 2;