Skip to content

Instantly share code, notes, and snippets.

@Lusamine
Created January 3, 2023 04:50
Show Gist options
  • Save Lusamine/100831f809750a5f75951fedc331eb6d to your computer and use it in GitHub Desktop.
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_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