2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2018-01-22 22:03:47 -08:00
|
|
|
const BILLSFAMILYSHOUSE_BILL
|
|
|
|
const BILLSFAMILYSHOUSE_POKEFAN_F
|
|
|
|
const BILLSFAMILYSHOUSE_TWIN
|
2015-11-26 21:22:14 -08:00
|
|
|
|
2018-01-22 22:03:47 -08:00
|
|
|
BillsFamilysHouse_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-22 22:03:47 -08:00
|
|
|
BillScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_EEVEE
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x54c1f
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54c74
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x54c19
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54d3f
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal PARTY_LENGTH, UnknownScript_0x54c13
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54dae
|
2014-04-30 03:04:35 -07:00
|
|
|
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
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54dc1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x54c13:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54e02
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x54c19:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54e2d
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x54c1f:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54e42
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-22 22:03:47 -08:00
|
|
|
BillsMomScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_MET_BILL
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x54c33
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54ea8
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x54c33:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54f4e
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-22 22:03:47 -08:00
|
|
|
BillsSisterScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-18 20:45:39 -07:00
|
|
|
checkcellnum PHONE_BILL
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x54c58
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54f9e
|
2015-07-18 20:45:39 -07:00
|
|
|
askforphonenumber PHONE_BILL
|
2018-01-11 22:40:20 -08:00
|
|
|
if_equal PHONE_CONTACTS_FULL, UnknownScript_0x54c64
|
|
|
|
if_equal PHONE_CONTACT_REFUSED, UnknownScript_0x54c5e
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-07-18 20:45:39 -07:00
|
|
|
addcellnum PHONE_BILL
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54fd9
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_REGISTER_PHONE_NUMBER
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2013-02-16 22:54:07 -08:00
|
|
|
UnknownScript_0x54c58: ;0x54c58
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x55069
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x54c5e:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54ff3
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x54c64:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x55046
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x54c5e
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BillsHouseBookshelf1:
|
2015-06-23 13:21:54 -07:00
|
|
|
jumpstd picturebookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BillsHouseBookshelf2:
|
2015-06-23 13:21:54 -07:00
|
|
|
jumpstd magazinebookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BillsHouseRadio:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd radio2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54c74:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "BILL: Hi, <PLAYER>!"
|
2014-03-05 21:29:44 -08: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-27 21:59:17 -07:00
|
|
|
cont "<PLAYER>?"
|
2014-03-05 21:29:44 -08:00
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54d3f:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54dae:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "EEVEE!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54dc1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BILL: PROF.ELM"
|
|
|
|
line "claims EEVEE may"
|
|
|
|
|
|
|
|
para "evolve in new and"
|
|
|
|
line "unknown ways."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54e02:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Whoa, wait. You"
|
|
|
|
line "can't carry any"
|
|
|
|
cont "more #MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54e2d:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh… Now what to"
|
|
|
|
line "do?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54e42:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54ea8:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54f4e:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54f9e:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Are you a trainer?"
|
|
|
|
|
|
|
|
para "I've got a useful"
|
|
|
|
line "phone number for"
|
|
|
|
cont "you."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54fd9:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> recorded"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "BILL's number."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54ff3:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x55046:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You can't record"
|
|
|
|
line "any more numbers."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x55069:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "My big brother"
|
|
|
|
line "BILL made the PC"
|
|
|
|
|
|
|
|
para "#MON storage"
|
|
|
|
line "system."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-22 22:03:47 -08:00
|
|
|
BillsFamilysHouse_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-01-28 10:20:04 -08:00
|
|
|
warp_event 2, 7, 4, GOLDENROD_CITY
|
|
|
|
warp_event 3, 7, 4, GOLDENROD_CITY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; bg events
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 0, 1, BGEVENT_READ, BillsHouseBookshelf2
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 1, 1, BGEVENT_READ, BillsHouseBookshelf1
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 7, 1, BGEVENT_READ, BillsHouseRadio
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; object events
|
2018-01-22 22:03:47 -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
|