Document Silph Co scripts

This commit is contained in:
GriffinR
2020-01-26 05:41:22 -05:00
parent bf7bab92e2
commit f637ade6b3
36 changed files with 585 additions and 624 deletions
+6 -6
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_8F_EventScript_161CB0",
"script": "SilphCo_8F_EventScript_Grunt1",
"flag": "FLAG_HIDE_SILPH_ROCKETS"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_8F_EventScript_161CC7",
"script": "SilphCo_8F_EventScript_Grunt2",
"flag": "FLAG_HIDE_SILPH_ROCKETS"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_8F_EventScript_161C99",
"script": "SilphCo_8F_EventScript_Parker",
"flag": "FLAG_HIDE_SILPH_ROCKETS"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_8F_EventScript_161C6F",
"script": "SilphCo_8F_EventScript_WorkerM",
"flag": "0"
},
{
@@ -88,7 +88,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_8F_EventScript_1AD0ED",
"script": "SilphCo_8F_EventScript_Scientist",
"flag": "0"
}
],
@@ -188,7 +188,7 @@
"x": 27,
"y": 1,
"elevation": 0,
"script": "SilphCo_8F_EventScript_161C90"
"script": "SilphCo_8F_EventScript_FloorSign"
}
]
}
+16 -16
View File
@@ -6,35 +6,35 @@ SilphCo_8F_OnLoad:: @ 8161C65
call_if_unset FLAG_SILPH_8F_DOOR, EventScript_Close8FDoor
end
SilphCo_8F_EventScript_161C6F:: @ 8161C6F
SilphCo_8F_EventScript_WorkerM:: @ 8161C6F
lock
faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161C86
msgbox gUnknown_817696D
goto_if_ge SilphCo_8F_EventScript_WorkerMRocketsGone
msgbox SilphCo_8F_Text_WonderIfSilphIsFinished
release
end
EventScript_161C86:: @ 8161C86
msgbox gUnknown_817698C
SilphCo_8F_EventScript_WorkerMRocketsGone:: @ 8161C86
msgbox SilphCo_8F_Text_ThanksForSavingUs
release
end
SilphCo_8F_EventScript_161C90:: @ 8161C90
msgbox gUnknown_8176AB2, MSGBOX_SIGN
SilphCo_8F_EventScript_FloorSign:: @ 8161C90
msgbox SilphCo_8F_Text_FloorSign, MSGBOX_SIGN
end
SilphCo_8F_EventScript_161C99:: @ 8161C99
trainerbattle_single TRAINER_SCIENTIST_PARKER, Text_1769FD, Text_176A19
msgbox gUnknown_8176A26, MSGBOX_AUTOCLOSE
SilphCo_8F_EventScript_Parker:: @ 8161C99
trainerbattle_single TRAINER_SCIENTIST_PARKER, SilphCo_8F_Text_ParkerIntro, SilphCo_8F_Text_ParkerDefeat
msgbox SilphCo_8F_Text_ParkerPostBattle, MSGBOX_AUTOCLOSE
end
SilphCo_8F_EventScript_161CB0:: @ 8161CB0
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_32, Text_1769A2, Text_1769BE
msgbox gUnknown_81769CF, MSGBOX_AUTOCLOSE
SilphCo_8F_EventScript_Grunt1:: @ 8161CB0
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_32, SilphCo_8F_Text_Grunt1Intro, SilphCo_8F_Text_Grunt1Defeat
msgbox SilphCo_8F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
SilphCo_8F_EventScript_161CC7:: @ 8161CC7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_36, Text_176A56, Text_176A7C
msgbox gUnknown_8176A90, MSGBOX_AUTOCLOSE
SilphCo_8F_EventScript_Grunt2:: @ 8161CC7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_36, SilphCo_8F_Text_Grunt2Intro, SilphCo_8F_Text_Grunt2Defeat
msgbox SilphCo_8F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
+19 -12
View File
@@ -1,42 +1,49 @@
gUnknown_817696D:: @ 817696D
SilphCo_8F_Text_WonderIfSilphIsFinished:: @ 817696D
.string "I wonder if SILPH is finished…$"
gUnknown_817698C:: @ 817698C
SilphCo_8F_Text_ThanksForSavingUs:: @ 817698C
.string "Thanks for saving us!$"
Text_1769A2:: @ 81769A2
SilphCo_8F_Text_Grunt1Intro:: @ 81769A2
.string "That's as far as you'll go!$"
Text_1769BE:: @ 81769BE
SilphCo_8F_Text_Grunt1Defeat:: @ 81769BE
.string "Not enough grit!$"
gUnknown_81769CF:: @ 81769CF
SilphCo_8F_Text_Grunt1PostBattle:: @ 81769CF
.string "If you don't turn back…\n"
.string "I'll call for backup!$"
Text_1769FD:: @ 81769FD
SilphCo_8F_Text_ParkerIntro:: @ 81769FD
.string "You're causing us problems!$"
Text_176A19:: @ 8176A19
SilphCo_8F_Text_ParkerDefeat:: @ 8176A19
.string "Huh?\n"
.string "I lost?$"
gUnknown_8176A26:: @ 8176A26
SilphCo_8F_Text_ParkerPostBattle:: @ 8176A26
.string "So, what do you think of SILPH\n"
.string "BUILDING's maze?$"
Text_176A56:: @ 8176A56
SilphCo_8F_Text_Grunt2Intro:: @ 8176A56
.string "I am one of the four ROCKET\n"
.string "BROTHERS!$"
Text_176A7C:: @ 8176A7C
SilphCo_8F_Text_Grunt2Defeat:: @ 8176A7C
.string "Whoo!\n"
.string "Oh, Brothers!$"
gUnknown_8176A90:: @ 8176A90
SilphCo_8F_Text_Grunt2PostBattle:: @ 8176A90
.string "I'll leave you up to my brothers.$"
gUnknown_8176AB2:: @ 8176AB2
SilphCo_8F_Text_FloorSign:: @ 8176AB2
.string "SILPH CO. HEAD OFFICE\n"
.string "8F$"
SilphCo_8F_Text_ToRocketBossMonsAreTools:: @ 8176ACB
.string "TEAM ROCKET's BOSS is terribly\n"
.string "cruel!\p"
.string "To him, POKéMON are just tools to\n"
.string "be used.\p"
.string "What will happen if that tyrant\n"
.string "takes over our company…$"