From f5457905b205996173196f0b5aefb34385178d8c Mon Sep 17 00:00:00 2001 From: Jaizu Date: Wed, 3 Aug 2022 12:09:19 +0200 Subject: [PATCH] Change some hardcoded 1s with TRUE --- Plural-Giveitem.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plural-Giveitem.md b/Plural-Giveitem.md index 82260aa..5fe1663 100644 --- a/Plural-Giveitem.md +++ b/Plural-Giveitem.md @@ -33,7 +33,7 @@ gText_ObtainedTheItems:: Open [data/scripts/obtain_item.inc](../blob/master/data/scripts/obtain_item.inc). Find `EventScript_ObtainedItem`, and modify it to the following: ```c EventScript_ObtainedItem:: @ 8271B95 - compare VAR_0x8001, 1 + compare VAR_0x8001, TRUE goto_if_eq EventScript_ObtainedItemMessage buffernumberstring 0, VAR_0x8001 message gText_ObtainedTheItems @@ -43,7 +43,7 @@ EventScript_ObtainedItemMessage: EventScript_ContinueObtainedItem: waitfanfare msgbox gText_PutItemInPocket, MSGBOX_DEFAULT - setvar VAR_RESULT, 1 + setvar VAR_RESULT, TRUE return ``` @@ -73,7 +73,7 @@ gText_PlayerFoundItems:: Open [data/scripts/obtain_item.inc](../blob/master/data/scripts/obtain_item.inc). Find `EventScript_FoundItem`, and modify it to the following: ```c EventScript_FoundItem:: @ 8271C9B - compare VAR_0x8001, 1 + compare VAR_0x8001, TRUE goto_if_eq EventScript_FoundItemMessage buffernumberstring 0, VAR_0x8001 message gText_PlayerFoundItems