Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set gIsDebugBattle to FALSE after battle #28

Open
wants to merge 1 commit into
base: tx_debug_system
Choose a base branch
from

Conversation

Flametix
Copy link

@Flametix Flametix commented May 1, 2023

Description

Hello, I was trying your debug menu and its new features since the last time I had pulled from it, which has been very useful in development. I was using the battle test option to create a wild battle with a Bulbasaur, but then I noticed some buggy behaviour where all other trainer battles would be against the same Bulbasaur and terrain. I believe this is because gIsDebugBattle is never set to FALSE after starting the debug battle which causes all other battles to load the saved party, so I tried adding a check in battle_setup.c to set it to FALSE in the callback after the battle ends if that is fine.

Discord contact info

Flame#9168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant