diff options
| author | GriffinR <griffin.richards@comcast.net> | 2019-11-09 11:28:28 -0500 |
|---|---|---|
| committer | huderlem <huderlem@gmail.com> | 2019-11-09 10:42:52 -0600 |
| commit | e4d65addf40ad017919bbaa92d08720d76ef332e (patch) | |
| tree | 8af84b0778a44635fca8c81f256fad3394e8f9c7 /data/maps/MossdeepCity_House4 | |
| parent | ed76620d28eed16dc66e50a71fc0046ffd18a737 (diff) | |
Document Mossdeep scripts
Diffstat (limited to 'data/maps/MossdeepCity_House4')
| -rw-r--r-- | data/maps/MossdeepCity_House4/map.json | 6 | ||||
| -rw-r--r-- | data/maps/MossdeepCity_House4/scripts.inc | 36 |
2 files changed, 21 insertions, 21 deletions
diff --git a/data/maps/MossdeepCity_House4/map.json b/data/maps/MossdeepCity_House4/map.json index 2d1b33335..7166674a3 100644 --- a/data/maps/MossdeepCity_House4/map.json +++ b/data/maps/MossdeepCity_House4/map.json @@ -24,7 +24,7 @@ "movement_range_y": 0, "trainer_type": "0", "trainer_sight_or_berry_tree_id": "0", - "script": "MossdeepCity_House4_EventScript_222DD8", + "script": "MossdeepCity_House4_EventScript_Woman", "flag": "0" }, { @@ -37,7 +37,7 @@ "movement_range_y": 0, "trainer_type": "0", "trainer_sight_or_berry_tree_id": "0", - "script": "MossdeepCity_House4_EventScript_222DF7", + "script": "MossdeepCity_House4_EventScript_NinjaBoy", "flag": "0" }, { @@ -50,7 +50,7 @@ "movement_range_y": 1, "trainer_type": "0", "trainer_sight_or_berry_tree_id": "0", - "script": "MossdeepCity_House4_EventScript_222E1E", + "script": "MossdeepCity_House4_EventScript_Skitty", "flag": "0" } ], diff --git a/data/maps/MossdeepCity_House4/scripts.inc b/data/maps/MossdeepCity_House4/scripts.inc index 4505b1f03..473c1cfbd 100644 --- a/data/maps/MossdeepCity_House4/scripts.inc +++ b/data/maps/MossdeepCity_House4/scripts.inc @@ -1,62 +1,62 @@ MossdeepCity_House4_MapScripts:: @ 8222DD7 .byte 0 -MossdeepCity_House4_EventScript_222DD8:: @ 8222DD8 +MossdeepCity_House4_EventScript_Woman:: @ 8222DD8 lock faceplayer - goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_House4_EventScript_222DED - msgbox MossdeepCity_House4_Text_222E31, MSGBOX_DEFAULT + goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_House4_EventScript_CanBattleAtSecretBases + msgbox MossdeepCity_House4_Text_BrotherLikesToFindBases, MSGBOX_DEFAULT release end -MossdeepCity_House4_EventScript_222DED:: @ 8222DED - msgbox MossdeepCity_House4_Text_222E73, MSGBOX_DEFAULT +MossdeepCity_House4_EventScript_CanBattleAtSecretBases:: @ 8222DED + msgbox MossdeepCity_House4_Text_BrotherLikesToVisitBasesAndBattle, MSGBOX_DEFAULT release end -MossdeepCity_House4_EventScript_222DF7:: @ 8222DF7 +MossdeepCity_House4_EventScript_NinjaBoy:: @ 8222DF7 lock faceplayer special CheckPlayerHasSecretBase - compare VAR_RESULT, 0 - goto_if_eq MossdeepCity_House4_EventScript_222E14 + compare VAR_RESULT, FALSE + goto_if_eq MossdeepCity_House4_EventScript_NoSecretBase special GetSecretBaseNearbyMapName - msgbox MossdeepCity_House4_Text_222ECC, MSGBOX_DEFAULT + msgbox MossdeepCity_House4_Text_YouMadeSecretBaseNearX, MSGBOX_DEFAULT release end -MossdeepCity_House4_EventScript_222E14:: @ 8222E14 - msgbox MossdeepCity_House4_Text_222EF7, MSGBOX_DEFAULT +MossdeepCity_House4_EventScript_NoSecretBase:: @ 8222E14 + msgbox MossdeepCity_House4_Text_MakeSecretBase, MSGBOX_DEFAULT release end -MossdeepCity_House4_EventScript_222E1E:: @ 8222E1E +MossdeepCity_House4_EventScript_Skitty:: @ 8222E1E lock faceplayer waitse playmoncry SPECIES_SKITTY, 0 - msgbox MossdeepCity_House4_Text_222F31, MSGBOX_DEFAULT + msgbox MossdeepCity_House4_Text_Skitty, MSGBOX_DEFAULT waitmoncry release end -MossdeepCity_House4_Text_222E31: @ 8222E31 +MossdeepCity_House4_Text_BrotherLikesToFindBases: @ 8222E31 .string "My little brother says he likes to go\n" .string "find people's SECRET BASES.$" -MossdeepCity_House4_Text_222E73: @ 8222E73 +MossdeepCity_House4_Text_BrotherLikesToVisitBasesAndBattle: @ 8222E73 .string "My little brother says he likes to\n" .string "visit people's SECRET BASES and have\l" .string "POKéMON battles.$" -MossdeepCity_House4_Text_222ECC: @ 8222ECC +MossdeepCity_House4_Text_YouMadeSecretBaseNearX: @ 8222ECC .string "Was it you who made a SECRET BASE\n" .string "near {STR_VAR_1}?$" -MossdeepCity_House4_Text_222EF7: @ 8222EF7 +MossdeepCity_House4_Text_MakeSecretBase: @ 8222EF7 .string "You should make a SECRET BASE\n" .string "somewhere. I'll go find it!$" -MossdeepCity_House4_Text_222F31: @ 8222F31 +MossdeepCity_House4_Text_Skitty: @ 8222F31 .string "SKITTY: Miyaan?$" |
