2015-07-10 01:20:21 -07:00
|
|
|
UnionCaveB2F_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_0x5a30d
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5a30d:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_UNION_CAVE_LAPRAS
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x5a319
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-16 22:54:07 -08:00
|
|
|
if_equal FRIDAY, UnknownScript_0x5a31c
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5a319:
|
2013-02-16 22:54:07 -08:00
|
|
|
disappear $7
|
|
|
|
return
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownScript_0x5a31c:
|
2013-02-16 22:54:07 -08:00
|
|
|
appear $7
|
|
|
|
return
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SurfScript_0x5a31f:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
cry LAPRAS
|
2015-11-25 07:16:29 -08:00
|
|
|
scriptedpokedata LAPRAS, 20
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
|
|
|
disappear $7
|
2015-07-10 05:08:03 -07:00
|
|
|
setflag ENGINE_UNION_CAVE_LAPRAS
|
2013-02-16 22:54:07 -08:00
|
|
|
returnafterbattle
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerCooltrainermNick:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_COOLTRAINERM_NICK, COOLTRAINERM, NICK, CooltrainermNickSeenText, CooltrainermNickBeatenText, 0, CooltrainermNickScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainermNickScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x5a3f0
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerCooltrainerfGwen:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_COOLTRAINERF_GWEN, COOLTRAINERF, GWEN, CooltrainerfGwenSeenText, CooltrainerfGwenBeatenText, 0, CooltrainerfGwenScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainerfGwenScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x5a488
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerCooltrainerfEmma:
|
2015-11-02 11:37:02 -08:00
|
|
|
trainer EVENT_BEAT_COOLTRAINERF_EMMA, COOLTRAINERF, EMMA, CooltrainerfEmmaSeenText, CooltrainerfEmmaBeatenText, 0, CooltrainerfEmmaScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainerfEmmaScript:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x5a52b
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
ItemFragment_0x5a36a:
|
2013-02-16 22:54:07 -08:00
|
|
|
db ELIXER, 1
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
ItemFragment_0x5a36c:
|
2013-02-16 22:54:07 -08:00
|
|
|
db HYPER_POTION, 1
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainermNickSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There are two"
|
|
|
|
line "kinds of people."
|
|
|
|
|
|
|
|
para "Those who have"
|
|
|
|
line "style, and those"
|
|
|
|
cont "who don't."
|
|
|
|
|
|
|
|
para "What kind of"
|
|
|
|
line "person are you?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainermNickBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You've got"
|
|
|
|
line "dazzling style!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x5a3f0:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Your #MON style"
|
|
|
|
line "is stunning and"
|
|
|
|
cont "colorful, I admit."
|
|
|
|
|
|
|
|
para "You'll just keep"
|
|
|
|
line "getting better!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainerfGwenSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm in training."
|
|
|
|
line "Care for a round?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainerfGwenBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Aww, no! You're"
|
|
|
|
line "too good for me."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x5a488:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm going to train"
|
|
|
|
line "by myself until I"
|
|
|
|
cont "improve."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainerfEmmaSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "If the #MON I"
|
|
|
|
line "liked were there,"
|
|
|
|
cont "I'd go anywhere."
|
|
|
|
|
|
|
|
para "That's what a real"
|
|
|
|
line "trainer does."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
CooltrainerfEmmaBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'd rather pet my"
|
|
|
|
line "babies than this!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnknownText_0x5a52b:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Just once a week,"
|
|
|
|
line "a #MON comes to"
|
|
|
|
cont "the water's edge."
|
|
|
|
|
|
|
|
para "I wanted to see"
|
|
|
|
line "that #MON…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
UnionCaveB2F_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 1
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $3, $5, 5, UNION_CAVE_B1F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
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 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 6
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_ROCKER, 19, 15, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 3, TrainerCooltrainermNick, -1
|
|
|
|
person_event SPRITE_COOLTRAINER_F, 13, 5, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 1, TrainerCooltrainerfGwen, -1
|
|
|
|
person_event SPRITE_COOLTRAINER_F, 30, 3, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 3, TrainerCooltrainerfEmma, -1
|
|
|
|
person_event SPRITE_POKE_BALL, 2, 16, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x5a36a, EVENT_UNION_CAVE_B2F_ELIXER
|
|
|
|
person_event SPRITE_POKE_BALL, 19, 12, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x5a36c, EVENT_UNION_CAVE_B2F_HYPER_POTION
|
|
|
|
person_event SPRITE_SURF, 31, 11, SPRITEMOVEDATA_LAPRAS, 1, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, SurfScript_0x5a31f, EVENT_UNION_CAVE_B2F_LAPRAS
|