Skip to content

Commit

Permalink
Small changes to item requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
metzner committed Jul 18, 2022
1 parent 254886d commit b028cfc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/Archipelago/APRandomizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const int AllPuzzles[]{
0x00022, 0x00023, 0x00024, 0x00025, 0x00026, // Symmetry Black Dots
0x0007C, 0x0007E, 0x00075, 0x00073, 0x00077, 0x00079, // Symmetry Colored Dots
0x00065, 0x0006D, 0x00072, 0x0006F, 0x00070, 0x00071, 0x00076, // Symmetry Fading Lines
0x009B8, 0x009B8, 0x003E8, 0x00A15, 0x00B8D, // Symmetry Environmental Set
0x00A52, 0x00A61, 0x00A57, 0x00A64, 0x00A5B, 0x00A68, // Symmetry Dot Reflection Dual Panels (before laser)
0x17C09, // Quarry Entry Gates
0x01E59, // Quarry Mill Entry Door
Expand Down
9 changes: 9 additions & 0 deletions Source/Archipelago/PuzzleData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ void PuzzleData::Read(std::shared_ptr<Memory> _memory) {
{
hasTriangles = true;
}
else if (id == 0x00A52 || id == 0x00A61 || id == 0x00A57 || id == 0x00A64 || id == 0x00A5B || id == 0x00A68) // These dots seem to get picked up as normal dots, not colored ones. Also, these panels should require Symmetry despite not having Symmetry on them.
{
hasDots = false;
hasColoredDots = true;
hasSymmetry = true;
}
else if (id == 0x03702) { // River Vault: The squares are drawn on and validated separately!
hasStones = true;
}
}

void PuzzleData::Restore(std::shared_ptr<Memory> _memory) {
Expand Down

0 comments on commit b028cfc

Please sign in to comment.