From d03abe0db3c56502a1522230bc392f993447213d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 26 Feb 2024 21:30:56 -0500 Subject: Added pilgrimage goal --- src/ap_state.h | 2 +- src/global.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ap_state.h b/src/ap_state.h index fe424fd..e3c2d7f 100644 --- a/src/ap_state.h +++ b/src/ap_state.h @@ -10,7 +10,7 @@ class TrackerFrame; enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 }; -enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2 }; +enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2, kPILGRIMAGE = 3 }; enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 }; diff --git a/src/global.cpp b/src/global.cpp index bd0dcaa..1eb3f8d 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -36,5 +36,7 @@ bool IsLocationWinCondition(const Location& location) { "Orange Tower Seventh Floor - THE MASTER"; case kLEVEL_2: return location.ap_location_name == "Second Room - LEVEL 2"; + case kPILGRIMAGE: + return location.ap_location_name == "Pilgrim Antechamber - PILGRIM"; } } -- cgit 1.4.1