Skip to content

Commit

Permalink
Use proper constant for battle stats (pret#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
Idain committed Nov 8, 2023
1 parent 861b7e1 commit 084f719
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 084f719

Please sign in to comment.