Room-Dependent Coin Dispensing

Replaced the global dispense machine with a room-based machine pointer
so that the dispensing machine is only activated if the player is in the
room with it.