2019-04-21 21:42:25 +00:00
|
|
|
object_const_def ; object_event constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const LAVRADIOTOWER1F_RECEPTIONIST
|
|
|
|
const LAVRADIOTOWER1F_OFFICER
|
|
|
|
const LAVRADIOTOWER1F_SUPER_NERD1
|
|
|
|
const LAVRADIOTOWER1F_GENTLEMAN
|
|
|
|
const LAVRADIOTOWER1F_SUPER_NERD2
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
LavRadioTower1F_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
LavRadioTower1FReceptionistScript:
|
|
|
|
jumptextfaceplayer LavRadioTower1FReceptionistText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
LavRadioTower1FOfficerScript:
|
|
|
|
jumptextfaceplayer LavRadioTower1FOfficerText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
LavRadioTower1FSuperNerd1Script:
|
|
|
|
jumptextfaceplayer LavRadioTower1FSuperNerd1Text
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
LavRadioTower1FGentlemanScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_EXPN_CARD
|
2018-02-28 00:33:38 +00:00
|
|
|
iftrue .GotExpnCard
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_RETURNED_MACHINE_PART
|
2018-02-28 00:33:38 +00:00
|
|
|
iftrue .ReturnedMachinePart
|
2018-03-01 18:18:51 +00:00
|
|
|
writetext LavRadioTower1FGentlemanText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
.ReturnedMachinePart:
|
2018-03-01 18:18:51 +00:00
|
|
|
writetext LavRadioTower1FGentlemanText_ReturnedMachinePart
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 19:31:59 +00:00
|
|
|
getstring STRING_BUFFER_4, .expncardname
|
2018-03-01 18:18:51 +00:00
|
|
|
scall .receiveitem
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_EXPN_CARD
|
2018-02-28 00:33:38 +00:00
|
|
|
.GotExpnCard:
|
2018-03-01 18:18:51 +00:00
|
|
|
writetext LavRadioTower1FGentlemanText_GotExpnCard
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
.receiveitem:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd ReceiveItemScript
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
.expncardname
|
2013-02-17 06:54:07 +00:00
|
|
|
db "EXPN CARD@"
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
LavRadioTower1FSuperNerd2Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_EXPN_CARD
|
2018-02-28 22:47:31 +00:00
|
|
|
iftrue .GotExpnCard
|
|
|
|
writetext LavRadioTower1FSuperNerd2Text
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
.GotExpnCard:
|
|
|
|
writetext LavRadioTower1FSuperNerd2Text_GotExpnCard
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
LavRadioTower1FDirectory:
|
|
|
|
jumptext LavRadioTower1FDirectoryText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
LavRadioTower1FPokeFluteSign:
|
|
|
|
jumptext LavRadioTower1FPokeFluteSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
LavRadioTower1FReferenceLibrary:
|
|
|
|
; unreferenced
|
|
|
|
jumptext LavRadioTower1FReferenceLibraryText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
LavRadioTower1FReceptionistText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Welcome!"
|
|
|
|
line "Feel free to look"
|
|
|
|
|
|
|
|
para "around anywhere on"
|
|
|
|
line "this floor."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
LavRadioTower1FOfficerText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Sorry, but you can"
|
|
|
|
line "only tour the"
|
|
|
|
cont "ground floor."
|
|
|
|
|
|
|
|
para "Ever since JOHTO's"
|
|
|
|
line "RADIO TOWER was"
|
|
|
|
|
|
|
|
para "taken over by a"
|
|
|
|
line "criminal gang, we"
|
|
|
|
|
|
|
|
para "have had to step"
|
|
|
|
line "up our security."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
LavRadioTower1FSuperNerd1Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Many people are"
|
|
|
|
line "hard at work here"
|
|
|
|
|
|
|
|
para "in the RADIO"
|
|
|
|
line "TOWER."
|
|
|
|
|
|
|
|
para "They must be doing"
|
|
|
|
line "their best to put"
|
|
|
|
cont "on good shows."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
LavRadioTower1FGentlemanText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, no, no, no!"
|
|
|
|
|
|
|
|
para "We've been off the"
|
|
|
|
line "air ever since the"
|
|
|
|
|
|
|
|
para "POWER PLANT shut"
|
|
|
|
line "down."
|
|
|
|
|
|
|
|
para "All my efforts to"
|
|
|
|
line "start this station"
|
|
|
|
|
|
|
|
para "would be wasted if"
|
|
|
|
line "I can't broadcast."
|
|
|
|
|
|
|
|
para "I'll be ruined!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
LavRadioTower1FGentlemanText_ReturnedMachinePart:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Ah! So you're the"
|
2015-06-28 04:59:17 +00:00
|
|
|
line "<PLAY_G> who solved"
|
2014-03-06 05:29:44 +00:00
|
|
|
|
|
|
|
para "the POWER PLANT's"
|
|
|
|
line "problem?"
|
|
|
|
|
|
|
|
para "Thanks to you, I"
|
|
|
|
line "never lost my job."
|
|
|
|
|
|
|
|
para "I tell you, you're"
|
|
|
|
line "a real lifesaver!"
|
|
|
|
|
|
|
|
para "Please take this"
|
|
|
|
line "as my thanks."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
LavRadioTower1FGentlemanText_GotExpnCard:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "With that thing,"
|
|
|
|
line "you can tune into"
|
|
|
|
|
|
|
|
para "the radio programs"
|
|
|
|
line "here in KANTO."
|
|
|
|
|
|
|
|
para "Gahahahaha!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
LavRadioTower1FSuperNerd2Text:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey there!"
|
|
|
|
|
|
|
|
para "I am the super"
|
|
|
|
line "MUSIC DIRECTOR!"
|
|
|
|
|
|
|
|
para "Huh? Your #GEAR"
|
|
|
|
line "can't tune into my"
|
|
|
|
|
|
|
|
para "music programs."
|
|
|
|
line "How unfortunate!"
|
|
|
|
|
|
|
|
para "If you get an EXPN"
|
|
|
|
line "CARD upgrade, you"
|
|
|
|
|
|
|
|
para "can tune in. You'd"
|
|
|
|
line "better get one!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
LavRadioTower1FSuperNerd2Text_GotExpnCard:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey there!"
|
|
|
|
|
|
|
|
para "I am the super"
|
|
|
|
line "MUSIC DIRECTOR!"
|
|
|
|
|
|
|
|
para "I'm responsible"
|
|
|
|
line "for the gorgeous"
|
|
|
|
|
|
|
|
para "melodies that go"
|
|
|
|
line "out over the air."
|
|
|
|
|
|
|
|
para "Don't be square."
|
|
|
|
line "Grab your music"
|
|
|
|
cont "off the air!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
LavRadioTower1FDirectoryText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "1F RECEPTION"
|
|
|
|
line "2F SALES"
|
|
|
|
|
|
|
|
para "3F PERSONNEL"
|
|
|
|
line "4F PRODUCTION"
|
|
|
|
|
|
|
|
para "5F DIRECTOR'S"
|
|
|
|
line " OFFICE"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
LavRadioTower1FPokeFluteSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Perk Up #MON"
|
|
|
|
line "with Mellow Sounds"
|
|
|
|
|
|
|
|
para "of the # FLUTE"
|
|
|
|
line "on CHANNEL 20"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
LavRadioTower1FReferenceLibraryText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Wow! A full rack"
|
|
|
|
line "of #MON CDs and"
|
|
|
|
cont "videos."
|
|
|
|
|
|
|
|
para "This must be the"
|
|
|
|
line "reference library."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
LavRadioTower1F_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 2, 7, LAVENDER_TOWN, 7
|
|
|
|
warp_event 3, 7, LAVENDER_TOWN, 7
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; bg events
|
2018-02-28 00:33:38 +00:00
|
|
|
bg_event 11, 0, BGEVENT_READ, LavRadioTower1FDirectory
|
|
|
|
bg_event 5, 0, BGEVENT_READ, LavRadioTower1FPokeFluteSign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 5 ; object events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 6, 6, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, LavRadioTower1FReceptionistScript, -1
|
|
|
|
object_event 15, 1, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, LavRadioTower1FOfficerScript, -1
|
2018-02-28 22:47:31 +00:00
|
|
|
object_event 1, 3, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LavRadioTower1FSuperNerd1Script, -1
|
2018-03-01 18:18:51 +00:00
|
|
|
object_event 9, 1, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LavRadioTower1FGentlemanScript, -1
|
2018-02-28 22:47:31 +00:00
|
|
|
object_event 14, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LavRadioTower1FSuperNerd2Script, -1
|