2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2015-11-27 05:22:14 +00:00
|
|
|
const UNIONCAVEB2F_ROCKER
|
|
|
|
const UNIONCAVEB2F_COOLTRAINER_F1
|
|
|
|
const UNIONCAVEB2F_COOLTRAINER_F2
|
|
|
|
const UNIONCAVEB2F_POKE_BALL1
|
|
|
|
const UNIONCAVEB2F_POKE_BALL2
|
2016-04-07 10:13:59 +00:00
|
|
|
const UNIONCAVEB2F_LAPRAS
|
2015-11-27 05:22:14 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
UnionCaveB2F_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_OBJECTS, .Lapras
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Lapras:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_UNION_CAVE_LAPRAS
|
2016-04-07 10:13:59 +00:00
|
|
|
iftrue .NoAppear
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_WEEKDAY
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal FRIDAY, .Appear
|
2016-04-10 18:42:14 +00:00
|
|
|
.NoAppear:
|
2016-04-07 10:13:59 +00:00
|
|
|
disappear UNIONCAVEB2F_LAPRAS
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Appear:
|
2016-04-07 10:13:59 +00:00
|
|
|
appear UNIONCAVEB2F_LAPRAS
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 10:13:59 +00:00
|
|
|
UnionCaveLapras:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
cry LAPRAS
|
2015-12-02 02:54:11 +00:00
|
|
|
loadwildmon LAPRAS, 20
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2016-04-07 10:13:59 +00:00
|
|
|
disappear UNIONCAVEB2F_LAPRAS
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_UNION_CAVE_LAPRAS
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerCooltrainermNick:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer COOLTRAINERM, NICK, EVENT_BEAT_COOLTRAINERM_NICK, CooltrainermNickSeenText, CooltrainermNickBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext CooltrainermNickAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerCooltrainerfGwen:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer COOLTRAINERF, GWEN, EVENT_BEAT_COOLTRAINERF_GWEN, CooltrainerfGwenSeenText, CooltrainerfGwenBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext CooltrainerfGwenAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerCooltrainerfEmma:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer COOLTRAINERF, EMMA, EVENT_BEAT_COOLTRAINERF_EMMA, CooltrainerfEmmaSeenText, CooltrainerfEmmaBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext CooltrainerfEmmaAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
UnionCaveB2FElixer:
|
|
|
|
itemball ELIXER
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
UnionCaveB2FHyperPotion:
|
|
|
|
itemball HYPER_POTION
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainermNickSeenText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainermNickBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You've got"
|
|
|
|
line "dazzling style!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
CooltrainermNickAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Your #MON style"
|
|
|
|
line "is stunning and"
|
|
|
|
cont "colorful, I admit."
|
|
|
|
|
|
|
|
para "You'll just keep"
|
|
|
|
line "getting better!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainerfGwenSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm in training."
|
|
|
|
line "Care for a round?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainerfGwenBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Aww, no! You're"
|
|
|
|
line "too good for me."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
CooltrainerfGwenAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm going to train"
|
|
|
|
line "by myself until I"
|
|
|
|
cont "improve."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainerfEmmaSeenText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainerfEmmaBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'd rather pet my"
|
|
|
|
line "babies than this!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
CooltrainerfEmmaAfterBattleText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
UnionCaveB2F_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_warp_events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 5, 3, UNION_CAVE_B1F, 5
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 15, 19, SPRITE_ROCKER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainermNick, -1
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 5, 13, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainerfGwen, -1
|
|
|
|
object_event 3, 30, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainerfEmma, -1
|
|
|
|
object_event 16, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, UnionCaveB2FElixer, EVENT_UNION_CAVE_B2F_ELIXER
|
2018-01-31 03:12:53 +00:00
|
|
|
object_event 12, 19, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, UnionCaveB2FHyperPotion, EVENT_UNION_CAVE_B2F_HYPER_POTION
|
2018-01-31 03:42:41 +00:00
|
|
|
object_event 11, 31, SPRITE_SURF, SPRITEMOVEDATA_SWIM_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, UnionCaveLapras, EVENT_UNION_CAVE_B2F_LAPRAS
|