Requires:
"canDoubleXModeBlueSuit", {"or": [ {"thornHits": { "mul": [ {"add": ["n_thornXModeAttempts", 2]}, "n_thornXModeAttempts" ] }}, {"and": [ "canXModeMovement", {"thornHits": { "mul": [ {"add": ["n_thornXModeAttempts", 1]}, "n_thornXModeAttempts" ] }} ]} ]}
Dev note: This covers the most common case of thorn double X-mode bluesuit, where a minimum of 2 thorn hits need to be taken; this relies on being able to bounce before entering the thorns for both X-modes. With canXModeMovement, it also relies on timing Samus' i-frames to avoid an additional thorn hit after the first X-mode is released.