Skip to content

Commit cd3826a

Browse files
committed
Fixed another minor logic error in Red Station access.
1 parent 5a239c8 commit cd3826a

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,6 @@ Initial Release.
7979

8080
# 1.2.15
8181
* Minor logic fix for Toy Box Red Station access (missed case in 1.2.14).
82+
83+
# 1.2.16
84+
* Fixed another minor logic error in Red Station access.

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Paper Mario Randomizer Tracker",
33
"game_name": "Paper Mario",
44
"platform": "n64",
5-
"package_version": "1.2.15",
5+
"package_version": "1.2.16",
66
"package_uid": "pmr_tracker_phantom5800",
77
"author": "Phantom5800",
88
"variants": {

pop_version.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@
6464
"changelog": [
6565
"Minor logic fix for Toy Box Red Station access (missed case in 1.2.14)."
6666
]
67+
},
68+
{
69+
"package_version": "1.2.16",
70+
"download_url": "https://github.com/phantom5800/pmr-emotracker/releases/download/1.2.15/PaperMarioTrackerPhantom.zip",
71+
"sha256": "4DBEF5B2EC3F5250250D87788D8779C2B3F0507E62031D17A414DFDC64FD10CE",
72+
"changelog": [
73+
"Minor logic fix for Toy Box Red Station access."
74+
]
6775
}
6876
]
6977
}

scripts/logic/region_access.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,12 @@ end
216216
function ToyBoxRedAccess()
217217
if hasItem("hammer") then
218218
local green,access = ToyBoxGreenAccess()
219-
if green and access == nil and hasItem("mystery_note_base") then
220-
return true
221-
elseif green then
222-
return true, AccessibilityLevel.SequenceBreak -- out of logic
219+
if green then
220+
if access == nil and hasItem("mystery_note_base") and hasItem("dictionary_base") then
221+
return true
222+
else
223+
return true, AccessibilityLevel.SequenceBreak -- out of logic
224+
end
223225
end
224226
end
225227
return false

0 commit comments

Comments
 (0)