pokefirered/data/maps/SilphCo_2F/scripts.inc
2020-01-26 05:41:22 -05:00

37 lines
1.3 KiB
PHP

SilphCo_2F_MapScripts:: @ 8161641
map_script MAP_SCRIPT_ON_LOAD, SilphCo_2F_OnLoad
.byte 0
SilphCo_2F_OnLoad:: @ 8161647
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:: @ 816165A
goto EventScript_ThunderWaveTutor
end
SilphCo_2F_EventScript_FloorSign:: @ 8161660
msgbox SilphCo_2F_Text_FloorSign, MSGBOX_SIGN
end
SilphCo_2F_EventScript_Connor:: @ 8161669
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:: @ 8161680
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:: @ 8161697
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:: @ 81616AE
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_24, SilphCo_2F_Text_Grunt2Intro, SilphCo_2F_Text_Grunt2Defeat
msgbox SilphCo_2F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end