From ada47831aa4fb507d468159c873d1cefddf56114 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 4 Jan 2023 00:00:13 -0300 Subject: [PATCH] Fixed reusable repels/lures function forcefully using items while menu config is on --- data/scripts/repel.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/scripts/repel.inc b/data/scripts/repel.inc index fc32df1d9..ab7924bd2 100644 --- a/data/scripts/repel.inc +++ b/data/scripts/repel.inc @@ -19,6 +19,7 @@ EventScript_RepelUseAnother: lock msgbox Text_UseAnotherRepel, MSGBOX_YESNO .if I_REPEL_LURE_MENU == TRUE + goto_if_eq VAR_RESULT, NO, EventScript_RepelWoreOff_End callnative TryDrawRepelMenu goto_if_eq VAR_RESULT, FALSE, EventScript_RepelWoreOff_Chose waitstate @@ -68,6 +69,7 @@ EventScript_LureUseAnother: lock msgbox Text_UseAnotherLure, MSGBOX_YESNO .if I_REPEL_LURE_MENU == TRUE + goto_if_eq VAR_RESULT, NO, EventScript_LureWoreOff_End callnative TryDrawLureMenu goto_if_eq VAR_RESULT, FALSE, EventScript_LureWoreOff_Chose waitstate