Get regions that player is standing in outside functions

Get the regions that the player is standing in outside the flag functions
and in the main flag function.