Skip to content

Conversation

bassforte123
Copy link

Fixed Ball Fetch which wasn't activating in battle. Added related test cases.

Description

Ball Fetch logic was altering the BallID for some reason which caused it to not read the right used ball. Removed that, rearranged the logic a little to get the held item to update right, then added test cases.

Discord contact info

bassforte

Ball Fetch updated to activate correctly in battle.
Ball Fetch tests added.
@AlexOn1ine AlexOn1ine added category: battle-mechanic Pertains to battle mechanics bugfix Bugfixes labels Sep 20, 2025
gLastUsedBall increased to u16 to fix overflow.
gBattleResults.CatchAttempts set to use ItemIdToBallId like it's supposed to.
Strange Ball exceptions removed since the above two were fixed.
@AlexOn1ine AlexOn1ine merged commit abc471e into rh-hideout:master Sep 21, 2025
4 checks passed
FosterProgramming pushed a commit to FosterProgramming/pokeemerald-expansion that referenced this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfixes category: battle-mechanic Pertains to battle mechanics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants