EventScript_ResetAllBerryTrees: @ 19F940
	setberrytree 2, ITEM_TO_BERRY(ITEM_ORAN_BERRY), BERRY_STAGE_BERRIES
	setberrytree 1, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 11, ITEM_TO_BERRY(ITEM_ORAN_BERRY), BERRY_STAGE_BERRIES
	setberrytree 13, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 4, ITEM_TO_BERRY(ITEM_ORAN_BERRY), BERRY_STAGE_BERRIES
	setberrytree 76, ITEM_TO_BERRY(ITEM_CHERI_BERRY), BERRY_STAGE_BERRIES
	setberrytree 8, ITEM_TO_BERRY(ITEM_CHERI_BERRY), BERRY_STAGE_BERRIES
	setberrytree 10, ITEM_TO_BERRY(ITEM_LEPPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 25, ITEM_TO_BERRY(ITEM_PINAP_BERRY), BERRY_STAGE_BERRIES
	setberrytree 26, ITEM_TO_BERRY(ITEM_CHESTO_BERRY), BERRY_STAGE_BERRIES
	setberrytree 66, ITEM_TO_BERRY(ITEM_CHESTO_BERRY), BERRY_STAGE_BERRIES
	setberrytree 67, ITEM_TO_BERRY(ITEM_PINAP_BERRY), BERRY_STAGE_BERRIES
	setberrytree 69, ITEM_TO_BERRY(ITEM_KELPSY_BERRY), BERRY_STAGE_BERRIES
	setberrytree 70, ITEM_TO_BERRY(ITEM_KELPSY_BERRY), BERRY_STAGE_BERRIES
	setberrytree 71, ITEM_TO_BERRY(ITEM_KELPSY_BERRY), BERRY_STAGE_BERRIES
	setberrytree 55, ITEM_TO_BERRY(ITEM_BLUK_BERRY), BERRY_STAGE_BERRIES
	setberrytree 56, ITEM_TO_BERRY(ITEM_BLUK_BERRY), BERRY_STAGE_BERRIES
	setberrytree 5, ITEM_TO_BERRY(ITEM_CHERI_BERRY), BERRY_STAGE_BERRIES
	setberrytree 6, ITEM_TO_BERRY(ITEM_LEPPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 7, ITEM_TO_BERRY(ITEM_CHERI_BERRY), BERRY_STAGE_BERRIES
	setberrytree 16, ITEM_TO_BERRY(ITEM_NANAB_BERRY), BERRY_STAGE_BERRIES
	setberrytree 17, ITEM_TO_BERRY(ITEM_NANAB_BERRY), BERRY_STAGE_BERRIES
	setberrytree 18, ITEM_TO_BERRY(ITEM_NANAB_BERRY), BERRY_STAGE_BERRIES
	setberrytree 29, ITEM_TO_BERRY(ITEM_WEPEAR_BERRY), BERRY_STAGE_BERRIES
	setberrytree 28, ITEM_TO_BERRY(ITEM_WEPEAR_BERRY), BERRY_STAGE_BERRIES
	setberrytree 27, ITEM_TO_BERRY(ITEM_WEPEAR_BERRY), BERRY_STAGE_BERRIES
	setberrytree 24, ITEM_TO_BERRY(ITEM_RAWST_BERRY), BERRY_STAGE_BERRIES
	setberrytree 23, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 22, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 21, ITEM_TO_BERRY(ITEM_RAWST_BERRY), BERRY_STAGE_BERRIES
	setberrytree 19, ITEM_TO_BERRY(ITEM_RAZZ_BERRY), BERRY_STAGE_BERRIES
	setberrytree 20, ITEM_TO_BERRY(ITEM_RAZZ_BERRY), BERRY_STAGE_BERRIES
	setberrytree 80, ITEM_TO_BERRY(ITEM_ORAN_BERRY), BERRY_STAGE_BERRIES
	setberrytree 81, ITEM_TO_BERRY(ITEM_ORAN_BERRY), BERRY_STAGE_BERRIES
	setberrytree 77, ITEM_TO_BERRY(ITEM_PERSIM_BERRY), BERRY_STAGE_BERRIES
	setberrytree 78, ITEM_TO_BERRY(ITEM_PERSIM_BERRY), BERRY_STAGE_BERRIES
	setberrytree 68, ITEM_TO_BERRY(ITEM_PERSIM_BERRY), BERRY_STAGE_BERRIES
	setberrytree 31, ITEM_TO_BERRY(ITEM_SITRUS_BERRY), BERRY_STAGE_BERRIES
	setberrytree 33, ITEM_TO_BERRY(ITEM_SITRUS_BERRY), BERRY_STAGE_BERRIES
	setberrytree 34, ITEM_TO_BERRY(ITEM_POMEG_BERRY), BERRY_STAGE_BERRIES
	setberrytree 35, ITEM_TO_BERRY(ITEM_POMEG_BERRY), BERRY_STAGE_BERRIES
	setberrytree 36, ITEM_TO_BERRY(ITEM_POMEG_BERRY), BERRY_STAGE_BERRIES
	setberrytree 83, ITEM_TO_BERRY(ITEM_HONDEW_BERRY), BERRY_STAGE_BERRIES
	setberrytree 84, ITEM_TO_BERRY(ITEM_HONDEW_BERRY), BERRY_STAGE_BERRIES
	setberrytree 85, ITEM_TO_BERRY(ITEM_SITRUS_BERRY), BERRY_STAGE_BERRIES
	setberrytree 86, ITEM_TO_BERRY(ITEM_LEPPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 37, ITEM_TO_BERRY(ITEM_ASPEAR_BERRY), BERRY_STAGE_BERRIES
	setberrytree 38, ITEM_TO_BERRY(ITEM_ASPEAR_BERRY), BERRY_STAGE_BERRIES
	setberrytree 39, ITEM_TO_BERRY(ITEM_ASPEAR_BERRY), BERRY_STAGE_BERRIES
	setberrytree 40, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 41, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 42, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 46, ITEM_TO_BERRY(ITEM_WEPEAR_BERRY), BERRY_STAGE_BERRIES
	setberrytree 45, ITEM_TO_BERRY(ITEM_PINAP_BERRY), BERRY_STAGE_BERRIES
	setberrytree 44, ITEM_TO_BERRY(ITEM_NANAB_BERRY), BERRY_STAGE_BERRIES
	setberrytree 43, ITEM_TO_BERRY(ITEM_RAZZ_BERRY), BERRY_STAGE_BERRIES
	setberrytree 47, ITEM_TO_BERRY(ITEM_PERSIM_BERRY), BERRY_STAGE_BERRIES
	setberrytree 48, ITEM_TO_BERRY(ITEM_ASPEAR_BERRY), BERRY_STAGE_BERRIES
	setberrytree 49, ITEM_TO_BERRY(ITEM_RAWST_BERRY), BERRY_STAGE_BERRIES
	setberrytree 50, ITEM_TO_BERRY(ITEM_CHESTO_BERRY), BERRY_STAGE_BERRIES
	setberrytree 52, ITEM_TO_BERRY(ITEM_NANAB_BERRY), BERRY_STAGE_BERRIES
	setberrytree 53, ITEM_TO_BERRY(ITEM_NANAB_BERRY), BERRY_STAGE_BERRIES
	setberrytree 62, ITEM_TO_BERRY(ITEM_LEPPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 64, ITEM_TO_BERRY(ITEM_LEPPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 58, ITEM_TO_BERRY(ITEM_POMEG_BERRY), BERRY_STAGE_BERRIES
	setberrytree 59, ITEM_TO_BERRY(ITEM_POMEG_BERRY), BERRY_STAGE_BERRIES
	setberrytree 60, ITEM_TO_BERRY(ITEM_GREPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 61, ITEM_TO_BERRY(ITEM_GREPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 79, ITEM_TO_BERRY(ITEM_QUALOT_BERRY), BERRY_STAGE_BERRIES
	setberrytree 14, ITEM_TO_BERRY(ITEM_QUALOT_BERRY), BERRY_STAGE_BERRIES
	setberrytree 15, ITEM_TO_BERRY(ITEM_POMEG_BERRY), BERRY_STAGE_BERRIES
	setberrytree 30, ITEM_TO_BERRY(ITEM_POMEG_BERRY), BERRY_STAGE_BERRIES
	setberrytree 65, ITEM_TO_BERRY(ITEM_GREPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 72, ITEM_TO_BERRY(ITEM_GREPA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 73, ITEM_TO_BERRY(ITEM_QUALOT_BERRY), BERRY_STAGE_BERRIES
	setberrytree 74, ITEM_TO_BERRY(ITEM_QUALOT_BERRY), BERRY_STAGE_BERRIES
	setberrytree 87, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES
	setberrytree 88, ITEM_TO_BERRY(ITEM_SITRUS_BERRY), BERRY_STAGE_BERRIES
	setberrytree 89, ITEM_TO_BERRY(ITEM_RAWST_BERRY), BERRY_STAGE_BERRIES
	setberrytree 82, ITEM_TO_BERRY(ITEM_LIECHI_BERRY), BERRY_STAGE_BERRIES
	return

EventScript_ResetAllMapFlags:: @ 819FA81
	setflag FLAG_LINK_CONTEST_ROOM_POKEBALL
	setflag FLAG_HIDE_VICTORIA_WINSTRATE
	setflag FLAG_HIDE_VIVI_WINSTRATE
	setflag FLAG_HIDE_VICKI_WINSTRATE
	setflag FLAG_HIDE_BIRCH_IN_LAB
	setflag FLAG_HIDE_RIVAL_BIRCH_LAB
	setflag FLAG_HIDE_WALLY_PETALBURG
	setflag FLAG_UNKNOWN_363
	setflag FLAG_HIDE_GRUNT_RUSTBORO
	setflag FLAG_HIDE_DEVON_RUSTBORO
	setflag FLAG_HIDE_RIVAL_RUSTBORO
	setflag FLAG_HIDE_FAT_MAN_LITTLEROOT
	setflag FLAG_HIDE_MR_BRINEY_ROUTE104_HOUSE
	setflag FLAG_HIDE_PEEKO_BRINEY_HOUSE
	setflag FLAG_HIDE_MR_BRINEY_ROUTE104
	setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
	setflag FLAG_HIDE_MR_BRINEY_ROUTE109
	setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD
	setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE109
	setflag FLAG_HIDE_FLOWER_SHOP_WORKER_OUTSIDE
	setflag FLAG_UNKNOWN_2E1
	setflag FLAG_UNKNOWN_2EB
	setflag FLAG_UNKNOWN_2EC
	setflag FLAG_UNKNOWN_2ED
	setflag FLAG_UNKNOWN_2F4
	setflag FLAG_HIDE_LILYCOVE_CONTEST_ATTENDENT_1
	setflag FLAG_HIDE_ARTIST_LILCOVE_CONTEST
	setflag FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_LADY
	setflag FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_GIRL
	setflag FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_MAN
	setflag FLAG_HIDE_LILYCOVE_MUSEUM_PAINTER
	setflag FLAG_HIDE_LILYCOVE_MUSEUM_VISITORS
	setflag FLAG_HIDE_PETALBURG_GYM_GUIDE
	setflag FLAG_UNKNOWN_30E
	setflag FLAG_UNKNOWN_30F
	setflag FLAG_HIDE_NORMAN_LITTLEROOT
	setflag FLAG_HIDE_MAY_PICHU_DOLL
	setflag FLAG_HIDE_FANCLUB_OLD_LADY
	setflag FLAG_HIDE_FANCLUB_BOY
	setflag FLAG_HIDE_FANCLUB_LITTLE_BOY
	setflag FLAG_HIDE_FANCLUB_LADY
	setflag FLAG_HIDE_GABBY_AND_TY_ROUTE118_1
	setflag FLAG_HIDE_GABBY_AND_TY_ROUTE120_1
	setflag FLAG_HIDE_GABBY_AND_TY_ROUTE111_2
	setflag FLAG_HIDE_GABBY_AND_TY_ROUTE118_2
	setflag FLAG_HIDE_GABBY_AND_TY_ROUTE120_2
	setflag FLAG_HIDE_GABBY_AND_TY_ROUTE111_3
	setflag FLAG_HIDE_GABBY_AND_TY_ROUTE118_3
	setflag FLAG_HIDE_CONTEST_REPORTER_FALLARBOR
	setflag FLAG_HIDE_CONTEST_REPORTER_VERDANTURF
	setflag FLAG_HIDE_CONTEST_REPORTER_SLATEPORT
	setflag FLAG_HIDE_CONTEST_REPORTER_LILYCOVE
	setflag FLAG_HIDE_WALLY_WANDAS_HOUSE
	setflag FLAG_HIDE_BOYFRIEND_WANDAS_HOUSE
	setflag FLAG_HIDE_WALLY_FATHER_WANDAS_HOUSE
	setflag FLAG_HIDE_GIRLFRIEND_WANDAS_HOUSE
	setflag FLAG_HIDE_WALLY_FATHER_PETALBURG
	setflag FLAG_HIDE_WALLY_MOTHER_PETALBURG
	setflag FLAG_HIDE_WALLY_PETALBURG_GYM
	setflag FLAG_HIDE_WALLACE_SOOTOPOLIS_GYM
	setflag FLAG_HIDE_WALLACE_SOOTOPOLIS
	setflag FLAG_HIDE_BRINEY_SLATEPORT_SHIPYARD
	setflag FLAG_UNKNOWN_337
	setflag FLAG_HIDE_EVIL_LEADER_SEAFLOOR_CAVERN
	setflag FLAG_HIDE_OTHER_LEADER_SEAFLOOR_CAVERN
	setflag FLAG_HIDE_OTHER_TEAM_GRUNTS_SEAFLOOR_CAVERN
	setflag FLAG_HIDE_AWAKENED_MON_SEAFLOOR_CAVERN
	setflag FLAG_HIDE_STERN_SLATEPORT_HARBOR
	setflag FLAG_UNKNOWN_34B
	setflag FLAG_UNKNOWN_34C
	setflag FLAG_UNKNOWN_34F
	setflag FLAG_HIDE_GRUNT_1_SLATEPORT_HARBOR
	setflag FLAG_HIDE_GRUNT_2_SLATEPORT_HARBOR
	setflag FLAG_HIDE_SS_TIDAL_SLATEPORT_HARBOR
	setflag FLAG_HIDE_SS_TIDAL_LILYCOVE_HARBOR
	setflag FLAG_HIDE_GABBY_AND_TY_SLATEPORT
	setflag FLAG_HIDE_STERN_SLATEPORT
	setflag FLAG_HIDE_SUBMARINE_SHADOW_SLATEPORT_HARBOR
	setflag FLAG_HIDE_RIVAL_ROUTE119
	setflag FLAG_HIDE_CAVE_OF_ORIGIN_ENTRANCE_WOMAN_1
	setflag FLAG_HIDE_CAVE_OF_ORIGIN_ENTRANCE_WOMAN_2
	setflag FLAG_HIDE_STEVEN_SOOTOPOLIS
	setflag FLAG_HIDE_LANETTE
	setflag FLAG_HIDE_TRICKMASTER_ENTRANCE
	setflag FLAG_HIDE_MT_CHIMNEY_PEOPLE
	setflag FLAG_HIDE_BRINEY_RUSTURF_TUNNEL
	setflag FLAG_HIDE_BRINEY_ROUTE116
	setflag FLAG_HIDE_PEEKO_RUSTURF_TUNNEL
	setflag FLAG_HIDE_GRUNT_RUSTURF_TUNNEL
	setflag FLAG_HIDE_BOYFRIEND_RUSTURF_TUNNEL
	setflag FLAG_HIDE_GIRLFRIEND_RUSTURF_TUNNEL
	setflag FLAG_HIDE_EVIL_TEAM_LEADER_OCEANIC_MUSEUM_2F
	setflag FLAG_HIDE_GRUNT_1_OCEANIC_MUSEUM_2F
	setflag FLAG_HIDE_GRUNT_2_OCEANIC_MUSEUM_2F
	setflag FLAG_HIDE_OCEANIC_MUSEUM_VISITORS
	setflag FLAG_HIDE_BATTLE_TOWER_OPPONENT
	setflag FLAG_HIDE_AWARD_MAN_BATTLE_TOWER
	setflag FLAG_HIDE_MOM_LITTLEROOT
	setflag FLAG_HIDE_MOM_UPSTAIRS
	setflag FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_1F
	setflag FLAG_UNKNOWN_BIRCH_380
	setflag FLAG_HIDE_BIRCH_ROUTE101
	setflag FLAG_HIDE_BIRCH_ROUTE103
	setflag FLAG_HIDE_FERRY_SAILOR_LILYCOVE
	setflag FLAG_HIDE_LATIOS_OR_LATIAS_FLYING
	setflag FLAG_HIDE_LATIOS_OR_LATIAS_STATIONARY
	setflag FLAG_UNKNOWN_393
	setflag FLAG_HIDE_WATTSON_MAUVILLE
	setflag FLAG_HIDE_RIVAL_CHAMPIONS_ROOM
	setflag FLAG_HIDE_BIRCH_CHAMPIONS_ROOM
	setflag FLAG_HIDE_RIVAL_ON_BIKE_ROUTE110
	setflag FLAG_HIDE_RIVAL_ROUTE119_ON_BIKE
	setflag FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE
	setflag FLAG_HIDE_RIVAL_LAVARIDGE_1
	setflag FLAG_HIDE_RIVAL_LAVARIDGE_2
	setflag FLAG_HIDE_WINGULL_MOSSDEEP_HOUSE
	setflag FLAG_HIDE_OTHER_TEAM_METEOR_FALLS_1F
	setflag FLAG_HIDE_SLUDGE_BOMB_MAN_DEWFORD_HALL
	setflag FLAG_HIDE_PROF_COSMO_FALLARBOR
	setflag FLAG_HIDE_STEVEN_ROUTE128
	setflag FLAG_HIDE_EVIL_LEADER_ROUTE128
	setflag FLAG_HIDE_OTHER_LEADER_ROUTE128
	setflag FLAG_HIDE_DEVON_EMPLOYEE_ROUTE116
	setflag FLAG_HIDE_TM_SALESMAN_SLATEPORT
	setflag FLAG_HIDE_WALLY_BATTLE_VICTORY_ROAD
	setflag FLAG_HIDE_BRINEY_AND_PEEKO_SS_TIDAL
	setflag FLAG_HIDE_BELDUM_BALL_STEVENS_HOUSE
	setflag FLAG_ITEM_MOSSDEEP_STEVENS_HOUSE_HM08
	setflag FLAG_HIDE_STEVENS_LETTER
	setflag FLAG_HIDE_RIVAL_OLDALE_TOWN
	setflag FLAG_HIDE_WALLY_DEFEATED_VICTORY_ROAD
	setflag FLAG_HIDE_BOY_ROUTE101
	call EventScript_ResetAllBerryTrees
	end
