Skip to content

Commit e47a5b6

Browse files
authored
Merge pull request #2261 from blkerby/underwater-crouch-jump
Simplify underwater crouch jump helpers
2 parents fbe9cbf + 497c314 commit e47a5b6

6 files changed

Lines changed: 25 additions & 55 deletions

File tree

helpers.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -730,23 +730,33 @@
730730
]
731731
},
732732
{
733-
"name": "h_underwaterCrouchJumpWithFlashSuit",
733+
"name": "h_underwaterCrouchJump",
734734
"requires": [
735735
{"tech": "canCrouchJump"}
736736
],
737737
"devNote": [
738-
"It is possible to crouch jump under water without losing a flash suit.",
739-
"Hold shoot to prevent using a flash suit while still getting the increased height of the crouch jump.",
740-
"Alternatively, it is possible to crouch, jump, then quickly press down to prevent the use of the flash suit."
738+
"Normally the tech 'canCrouchJump' comes with a requirement to not have a flash suit,",
739+
"because a crouch jump would activate a shinespark, consuming the flash suit.",
740+
"However, underwater it is possible to crouch jump without losing a flash suit (by holding shoot or down);",
741+
"therefore this helper circumvents the `noFlashSuit` requirement of `canCrouchJump`.",
742+
"The knowledge of how to crouch jump underwater with a flash suit is part of the `canCarryFlashSuit` tech,",
743+
"which is required as a tech dependency of all methods of gaining a flash suit."
741744
]
742745
},
743746
{
744-
"name": "h_underwaterMaxHeightSpringBallJumpWithFlashSuit",
747+
"name": "h_underwaterMaxHeightSpringBallJump",
745748
"requires": [
746-
"h_underwaterCrouchJumpWithFlashSuit",
749+
"h_underwaterCrouchJump",
747750
"canTrickySpringBallJump"
748751
]
749752
},
753+
{
754+
"name": "h_underwaterCrouchJumpDownGrab",
755+
"requires": [
756+
"h_underwaterCrouchJump",
757+
"canDownGrab"
758+
]
759+
},
750760
{
751761
"name": "h_PlasmaHitbox",
752762
"requires": [

region/crateria/east/East Ocean.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,13 +1472,7 @@
14721472
"canSuitlessMaridia",
14731473
"canTrickyJump",
14741474
"canNeutralDamageBoost",
1475-
{"or": [
1476-
"h_crouchJumpDownGrab",
1477-
{"and": [
1478-
"h_underwaterCrouchJumpWithFlashSuit",
1479-
"canDownGrab"
1480-
]}
1481-
]},
1475+
"h_underwaterCrouchJumpDownGrab",
14821476
{"enemyDamage": {"enemy": "Skultera", "type": "contact", "hits": 1}}
14831477
],
14841478
"flashSuitChecked": true,
@@ -1495,13 +1489,7 @@
14951489
"name": "Use Flash Suit",
14961490
"requires": [
14971491
"canSuitlessMaridia",
1498-
{"or": [
1499-
"h_crouchJumpDownGrab",
1500-
{"and": [
1501-
"h_underwaterCrouchJumpWithFlashSuit",
1502-
"canDownGrab"
1503-
]}
1504-
]},
1492+
"h_underwaterCrouchJumpDownGrab",
15051493
{"useFlashSuit": {}},
15061494
{"shinespark": {"frames": 9, "excessFrames": 4}}
15071495
],

region/maridia/inner-green/West Sand Hall.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1162,10 +1162,7 @@
11621162
"canSuitlessMaridia",
11631163
"canPlayInSand",
11641164
"canInsaneJump",
1165-
{"or": [
1166-
"canCrouchJump",
1167-
"h_underwaterCrouchJumpWithFlashSuit"
1168-
]},
1165+
"h_underwaterCrouchJump",
11691166
"canNeutralDamageBoost",
11701167
{"or": [
11711168
{"enemyDamage": {"enemy": "Evir", "type": "particle", "hits": 1}},

region/maridia/inner-pink/Botwoon Hallway.json

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,7 @@
415415
"HiJump",
416416
"canSpringBallJumpMidAir",
417417
"Gravity",
418-
"h_crouchJumpDownGrab",
419-
{"and": [
420-
"h_underwaterCrouchJumpWithFlashSuit",
421-
"canDownGrab"
422-
]}
418+
"h_underwaterCrouchJumpDownGrab"
423419
]},
424420
{"useFlashSuit": {}},
425421
{"or": [
@@ -528,13 +524,7 @@
528524
"canCeilingClip",
529525
"canUseFrozenEnemies",
530526
"canMorphTurnaround",
531-
{"or": [
532-
"h_crouchJumpDownGrab",
533-
{"and": [
534-
"h_underwaterCrouchJumpWithFlashSuit",
535-
"canDownGrab"
536-
]}
537-
]},
527+
"h_underwaterCrouchJumpDownGrab",
538528
{"or": [
539529
"canTrickyJump",
540530
{"enemyDamage": {"enemy": "Mochtroid", "type": "contact", "hits": 1}}
@@ -560,13 +550,7 @@
560550
"canCeilingClip",
561551
"canUseFrozenEnemies",
562552
"canTrickyJump",
563-
{"or": [
564-
"h_crouchJumpDownGrab",
565-
{"and": [
566-
"h_underwaterCrouchJumpWithFlashSuit",
567-
"canDownGrab"
568-
]}
569-
]}
553+
"h_underwaterCrouchJumpDownGrab"
570554
],
571555
"note": [
572556
"Use the middle section of pipes as a platform to reach the top level, above the Mochtroid.",

region/maridia/inner-pink/Crab Shaft.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,10 +1936,7 @@
19361936
"name": "Crouch Jump",
19371937
"requires": [
19381938
"canSuitlessMaridia",
1939-
{"or": [
1940-
"canCrouchJump",
1941-
"h_underwaterCrouchJumpWithFlashSuit"
1942-
]}
1939+
"h_underwaterCrouchJump"
19431940
],
19441941
"flashSuitChecked": true
19451942
},
@@ -2008,10 +2005,7 @@
20082005
"name": "Sciser Farm (1 Sciser, Fast Cycle)",
20092006
"requires": [
20102007
{"resetRoom": {"nodes": [3]}},
2011-
{"or": [
2012-
"canCrouchJump",
2013-
"h_underwaterCrouchJumpWithFlashSuit"
2014-
]},
2008+
"h_underwaterCrouchJump",
20152009
"canTrickyJump",
20162010
{"or": [
20172011
{"and": [

region/maridia/inner-pink/East Sand Pit.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,7 @@
557557
"link": [1, 5],
558558
"name": "Use Flash Suit",
559559
"requires": [
560-
{"or": [
561-
"canCrouchJump",
562-
"h_underwaterCrouchJumpWithFlashSuit"
563-
]},
560+
"h_underwaterCrouchJump",
564561
{"useFlashSuit": {}},
565562
{"or": [
566563
{"shinespark": {"frames": 13, "excessFrames": 3}},

0 commit comments

Comments
 (0)