Skip to content

Commit

Permalink
Use proper constant for battle stats (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
Idain authored Oct 23, 2023
1 parent aba1f14 commit 3866716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/battle/core.asm
Original file line number Diff line number Diff line change
Expand Up @@ -6404,7 +6404,7 @@ LoadEnemyMon:

ld hl, wEnemyMonStats
ld de, wEnemyStats
ld bc, NUM_EXP_STATS * 2
ld bc, NUM_BATTLE_STATS * 2
call CopyBytes

; BUG: PRZ and BRN stat reductions don't apply to switched Pokémon (see docs/bugs_and_glitches.md)
Expand Down

0 comments on commit 3866716

Please sign in to comment.