So far I've figured out that you can only get the swamp lotus if you have a random encounter in map 5072, and only if you haven't had an encounter there before. Which map you have a random encounter on is determined by the following function from random_encounter.py: Code: def get_map_from_terrain( terrain ): if (terrain & TERRAIN_SCRUB): map = 5070 elif (terrain & TERRAIN_FOREST): map = 5071 elif (terrain & TERRAIN_SWAMP): map = 5072 else: # TERRAIN_RIVERSIDE map = 5073 if (terrain & TERRAIN_F_ROAD): map = map + 4 return map My questions is, where are the values for "terrain" retrieved from? Do these values depend on where your party is in the world map when traveling, or is there a random range of values that is dependent on where you are coming from and going to? If anyone has any insight on this, your help would be greatly appreciated.
Last night I found a .jpg in one of the data files that appears to be the world map color coded for terrain type. I might play around with that. I also found the shop map, but it appears to have been conscripted to serve as the scrolling temple wall background for the game start menu.