From 14d7bdba158e0937089e8383347fe8d938d1e2eb Mon Sep 17 00:00:00 2001 From: MarioSpore Date: Tue, 19 Aug 2025 02:00:11 -0400 Subject: [PATCH] Prepare for reset addresses in locations when items are sent in vanilla --- worlds/grinch/Locations.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worlds/grinch/Locations.py b/worlds/grinch/Locations.py index c98bec81..da5cc6c9 100644 --- a/worlds/grinch/Locations.py +++ b/worlds/grinch/Locations.py @@ -9,6 +9,7 @@ class GrinchLocationData(NamedTuple): location_group: str id: Optional[int] update_ram_addr: list[GrinchRamData] + reset_addr: Optional[list[GrinchRamData]] = None # Addresses to update once we find the item class GrinchLocation(Location): game: str = "The Grinch" @@ -26,6 +27,7 @@ class GrinchLocation(Location): self.region = data.region self.type = data.location_group self.address = self.address + grinch_locations = { #Going to use current map id as indicator whether or not you visited a location #Visitsanity