pokecrystal-board/maps/LavRadioTower1F.asm

242 lines
4.8 KiB
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2015-11-26 21:22:14 -08:00
const LAVRADIOTOWER1F_RECEPTIONIST
const LAVRADIOTOWER1F_OFFICER
const LAVRADIOTOWER1F_SUPER_NERD1
const LAVRADIOTOWER1F_GENTLEMAN
const LAVRADIOTOWER1F_SUPER_NERD2
LavRadioTower1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2017-12-17 16:48:04 -08:00
LavRadioTower1FReceptionistScript:
jumptextfaceplayer LavRadioTower1FReceptionistText
2017-12-17 16:48:04 -08:00
LavRadioTower1FOfficerScript:
jumptextfaceplayer LavRadioTower1FOfficerText
2017-12-17 16:48:04 -08:00
LavRadioTower1FSuperNerdScript:
jumptextfaceplayer LavRadioTower1FSuperNerdText
2015-07-10 01:45:35 -07:00
GentlemanScript_0x7ee6c:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_EXPN_CARD
iftrue .GotExpnCard
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue .ReturnedMachinePart
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7effb
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.ReturnedMachinePart:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7f0a1
2015-11-29 19:29:45 -08:00
buttonsound
2018-01-11 22:40:20 -08:00
stringtotext .expncardname, MEM_BUFFER_1
2015-01-20 00:01:23 -08:00
scall .UnknownScript_0x7ee94
2015-07-10 05:08:03 -07:00
setflag ENGINE_EXPN_CARD
.GotExpnCard:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7f141
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.UnknownScript_0x7ee94:
jumpstd receiveitem
end
2015-07-10 01:45:35 -07:00
.expncardname
db "EXPN CARD@"
2015-07-10 01:45:35 -07:00
SuperNerdScript_0x7eea2:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_EXPN_CARD
iftrue UnknownScript_0x7eeb0
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7f193
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7eeb0:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7f248
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
LavRadioTower1FDirectory:
jumptext LavRadioTower1FDirectoryText
LavRadioTower1FPokeFluteSign:
jumptext LavRadioTower1FPokeFluteSignText
LavRadioTower1FReferenceLibrary:
; unreferenced
jumptext LavRadioTower1FReferenceLibraryText
2017-12-17 16:48:04 -08:00
LavRadioTower1FReceptionistText:
text "Welcome!"
line "Feel free to look"
para "around anywhere on"
line "this floor."
done
2017-12-17 16:48:04 -08:00
LavRadioTower1FOfficerText:
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
2017-12-17 16:48:04 -08:00
LavRadioTower1FSuperNerdText:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x7effb:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x7f0a1:
text "Ah! So you're the"
line "<PLAY_G> who solved"
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
2015-07-10 01:45:35 -07:00
UnknownText_0x7f141:
text "With that thing,"
line "you can tune into"
para "the radio programs"
line "here in KANTO."
para "Gahahahaha!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7f193:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x7f248:
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
LavRadioTower1FDirectoryText:
text "1F RECEPTION"
line "2F SALES"
para "3F PERSONNEL"
line "4F PRODUCTION"
para "5F DIRECTOR'S"
line " OFFICE"
done
LavRadioTower1FPokeFluteSignText:
text "Perk Up #MON"
line "with Mellow Sounds"
para "of the # FLUTE"
line "on CHANNEL 20"
done
LavRadioTower1FReferenceLibraryText:
text "Wow! A full rack"
line "of #MON CDs and"
cont "videos."
para "This must be the"
line "reference library."
done
LavRadioTower1F_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, LAVENDER_TOWN, 7
warp_event 3, 7, LAVENDER_TOWN, 7
db 0 ; coord events
db 2 ; bg events
bg_event 11, 0, BGEVENT_READ, LavRadioTower1FDirectory
bg_event 5, 0, BGEVENT_READ, LavRadioTower1FPokeFluteSign
db 5 ; object events
2018-02-01 19:22:07 -08: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
object_event 1, 3, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LavRadioTower1FSuperNerdScript, -1
object_event 9, 1, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GentlemanScript_0x7ee6c, -1
object_event 14, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SuperNerdScript_0x7eea2, -1