pokecrystal/maps/Route1.asm

95 lines
2.0 KiB
NASM
Raw Normal View History

2018-01-31 16:38:45 +00:00
const_def 2 ; object constants
2015-11-27 05:22:14 +00:00
const ROUTE1_YOUNGSTER
const ROUTE1_COOLTRAINER_F
const ROUTE1_FRUIT_TREE
Route1_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2015-07-10 08:20:21 +00:00
TrainerSchoolboyDanny:
trainer SCHOOLBOY, DANNY, EVENT_BEAT_SCHOOLBOY_DANNY, SchoolboyDannySeenText, SchoolboyDannyBeatenText, 0, .Script
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 SchoolboyDannyAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerCooltrainerfQuinn:
trainer COOLTRAINERF, QUINN, EVENT_BEAT_COOLTRAINERF_QUINN, CooltrainerfQuinnSeenText, CooltrainerfQuinnBeatenText, 0, .Script
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 CooltrainerfQuinnAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2016-04-07 04:59:45 +00:00
Route1Sign:
jumptext Route1SignText
2018-02-28 21:50:43 +00:00
Route1FruitTree:
2015-11-18 15:42:42 +00:00
fruittree FRUITTREE_ROUTE_1
2015-07-10 08:20:21 +00:00
SchoolboyDannySeenText:
text "If trainers meet,"
line "the first thing to"
cont "do is battle."
done
2015-07-10 08:20:21 +00:00
SchoolboyDannyBeatenText:
text "Awww… I've got a"
line "losing record…"
done
2017-12-10 20:36:58 +00:00
SchoolboyDannyAfterBattleText:
text "For trainers, it's"
line "a given that we'll"
para "battle whenever we"
line "meet."
done
2015-07-10 08:20:21 +00:00
CooltrainerfQuinnSeenText:
text "You there!"
line "Want to battle?"
done
2015-07-10 08:20:21 +00:00
CooltrainerfQuinnBeatenText:
text "Down and out…"
done
2017-12-10 20:36:58 +00:00
CooltrainerfQuinnAfterBattleText:
text "You're strong."
para "You obviously must"
line "have trained hard."
done
2016-04-07 04:59:45 +00:00
Route1SignText:
text "ROUTE 1"
para "PALLET TOWN -"
line "VIRIDIAN CITY"
done
Route1_MapEvents:
db 0, 0 ; filler
db 0 ; warp events
db 0 ; coord events
db 1 ; bg events
2018-02-02 03:22:07 +00:00
bg_event 7, 27, BGEVENT_READ, Route1Sign
db 3 ; object events
2018-02-02 03:22:07 +00:00
object_event 4, 12, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerSchoolboyDanny, -1
object_event 9, 25, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerCooltrainerfQuinn, -1
2018-02-28 21:50:43 +00:00
object_event 3, 7, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route1FruitTree, -1