def build_dungeon_walls(map_grid, p_mod):
    for y in range(0, len(map_grid)):
        for x in range(0, len(map_grid)):
            if ((r.randint(0, 100) / 100) < p_mod):
                map_grid[y][x] = c.WALL
def build_dungeon_walls(map_grid, p_mod):
    for y in range(0, len(map_grid)):
        for x in range(0, len(map_grid)):
            if ((r.randint(0, 100) / 100) < p_mod):
                map_grid[y][x] = c.WALL