summaryrefslogtreecommitdiff
path: root/data/maps/MtPyre_1F
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-06-20 17:41:41 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-06-20 19:54:21 -0500
commit135a11e50eba1e12108e5c2025f534e3bd0cc722 (patch)
treea66f9a02270e19015825c6cb8acf04bcabfe5a23 /data/maps/MtPyre_1F
parent89d35e82a27c7328bf5987b4993b3456bb78f440 (diff)
Move events and scripts into map dirs
Diffstat (limited to 'data/maps/MtPyre_1F')
-rw-r--r--data/maps/MtPyre_1F/events.inc16
-rw-r--r--data/maps/MtPyre_1F/scripts.inc49
2 files changed, 65 insertions, 0 deletions
diff --git a/data/maps/MtPyre_1F/events.inc b/data/maps/MtPyre_1F/events.inc
new file mode 100644
index 000000000..80bf46c2e
--- /dev/null
+++ b/data/maps/MtPyre_1F/events.inc
@@ -0,0 +1,16 @@
+MtPyre_1F_EventObjects: @ 8534D64
+ object_event 1, EVENT_OBJ_GFX_OLD_WOMAN_2, 0, 21, 2, 3, 8, 1, 1, 0, 0, MtPyre_1F_EventScript_230F3F, 0
+ object_event 2, EVENT_OBJ_GFX_WOMAN_2, 0, 17, 8, 3, 7, 1, 1, 0, 0, MtPyre_1F_EventScript_230F78, 0
+ object_event 3, EVENT_OBJ_GFX_MAN_5, 0, 13, 10, 3, 9, 1, 1, 0, 0, MtPyre_1F_EventScript_230F81, 0
+
+MtPyre_1F_MapWarps: @ 8534DAC
+ warp_def 17, 18, 3, 0, MAP_ROUTE122
+ warp_def 3, 6, 3, 0, MAP_MT_PYRE_EXTERIOR
+ warp_def 18, 18, 3, 0, MAP_ROUTE122
+ warp_def 4, 6, 3, 0, MAP_MT_PYRE_EXTERIOR
+ warp_def 11, 1, 3, 0, MAP_MT_PYRE_2F
+ warp_def 20, 9, 3, 4, MAP_MT_PYRE_2F
+
+MtPyre_1F_MapEvents:: @ 8534DDC
+ map_events MtPyre_1F_EventObjects, MtPyre_1F_MapWarps, 0x0, 0x0
+
diff --git a/data/maps/MtPyre_1F/scripts.inc b/data/maps/MtPyre_1F/scripts.inc
new file mode 100644
index 000000000..51c8a88fb
--- /dev/null
+++ b/data/maps/MtPyre_1F/scripts.inc
@@ -0,0 +1,49 @@
+MtPyre_1F_MapScripts:: @ 8230F3E
+ .byte 0
+
+MtPyre_1F_EventScript_230F3F:: @ 8230F3F
+ lock
+ faceplayer
+ checkflag FLAG_0x11A
+ goto_eq MtPyre_1F_EventScript_230F6E
+ msgbox MtPyre_1F_Text_230F8A, 4
+ giveitem_std ITEM_CLEANSE_TAG
+ compare VAR_RESULT, 0
+ goto_eq MtPyre_1F_EventScript_272054
+ setflag FLAG_0x11A
+ release
+ end
+
+MtPyre_1F_EventScript_230F6E:: @ 8230F6E
+ msgbox MtPyre_1F_Text_231005, 4
+ release
+ end
+
+MtPyre_1F_EventScript_230F78:: @ 8230F78
+ msgbox MtPyre_1F_Text_23104F, 2
+ end
+
+MtPyre_1F_EventScript_230F81:: @ 8230F81
+ msgbox MtPyre_1F_Text_2310BA, 2
+ end
+
+MtPyre_1F_Text_230F8A: @ 8230F8A
+ .string "All sorts of beings wander the slopes\n"
+ .string "of MT. PYRE…\p"
+ .string "There is no telling what may happen.\n"
+ .string "Take this. It’s for your own good.$"
+
+MtPyre_1F_Text_231005: @ 8231005
+ .string "Have a POKéMON hold that\n"
+ .string "CLEANSE TAG.\p"
+ .string "It will help ward off wild POKéMON.$"
+
+MtPyre_1F_Text_23104F: @ 823104F
+ .string "Did you come to pay your respect\n"
+ .string "to the spirits of departed POKéMON?\p"
+ .string "You must care for your POKéMON a lot.$"
+
+MtPyre_1F_Text_2310BA: @ 82310BA
+ .string "This is the final resting place of my\n"
+ .string "ZIGZAGOON. I cherished it…$"
+