def reassign_boss(boss_region, boss_key, builder, gt, world, player):
    if (boss_region in builder.master_sector.region_set()):
        new_dungeon = world.get_dungeon(builder.name, player)
        if (new_dungeon != gt):
            gt_boss = gt.bosses.pop(boss_key)
            new_dungeon.bosses[boss_key] = gt_boss
def reassign_boss(boss_region, boss_key, builder, gt, world, player):
    if (boss_region in builder.master_sector.region_set()):
        new_dungeon = world.get_dungeon(builder.name, player)
        if (new_dungeon != gt):
            gt_boss = gt.bosses.pop(boss_key)
            new_dungeon.bosses[boss_key] = gt_boss