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

Feat/money payout onfaint #40

Open
wants to merge 47 commits into
base: main
Choose a base branch
from

Conversation

SoyNegro
Copy link
Collaborator

Player will lose an amount of money according to his current badges. Formula and numbers from BULBAPEDIA

Copy link
Collaborator

@rglezg rglezg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't meet the requirements yet, see the comments.

Also, you included here the commit of the Galarian Meowth. Revert it.

src/battle_message.c Outdated Show resolved Hide resolved
src/battle_message.c Outdated Show resolved Hide resolved
src/battle_script_commands.c Outdated Show resolved Hide resolved
src/battle_script_commands.c Outdated Show resolved Hide resolved
src/data/pokemon/base_stats.h Outdated Show resolved Hide resolved
@SoyNegro SoyNegro force-pushed the feat/money_payout_onfaint branch from c2b9de1 to 10ce9f1 Compare July 24, 2021 04:59
@SoyNegro SoyNegro closed this Jul 24, 2021
@SoyNegro SoyNegro reopened this Jul 24, 2021
@SoyNegro
Copy link
Collaborator Author

fixed

src/battle_script_commands.c Outdated Show resolved Hide resolved
data/battle_scripts_1.s Outdated Show resolved Hide resolved
@SoyNegro
Copy link
Collaborator Author

The check in Cmd_getmoneyreward for B_OUTCOME_LOST in else if statement cause the function to crash... remeoved a call to getmoneyreward on BattleScripts which caused wild battles to make player lost money

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.

2 participants