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
+4 -4
View File
@@ -23,7 +23,7 @@
"movement_range_y": 2,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "SilphCo_10F_EventScript_161DC0",
"script": "SilphCo_10F_EventScript_Travis",
"flag": "FLAG_HIDE_SILPH_ROCKETS"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_10F_EventScript_161D96",
"script": "SilphCo_10F_EventScript_WorkerF",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_10F_EventScript_161DD7",
"script": "SilphCo_10F_EventScript_Grunt",
"flag": "FLAG_HIDE_SILPH_ROCKETS"
},
{
@@ -181,7 +181,7 @@
"x": 7,
"y": 1,
"elevation": 0,
"script": "SilphCo_10F_EventScript_161DB7"
"script": "SilphCo_10F_EventScript_FloorSign"
}
]
}
+13 -13
View File
@@ -6,30 +6,30 @@ SilphCo_10F_OnLoad:: @ 8161D8C
call_if_unset FLAG_SILPH_10F_DOOR, EventScript_Close10FDoor
end
SilphCo_10F_EventScript_161D96:: @ 8161D96
SilphCo_10F_EventScript_WorkerF:: @ 8161D96
lock
faceplayer
compare VAR_MAP_SCENE_SILPH_CO_11F, 1
goto_if_ge EventScript_161DAD
msgbox gUnknown_8176DBA
goto_if_ge SilphCo_10F_EventScript_WorkerFRocketsGone
msgbox SilphCo_10F_Text_WaaaImScared
release
end
EventScript_161DAD:: @ 8161DAD
msgbox gUnknown_8176DCE
SilphCo_10F_EventScript_WorkerFRocketsGone:: @ 8161DAD
msgbox SilphCo_10F_Text_KeepMeCryingASecret
release
end
SilphCo_10F_EventScript_161DB7:: @ 8161DB7
msgbox gUnknown_8176DF8, MSGBOX_SIGN
SilphCo_10F_EventScript_FloorSign:: @ 8161DB7
msgbox SilphCo_10F_Text_FloorSign, MSGBOX_SIGN
end
SilphCo_10F_EventScript_161DC0:: @ 8161DC0
trainerbattle_single TRAINER_SCIENTIST_TRAVIS, Text_176D57, Text_176D73
msgbox gUnknown_8176D86, MSGBOX_AUTOCLOSE
SilphCo_10F_EventScript_Travis:: @ 8161DC0
trainerbattle_single TRAINER_SCIENTIST_TRAVIS, SilphCo_10F_Text_TravisIntro, SilphCo_10F_Text_TravisDefeat
msgbox SilphCo_10F_Text_TravisPostBattle, MSGBOX_AUTOCLOSE
end
SilphCo_10F_EventScript_161DD7:: @ 8161DD7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_39, Text_176CED, Text_176D18
msgbox gUnknown_8176D25, MSGBOX_AUTOCLOSE
SilphCo_10F_EventScript_Grunt:: @ 8161DD7
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_39, SilphCo_10F_Text_GruntIntro, SilphCo_10F_Text_GruntDefeat
msgbox SilphCo_10F_Text_GruntPostBattle, MSGBOX_AUTOCLOSE
end
+9 -9
View File
@@ -1,33 +1,33 @@
Text_176CED:: @ 8176CED
SilphCo_10F_Text_GruntIntro:: @ 8176CED
.string "Welcome to 10F!\n"
.string "So good of you to join me!$"
Text_176D18:: @ 8176D18
SilphCo_10F_Text_GruntDefeat:: @ 8176D18
.string "I'm stunned!$"
gUnknown_8176D25:: @ 8176D25
SilphCo_10F_Text_GruntPostBattle:: @ 8176D25
.string "Nice try, but the boardroom is up\n"
.string "one more floor.$"
Text_176D57:: @ 8176D57
SilphCo_10F_Text_TravisIntro:: @ 8176D57
.string "Enough of your silly games!$"
Text_176D73:: @ 8176D73
SilphCo_10F_Text_TravisDefeat:: @ 8176D73
.string "No continues left!$"
gUnknown_8176D86:: @ 8176D86
SilphCo_10F_Text_TravisPostBattle:: @ 8176D86
.string "Are you satisfied with beating me?\n"
.string "Then go on home!$"
gUnknown_8176DBA:: @ 8176DBA
SilphCo_10F_Text_WaaaImScared:: @ 8176DBA
.string "Waaaaa!\n"
.string "I'm scared!$"
gUnknown_8176DCE:: @ 8176DCE
SilphCo_10F_Text_KeepMeCryingASecret:: @ 8176DCE
.string "About me crying…\n"
.string "Please keep it a secret.$"
gUnknown_8176DF8:: @ 8176DF8
SilphCo_10F_Text_FloorSign:: @ 8176DF8
.string "SILPH CO. HEAD OFFICE\n"
.string "10F$"