Vatiken wrote: Yeah that looks like my work...
Code:
/* If not displaying world map and "tch" is within field of vision, display. -JA */
/* Field of Vision: The player is located at 25, 25 and the map draws out tiles from there. */
/* The following line displays PC/NPCs within 3 tiles EAST/WEST of the PC, and 3 tiles NORTH/SOUTH */
/* It works out to approximately 1 room... this is designed to keep NPCs from cluttering the map in largely*/
/* populated areas. */
if (!worldmap && x < 28 && x > 22 && y < 28 && y > 22) {