pokecrystal-board/maps/BillsFamilysHouse.asm

261 lines
4.6 KiB
NASM
Raw Normal View History

object_const_def
const BILLSFAMILYSHOUSE_BILL
const BILLSFAMILYSHOUSE_POKEFAN_F
const BILLSFAMILYSHOUSE_TWIN
2015-11-26 21:22:14 -08:00
BillsFamilysHouse_MapScripts:
def_scene_scripts
def_callbacks
BillScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_EEVEE
2018-02-28 14:47:31 -08:00
iftrue .GotEevee
2018-08-19 10:56:41 -07:00
writetext BillTakeThisEeveeText
yesorno
2018-02-28 14:47:31 -08:00
iffalse .Refused
2018-08-19 10:56:41 -07:00
writetext BillImCountingOnYouText
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-25 07:16:29 -08:00
waitsfx
readvar VAR_PARTYCOUNT
2018-02-28 14:47:31 -08:00
ifequal PARTY_LENGTH, .NoRoom
2018-08-19 10:56:41 -07:00
writetext ReceivedEeveeText
playsound SFX_CAUGHT_MON
2015-11-25 07:16:29 -08:00
waitsfx
2015-10-31 18:05:02 -07:00
givepoke EEVEE, 20
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_EEVEE
2018-08-19 10:56:41 -07:00
writetext BillEeveeMayEvolveText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.NoRoom:
2018-08-19 10:56:41 -07:00
writetext BillPartyFullText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.Refused:
2018-08-19 10:56:41 -07:00
writetext BillNoEeveeText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.GotEevee:
2018-08-19 10:56:41 -07:00
writetext BillPopWontWorkText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
BillsMomScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkevent EVENT_MET_BILL
2018-02-28 14:47:31 -08:00
iffalse .HaventMetBill
writetext BillsMomText_BeforeEcruteak
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.HaventMetBill:
writetext BillsMomText_AfterEcruteak
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
BillsSisterScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkcellnum PHONE_BILL
2018-02-28 14:47:31 -08:00
iftrue .GotBillsNumber
2018-08-19 10:56:41 -07:00
writetext BillsSisterUsefulNumberText
askforphonenumber PHONE_BILL
2018-02-28 14:47:31 -08:00
ifequal PHONE_CONTACTS_FULL, .NoRoom
ifequal PHONE_CONTACT_REFUSED, .Refused
2015-11-25 07:16:29 -08:00
waitsfx
addcellnum PHONE_BILL
2018-08-19 10:56:41 -07:00
writetext RecordedBillsNumberText
playsound SFX_REGISTER_PHONE_NUMBER
2015-11-25 07:16:29 -08:00
waitsfx
2019-11-03 09:48:54 -08:00
promptbutton
2018-02-28 14:47:31 -08:00
.GotBillsNumber:
2018-08-19 10:56:41 -07:00
writetext BillsSisterStorageSystemText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.Refused:
2018-08-19 10:56:41 -07:00
writetext BillsSisterRefusedNumberText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-02-28 14:47:31 -08:00
.NoRoom:
2018-08-19 10:56:41 -07:00
writetext BillsSisterPhoneFullText
2019-11-03 09:48:54 -08:00
promptbutton
sjump .Refused
2015-06-25 21:01:08 -07:00
BillsHouseBookshelf1:
jumpstd PictureBookshelfScript
2015-06-25 21:01:08 -07:00
BillsHouseBookshelf2:
jumpstd MagazineBookshelfScript
2015-06-25 21:01:08 -07:00
BillsHouseRadio:
jumpstd Radio2Script
2018-08-19 10:56:41 -07:00
BillTakeThisEeveeText:
text "BILL: Hi, <PLAYER>!"
line "Do us a favor and"
cont "take this EEVEE."
para "It came over when"
line "I was adjusting"
cont "the TIME CAPSULE."
para "Someone has to"
line "take care of it,"
para "but I don't like"
line "being outside."
para "Can I count on you"
line "to play with it,"
cont "<PLAYER>?"
done
2018-08-19 10:56:41 -07:00
BillImCountingOnYouText:
text "BILL: I knew you'd"
line "come through!"
para "Way to go! You're"
line "the real deal!"
para "OK, I'm counting"
line "on you."
para "Take good care of"
line "it!"
done
2018-08-19 10:56:41 -07:00
ReceivedEeveeText:
text "<PLAYER> received"
line "EEVEE!"
done
2018-08-19 10:56:41 -07:00
BillEeveeMayEvolveText:
text "BILL: PROF.ELM"
line "claims EEVEE may"
para "evolve in new and"
line "unknown ways."
done
2018-08-19 10:56:41 -07:00
BillPartyFullText:
text "Whoa, wait. You"
line "can't carry any"
cont "more #MON."
done
2018-08-19 10:56:41 -07:00
BillNoEeveeText:
text "Oh… Now what to"
line "do?"
done
2018-08-19 10:56:41 -07:00
BillPopWontWorkText:
text "BILL: My pop, he"
line "won't work. All he"
para "does is goof off"
line "all day long."
para "He's getting to be"
line "a real headache…"
done
BillsMomText_BeforeEcruteak:
text "Oh, you collect"
line "#MON? My son"
cont "BILL is an expert."
para "He just got called"
line "to the #MON"
para "CENTER in ECRUTEAK"
line "CITY."
para "My husband went"
line "off to the GAME"
para "CORNER without"
line "being called…"
done
BillsMomText_AfterEcruteak:
text "My husband was"
line "once known as a"
para "#MANIAC."
line "BILL must have"
para "taken after his"
line "father."
done
2018-08-19 10:56:41 -07:00
BillsSisterUsefulNumberText:
text "Are you a trainer?"
para "I've got a useful"
line "phone number for"
cont "you."
done
2018-08-19 10:56:41 -07:00
RecordedBillsNumberText:
text "<PLAYER> recorded"
line "BILL's number."
done
2018-08-19 10:56:41 -07:00
BillsSisterRefusedNumberText:
text "My brother made"
line "the PC #MON"
cont "storage system."
para "I was going to"
line "give you BILL's"
cont "number…"
done
2018-08-19 10:56:41 -07:00
BillsSisterPhoneFullText:
text "You can't record"
line "any more numbers."
done
2018-08-19 10:56:41 -07:00
BillsSisterStorageSystemText:
text "My big brother"
line "BILL made the PC"
para "#MON storage"
line "system."
done
BillsFamilysHouse_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, GOLDENROD_CITY, 4
warp_event 3, 7, GOLDENROD_CITY, 4
def_coord_events
def_bg_events
2018-02-01 19:22:07 -08:00
bg_event 0, 1, BGEVENT_READ, BillsHouseBookshelf2
bg_event 1, 1, BGEVENT_READ, BillsHouseBookshelf1
bg_event 7, 1, BGEVENT_READ, BillsHouseRadio
def_object_events
2018-02-01 19:22:07 -08:00
object_event 2, 3, SPRITE_BILL, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BillScript, EVENT_MET_BILL
object_event 5, 3, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BillsMomScript, -1
object_event 5, 4, SPRITE_TWIN, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BillsSisterScript, -1