All the disassembly for the capture formula in Legends: Arceus version 1.1.1.
- get_capture_indicator - calculates the capture indicator (aka Modified Catch Rate)
- capture_shake_check - checks for a shake to pass, and returns a result depending on tries remaining
- get_capture_visual_indicator - logic for color of visual indicator
- judge_capture_in_battle - handles capture attempts in battle
- judge_capture_in_overworld - handles capture attempts in overworld