2015-07-10 08:20:21 +00:00
|
|
|
UnionCaveB2F_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x5a319
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal FRIDAY, UnknownScript_0x5a31c
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x5a319:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $7
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x5a31c:
|
2013-02-17 06:54:07 +00:00
|
|
|
appear $7
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SurfScript_0x5a31f:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
cry LAPRAS
|
|
|
|
loadpokedata LAPRAS, 20
|
|
|
|
startbattle
|
|
|
|
disappear $7
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_UNION_CAVE_LAPRAS
|
2013-02-17 06:54:07 +00:00
|
|
|
returnafterbattle
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerCooltrainermNick:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_COOLTRAINERM_NICK
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db COOLTRAINERM, NICK
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw CooltrainermNickSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw CooltrainermNickBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw CooltrainermNickScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainermNickScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x5a3f0
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerCooltrainerfGwen:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_COOLTRAINERF_GWEN
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db COOLTRAINERF, GWEN
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw CooltrainerfGwenSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw CooltrainerfGwenBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw CooltrainerfGwenScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainerfGwenScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x5a488
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerCooltrainerfEmma:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_COOLTRAINERF_EMMA
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db COOLTRAINERF, EMMA
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw CooltrainerfEmmaSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw CooltrainerfEmmaBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw CooltrainerfEmmaScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
CooltrainerfEmmaScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x5a52b
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
ItemFragment_0x5a36a:
|
2013-02-17 06:54:07 +00:00
|
|
|
db ELIXER, 1
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
ItemFragment_0x5a36c:
|
2013-02-17 06:54:07 +00:00
|
|
|
db HYPER_POTION, 1
|
|
|
|
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x5a3f0:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x5a488:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x5a52b:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnionCaveB2F_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 1
|
|
|
|
warp_def $3, $5, 5, GROUP_UNION_CAVE_B1F, MAP_UNION_CAVE_B1F
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 6
|
2013-07-12 21:06:11 +00:00
|
|
|
person_event SPRITE_ROCKER, 23, 19, $6, $0, 255, 255, $82, 3, TrainerCooltrainermNick, $ffff
|
|
|
|
person_event SPRITE_COOLTRAINER_F, 17, 9, $a, $0, 255, 255, $82, 1, TrainerCooltrainerfGwen, $ffff
|
|
|
|
person_event SPRITE_COOLTRAINER_F, 34, 7, $7, $0, 255, 255, $82, 3, TrainerCooltrainerfEmma, $ffff
|
|
|
|
person_event SPRITE_POKE_BALL, 6, 20, $1, $0, 255, 255, $1, 0, ItemFragment_0x5a36a, $0660
|
|
|
|
person_event SPRITE_POKE_BALL, 23, 16, $1, $0, 255, 255, $1, 0, ItemFragment_0x5a36c, $0661
|
|
|
|
person_event SPRITE_SURF, 35, 15, $24, $11, 255, 255, $90, 0, SurfScript_0x5a31f, $0760
|