pokecrystal-board/maps/Route25.asm

566 lines
10 KiB
NASM
Raw Normal View History

2015-07-10 01:20:21 -07:00
Route25_MapScriptHeader:
; trigger count
db 2
; triggers
dw UnknownScript_0x19ee9e, $0000
dw UnknownScript_0x19ee9f, $0000
; callback count
db 0
2015-07-10 01:20:21 -07:00
UnknownScript_0x19ee9e:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19ee9f:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19eea0:
showemote $4, $2, 15
pause 30
showemote EMOTE_SHOCK, $3, 10
spriteface $2, DOWN
applymovement $3, MovementData_0x19efe8
disappear $3
pause 15
playmusic MUSIC_BEAUTY_ENCOUNTER
spriteface $2, UP
pause 10
applymovement $2, MovementData_0x19efed
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f006
closetext
loadmovesprites
spriteface $0, DOWN
applymovement $2, MovementData_0x19effa
spriteface $0, LEFT
applymovement $2, MovementData_0x19f000
disappear $2
2015-06-24 20:51:36 -07:00
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
dotrigger $0
special RestartMapMusic
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x19eee0:
showemote $4, $2, 15
pause 30
showemote EMOTE_SHOCK, $3, 10
spriteface $2, DOWN
applymovement $3, MovementData_0x19efea
disappear $3
pause 15
playmusic MUSIC_BEAUTY_ENCOUNTER
spriteface $2, UP
pause 10
applymovement $2, MovementData_0x19eff4
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f006
closetext
loadmovesprites
spriteface $0, UP
applymovement $2, MovementData_0x19effd
spriteface $0, LEFT
applymovement $2, MovementData_0x19f000
disappear $2
2015-06-24 20:51:36 -07:00
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
dotrigger $0
special RestartMapMusic
end
2015-07-10 01:20:21 -07:00
TrainerSchoolboyDudley:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SCHOOLBOY_DUDLEY
; trainer group && trainer id
db SCHOOLBOY, DUDLEY
; text when seen
dw SchoolboyDudleySeenText
; text when trainer beaten
dw SchoolboyDudleyBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyDudleyScript
2015-07-10 01:20:21 -07:00
SchoolboyDudleyScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f1b5
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerLassEllen:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_LASS_ELLEN
; trainer group && trainer id
db LASS, ELLEN
; text when seen
dw LassEllenSeenText
; text when trainer beaten
dw LassEllenBeatenText
; script when lost
dw $0000
; script when talk again
dw LassEllenScript
2015-07-10 01:20:21 -07:00
LassEllenScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f208
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSchoolboyJoe:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SCHOOLBOY_JOE
; trainer group && trainer id
db SCHOOLBOY, JOE
; text when seen
dw SchoolboyJoeSeenText
; text when trainer beaten
dw SchoolboyJoeBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyJoeScript
2015-07-10 01:20:21 -07:00
SchoolboyJoeScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f25c
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerLassLaura:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_LASS_LAURA
; trainer group && trainer id
db LASS, LAURA
; text when seen
dw LassLauraSeenText
; text when trainer beaten
dw LassLauraBeatenText
; script when lost
dw $0000
; script when talk again
dw LassLauraScript
2015-07-10 01:20:21 -07:00
LassLauraScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f2a6
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerCamperLloyd:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_CAMPER_LLOYD
; trainer group && trainer id
db CAMPER, LLOYD
; text when seen
dw CamperLloydSeenText
; text when trainer beaten
dw CamperLloydBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperLloydScript
2015-07-10 01:20:21 -07:00
CamperLloydScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f2f8
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerLassShannon:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_LASS_SHANNON
; trainer group && trainer id
db LASS, SHANNON
; text when seen
dw LassShannonSeenText
; text when trainer beaten
dw LassShannonBeatenText
; script when lost
dw $0000
; script when talk again
dw LassShannonScript
2015-07-10 01:20:21 -07:00
LassShannonScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f35b
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
TrainerSupernerdPat:
; bit/flag number
2015-07-10 01:20:21 -07:00
dw EVENT_BEAT_SUPER_NERD_PAT
; trainer group && trainer id
db SUPER_NERD, PAT
; text when seen
dw SupernerdPatSeenText
; text when trainer beaten
dw SupernerdPatBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdPatScript
2015-07-10 01:20:21 -07:00
SupernerdPatScript:
talkaftercancel
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f41a
closetext
loadmovesprites
end
2015-07-10 01:20:21 -07:00
CooltrainerMScript_0x19efac:
faceplayer
loadfont
2015-07-10 01:20:21 -07:00
checkevent EVENT_BEAT_COOLTRAINERM_KEVIN
iftrue UnknownScript_0x19efda
2013-09-24 00:48:58 -07:00
checkevent EVENT_CLEARED_NUGGET_BRIDGE
iftrue UnknownScript_0x19efc7
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f43b
keeptextopen
verbosegiveitem NUGGET, 1
iffalse UnknownScript_0x19efde
2013-09-24 00:48:58 -07:00
setevent EVENT_CLEARED_NUGGET_BRIDGE
2015-07-10 01:20:21 -07:00
UnknownScript_0x19efc7:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f49d
closetext
loadmovesprites
winlosstext UnknownText_0x19f4fd, $0000
loadtrainer COOLTRAINERM, KEVIN
startbattle
returnafterbattle
2015-07-10 01:20:21 -07:00
setevent EVENT_BEAT_COOLTRAINERM_KEVIN
loadfont
2015-07-10 01:20:21 -07:00
UnknownScript_0x19efda:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19f520
closetext
2015-07-10 01:20:21 -07:00
UnknownScript_0x19efde:
loadmovesprites
end
2015-07-10 01:20:21 -07:00
MapRoute25Signpost0Script:
jumptext UnknownText_0x19f567
2015-07-10 01:20:21 -07:00
ItemFragment_0x19efe3:
db PROTEIN, 1
2015-07-10 01:20:21 -07:00
MapRoute25SignpostItem1:
dw $00f8
db POTION
2015-07-10 01:20:21 -07:00
MovementData_0x19efe8:
big_step_down
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19efea:
big_step_down
big_step_down
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19efed:
step_up
step_up
step_up
step_left
step_left
step_left
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19eff4:
step_up
step_up
step_left
step_left
step_left
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19effa:
step_down
step_left
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19effd:
step_up
step_left
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x19f000:
step_left
step_left
step_left
step_left
step_left
step_end
2015-07-10 01:20:21 -07:00
UnknownText_0x19f006:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f1b5:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f208:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f25c:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f2a6:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f2f8:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f35b:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f41a:
text "I'm sorry… I won't"
line "cheat anymore…"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19f43b:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f49d:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x19f4fd:
text "I've never had a"
line "battle this good!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19f520:
text "That was a great"
line "battle!"
para "You and your #-"
line "MON are truly out-"
cont "standing!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19f567:
text "SEA COTTAGE"
line "BILL'S HOUSE"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x19f581:
text "BILL'S HOUSE"
done
2015-07-10 01:20:21 -07:00
Route25_MapEventHeader:
; filler
db 0, 0
; warps
db 1
warp_def $5, $2f, 1, GROUP_BILLS_HOUSE, MAP_BILLS_HOUSE
; xy triggers
db 2
xy_trigger 1, $6, $2a, $0, UnknownScript_0x19eea0, $0, $0
xy_trigger 1, $7, $2a, $0, UnknownScript_0x19eee0, $0, $0
; signposts
db 2
signpost 5, 45, SIGNPOST_READ, MapRoute25Signpost0Script
signpost 5, 4, SIGNPOST_ITEMIFSET, MapRoute25SignpostItem1
; people-events
db 11
person_event SPRITE_MISTY, 13, 50, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, ObjectEvent, EVENT_76E
person_event SPRITE_COOLTRAINER_M, 14, 50, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, ObjectEvent, EVENT_76E
person_event SPRITE_YOUNGSTER, 12, 16, UP << 2 | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerSchoolboyDudley, -1
person_event SPRITE_LASS, 15, 20, UP << 2 | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerLassEllen, -1
person_event SPRITE_YOUNGSTER, 12, 25, UP << 2 | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 1, TrainerSchoolboyJoe, -1
person_event SPRITE_LASS, 10, 26, LEFT << 2 | $1, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerLassLaura, -1
person_event SPRITE_YOUNGSTER, 8, 29, UP << 2 | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 2, TrainerCamperLloyd, -1
person_event SPRITE_LASS, 15, 32, UP << 2 | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 1, TrainerLassShannon, -1
person_event SPRITE_SUPER_NERD, 11, 35, UP << 2 | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 1, TrainerSupernerdPat, -1
person_event SPRITE_COOLTRAINER_M, 12, 41, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, CooltrainerMScript_0x19efac, -1
person_event SPRITE_POKE_BALL, 8, 36, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x19efe3, EVENT_78B