mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Undertale: Various Fixes (#2146)
* Changed the pathing code to use os.path.join, instead of adding strings together, also fixed the savepath command using UndertaleContext instead of self.ctx (Credit to Wackerly for finding the self.ctx issue and fix) * Undertale: Fixed a debug function in the game not requiring debug to be enabled. * Undetale: Fixed a logic bug with the location "Letter Quest"
This commit is contained in:
@@ -113,7 +113,7 @@ def set_rules(multiworld: MultiWorld, player: int):
|
||||
set_rule(multiworld.get_location("Hush Trade", player),
|
||||
lambda state: state.can_reach("News Show", "Region", player) and state.has("Hot Dog...?", player, 1))
|
||||
set_rule(multiworld.get_location("Letter Quest", player),
|
||||
lambda state: state.can_reach("New Home Exit", "Entrance", player))
|
||||
lambda state: state.can_reach("New Home Exit", "Entrance", player) and state.has("Undyne Date", player))
|
||||
if (not _undertale_is_route(multiworld.state, player, 2)) or _undertale_is_route(multiworld.state, player, 3):
|
||||
set_rule(multiworld.get_location("Nicecream Punch Card", player),
|
||||
lambda state: state.has("Punch Card", player, 3) and state.can_reach("Waterfall", "Region", player))
|
||||
|
Reference in New Issue
Block a user