Trainers No Longer Spin to Face You Right As You Pass Them - pret/pokeemerald GitHub Wiki

By devolov

Goal: Stop an NPC from facing you the second you walk in front of them so you can juke NPCs without being concerned of RNG.

To stop trainers from spinning into your direction in the last second when you're moving, In object_event_movement.c, change all occurances of:
(WaitForMovementDelay(sprite) || ObjectEventIsTrainerAndCloseToPlayer(objectEvent))
to
(WaitForMovementDelay(sprite))