Green Pirates Shaft: R-Mode Spark Interrupt (Gain Blue Suit)

Room ID: 21

Wiki
From: 3
Bottom Left Door
To: 4
Bottom Right Door

Stun the bottom pirate with a Power Beam shot, or i-frame past it. Farm the four pirates above for drops, then get back through the bottom pirate. Stun it with a Power Beam shot or i-frame past it a second time. Perform a 1-screen shortcharge between the bottom doors, then hop back up to the bottom pirate's ledge and get shot at.

Entrance condition:

{
  "comeInWithRMode": {}
}

Requires:

"canUseIFrames"
{
  "or": [
    "h_CrystalFlash",
    {
      "and": [
        {
          "enemyDamage": {
            "enemy": "Green Space Pirate (standing)",
            "type": "contact",
            "hits": 1
          }
        },
        "h_RModeCanRefillReserves",
        {
          "enemyKill": {
            "enemies": [
              [
                "Green Space Pirate (standing)",
                "Green Space Pirate (standing)"
              ],
              [
                "Green Space Pirate (standing)",
                "Green Space Pirate (standing)"
              ]
            ],
            "excludedWeapons": [
              "Missile"
            ]
          }
        },
        {
          "resourceMissingAtMost": [
            {
              "type": "Missile",
              "count": 0
            }
          ]
        },
        {
          "partialRefill": {
            "type": "ReserveEnergy",
            "limit": 20
          }
        }
      ]
    }
  ]
}
{
  "or": [
    {
      "canShineCharge": {
        "usedTiles": 12,
        "openEnd": 0
      }
    },
    {
      "and": [
        {
          "or": [
            {
              "doorUnlockedAtNode": 3
            },
            {
              "doorUnlockedAtNode": 4
            }
          ]
        },
        {
          "canShineCharge": {
            "usedTiles": 13,
            "openEnd": 0
          }
        }
      ]
    },
    {
      "and": [
        {
          "doorUnlockedAtNode": 3
        },
        {
          "doorUnlockedAtNode": 4
        },
        {
          "canShineCharge": {
            "usedTiles": 14,
            "openEnd": 0
          }
        }
      ]
    }
  ]
}
{
  "autoReserveTrigger": {
    "maxReserveEnergy": 95
  }
}
"canRModeSparkInterrupt"

Unlocks doors:

{"nodeId":3,"types":["ammo"],"requires":[]}
{"nodeId":4,"types":["ammo"],"requires":[]}