Skip to content

Instantly share code, notes, and snippets.

@Lusamine
Last active November 29, 2025 03:45
Show Gist options
  • Select an option

  • Save Lusamine/100831f809750a5f75951fedc331eb6d to your computer and use it in GitHub Desktop.

Select an option

Save Lusamine/100831f809750a5f75951fedc331eb6d to your computer and use it in GitHub Desktop.

These are all from Scarlet 1.1.0. Symbols are mine or copied from previous games, not official.

(Dpr in particular is copied from BDSP lol)

Dpr_Battle_Logic_Section_UseItem_Core__useBall - Higher up function when a ball is thrown.
get_capture_value_coefficient - Fetches Meal Power and Backstrike bonuses.

Dpr_Battle_Logic_Capture__JudgeCapture - Catch rate, critical catch, and shake chances.
Dpr_Battle_Logic_Capture__calcCaptureIndicator

sub_71017B84D4 - intermediate to getting ball capture ratio.
Dpr_Battle_Logic_Capture__getBallCaptureRatio

get_badge_capture_modifier

Dpr_Battle_Logic_Capture__checkCaptureCritical

get_shake_chance
check_capture_shakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment