Skip to content

Commit 5a239c8

Browse files
committed
Minor fix for Red Station access
1 parent e2c87a0 commit 5a239c8

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

changelog.md

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

7777
# 1.2.14
7878
* Minor logic scripting fixes for Crystal Palace access.
79+
80+
# 1.2.15
81+
* Minor logic fix for Toy Box Red Station access (missed case in 1.2.14).

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.14",
5+
"package_version": "1.2.15",
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
@@ -56,6 +56,14 @@
5656
"changelog": [
5757
"Minor scripting logic adjustments."
5858
]
59+
},
60+
{
61+
"package_version": "1.2.15",
62+
"download_url": "https://github.com/phantom5800/pmr-emotracker/releases/download/1.2.15/PaperMarioTrackerPhantom.zip",
63+
"sha256": "B6257B3AF6AC35E34E8026CD55DD523F7278AD2A84E67B6F0BD1AB732DC629C6",
64+
"changelog": [
65+
"Minor logic fix for Toy Box Red Station access (missed case in 1.2.14)."
66+
]
5967
}
6068
]
6169
}

scripts/logic/region_access.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ end
216216
function ToyBoxRedAccess()
217217
if hasItem("hammer") then
218218
local green,access = ToyBoxGreenAccess()
219-
if green == 1 and access == nil and hasItem("mystery_note_base") then
219+
if green and access == nil and hasItem("mystery_note_base") then
220220
return true
221-
elseif green > 0 then
221+
elseif green then
222222
return true, AccessibilityLevel.SequenceBreak -- out of logic
223223
end
224224
end

0 commit comments

Comments
 (0)