2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const LAVENDERPOKECENTER1F_NURSE
|
|
|
|
const LAVENDERPOKECENTER1F_GENTLEMAN
|
|
|
|
const LAVENDERPOKECENTER1F_TEACHER
|
|
|
|
const LAVENDERPOKECENTER1F_YOUNGSTER
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
LavenderPokecenter1F_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
LavenderPokecenter1FNurseScript:
|
2015-06-23 13:21:54 -07:00
|
|
|
jumpstd pokecenternurse
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
LavenderPokecenter1FGentlemanScript:
|
|
|
|
jumptextfaceplayer LavenderPokecenter1FGentlemanText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
LavenderPokecenter1FTeacherScript:
|
|
|
|
jumptextfaceplayer LavenderPokecenter1FTeacherText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
LavenderPokecenter1FYoungsterScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_RETURNED_MACHINE_PART
|
2018-02-28 13:50:43 -08:00
|
|
|
iftrue .ReturnedMachinePart
|
|
|
|
writetext LavenderPokecenter1FYoungsterText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
.ReturnedMachinePart:
|
|
|
|
writetext LavenderPokecenter1FYoungsterText_ReturnedMachinePart
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
LavenderPokecenter1FGentlemanText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "To the north of"
|
|
|
|
line "LAVENDER is ROCK"
|
|
|
|
|
|
|
|
para "TUNNEL. Go through"
|
|
|
|
line "it to get to the"
|
|
|
|
cont "POWER PLANT."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
LavenderPokecenter1FTeacherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There's a radio"
|
|
|
|
line "program that plays"
|
|
|
|
cont "# FLUTE music."
|
|
|
|
|
|
|
|
para "Oh? Ah, your radio"
|
|
|
|
line "needs an EXPN CARD"
|
|
|
|
cont "to tune into it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
LavenderPokecenter1FYoungsterText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "If the POWER PLANT"
|
|
|
|
line "isn't running, the"
|
|
|
|
|
|
|
|
para "MAGNET TRAIN won't"
|
|
|
|
line "run either…"
|
|
|
|
|
|
|
|
para "It also means the"
|
|
|
|
line "RADIO STATION"
|
|
|
|
cont "can't broadcast…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
LavenderPokecenter1FYoungsterText_ReturnedMachinePart:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The DIRECTOR of"
|
|
|
|
line "the RADIO STATION"
|
|
|
|
cont "sure was happy."
|
|
|
|
|
|
|
|
para "He said they're"
|
|
|
|
line "back on the air"
|
|
|
|
|
|
|
|
para "because the POWER"
|
|
|
|
line "PLANT is running"
|
|
|
|
cont "smoothly again."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
LavenderPokecenter1F_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 3, 7, LAVENDER_TOWN, 1
|
|
|
|
warp_event 4, 7, LAVENDER_TOWN, 1
|
|
|
|
warp_event 0, 7, POKECENTER_2F, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; bg events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 4 ; object events
|
2018-02-28 13:50:43 -08:00
|
|
|
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LavenderPokecenter1FNurseScript, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 7, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LavenderPokecenter1FGentlemanScript, -1
|
|
|
|
object_event 5, 3, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, LavenderPokecenter1FTeacherScript, -1
|
2018-02-28 13:50:43 -08:00
|
|
|
object_event 1, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LavenderPokecenter1FYoungsterScript, -1
|