The thing about Berzerk robots is they have no idea how to pathfind, but they will either track your X or track your Y depending on what state they're randomly in for a while. This gives them a really human like behavior where they'll duck behind walls to "dodge your bullets" because you're ducking to dodge theirs and they're just kind of mirroring you.
It's like when you meet someone in a hallway and you both go one way then another in a dance of blocking each other...
Yep, I know trust me I played it a lot on Mame for research However they also move on angles. I made mine kind of dumb and only pathfind when they are in a certain range, etc. All good fun.
BTW I played yours, well done it's cool.