pokecrystal-board/maps/Route25.asm

456 lines
9.6 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const ROUTE25_MISTY
const ROUTE25_COOLTRAINER_M1
const ROUTE25_YOUNGSTER1
const ROUTE25_LASS1
const ROUTE25_YOUNGSTER2
const ROUTE25_LASS2
const ROUTE25_YOUNGSTER3
const ROUTE25_LASS3
const ROUTE25_SUPER_NERD
const ROUTE25_COOLTRAINER_M2
const ROUTE25_POKE_BALL
Route25_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0
scene_script .DummyScene1
db 0 ; callbacks
.DummyScene0:
end
.DummyScene1:
end
2018-01-16 10:35:33 -08:00
Route25MistyDate1Script:
2015-11-26 21:22:14 -08:00
showemote EMOTE_HEART, ROUTE25_MISTY, 15
pause 30
2015-11-26 21:22:14 -08:00
showemote EMOTE_SHOCK, ROUTE25_COOLTRAINER_M1, 10
spriteface ROUTE25_MISTY, DOWN
applymovement ROUTE25_COOLTRAINER_M1, MovementData_0x19efe8
disappear ROUTE25_COOLTRAINER_M1
pause 15
playmusic MUSIC_BEAUTY_ENCOUNTER
2015-11-26 21:22:14 -08:00
spriteface ROUTE25_MISTY, UP
pause 10
2015-11-26 21:22:14 -08:00
applymovement ROUTE25_MISTY, MovementData_0x19efed
2015-12-09 15:25:44 -08:00
opentext
2018-01-16 10:35:33 -08:00
writetext Route25MistyDateText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
spriteface PLAYER, DOWN
2015-11-26 21:22:14 -08:00
applymovement ROUTE25_MISTY, MovementData_0x19effa
spriteface PLAYER, LEFT
2015-11-26 21:22:14 -08:00
applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY
2015-06-24 20:51:36 -07:00
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
setscene 0
special RestartMapMusic
end
2018-01-16 10:35:33 -08:00
Route25MistyDate2Script:
2015-11-26 21:22:14 -08:00
showemote EMOTE_HEART, ROUTE25_MISTY, 15
pause 30
2015-11-26 21:22:14 -08:00
showemote EMOTE_SHOCK, ROUTE25_COOLTRAINER_M1, 10
spriteface ROUTE25_MISTY, DOWN
applymovement ROUTE25_COOLTRAINER_M1, MovementData_0x19efea
disappear ROUTE25_COOLTRAINER_M1
pause 15
playmusic MUSIC_BEAUTY_ENCOUNTER
2015-11-26 21:22:14 -08:00
spriteface ROUTE25_MISTY, UP
pause 10
2015-11-26 21:22:14 -08:00
applymovement ROUTE25_MISTY, MovementData_0x19eff4
2015-12-09 15:25:44 -08:00
opentext
2018-01-16 10:35:33 -08:00
writetext Route25MistyDateText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
spriteface PLAYER, UP
2015-11-26 21:22:14 -08:00
applymovement ROUTE25_MISTY, MovementData_0x19effd
spriteface PLAYER, LEFT
2015-11-26 21:22:14 -08:00
applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY
2015-06-24 20:51:36 -07:00
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
setscene 0
special RestartMapMusic
end
2015-07-10 01:20:21 -07:00
TrainerSchoolboyDudley:
trainer SCHOOLBOY, DUDLEY, EVENT_BEAT_SCHOOLBOY_DUDLEY, SchoolboyDudleySeenText, SchoolboyDudleyBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SchoolboyDudleyAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerLassEllen:
trainer LASS, ELLEN, EVENT_BEAT_LASS_ELLEN, LassEllenSeenText, LassEllenBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext LassEllenAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSchoolboyJoe:
trainer SCHOOLBOY, JOE, EVENT_BEAT_SCHOOLBOY_JOE, SchoolboyJoeSeenText, SchoolboyJoeBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SchoolboyJoeAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerLassLaura:
trainer LASS, LAURA, EVENT_BEAT_LASS_LAURA, LassLauraSeenText, LassLauraBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext LassLauraAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerCamperLloyd:
trainer CAMPER, LLOYD, EVENT_BEAT_CAMPER_LLOYD, CamperLloydSeenText, CamperLloydBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext CamperLloydAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerLassShannon:
trainer LASS, SHANNON, EVENT_BEAT_LASS_SHANNON, LassShannonSeenText, LassShannonBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext LassShannonAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerSupernerdPat:
trainer SUPER_NERD, PAT, EVENT_BEAT_SUPER_NERD_PAT, SupernerdPatSeenText, SupernerdPatBeatenText, 0, .Script
2017-12-17 17:45:04 -08:00
.Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext SupernerdPatAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-01-16 10:35:33 -08:00
TrainerCooltrainermKevin:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 01:20:21 -07:00
checkevent EVENT_BEAT_COOLTRAINERM_KEVIN
2018-01-16 10:35:33 -08:00
iftrue .AfterBattle
2013-09-24 00:48:58 -07:00
checkevent EVENT_CLEARED_NUGGET_BRIDGE
2018-01-16 10:35:33 -08:00
iftrue .AfterNuggetBridge
writetext CooltrainermKevinNuggetText
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem NUGGET
2018-01-16 10:35:33 -08:00
iffalse .NoRoomForNugget
2013-09-24 00:48:58 -07:00
setevent EVENT_CLEARED_NUGGET_BRIDGE
2018-01-16 10:35:33 -08:00
.AfterNuggetBridge:
writetext CooltrainermKevinSeenText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2018-01-16 10:35:33 -08:00
winlosstext CooltrainermKevinBeatenText, 0
loadtrainer COOLTRAINERM, KEVIN
startbattle
reloadmapafterbattle
2015-07-10 01:20:21 -07:00
setevent EVENT_BEAT_COOLTRAINERM_KEVIN
2015-12-09 15:25:44 -08:00
opentext
2018-01-16 10:35:33 -08:00
.AfterBattle:
writetext CooltrainermKevinAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
2018-01-16 10:35:33 -08:00
.NoRoomForNugget:
2015-11-25 07:16:29 -08:00
closetext
end
2016-04-06 21:59:45 -07:00
BillsHouseSign:
jumptext BillsHouseSignText
2015-12-15 07:55:56 -08:00
Route25Protein:
itemball PROTEIN
Route25HiddenPotion:
hiddenitem POTION, EVENT_ROUTE_25_HIDDEN_POTION
2015-07-10 01:20:21 -07:00
MovementData_0x19efe8:
2016-05-14 10:46:14 -07:00
big_step DOWN
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19efea:
2016-05-14 10:46:14 -07:00
big_step DOWN
big_step DOWN
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19efed:
2016-05-14 10:46:14 -07:00
step UP
step UP
step UP
step LEFT
step LEFT
step LEFT
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19eff4:
2016-05-14 10:46:14 -07:00
step UP
step UP
step LEFT
step LEFT
step LEFT
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19effa:
2016-05-14 10:46:14 -07:00
step DOWN
step LEFT
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19effd:
2016-05-14 10:46:14 -07:00
step UP
step LEFT
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19f000:
2016-05-14 10:46:14 -07:00
step LEFT
step LEFT
step LEFT
step LEFT
step LEFT
step_end
2018-01-16 10:35:33 -08:00
Route25MistyDateText:
text "MISTY: Aww! Why"
line "did you have to"
para "show up and bug us"
line "now?"
para "Do you know what"
line "they call people"
cont "like you?"
para "Pests! You heard"
line "me right, pest!"
para "…"
para "…Oh? Those BADGES"
line "you have… Are they"
cont "JOHTO GYM BADGES?"
para "If you have eight,"
line "you must be good."
para "OK, then. Come to"
line "CERULEAN GYM."
para "I'll be happy to"
line "take you on."
para "I'm MISTY, the"
line "GYM LEADER in"
cont "CERULEAN."
done
2015-07-10 01:20:21 -07:00
SchoolboyDudleySeenText:
text "Beat the six of us"
line "trainers to win a"
cont "fabulous prize!"
para "Think you've got"
line "what it takes?"
done
2015-07-10 01:20:21 -07:00
SchoolboyDudleyBeatenText:
text "Whoo! Good stuff."
done
2017-12-10 12:36:58 -08:00
SchoolboyDudleyAfterBattleText:
text "I did my best."
line "I have no regrets."
done
2015-07-10 01:20:21 -07:00
LassEllenSeenText:
text "I'm second."
line "Now it's serious!"
done
2015-07-10 01:20:21 -07:00
LassEllenBeatenText:
text "How could I lose?"
done
2017-12-10 12:36:58 -08:00
LassEllenAfterBattleText:
text "I did my best."
line "I have no regrets."
done
2015-07-10 01:20:21 -07:00
SchoolboyJoeSeenText:
text "Here's No. 3!"
line "I won't be easy."
done
2015-07-10 01:20:21 -07:00
SchoolboyJoeBeatenText:
text "Ow! Stomped flat!"
done
2017-12-10 12:36:58 -08:00
SchoolboyJoeAfterBattleText:
text "I did my best."
line "I have no regrets."
done
2015-07-10 01:20:21 -07:00
LassLauraSeenText:
text "I'm No. 4!"
line "Getting tired?"
done
2015-07-10 01:20:21 -07:00
LassLauraBeatenText:
text "I lost too…"
done
2017-12-10 12:36:58 -08:00
LassLauraAfterBattleText:
text "I did my best."
line "I have no regrets."
done
2015-07-10 01:20:21 -07:00
CamperLloydSeenText:
text "OK! I'm No. 5."
line "I'll stomp you!"
done
2015-07-10 01:20:21 -07:00
CamperLloydBeatenText:
text "Whoa! Too much."
done
2017-12-10 12:36:58 -08:00
CamperLloydAfterBattleText:
text "I did my best."
line "I have no regrets."
done
2015-07-10 01:20:21 -07:00
LassShannonSeenText:
text "I'm the last in"
line "line, but I tell"
cont "you, I'm tough!"
done
2015-07-10 01:20:21 -07:00
LassShannonBeatenText:
text "You're kidding."
done
2017-12-10 12:36:58 -08:00
LassShannonAfterBattleText:
text "I did my best."
line "I have no regrets."
done
2015-07-10 01:20:21 -07:00
SupernerdPatSeenText:
text "Mufufufu…"
para "I have nothing to"
line "do with the six-"
cont "pack trainers."
para "I waited here to"
line "beat you when you"
para "were tired out by"
line "all the battles."
done
2015-07-10 01:20:21 -07:00
SupernerdPatBeatenText:
text "Aren't you tired"
line "at all?"
done
2017-12-10 12:36:58 -08:00
SupernerdPatAfterBattleText:
text "I'm sorry… I won't"
line "cheat anymore…"
done
2018-01-16 10:35:33 -08:00
CooltrainermKevinNuggetText:
text "You took on one"
line "more battle than"
para "you expected, but"
line "you won anyway."
para "As promised, you"
line "win a prize."
done
2018-01-16 10:35:33 -08:00
CooltrainermKevinSeenText:
text "But after seeing"
line "how you battle, I"
para "want to see how"
line "I'll fare."
para "How about it? Let"
line "me take you on."
done
2018-01-16 10:35:33 -08:00
CooltrainermKevinBeatenText:
text "I've never had a"
line "battle this good!"
done
2018-01-16 10:35:33 -08:00
CooltrainermKevinAfterBattleText:
text "That was a great"
line "battle!"
para "You and your #-"
line "MON are truly out-"
cont "standing!"
done
2016-04-06 21:59:45 -07:00
BillsHouseSignText:
text "SEA COTTAGE"
line "BILL'S HOUSE"
done
2016-04-06 21:59:45 -07:00
; unused
text "BILL'S HOUSE"
done
Route25_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
warp_event 47, 5, 1, BILLS_HOUSE
db 2 ; coord events
2018-01-16 10:35:33 -08:00
coord_event 42, 6, 1, Route25MistyDate1Script
coord_event 42, 7, 1, Route25MistyDate2Script
db 2 ; bg events
bg_event 45, 5, BGEVENT_READ, BillsHouseSign
bg_event 4, 5, BGEVENT_ITEM, Route25HiddenPotion
db 11 ; object events
object_event 46, 9, SPRITE_MISTY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_ROUTE_25_MISTY_BOYFRIEND
object_event 46, 10, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_ROUTE_25_MISTY_BOYFRIEND
object_event 12, 8, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSchoolboyDudley, -1
object_event 16, 11, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerLassEllen, -1
object_event 21, 8, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerSchoolboyJoe, -1
object_event 22, 6, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerLassLaura, -1
object_event 25, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerCamperLloyd, -1
object_event 28, 11, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerLassShannon, -1
object_event 31, 7, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 1, TrainerSupernerdPat, -1
2018-01-16 10:35:33 -08:00
object_event 37, 8, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, TrainerCooltrainermKevin, -1
object_event 32, 4, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, Route25Protein, EVENT_ROUTE_25_PROTEIN