Skip to content

Commit

Permalink
Use proper constant for battle stats (pret/pokecrystal#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
Idain authored and vulcandth committed Oct 23, 2023
1 parent 70f883d commit 5140706
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 @@ -6201,7 +6201,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 debuffs sometimes don't apply to switched mons (see docs/bugs_and_glitches.md)
Expand Down

0 comments on commit 5140706

Please sign in to comment.