pokecrystal-board/maps/UnionCaveB2F.asm

159 lines
3.7 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const UNIONCAVEB2F_ROCKER
const UNIONCAVEB2F_COOLTRAINER_F1
const UNIONCAVEB2F_COOLTRAINER_F2
const UNIONCAVEB2F_POKE_BALL1
const UNIONCAVEB2F_POKE_BALL2
2016-04-07 03:13:59 -07:00
const UNIONCAVEB2F_LAPRAS
2015-11-26 21:22:14 -08:00
UnionCaveB2F_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .Lapras
.Lapras:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_UNION_CAVE_LAPRAS
2016-04-07 03:13:59 -07:00
iftrue .NoAppear
readvar VAR_WEEKDAY
2018-02-02 18:09:17 -08:00
ifequal FRIDAY, .Appear
.NoAppear:
2016-04-07 03:13:59 -07:00
disappear UNIONCAVEB2F_LAPRAS
return
.Appear:
2016-04-07 03:13:59 -07:00
appear UNIONCAVEB2F_LAPRAS
return
2016-04-07 03:13:59 -07:00
UnionCaveLapras:
faceplayer
cry LAPRAS
loadwildmon LAPRAS, 20
startbattle
2016-04-07 03:13:59 -07:00
disappear UNIONCAVEB2F_LAPRAS
2015-07-10 05:08:03 -07:00
setflag ENGINE_UNION_CAVE_LAPRAS
reloadmapafterbattle
end
2015-07-10 01:20:21 -07:00
TrainerCooltrainermNick:
trainer COOLTRAINERM, NICK, EVENT_BEAT_COOLTRAINERM_NICK, CooltrainermNickSeenText, CooltrainermNickBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext CooltrainermNickAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerCooltrainerfGwen:
trainer COOLTRAINERF, GWEN, EVENT_BEAT_COOLTRAINERF_GWEN, CooltrainerfGwenSeenText, CooltrainerfGwenBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext CooltrainerfGwenAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerCooltrainerfEmma:
trainer COOLTRAINERF, EMMA, EVENT_BEAT_COOLTRAINERF_EMMA, CooltrainerfEmmaSeenText, CooltrainerfEmmaBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2018-02-02 18:09:17 -08:00
endifjustbattled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext CooltrainerfEmmaAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-12-15 07:55:56 -08:00
UnionCaveB2FElixer:
itemball ELIXER
2015-12-15 07:55:56 -08:00
UnionCaveB2FHyperPotion:
itemball HYPER_POTION
2015-07-10 01:20:21 -07:00
CooltrainermNickSeenText:
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
2015-07-10 01:20:21 -07:00
CooltrainermNickBeatenText:
text "You've got"
line "dazzling style!"
done
2017-12-10 12:36:58 -08:00
CooltrainermNickAfterBattleText:
text "Your #MON style"
line "is stunning and"
cont "colorful, I admit."
para "You'll just keep"
line "getting better!"
done
2015-07-10 01:20:21 -07:00
CooltrainerfGwenSeenText:
text "I'm in training."
line "Care for a round?"
done
2015-07-10 01:20:21 -07:00
CooltrainerfGwenBeatenText:
text "Aww, no! You're"
line "too good for me."
done
2017-12-10 12:36:58 -08:00
CooltrainerfGwenAfterBattleText:
text "I'm going to train"
line "by myself until I"
cont "improve."
done
2015-07-10 01:20:21 -07:00
CooltrainerfEmmaSeenText:
text "If the #MON I"
line "liked were there,"
cont "I'd go anywhere."
para "That's what a real"
line "trainer does."
done
2015-07-10 01:20:21 -07:00
CooltrainerfEmmaBeatenText:
text "I'd rather pet my"
line "babies than this!"
done
2017-12-10 12:36:58 -08:00
CooltrainerfEmmaAfterBattleText:
text "Just once a week,"
line "a #MON comes to"
cont "the water's edge."
para "I wanted to see"
line "that #MON…"
done
UnionCaveB2F_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 5, 3, UNION_CAVE_B1F, 5
db 0 ; coord events
db 0 ; bg events
db 6 ; object events
object_event 15, 19, SPRITE_ROCKER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainermNick, -1
2018-02-01 19:22:07 -08: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
object_event 12, 19, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, UnionCaveB2FHyperPotion, EVENT_UNION_CAVE_B2F_HYPER_POTION
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