From 5ac8b126e96bae1be77725f9638a0e01c56b0767 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 9 Nov 2019 12:23:30 -0500 Subject: Document Mt Pyre scripts --- data/maps/MtPyre_1F/map.json | 6 +++--- data/maps/MtPyre_1F/scripts.inc | 28 ++++++++++++++-------------- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'data/maps/MtPyre_1F') 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…$" -- cgit v1.2.3 From f2e7b1507e564ba3b6b027a17aeeec2f89fba8c8 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 11 Jan 2020 12:02:58 -0500 Subject: Port some macro/script fixes from pokefirered --- data/maps/MtPyre_1F/scripts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/maps/MtPyre_1F') diff --git a/data/maps/MtPyre_1F/scripts.inc b/data/maps/MtPyre_1F/scripts.inc index 2574e6851..a303cb2c1 100644 --- a/data/maps/MtPyre_1F/scripts.inc +++ b/data/maps/MtPyre_1F/scripts.inc @@ -6,7 +6,7 @@ MtPyre_1F_EventScript_CleanseTagWoman:: @ 8230F3F faceplayer goto_if_set FLAG_RECEIVED_CLEANSE_TAG, MtPyre_1F_EventScript_ReceivedCleanseTag msgbox MtPyre_1F_Text_TakeThisForYourOwnGood, MSGBOX_DEFAULT - giveitem_std ITEM_CLEANSE_TAG + giveitem ITEM_CLEANSE_TAG compare VAR_RESULT, FALSE goto_if_eq Common_EventScript_ShowBagIsFull setflag FLAG_RECEIVED_CLEANSE_TAG -- cgit v1.2.3