Pokemon Emerald: Fix missing region for water encounters in Dewford (#3103)
This commit is contained in:
parent
3343d4e364
commit
8b8df9fa33
|
@ -1143,7 +1143,7 @@
|
||||||
"REGION_DEWFORD_TOWN/MAIN": {
|
"REGION_DEWFORD_TOWN/MAIN": {
|
||||||
"parent_map": "MAP_DEWFORD_TOWN",
|
"parent_map": "MAP_DEWFORD_TOWN",
|
||||||
"has_grass": false,
|
"has_grass": false,
|
||||||
"has_water": true,
|
"has_water": false,
|
||||||
"has_fishing": true,
|
"has_fishing": true,
|
||||||
"locations": [
|
"locations": [
|
||||||
"NPC_GIFT_RECEIVED_OLD_ROD"
|
"NPC_GIFT_RECEIVED_OLD_ROD"
|
||||||
|
@ -1152,6 +1152,7 @@
|
||||||
"EVENT_VISITED_DEWFORD_TOWN"
|
"EVENT_VISITED_DEWFORD_TOWN"
|
||||||
],
|
],
|
||||||
"exits": [
|
"exits": [
|
||||||
|
"REGION_DEWFORD_TOWN/WATER",
|
||||||
"REGION_ROUTE106/EAST",
|
"REGION_ROUTE106/EAST",
|
||||||
"REGION_ROUTE107/MAIN",
|
"REGION_ROUTE107/MAIN",
|
||||||
"REGION_ROUTE104_MR_BRINEYS_HOUSE/MAIN",
|
"REGION_ROUTE104_MR_BRINEYS_HOUSE/MAIN",
|
||||||
|
@ -1165,6 +1166,16 @@
|
||||||
"MAP_DEWFORD_TOWN:4/MAP_DEWFORD_TOWN_HOUSE2:0"
|
"MAP_DEWFORD_TOWN:4/MAP_DEWFORD_TOWN_HOUSE2:0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"REGION_DEWFORD_TOWN/WATER": {
|
||||||
|
"parent_map": "MAP_DEWFORD_TOWN",
|
||||||
|
"has_grass": false,
|
||||||
|
"has_water": true,
|
||||||
|
"has_fishing": true,
|
||||||
|
"locations": [],
|
||||||
|
"events": [],
|
||||||
|
"exits": [],
|
||||||
|
"warps": []
|
||||||
|
},
|
||||||
"REGION_DEWFORD_TOWN_HALL/MAIN": {
|
"REGION_DEWFORD_TOWN_HALL/MAIN": {
|
||||||
"parent_map": "MAP_DEWFORD_TOWN_HALL",
|
"parent_map": "MAP_DEWFORD_TOWN_HALL",
|
||||||
"has_grass": false,
|
"has_grass": false,
|
||||||
|
|
|
@ -427,6 +427,10 @@ def set_rules(world: "PokemonEmeraldWorld") -> None:
|
||||||
state.can_reach("REGION_ROUTE104_MR_BRINEYS_HOUSE/MAIN -> REGION_DEWFORD_TOWN/MAIN", "Entrance", world.player)
|
state.can_reach("REGION_ROUTE104_MR_BRINEYS_HOUSE/MAIN -> REGION_DEWFORD_TOWN/MAIN", "Entrance", world.player)
|
||||||
and state.has("EVENT_TALK_TO_MR_STONE", world.player)
|
and state.has("EVENT_TALK_TO_MR_STONE", world.player)
|
||||||
)
|
)
|
||||||
|
set_rule(
|
||||||
|
get_entrance("REGION_DEWFORD_TOWN/MAIN -> REGION_DEWFORD_TOWN/WATER"),
|
||||||
|
hm_rules["HM03 Surf"]
|
||||||
|
)
|
||||||
|
|
||||||
# Granite Cave
|
# Granite Cave
|
||||||
set_rule(
|
set_rule(
|
||||||
|
|
Loading…
Reference in New Issue