pokecrystal-board/maps/DayCare.asm

184 lines
3.1 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const DAYCARE_GRAMPS
const DAYCARE_GRANNY
2015-07-10 01:45:35 -07:00
DayCare_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
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
iftrue UnknownScript_0x62f88
clearevent EVENT_DAYCARE_MAN_IN_DAYCARE
setevent EVENT_DAYCARE_MAN_ON_ROUTE_34
return
2015-07-10 01:45:35 -07:00
UnknownScript_0x62f88:
setevent EVENT_DAYCARE_MAN_IN_DAYCARE
clearevent EVENT_DAYCARE_MAN_ON_ROUTE_34
return
2015-07-10 01:45:35 -07:00
GrampsScript_0x62f8f:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_ODD_EGG
iftrue UnknownScript_0x62fbd
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x630ce
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-25 07:16:29 -08:00
closetext
checkcode VAR_PARTYCOUNT
if_equal $6, UnknownScript_0x62fb6
special Function117656
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x631ae
playsound SFX_KEY_ITEM
2015-11-25 07:16:29 -08:00
waitsfx
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x631c3
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_ODD_EGG
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x62fb6:
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x63237
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x62fbd:
special Special_DayCareMan
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
GrannyScript_0x62fc3:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 05:08:03 -07:00
checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
iftrue UnknownScript_0x62fd1
special Special_DayCareLady
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x62fd1:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62fda
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
DayCareBookshelf:
jumpstd difficultbookshelf
2015-07-10 01:45:35 -07:00
UnknownText_0x62fda:
text "Gramps was looking"
line "for you."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62ff7:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x630ce:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x631a1:
text "Come again."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x631ae:
text "<PLAYER> received"
line "ODD EGG!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x631c3:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x63237:
text "You've no room for"
line "this."
done
2015-07-10 01:45:35 -07:00
DayCare_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $5, $0, 3, ROUTE_34
warp_def $6, $0, 4, ROUTE_34
warp_def $7, $2, 5, ROUTE_34
warp_def $7, $3, 5, ROUTE_34
.XYTriggers:
db 0
.Signposts:
db 2
signpost 1, 0, SIGNPOST_READ, DayCareBookshelf
signpost 1, 1, SIGNPOST_READ, DayCareBookshelf
.PersonEvents:
db 2
person_event SPRITE_GRAMPS, 3, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GrampsScript_0x62f8f, EVENT_DAYCARE_MAN_IN_DAYCARE
person_event SPRITE_GRANNY, 3, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, GrannyScript_0x62fc3, -1