summaryrefslogtreecommitdiff
path: root/data/maps/MtEmber_RubyPath_B3F
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-10 20:20:15 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-02-10 20:20:15 -0500
commit515dde69afea00d7eafd0693ee423fcc1ae0bac5 (patch)
treeb8c04472d094e72e87bd11a83204a3f5e6eb5500 /data/maps/MtEmber_RubyPath_B3F
parenta34c9d09b6b4da949ec6da6fa31b9f6eb12bdbee (diff)
Use more LOCALID constants
Diffstat (limited to 'data/maps/MtEmber_RubyPath_B3F')
-rw-r--r--data/maps/MtEmber_RubyPath_B3F/scripts.inc4
1 files changed, 3 insertions, 1 deletions
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