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
+5 -5
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "SilphCo_4F_EventScript_1617A7",
"script": "SilphCo_4F_EventScript_Grunt2",
"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_4F_EventScript_161790",
"script": "SilphCo_4F_EventScript_Grunt1",
"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_4F_EventScript_161779",
"script": "SilphCo_4F_EventScript_Rodney",
"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_4F_EventScript_16174F",
"script": "SilphCo_4F_EventScript_WorkerM",
"flag": "0"
},
{
@@ -242,7 +242,7 @@
"x": 29,
"y": 1,
"elevation": 0,
"script": "SilphCo_4F_EventScript_161770"
"script": "SilphCo_4F_EventScript_FloorSign"
}
]
}
+16 -16
View File
@@ -7,35 +7,35 @@ SilphCo_4F_OnLoad:: @ 816173C
call_if_unset FLAG_SILPH_4F_DOOR_2, EventScript_Close4FDoor2
end
SilphCo_4F_EventScript_16174F:: @ 816174F
SilphCo_4F_EventScript_WorkerM:: @ 816174F
lock
faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161766
msgbox gUnknown_81759F5
goto_if_ge SilphCo_4F_EventScript_WorkerMRocketsGone
msgbox SilphCo_4F_Text_CantYouSeeImHiding
release
end
EventScript_161766:: @ 8161766
msgbox gUnknown_8175A15
SilphCo_4F_EventScript_WorkerMRocketsGone:: @ 8161766
msgbox SilphCo_4F_Text_TeamRocketIsGone
release
end
SilphCo_4F_EventScript_161770:: @ 8161770
msgbox gUnknown_8175B57, MSGBOX_SIGN
SilphCo_4F_EventScript_FloorSign:: @ 8161770
msgbox SilphCo_4F_Text_FloorSign, MSGBOX_SIGN
end
SilphCo_4F_EventScript_161779:: @ 8161779
trainerbattle_single TRAINER_SCIENTIST_RODNEY, Text_175A90, Text_175AB0
msgbox gUnknown_8175AC8, MSGBOX_AUTOCLOSE
SilphCo_4F_EventScript_Rodney:: @ 8161779
trainerbattle_single TRAINER_SCIENTIST_RODNEY, SilphCo_4F_Text_RodneyIntro, SilphCo_4F_Text_RodneyDefeat
msgbox SilphCo_4F_Text_RodneyPostBattle, MSGBOX_AUTOCLOSE
end
SilphCo_4F_EventScript_161790:: @ 8161790
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_26, Text_175A2F, Text_175A5B
msgbox gUnknown_8175A62, MSGBOX_AUTOCLOSE
SilphCo_4F_EventScript_Grunt1:: @ 8161790
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_26, SilphCo_4F_Text_Grunt1Intro, SilphCo_4F_Text_Grunt1Defeat
msgbox SilphCo_4F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
SilphCo_4F_EventScript_1617A7:: @ 81617A7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_27, Text_175B19, Text_175B2B
msgbox gUnknown_8175B38, MSGBOX_AUTOCLOSE
SilphCo_4F_EventScript_Grunt2:: @ 81617A7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_27, SilphCo_4F_Text_Grunt2Intro, SilphCo_4F_Text_Grunt2Defeat
msgbox SilphCo_4F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
+12 -12
View File
@@ -1,45 +1,45 @@
gUnknown_81759F5:: @ 81759F5
SilphCo_4F_Text_CantYouSeeImHiding:: @ 81759F5
.string "Sssh!\n"
.string "Can't you see I'm hiding?$"
gUnknown_8175A15:: @ 8175A15
SilphCo_4F_Text_TeamRocketIsGone:: @ 8175A15
.string "Huh?\n"
.string "TEAM ROCKET is gone?$"
Text_175A2F:: @ 8175A2F
SilphCo_4F_Text_Grunt1Intro:: @ 8175A2F
.string "TEAM ROCKET has taken control\n"
.string "of SILPH CO.!$"
Text_175A5B:: @ 8175A5B
SilphCo_4F_Text_Grunt1Defeat:: @ 8175A5B
.string "Arrgh!$"
gUnknown_8175A62:: @ 8175A62
SilphCo_4F_Text_Grunt1PostBattle:: @ 8175A62
.string "Fwahahaha!\n"
.string "My BOSS has been after this place!$"
Text_175A90:: @ 8175A90
SilphCo_4F_Text_RodneyIntro:: @ 8175A90
.string "My POKéMON is my loyal servant.$"
Text_175AB0:: @ 8175AB0
SilphCo_4F_Text_RodneyDefeat:: @ 8175AB0
.string "Darn!\n"
.string "You weak POKéMON!$"
gUnknown_8175AC8:: @ 8175AC8
SilphCo_4F_Text_RodneyPostBattle:: @ 8175AC8
.string "The doors are electronically\n"
.string "locked.\p"
.string "It takes a CARD KEY to open the\n"
.string "doors here.$"
Text_175B19:: @ 8175B19
SilphCo_4F_Text_Grunt2Intro:: @ 8175B19
.string "Intruder spotted!$"
Text_175B2B:: @ 8175B2B
SilphCo_4F_Text_Grunt2Defeat:: @ 8175B2B
.string "Who are you?$"
gUnknown_8175B38:: @ 8175B38
SilphCo_4F_Text_Grunt2PostBattle:: @ 8175B38
.string "I better tell the BOSS on 11F!$"
gUnknown_8175B57:: @ 8175B57
SilphCo_4F_Text_FloorSign:: @ 8175B57
.string "SILPH CO. HEAD OFFICE\n"
.string "4F$"