From a1d6770f8eb2b4db712895bebaa2c8d243681832 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Fri, 19 Aug 2022 10:38:07 -0300 Subject: [PATCH] =?UTF-8?q?Oopsie,=20ballId=20should=20be=20u16=20to=20rea?= =?UTF-8?q?d=20items=20beyond=20the=20255th.=20It's=20not=20like=20people?= =?UTF-8?q?=20would=20normally=20put=20Pok=C3=A9=20Balls=20anywhere=20besi?= =?UTF-8?q?des=20the=20other=20ones,=20but=20it's=20better=20to=20be=20saf?= =?UTF-8?q?e=20than=20sorry.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Useful-Scripting-Specials.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Useful-Scripting-Specials.md b/Useful-Scripting-Specials.md index d940071..452aa16 100644 --- a/Useful-Scripting-Specials.md +++ b/Useful-Scripting-Specials.md @@ -206,7 +206,7 @@ This command will let you modify the caught ball of a Pokémon that is chosen by ```c void SetMonBall(void) { - u8 ballId = VarGet(VAR_TEMP_1); + u16 ballId = VarGet(VAR_TEMP_1); SetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_POKEBALL, &ballId); } ```