PatternY

I have been messing with...

Sprite_Character.prototype.characterPatternY

...and I got it set up so it will change based on my players direction but it also applies to all the events. I can't yet figure out how to make make it apply a value to the player and a separate value to the events.  I would like to know if its possible, how to do it and if i have to move some update functions around and where. 
You can do this fairly simply. I'm sure there are better ways, but within any function member of Sprite_Character, you can check if the character for this sprite is the player or not with the following snippet:

Code:
if(this._character instanceof Game_Player) {  // do something for the player} else if(this._character instanceof Game_Follower) {  // do something else for followers} else {  // do something else for events}
That is the stuff right there.

Thanks.

Original thread: https://forums.rpgmakerweb.com/threads/patterny.52514/