2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2018-01-23 06:03:47 +00:00
|
|
|
const BILLSFAMILYSHOUSE_BILL
|
|
|
|
const BILLSFAMILYSHOUSE_POKEFAN_F
|
|
|
|
const BILLSFAMILYSHOUSE_TWIN
|
2015-11-27 05:22:14 +00:00
|
|
|
|
2018-01-23 06:03:47 +00:00
|
|
|
BillsFamilysHouse_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
|
|
|
|
2018-01-23 06:03:47 +00:00
|
|
|
BillScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_EEVEE
|
2018-02-28 22:47:31 +00:00
|
|
|
iftrue .GotEevee
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillTakeThisEeveeText
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2018-02-28 22:47:31 +00:00
|
|
|
iffalse .Refused
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillImCountingOnYouText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2018-02-28 22:47:31 +00:00
|
|
|
ifequal PARTY_LENGTH, .NoRoom
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext ReceivedEeveeText
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_CAUGHT_MON
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-11-01 01:05:02 +00:00
|
|
|
givepoke EEVEE, 20
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_EEVEE
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillEeveeMayEvolveText
|
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
|
|
|
.NoRoom:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillPartyFullText
|
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
|
|
|
.Refused:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillNoEeveeText
|
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
|
|
|
.GotEevee:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillPopWontWorkText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 06:03:47 +00:00
|
|
|
BillsMomScript:
|
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
|
|
|
checkevent EVENT_MET_BILL
|
2018-02-28 22:47:31 +00:00
|
|
|
iffalse .HaventMetBill
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillsPopText
|
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
|
|
|
.HaventMetBill:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillsMomText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 06:03:47 +00:00
|
|
|
BillsSisterScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-19 03:45:39 +00:00
|
|
|
checkcellnum PHONE_BILL
|
2018-02-28 22:47:31 +00:00
|
|
|
iftrue .GotBillsNumber
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillsSisterUsefulNumberText
|
2015-07-19 03:45:39 +00:00
|
|
|
askforphonenumber PHONE_BILL
|
2018-02-28 22:47:31 +00:00
|
|
|
ifequal PHONE_CONTACTS_FULL, .NoRoom
|
|
|
|
ifequal PHONE_CONTACT_REFUSED, .Refused
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-07-19 03:45:39 +00:00
|
|
|
addcellnum PHONE_BILL
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext RecordedBillsNumberText
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_REGISTER_PHONE_NUMBER
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2018-02-28 22:47:31 +00:00
|
|
|
.GotBillsNumber:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillsSisterStorageSystemText
|
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
|
|
|
.Refused:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillsSisterRefusedNumberText
|
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
|
|
|
.NoRoom:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BillsSisterPhoneFullText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2018-02-28 22:47:31 +00:00
|
|
|
jump .Refused
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
BillsHouseBookshelf1:
|
2015-06-23 20:21:54 +00:00
|
|
|
jumpstd picturebookshelf
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
BillsHouseBookshelf2:
|
2015-06-23 20:21:54 +00:00
|
|
|
jumpstd magazinebookshelf
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
BillsHouseRadio:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd radio2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillTakeThisEeveeText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "BILL: Hi, <PLAYER>!"
|
2014-03-06 05:29:44 +00:00
|
|
|
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,"
|
2015-06-28 04:59:17 +00:00
|
|
|
cont "<PLAYER>?"
|
2014-03-06 05:29:44 +00:00
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillImCountingOnYouText:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
ReceivedEeveeText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "EEVEE!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillEeveeMayEvolveText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "BILL: PROF.ELM"
|
|
|
|
line "claims EEVEE may"
|
|
|
|
|
|
|
|
para "evolve in new and"
|
|
|
|
line "unknown ways."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillPartyFullText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Whoa, wait. You"
|
|
|
|
line "can't carry any"
|
|
|
|
cont "more #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillNoEeveeText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh… Now what to"
|
|
|
|
line "do?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillPopWontWorkText:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillsPopText:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillsMomText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My husband was"
|
|
|
|
line "once known as a"
|
|
|
|
|
|
|
|
para "#MANIAC."
|
|
|
|
line "BILL must have"
|
|
|
|
|
|
|
|
para "taken after his"
|
|
|
|
line "father."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillsSisterUsefulNumberText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Are you a trainer?"
|
|
|
|
|
|
|
|
para "I've got a useful"
|
|
|
|
line "phone number for"
|
|
|
|
cont "you."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
RecordedBillsNumberText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> recorded"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "BILL's number."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillsSisterRefusedNumberText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My brother made"
|
|
|
|
line "the PC #MON"
|
|
|
|
cont "storage system."
|
|
|
|
|
|
|
|
para "I was going to"
|
|
|
|
line "give you BILL's"
|
|
|
|
cont "number…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillsSisterPhoneFullText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You can't record"
|
|
|
|
line "any more numbers."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BillsSisterStorageSystemText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My big brother"
|
|
|
|
line "BILL made the PC"
|
|
|
|
|
|
|
|
para "#MON storage"
|
|
|
|
line "system."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-23 06:03:47 +00:00
|
|
|
BillsFamilysHouse_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, GOLDENROD_CITY, 4
|
|
|
|
warp_event 3, 7, GOLDENROD_CITY, 4
|
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 3 ; bg events
|
2018-02-02 03:22:07 +00:00
|
|
|
bg_event 0, 1, BGEVENT_READ, BillsHouseBookshelf2
|
|
|
|
bg_event 1, 1, BGEVENT_READ, BillsHouseBookshelf1
|
|
|
|
bg_event 7, 1, BGEVENT_READ, BillsHouseRadio
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 3 ; object events
|
2018-02-02 03:22:07 +00: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
|