I agree that this is a difficult case, but I'll give my ideas:
First, keep in mind that if you want both possibilities (pushing and pulling) to be available at the same time, you can only have one page in the event. As you pointed out, only the highest number page with conditions met is active.
Secondly, keep in mind that when the event is activating, it treats every trigger as equivalent. Therefore, you'll want to make the event activate on Player Touch, which means that standing by the event and pressing Enter will have the same effect as pushing. But wait, we now need a way to split that "same effect" into multiple effects. Here are a few ways we could try:
1. A simple solution would be to let the player face the object, then when they press Enter/click on the object, a menu opens with the options Push, Pull, and Cancel. The player can choose what they want, and the event does the appropriate Force Move Route commands to make the player and object move where they should. This would be easy to make in RPG Maker MV. I suggest this easiest option if you plan to only have a few places in your game with the push/pull mechanic.
2. Make a push or a pull only happen only when a certain button is either (A) held down or (
😎 pressed once.
- (A) To make a process only happen when a key is held down, you can place a Conditional Branch in the event's page, and in the Conditional Branch tab 4 you'll see "Button ___ is pressed down." You can select which button you want!
- (A possibility two) If this does not work directly in the event, you may try creating an extra event set to Parallel Process in the corner of your map or as a common event, and have that parallel process constantly check for a button press.
- (😎 You can also use Yanfly's Button Common Events plugin to make a common event run when certain buttons are pressed. In this way, you can have a button for pushing and a button for pulling.
So, you could have moving into the object push it, and standing by it and pressing a button pull it. If you are trying to do this with eventing as above, I highly suggest looking into Yanfly's Button Common Events plugin, as I think this is the way to go.
3. Alternatively, this type of puzzle could be scripted in Javascript to be added to your game. If you want to try that, I suggest checking out
SumRndmDde's tutorials. A scripted solution may be best if you plan on using this type of pushing/pulling frequently in your game.
I hope that helps!