pokefirered/data/maps/SilphCo_2F/scripts.inc
2022-06-24 21:10:48 -04:00

37 lines
1.2 KiB
PHP

SilphCo_2F_MapScripts::
map_script MAP_SCRIPT_ON_LOAD, SilphCo_2F_OnLoad
.byte 0
SilphCo_2F_OnLoad::
call_if_unset FLAG_SILPH_2F_DOOR_1, EventScript_Close2FDoor1
call_if_unset FLAG_SILPH_2F_DOOR_2, EventScript_Close2FDoor2
end
SilphCo_2F_EventScript_ThunderWaveTutor::
goto EventScript_ThunderWaveTutor
end
SilphCo_2F_EventScript_FloorSign::
msgbox SilphCo_2F_Text_FloorSign, MSGBOX_SIGN
end
SilphCo_2F_EventScript_Connor::
trainerbattle_single TRAINER_SCIENTIST_CONNOR, SilphCo_2F_Text_ConnorIntro, SilphCo_2F_Text_ConnorDefeat
msgbox SilphCo_2F_Text_ConnorPostBattle, MSGBOX_AUTOCLOSE
end
SilphCo_2F_EventScript_Jerry::
trainerbattle_single TRAINER_SCIENTIST_JERRY, SilphCo_2F_Text_JerryIntro, SilphCo_2F_Text_JerryDefeat
msgbox SilphCo_2F_Text_JerryPostBattle, MSGBOX_AUTOCLOSE
end
SilphCo_2F_EventScript_Grunt1::
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_23, SilphCo_2F_Text_Grunt1Intro, SilphCo_2F_Text_Grunt1Defeat
msgbox SilphCo_2F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
SilphCo_2F_EventScript_Grunt2::
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_24, SilphCo_2F_Text_Grunt2Intro, SilphCo_2F_Text_Grunt2Defeat
msgbox SilphCo_2F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end