From 515dde69afea00d7eafd0693ee423fcc1ae0bac5 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 10 Feb 2021 20:20:15 -0500 Subject: Use more LOCALID constants --- data/maps/MtEmber_RubyPath_B3F/scripts.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data/maps/MtEmber_RubyPath_B3F') diff --git a/data/maps/MtEmber_RubyPath_B3F/scripts.inc b/data/maps/MtEmber_RubyPath_B3F/scripts.inc index a031e598b..43026392d 100644 --- a/data/maps/MtEmber_RubyPath_B3F/scripts.inc +++ b/data/maps/MtEmber_RubyPath_B3F/scripts.inc @@ -1,3 +1,5 @@ +.set LOCALID_RUBY, 1 + MtEmber_RubyPath_B3F_MapScripts:: @ 8163C48 .byte 0 @@ -6,7 +8,7 @@ MtEmber_RubyPath_B5F_EventScript_Ruby:: @ 8163C49 lock faceplayer setflag FLAG_GOT_RUBY - removeobject 1 + removeobject LOCALID_RUBY giveitem_msg MtEmber_RubyPath_B3F_Text_FoundARuby, ITEM_RUBY, 1, MUS_OBTAIN_KEY_ITEM release end -- cgit v1.2.3