summaryrefslogtreecommitdiff
path: root/data/maps/FiveIsland_MemorialPillar/scripts.inc
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-05-16 09:52:32 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-05-16 09:52:32 -0400
commitd7bd4d3bd17e84cace0ac902aab2f9bb38894c77 (patch)
treece471998ade4d901e8b20355abde91087aa74e0a /data/maps/FiveIsland_MemorialPillar/scripts.inc
parent119693e1816563b66b19eef216f08cab65a644ba (diff)
Propagate giveitem macro
Diffstat (limited to 'data/maps/FiveIsland_MemorialPillar/scripts.inc')
-rw-r--r--data/maps/FiveIsland_MemorialPillar/scripts.inc10
1 files changed, 3 insertions, 7 deletions
diff --git a/data/maps/FiveIsland_MemorialPillar/scripts.inc b/data/maps/FiveIsland_MemorialPillar/scripts.inc
index 1435ba64b..ef3ff4ef5 100644
--- a/data/maps/FiveIsland_MemorialPillar/scripts.inc
+++ b/data/maps/FiveIsland_MemorialPillar/scripts.inc
@@ -26,9 +26,7 @@ EventScript_168A18:: @ 8168A18
EventScript_168A22:: @ 8168A22
msgbox gUnknown_818B282
- setorcopyvar VAR_0x8000, 330
- setorcopyvar VAR_0x8001, 1
- callstd 0
+ giveitem ITEM_TM42
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_168AFE
call EventScript_168AE8
@@ -53,7 +51,7 @@ FiveIsland_MemorialPillar_EventScript_168A48:: @ 8168A48
end
EventScript_168A86:: @ 8168A86
- msgbox gUnknown_818B105, 5
+ msgbox gUnknown_818B105, MSGBOX_YESNO
compare_var_to_value VAR_RESULT, 1
goto_if 1, EventScript_168A9B
releaseall
@@ -70,9 +68,7 @@ EventScript_168A9B:: @ 8168A9B
waitmovement 0
textcolor 0
msgbox gUnknown_818B171
- setorcopyvar VAR_0x8000, 330
- setorcopyvar VAR_0x8001, 1
- callstd 0
+ giveitem ITEM_TM42
compare_var_to_value VAR_RESULT, 0
goto_if 1, EventScript_168AFE
call EventScript_168AE8