summaryrefslogtreecommitdiff
path: root/data/maps/MtChimney
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-13 20:41:57 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-13 20:41:57 -0500
commite92cc7752b5934d7501c5027057a6b7c52601bd7 (patch)
tree85150713e1d8561415a54a45221c5b1975c91428 /data/maps/MtChimney
parent655910a16fcb7b62cf43b83bb00b21a9c3e55e82 (diff)
parent736f3bbbe0d1685474364a68038554f024bff62e (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into fix-eventobj
Diffstat (limited to 'data/maps/MtChimney')
-rw-r--r--data/maps/MtChimney/scripts.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/maps/MtChimney/scripts.inc b/data/maps/MtChimney/scripts.inc
index f86ec79cb..9e1213c1b 100644
--- a/data/maps/MtChimney/scripts.inc
+++ b/data/maps/MtChimney/scripts.inc
@@ -110,8 +110,8 @@ MtChimney_EventScript_LavaCookieLady:: @ 822EEF3
msgbox MtChimney_Text_ThankYouDear, MSGBOX_DEFAULT
checkitemspace ITEM_LAVA_COOKIE, 1
compare VAR_RESULT, TRUE
- call_if_eq MtChimney_EventScript_TakeMoney
- giveitem_std ITEM_LAVA_COOKIE
+ call_if_eq MtChimney_EventScript_RemoveMoney
+ giveitem ITEM_LAVA_COOKIE
compare VAR_RESULT, FALSE
goto_if_eq MtChimney_EventScript_BagIsFull
hidemoneybox
@@ -124,8 +124,8 @@ MtChimney_EventScript_BagIsFull:: @ 822EF51
release
end
-MtChimney_EventScript_TakeMoney:: @ 822EF5E
- takemoney 200, 0
+MtChimney_EventScript_RemoveMoney:: @ 822EF5E
+ removemoney 200, 0
updatemoneybox 0, 0
return
@@ -449,7 +449,7 @@ MtChimney_EventScript_MeteoriteMachine:: @ 822F0E4
compare VAR_RESULT, NO
goto_if_eq MtChimney_EventScript_LeaveMeteoriteAlone
msgbox MtChimney_Text_PlayerRemovedMeteorite, MSGBOX_DEFAULT
- giveitem_std ITEM_METEORITE
+ giveitem ITEM_METEORITE
setflag FLAG_RECEIVED_METEORITE
releaseall
end