Pokemon Emerald: Fix logic for coin case location (#3631)

This commit is contained in:
Bryce Wilson 2024-07-14 05:05:50 -07:00 committed by GitHub
parent 948f50f35d
commit 48dc14421e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -558,6 +558,10 @@ def set_rules(world: "PokemonEmeraldWorld") -> None:
get_location("NPC_GIFT_GOT_BASEMENT_KEY_FROM_WATTSON"),
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
set_rule(
@ -1638,10 +1642,6 @@ def set_rules(world: "PokemonEmeraldWorld") -> None:
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)
)
set_rule(
get_location("NPC_GIFT_RECEIVED_COIN_CASE"),
lambda state: state.has("EVENT_BUY_HARBOR_MAIL", world.player)
)
# Fallarbor Town
set_rule(