From 38667169809b81eb39990b4341f9919332d27248 Mon Sep 17 00:00:00 2001 From: Idain Date: Mon, 23 Oct 2023 15:06:04 -0400 Subject: [PATCH] Use proper constant for battle stats (#1088) --- engine/battle/core.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 8445560ed..dce8dd8d0 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -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)