old_location

old_location is a global variable used to hold the previous room the player was in. Set by “travel” routines like MovePlayer and DoGo after a successful move, its value stays the same until the next successful move. Follow.h uses it to move followers into the room the player is in.

Hugo Homework

Code a room where an alarm is tripped if you enter from one direction but not another one.