pokecrystal-board/maps/CeladonMansionRoofHouse.asm

130 lines
2.4 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const CELADONMANSIONROOFHOUSE_PHARMACIST
CeladonMansionRoofHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-03-01 10:18:51 -08:00
CeladonMansionRoofHousePharmacistScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TM03_CURSE
2018-02-28 14:47:31 -08:00
iftrue .GotCurse
2018-08-19 10:56:41 -07:00
writetext CeladonMansionRoofHousePharmacistIntroText
2019-11-03 09:48:54 -08:00
promptbutton
checktime NITE
2018-02-28 14:47:31 -08:00
iftrue .Night
2018-08-19 10:56:41 -07:00
writetext CeladonMansionRoofHousePharmacistNotNightText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.Night:
2018-08-19 10:56:41 -07:00
writetext CeladonMansionRoofHousePharmacistStoryText
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem TM_CURSE
2018-02-28 14:47:31 -08:00
iffalse .NoRoom
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_TM03_CURSE
2018-02-28 14:47:31 -08:00
.GotCurse:
2018-08-19 10:56:41 -07:00
writetext CeladonMansionRoofHousePharmacistCurseText
2015-11-25 07:16:29 -08:00
waitbutton
2018-02-28 14:47:31 -08:00
.NoRoom:
2015-11-25 07:16:29 -08:00
closetext
end
2018-08-19 10:56:41 -07:00
CeladonMansionRoofHousePharmacistIntroText:
text "Let me recount a"
line "terrifying tale…"
done
2018-08-19 10:56:41 -07:00
CeladonMansionRoofHousePharmacistNotNightText:
text "Then again, it's"
line "not as scary while"
para "it's still light"
line "outside."
para "Come back after"
line "sunset, OK?"
done
2018-08-19 10:56:41 -07:00
CeladonMansionRoofHousePharmacistStoryText:
text "Once upon a time,"
line "there was a little"
para "boy who was given"
line "a new BICYCLE…"
para "He wanted to try"
line "it right away…"
para "He was having so"
line "much fun that he"
para "didn't notice the"
line "sun had set…"
para "While riding home"
line "in the pitch-black"
para "night, the bike"
line "suddenly slowed!"
para "The pedals became"
line "heavy!"
para "When he stopped"
line "pedaling, the bike"
para "began slipping"
line "backwards!"
para "It was as if the"
line "bike were cursed"
para "and trying to drag"
line "him into oblivion!"
para "…"
para "…"
para "SHRIEEEEK!"
para "The boy had been"
line "riding uphill on"
cont "CYCLING ROAD!"
para "…"
line "Ba-dum ba-dum!"
para "For listening so"
line "patiently, you may"
cont "take this--TM03!"
done
2018-08-19 10:56:41 -07:00
CeladonMansionRoofHousePharmacistCurseText:
text "TM03 is CURSE."
para "It's a terrifying"
line "move that slowly"
para "whittles down the"
line "victim's HP."
done
CeladonMansionRoofHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, CELADON_MANSION_ROOF, 3
warp_event 3, 7, CELADON_MANSION_ROOF, 3
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-03-01 10:18:51 -08:00
object_event 3, 2, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonMansionRoofHousePharmacistScript, -1