From c557ac61aef788f1630d3960dd2366bf000db8e0 Mon Sep 17 00:00:00 2001 From: Melody Date: Sun, 2 Dec 2018 03:37:46 -0500 Subject: adds constants, cleans up callstd and msgbox code * adds some constants for standard script names and messagebox types * replaces some callstd calls with msgbox calls where equivalent * replaces msgbox and callstd calls using raw digits with versions that use the constants --- data/scripts/safari_zone.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/scripts/safari_zone.inc') diff --git a/data/scripts/safari_zone.inc b/data/scripts/safari_zone.inc index e4b1fce41..84bb3982d 100644 --- a/data/scripts/safari_zone.inc +++ b/data/scripts/safari_zone.inc @@ -13,7 +13,7 @@ EventScript_2A4B5D:: @ 82A4B5D EventScript_2A4B6F:: @ 82A4B6F lockall - msgbox Text_2A4BF4, 5 + msgbox Text_2A4BF4, MSGBOX_YESNO compare VAR_RESULT, 1 goto_eq EventScript_2A4B85 releaseall @@ -45,7 +45,7 @@ EventScript_2A4BAC:: @ 82A4BAC special GetPokeblockFeederInFront compare VAR_RESULT, 65535 goto_if 5, EventScript_2A4BEB - msgbox Text_2A4C90, 5 + msgbox Text_2A4C90, MSGBOX_YESNO compare VAR_RESULT, 1 goto_eq EventScript_2A4BD0 releaseall -- cgit v1.2.3