summaryrefslogtreecommitdiff
path: root/data/maps/MtEmber_RubyPath_B3F/scripts.inc
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-14 14:07:32 -0500
committerGitHub <noreply@github.com>2021-02-14 14:07:32 -0500
commit8c66bde7153cd29be3fd17dccb3fef6b09dd8ee4 (patch)
tree21964480572d1cf8f95c49b798f955e3bbe19be2 /data/maps/MtEmber_RubyPath_B3F/scripts.inc
parentb422fd4a499e44889243dc5087b34fdd9f85c6aa (diff)
parent515dde69afea00d7eafd0693ee423fcc1ae0bac5 (diff)
Merge pull request #388 from GriffinRichards/constants-localids
Use more LOCALID constants
Diffstat (limited to 'data/maps/MtEmber_RubyPath_B3F/scripts.inc')
-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