pokecrystal/maps/Route15.asm

229 lines
5.0 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const ROUTE15_YOUNGSTER1
const ROUTE15_YOUNGSTER2
const ROUTE15_YOUNGSTER3
const ROUTE15_YOUNGSTER4
const ROUTE15_TEACHER1
const ROUTE15_TEACHER2
const ROUTE15_POKE_BALL
2015-07-10 08:20:21 +00:00
Route15_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:20:21 +00:00
TrainerTeacherColette:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_TEACHER_COLETTE, TEACHER, COLETTE, TeacherColetteSeenText, TeacherColetteBeatenText, 0, TeacherColetteScript
2015-07-10 08:20:21 +00:00
TeacherColetteScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext TeacherColetteAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerTeacherHillary:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_TEACHER_HILLARY, TEACHER, HILLARY, TeacherHillarySeenText, TeacherHillaryBeatenText, 0, TeacherHillaryScript
2015-07-10 08:20:21 +00:00
TeacherHillaryScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext TeacherHillaryAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSchoolboyKipp:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SCHOOLBOY_KIP, SCHOOLBOY, KIPP, SchoolboyKippSeenText, SchoolboyKippBeatenText, 0, SchoolboyKippScript
2015-07-10 08:20:21 +00:00
SchoolboyKippScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext SchoolboyKippAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSchoolboyTommy:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SCHOOLBOY_TOMMY, SCHOOLBOY, TOMMY, SchoolboyTommySeenText, SchoolboyTommyBeatenText, 0, SchoolboyTommyScript
2015-07-10 08:20:21 +00:00
SchoolboyTommyScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext SchoolboyTommyAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSchoolboyJohnny:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SCHOOLBOY_JOHNNY, SCHOOLBOY, JOHNNY, SchoolboyJohnnySeenText, SchoolboyJohnnyBeatenText, 0, SchoolboyJohnnyScript
2015-07-10 08:20:21 +00:00
SchoolboyJohnnyScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext SchoolboyJohnnyAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerSchoolboyBilly:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SCHOOLBOY_BILLY, SCHOOLBOY, BILLY, SchoolboyBillySeenText, SchoolboyBillyBeatenText, 0, SchoolboyBillyScript
2015-07-10 08:20:21 +00:00
SchoolboyBillyScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext SchoolboyBillyAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2016-04-07 04:59:45 +00:00
Route15Sign:
jumptext Route15SignText
2015-12-15 15:55:56 +00:00
Route15PPUp:
itemball PP_UP
2015-07-10 08:20:21 +00:00
TeacherColetteSeenText:
text "Have you forgotten"
line "anything?"
done
2015-07-10 08:20:21 +00:00
TeacherColetteBeatenText:
text "Kyaaah!"
done
2017-12-10 20:36:58 +00:00
TeacherColetteAfterBattleText:
text "Before I became a"
line "teacher, I used to"
para "forget a lot of"
line "things."
done
2015-07-10 08:20:21 +00:00
TeacherHillarySeenText:
text "On sunny days, I"
line "think that the"
para "kids would rather"
line "be playing in the"
para "schoolyard than"
line "studying in class."
done
2015-07-10 08:20:21 +00:00
TeacherHillaryBeatenText:
text "I didn't want to"
line "lose…"
done
2017-12-10 20:36:58 +00:00
TeacherHillaryAfterBattleText:
text "Studying is impor-"
line "tant, but exercise"
cont "is just as vital."
done
2015-07-10 08:20:21 +00:00
SchoolboyKippSeenText:
text "Hang on. I have to"
line "phone my mom."
done
2015-07-10 08:20:21 +00:00
SchoolboyKippBeatenText:
text "Sorry, Mom!"
line "I was beaten!"
done
2017-12-10 20:36:58 +00:00
SchoolboyKippAfterBattleText:
text "My mom worries so"
line "much about me, I"
para "have to phone her"
line "all the time."
done
2015-07-10 08:20:21 +00:00
SchoolboyTommySeenText:
text "Let's battle."
line "I won't lose!"
done
2015-07-10 08:20:21 +00:00
SchoolboyTommyBeatenText:
text "I forgot to do my"
line "homework!"
done
2017-12-10 20:36:58 +00:00
SchoolboyTommyAfterBattleText:
text "Sayonara! I just"
line "learned that in my"
cont "Japanese class."
done
2015-07-10 08:20:21 +00:00
SchoolboyJohnnySeenText:
text "We're on a field"
line "trip to LAVENDER"
para "RADIO TOWER for"
line "social studies."
done
2015-07-10 08:20:21 +00:00
SchoolboyJohnnyBeatenText:
text "You're wickedly"
line "tough!"
done
2017-12-10 20:36:58 +00:00
SchoolboyJohnnyAfterBattleText:
text "I'm tired of walk-"
line "ing. I need to"
cont "take a break."
done
2015-07-10 08:20:21 +00:00
SchoolboyBillySeenText:
text "My favorite class"
line "is gym!"
done
2015-07-10 08:20:21 +00:00
SchoolboyBillyBeatenText:
text "Oh, no!"
line "How could I lose?"
done
2017-12-10 20:36:58 +00:00
SchoolboyBillyAfterBattleText:
text "If #MON were a"
line "subject at school,"
cont "I'd be the best!"
done
2016-04-07 04:59:45 +00:00
Route15SignText:
text "ROUTE 15"
para "FUCHSIA CITY -"
line "LAVENDER TOWN"
done
2015-07-10 08:20:21 +00:00
Route15_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $4, $2, 3, ROUTE_15_FUCHSIA_GATE
warp_def $5, $2, 4, ROUTE_15_FUCHSIA_GATE
.XYTriggers:
db 0
.Signposts:
db 1
2016-04-07 04:59:45 +00:00
signpost 9, 19, SIGNPOST_READ, Route15Sign
.PersonEvents:
db 7
person_event SPRITE_YOUNGSTER, 10, 10, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 4, TrainerSchoolboyKipp, -1
person_event SPRITE_YOUNGSTER, 13, 15, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, TrainerSchoolboyTommy, -1
person_event SPRITE_YOUNGSTER, 10, 33, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, TrainerSchoolboyJohnny, -1
person_event SPRITE_YOUNGSTER, 10, 27, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, TrainerSchoolboyBilly, -1
person_event SPRITE_TEACHER, 12, 30, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 4, TrainerTeacherColette, -1
person_event SPRITE_TEACHER, 10, 20, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 3, TrainerTeacherHillary, -1
2015-12-15 15:55:56 +00:00
person_event SPRITE_POKE_BALL, 5, 12, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, Route15PPUp, EVENT_ROUTE_15_PP_UP