mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-10 05:43:22 -05:00
42 lines
1.3 KiB
PHP
42 lines
1.3 KiB
PHP
SilphCo_4F_MapScripts:: @ 8161736
|
|
map_script MAP_SCRIPT_ON_LOAD, SilphCo_4F_OnLoad
|
|
.byte 0
|
|
|
|
SilphCo_4F_OnLoad:: @ 816173C
|
|
call_if_unset FLAG_SILPH_4F_DOOR_1, EventScript_Close4FDoor1
|
|
call_if_unset FLAG_SILPH_4F_DOOR_2, EventScript_Close4FDoor2
|
|
end
|
|
|
|
SilphCo_4F_EventScript_WorkerM:: @ 816174F
|
|
lock
|
|
faceplayer
|
|
compare VAR_MAP_SCENE_SILPH_CO_11F, 1
|
|
goto_if_ge SilphCo_4F_EventScript_WorkerMRocketsGone
|
|
msgbox SilphCo_4F_Text_CantYouSeeImHiding
|
|
release
|
|
end
|
|
|
|
SilphCo_4F_EventScript_WorkerMRocketsGone:: @ 8161766
|
|
msgbox SilphCo_4F_Text_TeamRocketIsGone
|
|
release
|
|
end
|
|
|
|
SilphCo_4F_EventScript_FloorSign:: @ 8161770
|
|
msgbox SilphCo_4F_Text_FloorSign, MSGBOX_SIGN
|
|
end
|
|
|
|
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_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_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
|