From 033cfbbd5e82202e9dcd4b57af829b94df2a4bf7 Mon Sep 17 00:00:00 2001 From: Narishma-gb <194818981+Narishma-gb@users.noreply.github.com> Date: Thu, 5 Mar 2026 19:17:44 +0100 Subject: [PATCH] Fix a constant in `MoveMailFromPCToParty` --- engine/pokemon/mail.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/pokemon/mail.asm b/engine/pokemon/mail.asm index 98f85658..b3905b06 100644 --- a/engine/pokemon/mail.asm +++ b/engine/pokemon/mail.asm @@ -101,7 +101,7 @@ MoveMailFromPCToParty: ld bc, MAIL_STRUCT_LENGTH call CopyBytes pop hl - ld de, PARTYMON_STRUCT_LENGTH - MON_MOVES + ld de, MAIL_STRUCT_LENGTH - 1 ; message type add hl, de ld d, [hl] ld a, [wCurPartyMon]