summaryrefslogtreecommitdiff
path: root/data/maps/MtPyre_1F
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-11-09 12:23:30 -0500
committerhuderlem <huderlem@gmail.com>2019-11-09 12:32:13 -0600
commit5ac8b126e96bae1be77725f9638a0e01c56b0767 (patch)
treeaba880b7a3a645cf8497895e3ac08911440fabd3 /data/maps/MtPyre_1F
parente4d65addf40ad017919bbaa92d08720d76ef332e (diff)
Document Mt Pyre scripts
Diffstat (limited to 'data/maps/MtPyre_1F')
-rw-r--r--data/maps/MtPyre_1F/map.json6
-rw-r--r--data/maps/MtPyre_1F/scripts.inc28
2 files changed, 17 insertions, 17 deletions
diff --git a/data/maps/MtPyre_1F/map.json b/data/maps/MtPyre_1F/map.json
index 8b2e146f5..2e03ae728 100644
--- a/data/maps/MtPyre_1F/map.json
+++ b/data/maps/MtPyre_1F/map.json
@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "MtPyre_1F_EventScript_230F3F",
+ "script": "MtPyre_1F_EventScript_CleanseTagWoman",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "MtPyre_1F_EventScript_230F78",
+ "script": "MtPyre_1F_EventScript_PokefanF",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "MtPyre_1F_EventScript_230F81",
+ "script": "MtPyre_1F_EventScript_Man",
"flag": "0"
}
],
diff --git a/data/maps/MtPyre_1F/scripts.inc b/data/maps/MtPyre_1F/scripts.inc
index a06f34a29..2574e6851 100644
--- a/data/maps/MtPyre_1F/scripts.inc
+++ b/data/maps/MtPyre_1F/scripts.inc
@@ -1,48 +1,48 @@
MtPyre_1F_MapScripts:: @ 8230F3E
.byte 0
-MtPyre_1F_EventScript_230F3F:: @ 8230F3F
+MtPyre_1F_EventScript_CleanseTagWoman:: @ 8230F3F
lock
faceplayer
- goto_if_set FLAG_RECEIVED_CLEANSE_TAG, MtPyre_1F_EventScript_230F6E
- msgbox MtPyre_1F_Text_230F8A, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECEIVED_CLEANSE_TAG, MtPyre_1F_EventScript_ReceivedCleanseTag
+ msgbox MtPyre_1F_Text_TakeThisForYourOwnGood, MSGBOX_DEFAULT
giveitem_std ITEM_CLEANSE_TAG
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_CLEANSE_TAG
release
end
-MtPyre_1F_EventScript_230F6E:: @ 8230F6E
- msgbox MtPyre_1F_Text_231005, MSGBOX_DEFAULT
+MtPyre_1F_EventScript_ReceivedCleanseTag:: @ 8230F6E
+ msgbox MtPyre_1F_Text_ExplainCleanseTag, MSGBOX_DEFAULT
release
end
-MtPyre_1F_EventScript_230F78:: @ 8230F78
- msgbox MtPyre_1F_Text_23104F, MSGBOX_NPC
+MtPyre_1F_EventScript_PokefanF:: @ 8230F78
+ msgbox MtPyre_1F_Text_ComeToPayRespects, MSGBOX_NPC
end
-MtPyre_1F_EventScript_230F81:: @ 8230F81
- msgbox MtPyre_1F_Text_2310BA, MSGBOX_NPC
+MtPyre_1F_EventScript_Man:: @ 8230F81
+ msgbox MtPyre_1F_Text_RestingPlaceOfZigzagoon, MSGBOX_NPC
end
-MtPyre_1F_Text_230F8A: @ 8230F8A
+MtPyre_1F_Text_TakeThisForYourOwnGood: @ 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
+MtPyre_1F_Text_ExplainCleanseTag: @ 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
+MtPyre_1F_Text_ComeToPayRespects: @ 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
+MtPyre_1F_Text_RestingPlaceOfZigzagoon: @ 82310BA
.string "This is the final resting place of my\n"
.string "ZIGZAGOON. I cherished it…$"