2015-07-10 01:45:35 -07:00
|
|
|
DayCare_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 2, UnknownScript_0x62f7b
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x62f7b:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x62f88
|
2015-07-18 12:46:38 -07:00
|
|
|
clearevent EVENT_DAYCARE_MAN_IN_DAYCARE
|
|
|
|
setevent EVENT_DAYCARE_MAN_ON_ROUTE_34
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x62f88:
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_DAYCARE_MAN_IN_DAYCARE
|
|
|
|
clearevent EVENT_DAYCARE_MAN_ON_ROUTE_34
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
GrampsScript_0x62f8f:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_ODD_EGG
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x62fbd
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x630ce
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
|
|
|
loadmovesprites
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_PARTYCOUNT
|
2013-02-16 22:54:07 -08:00
|
|
|
if_equal $6, UnknownScript_0x62fb6
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function117656
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x631ae
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_KEY_ITEM
|
2013-02-16 22:54:07 -08:00
|
|
|
waitbutton
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x631c3
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_ODD_EGG
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x62fb6:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x63237
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x62fbd:
|
2015-07-20 15:59:26 -07:00
|
|
|
special Special_DayCareMan
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
GrannyScript_0x62fc3:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x62fd1
|
2015-07-20 15:59:26 -07:00
|
|
|
special Special_DayCareLady
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x62fd1:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x62fda
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
DayCareBookshelf:
|
2015-06-23 13:21:54 -07:00
|
|
|
jumpstd difficultbookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x62fda:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Gramps was looking"
|
|
|
|
line "for you."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x62ff7:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm the DAY-CARE"
|
|
|
|
line "MAN."
|
|
|
|
|
|
|
|
para "There's something"
|
|
|
|
line "new in GOLDENROD"
|
|
|
|
|
|
|
|
para "called the TRADE"
|
|
|
|
line "CORNER."
|
|
|
|
|
|
|
|
para "I was given an EGG"
|
|
|
|
line "TICKET that can be"
|
|
|
|
|
|
|
|
para "traded in for a"
|
|
|
|
line "ODD EGG."
|
|
|
|
|
|
|
|
para "But since we run a"
|
|
|
|
line "DAY-CARE, we don't"
|
|
|
|
|
|
|
|
para "need it. You may"
|
|
|
|
line "as well have it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x630ce:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm the DAY-CARE"
|
|
|
|
line "MAN."
|
|
|
|
|
|
|
|
para "Do you know about"
|
|
|
|
line "EGGS?"
|
|
|
|
|
|
|
|
para "I was raising"
|
|
|
|
line "#MON with my"
|
|
|
|
cont "wife, you see."
|
|
|
|
|
|
|
|
para "We were shocked to"
|
|
|
|
line "find an EGG!"
|
|
|
|
|
|
|
|
para "How incredible is"
|
|
|
|
line "that?"
|
|
|
|
|
|
|
|
para "Well, wouldn't you"
|
|
|
|
line "like this EGG?"
|
|
|
|
|
|
|
|
para "Then fine, this is"
|
|
|
|
line "yours to keep!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x631a1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Come again."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x631ae:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "ODD EGG!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x631c3:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I found that when"
|
|
|
|
line "I was caring for"
|
|
|
|
|
|
|
|
para "someone's #MON"
|
|
|
|
line "before."
|
|
|
|
|
|
|
|
para "But the trainer"
|
|
|
|
line "didn't want the"
|
|
|
|
|
|
|
|
para "EGG, so I'd kept"
|
|
|
|
line "it around."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x63237:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You've no room for"
|
|
|
|
line "this."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
DayCare_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
|
|
|
warp_def $5, $0, 3, GROUP_ROUTE_34, MAP_ROUTE_34
|
|
|
|
warp_def $6, $0, 4, GROUP_ROUTE_34, MAP_ROUTE_34
|
|
|
|
warp_def $7, $2, 5, GROUP_ROUTE_34, MAP_ROUTE_34
|
|
|
|
warp_def $7, $3, 5, GROUP_ROUTE_34, MAP_ROUTE_34
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 1, 0, SIGNPOST_READ, DayCareBookshelf
|
|
|
|
signpost 1, 1, SIGNPOST_READ, DayCareBookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-07-19 01:58:31 -07:00
|
|
|
person_event SPRITE_GRAMPS, 7, 6, OW_LEFT | $1, $0, -1, -1, $0, 0, GrampsScript_0x62f8f, EVENT_DAYCARE_MAN_IN_DAYCARE
|
|
|
|
person_event SPRITE_GRANNY, 7, 9, OW_LEFT | $0, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, GrannyScript_0x62fc3, -1
|