pokecrystal/maps/Route1.asm

102 lines
2.1 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const ROUTE1_YOUNGSTER
const ROUTE1_COOLTRAINER_F
const ROUTE1_FRUIT_TREE
2015-07-10 08:20:21 +00:00
Route1_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:20:21 +00:00
TrainerSchoolboyDanny:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SCHOOLBOY_DANNY, SCHOOLBOY, DANNY, SchoolboyDannySeenText, SchoolboyDannyBeatenText, 0, SchoolboyDannyScript
2015-07-10 08:20:21 +00:00
SchoolboyDannyScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1ac5d7
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerCooltrainerfQuinn:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_COOLTRAINERF_QUINN, COOLTRAINERF, QUINN, CooltrainerfQuinnSeenText, CooltrainerfQuinnBeatenText, 0, CooltrainerfQuinnScript
2015-07-10 08:20:21 +00:00
CooltrainerfQuinnScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1ac640
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
MapRoute1Signpost0Script:
jumptext UnknownText_0x1ac675
2015-07-10 08:20:21 +00:00
FruitTreeScript_0x1ac581:
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
2015-07-10 08:20:21 +00:00
UnknownText_0x1ac5d7:
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
2015-07-10 08:20:21 +00:00
UnknownText_0x1ac640:
text "You're strong."
para "You obviously must"
line "have trained hard."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1ac675:
text "ROUTE 1"
para "PALLET TOWN -"
line "VIRIDIAN CITY"
done
2015-07-10 08:20:21 +00:00
Route1_MapEventHeader:
; filler
db 0, 0
.Warps:
db 0
.XYTriggers:
db 0
.Signposts:
db 1
signpost 27, 7, SIGNPOST_READ, MapRoute1Signpost0Script
.PersonEvents:
db 3
person_event SPRITE_YOUNGSTER, 12, 4, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 4, TrainerSchoolboyDanny, -1
person_event SPRITE_COOLTRAINER_F, 25, 9, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 2, TrainerCooltrainerfQuinn, -1
person_event SPRITE_FRUIT_TREE, 7, 3, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FruitTreeScript_0x1ac581, -1