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