2018-01-31 11:38:45 -05:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 00:22:14 -05:00
|
|
|
const SILPHCO1F_RECEPTIONIST
|
|
|
|
const SILPHCO1F_OFFICER
|
|
|
|
|
2018-01-16 22:57:19 -05:00
|
|
|
SilphCo1F_MapScripts:
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0 ; callbacks
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-02-28 17:47:31 -05:00
|
|
|
SilphCoReceptionistScript:
|
2016-04-07 04:13:59 -06:00
|
|
|
jumptextfaceplayer SilphCoReceptionistText
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-02-28 17:47:31 -05:00
|
|
|
SilphCoOfficerScript:
|
2013-02-17 01:54:07 -05:00
|
|
|
faceplayer
|
2015-12-09 18:25:44 -05:00
|
|
|
opentext
|
2013-09-24 03:48:58 -04:00
|
|
|
checkevent EVENT_GOT_UP_GRADE
|
2018-02-28 17:47:31 -05:00
|
|
|
iftrue .GotUpGrade
|
|
|
|
writetext SilphCoOfficerText
|
2015-11-29 22:29:45 -05:00
|
|
|
buttonsound
|
2015-11-04 20:20:14 -05:00
|
|
|
verbosegiveitem UP_GRADE
|
2018-02-28 17:47:31 -05:00
|
|
|
iffalse .NoRoom
|
2013-09-24 03:48:58 -04:00
|
|
|
setevent EVENT_GOT_UP_GRADE
|
2018-02-28 17:47:31 -05:00
|
|
|
.GotUpGrade:
|
|
|
|
writetext SilphCoOfficerText_GotUpGrade
|
2015-11-25 10:16:29 -05:00
|
|
|
waitbutton
|
2018-02-28 17:47:31 -05:00
|
|
|
.NoRoom:
|
2015-11-25 10:16:29 -05:00
|
|
|
closetext
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2016-04-07 04:13:59 -06:00
|
|
|
SilphCoReceptionistText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "Welcome. This is"
|
|
|
|
line "SILPH CO.'s HEAD"
|
|
|
|
cont "OFFICE BUILDING."
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-02-28 17:47:31 -05:00
|
|
|
SilphCoOfficerText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "Only employees are"
|
|
|
|
line "permitted to go"
|
|
|
|
cont "upstairs."
|
|
|
|
|
|
|
|
para "But since you came"
|
|
|
|
line "such a long way,"
|
|
|
|
|
|
|
|
para "have this neat"
|
|
|
|
line "little souvenir."
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-02-28 17:47:31 -05:00
|
|
|
SilphCoOfficerText_GotUpGrade:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "It's SILPH CO.'s"
|
|
|
|
line "latest product."
|
|
|
|
|
|
|
|
para "It's not for sale"
|
|
|
|
line "anywhere yet."
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-16 22:57:19 -05:00
|
|
|
SilphCo1F_MapEvents:
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 2 ; warp events
|
2018-02-01 22:22:07 -05:00
|
|
|
warp_event 2, 7, SAFFRON_CITY, 7
|
|
|
|
warp_event 3, 7, SAFFRON_CITY, 7
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0 ; coord events
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0 ; bg events
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-30 14:15:47 -05:00
|
|
|
db 2 ; object events
|
2018-02-28 17:47:31 -05:00
|
|
|
object_event 4, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SilphCoReceptionistScript, -1
|
|
|
|
object_event 13, 1, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SilphCoOfficerScript, -1
|