Skip to content

Fix high stat damage calculation bug (+refactor code)#11

Open
Grogir wants to merge 1 commit intopokemon-speedrunning:masterfrom
Grogir:pr2
Open

Fix high stat damage calculation bug (+refactor code)#11
Grogir wants to merge 1 commit intopokemon-speedrunning:masterfrom
Grogir:pr2

Conversation

@Grogir
Copy link

@Grogir Grogir commented Dec 8, 2023

When stats dont fit in 1 byte, they are divided by 4 for damage calculations, which can change damage ranges a bit. This is correctly done in routetwo but not here. Also this code was bad.

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