pokecrystal/maps/UnionCaveB2F.asm

161 lines
3.3 KiB
NASM
Raw Normal View History

2015-07-10 08:20:21 +00:00
UnionCaveB2F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
dbw 2, UnknownScript_0x5a30d
2015-07-10 08:20:21 +00:00
UnknownScript_0x5a30d:
2015-07-10 12:08:03 +00:00
checkflag ENGINE_UNION_CAVE_LAPRAS
iftrue UnknownScript_0x5a319
checkcode VAR_WEEKDAY
if_equal FRIDAY, UnknownScript_0x5a31c
2015-07-10 08:20:21 +00:00
UnknownScript_0x5a319:
disappear $7
return
2015-07-10 08:20:21 +00:00
UnknownScript_0x5a31c:
appear $7
return
2015-07-10 08:20:21 +00:00
SurfScript_0x5a31f:
faceplayer
cry LAPRAS
loadpokedata LAPRAS, 20
startbattle
disappear $7
2015-07-10 12:08:03 +00:00
setflag ENGINE_UNION_CAVE_LAPRAS
returnafterbattle
end
2015-07-10 08:20:21 +00:00
TrainerCooltrainermNick:
trainer EVENT_BEAT_COOLTRAINERM_NICK, COOLTRAINERM, NICK, CooltrainermNickSeenText, CooltrainermNickBeatenText, $0000, CooltrainermNickScript
2015-07-10 08:20:21 +00:00
CooltrainermNickScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5a3f0
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerCooltrainerfGwen:
trainer EVENT_BEAT_COOLTRAINERF_GWEN, COOLTRAINERF, GWEN, CooltrainerfGwenSeenText, CooltrainerfGwenBeatenText, $0000, CooltrainerfGwenScript
2015-07-10 08:20:21 +00:00
CooltrainerfGwenScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5a488
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerCooltrainerfEmma:
trainer EVENT_BEAT_COOLTRAINERF_EMMA, COOLTRAINERF, EMMA, CooltrainerfEmmaSeenText, CooltrainerfEmmaBeatenText, $0000, CooltrainerfEmmaScript
2015-07-10 08:20:21 +00:00
CooltrainerfEmmaScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5a52b
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
ItemFragment_0x5a36a:
db ELIXER, 1
2015-07-10 08:20:21 +00:00
ItemFragment_0x5a36c:
db HYPER_POTION, 1
2015-07-10 08:20:21 +00: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 08:20:21 +00:00
CooltrainermNickBeatenText:
text "You've got"
line "dazzling style!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5a3f0:
text "Your #MON style"
line "is stunning and"
cont "colorful, I admit."
para "You'll just keep"
line "getting better!"
done
2015-07-10 08:20:21 +00:00
CooltrainerfGwenSeenText:
text "I'm in training."
line "Care for a round?"
done
2015-07-10 08:20:21 +00:00
CooltrainerfGwenBeatenText:
text "Aww, no! You're"
line "too good for me."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5a488:
text "I'm going to train"
line "by myself until I"
cont "improve."
done
2015-07-10 08:20:21 +00: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 08:20:21 +00:00
CooltrainerfEmmaBeatenText:
text "I'd rather pet my"
line "babies than this!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5a52b:
text "Just once a week,"
line "a #MON comes to"
cont "the water's edge."
para "I wanted to see"
line "that #MON…"
done
2015-07-10 08:20:21 +00:00
UnionCaveB2F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $3, $5, 5, UNION_CAVE_B1F
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 6
person_event SPRITE_ROCKER, 23, 19, $6, 0, 0, -1, -1, 8 + PAL_OW_RED, 2, 3, TrainerCooltrainermNick, -1
person_event SPRITE_COOLTRAINER_F, 17, 9, $a, 0, 0, -1, -1, 8 + PAL_OW_RED, 2, 1, TrainerCooltrainerfGwen, -1
person_event SPRITE_COOLTRAINER_F, 34, 7, $7, 0, 0, -1, -1, 8 + PAL_OW_RED, 2, 3, TrainerCooltrainerfEmma, -1
person_event SPRITE_POKE_BALL, 6, 20, $1, 0, 0, -1, -1, 0, 1, 0, ItemFragment_0x5a36a, EVENT_UNION_CAVE_B2F_ELIXER
person_event SPRITE_POKE_BALL, 23, 16, $1, 0, 0, -1, -1, 0, 1, 0, ItemFragment_0x5a36c, EVENT_UNION_CAVE_B2F_HYPER_POTION
person_event SPRITE_SURF, 35, 15, $24, 1, 1, -1, -1, 8 + PAL_OW_BLUE, 0, 0, SurfScript_0x5a31f, EVENT_UNION_CAVE_B2F_LAPRAS