Every visit starts the same way: the hero bumps into a door and one of five visitors is chosen at random (thief, police, prostitute, old woman, or the café itself). Percentages and "random" price/payout ranges are approximate - see the linked routines on the Controls page for the exact PRNG logic behind each branch.
Overview
Overview of the five visitors
Police
Police encounter flow
Thief
Thief encounter flow
Old woman
Old woman encounter flow
Prostitute
Prostitute encounter flow
Café
Café encounter flow
Game over, high score and restart
Game over, high score and restart flow