map_id = 1
load_data(sprintf("Data/Map%03d.rxdata", map_id)).events.keys.each{|i|
$game_self_switches[[map_id, i, "A"]] = false
$game_self_switches[[map_id, i, "B"]] = false
$game_self_switches[[map_id, i, "C"]] = false
$game_self_switches[[map_id, i, "D"]] = false
}
$game_map.need_refresh = true
map_id = 1
load_data(sprintf("Data/Map%03d.rxdata", map_id)).events.keys.each{|i|
$game_self_switches[[map_id, i, "A"]] = false
$game_self_switches[[map_id, i, "B"]] = false
$game_self_switches[[map_id, i, "C"]] = false
$game_self_switches[[map_id, i, "D"]] = false
}
$game_map.need_refresh = true