mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-10 14:01:52 -05:00
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
SilphCo_8F_MapScripts:: @ 8161C5F
|
|
map_script MAP_SCRIPT_ON_LOAD, SilphCo_8F_OnLoad
|
|
.byte 0
|
|
|
|
SilphCo_8F_OnLoad:: @ 8161C65
|
|
call_if_unset FLAG_SILPH_8F_DOOR, EventScript_Close8FDoor
|
|
end
|
|
|
|
SilphCo_8F_EventScript_WorkerM:: @ 8161C6F
|
|
lock
|
|
faceplayer
|
|
compare VAR_MAP_SCENE_SILPH_CO_11F, 1
|
|
goto_if_ge SilphCo_8F_EventScript_WorkerMRocketsGone
|
|
msgbox SilphCo_8F_Text_WonderIfSilphIsFinished
|
|
release
|
|
end
|
|
|
|
SilphCo_8F_EventScript_WorkerMRocketsGone:: @ 8161C86
|
|
msgbox SilphCo_8F_Text_ThanksForSavingUs
|
|
release
|
|
end
|
|
|
|
SilphCo_8F_EventScript_FloorSign:: @ 8161C90
|
|
msgbox SilphCo_8F_Text_FloorSign, MSGBOX_SIGN
|
|
end
|
|
|
|
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_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_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
|