Skip to content

Commit

Permalink
Merge pull request #4 from robob27/1_0_4
Browse files Browse the repository at this point in the history
Fix Pink Brin Wave Gate and minor checkable items
  • Loading branch information
robob27 authored Aug 11, 2020
2 parents e3872df + 828f47a commit e73c0b0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ Initial release - all logic "fixes" are based on https://samus.link/logic and/or
- Fixed Spring Ball Access for Noob
- Fix Lower Norfair Access for Noob (space jump for casual requirement)
- Actually fix crocs checks this time. Maybe. Pending feedback.

1.0.4
-----

- Fixed Brinstar Wave Gate logic for Noob
- Added minor item check to checkable but inaccessible (blue items) that are minor
9 changes: 5 additions & 4 deletions locations/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
"name": "Super Missile (Crateria)",
"access_rules": [
"$canPowerBomb,speed,etank:3,$countTanks:2,$needMinorItems",
"{$canPowerBomb}"
"{$canPowerBomb,$needMinorItems}"
],
"sections": [
{
Expand Down Expand Up @@ -796,8 +796,9 @@
{
"name": "Energy Tank, Brinstar Gate",
"access_rules": [
"$canPowerBomb,wave",
"$canPowerBomb,super",
"$canAccessBrinstarGateEnergyTank,$isCasual",
"$canAccessBrinstarGateEnergyTankTournament,$isNotCasual",
"[],$canAccessBrinstarGateEnergyTankTournament,$isCasual",
],
"sections": [
{
Expand Down Expand Up @@ -1435,7 +1436,7 @@
"$canAccessCrocomire,$canFly,$isCasual,$needMinorItems",
"$canAccessCrocomire,grapple,$isCasual,$needMinorItems",
"$canAccessCrocomire,hijump,speed,$isCasual,$needMinorItems",
"{$canAccessRedBrinstar}",
"{$canAccessRedBrinstar,$needMinorItems}",
],
"sections": [
{
Expand Down
16 changes: 16 additions & 0 deletions scripts/logic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -714,3 +714,19 @@ function canAccessDraygonTournament()

return 0
end

function canAccessBrinstarGateEnergyTank()
if canPowerBomb() == 1 and hasWave() == 1 then
return 1
end

return 0
end

function canAccessBrinstarGateEnergyTankTournament()
if canPowerBomb() == 1 and hasSuper() == 1 then
return 1
end

return 0
end

0 comments on commit e73c0b0

Please sign in to comment.