Pokemon Emerald: Fix logic for coin case location (#3631)
This commit is contained in:
parent
948f50f35d
commit
48dc14421e
|
@ -558,6 +558,10 @@ def set_rules(world: "PokemonEmeraldWorld") -> None:
|
||||||
get_location("NPC_GIFT_GOT_BASEMENT_KEY_FROM_WATTSON"),
|
get_location("NPC_GIFT_GOT_BASEMENT_KEY_FROM_WATTSON"),
|
||||||
lambda state: state.has("EVENT_DEFEAT_NORMAN", world.player)
|
lambda state: state.has("EVENT_DEFEAT_NORMAN", world.player)
|
||||||
)
|
)
|
||||||
|
set_rule(
|
||||||
|
get_location("NPC_GIFT_RECEIVED_COIN_CASE"),
|
||||||
|
lambda state: state.has("EVENT_BUY_HARBOR_MAIL", world.player)
|
||||||
|
)
|
||||||
|
|
||||||
# Route 117
|
# Route 117
|
||||||
set_rule(
|
set_rule(
|
||||||
|
@ -1638,10 +1642,6 @@ def set_rules(world: "PokemonEmeraldWorld") -> None:
|
||||||
get_location("NPC_GIFT_GOT_TM_THUNDERBOLT_FROM_WATTSON"),
|
get_location("NPC_GIFT_GOT_TM_THUNDERBOLT_FROM_WATTSON"),
|
||||||
lambda state: state.has("EVENT_DEFEAT_NORMAN", world.player) and state.has("EVENT_TURN_OFF_GENERATOR", world.player)
|
lambda state: state.has("EVENT_DEFEAT_NORMAN", world.player) and state.has("EVENT_TURN_OFF_GENERATOR", world.player)
|
||||||
)
|
)
|
||||||
set_rule(
|
|
||||||
get_location("NPC_GIFT_RECEIVED_COIN_CASE"),
|
|
||||||
lambda state: state.has("EVENT_BUY_HARBOR_MAIL", world.player)
|
|
||||||
)
|
|
||||||
|
|
||||||
# Fallarbor Town
|
# Fallarbor Town
|
||||||
set_rule(
|
set_rule(
|
||||||
|
|
Loading…
Reference in New Issue