pokecrystal/maps/Route40.asm

359 lines
7.0 KiB
NASM
Raw Normal View History

2015-07-10 08:20:21 +00:00
Route40_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
2014-10-27 01:37:15 +00:00
dbw 2, MonicaCallback
2014-10-27 01:37:15 +00:00
MonicaCallback:
clearevent EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
checkcode VAR_WEEKDAY
2014-10-27 01:37:15 +00:00
if_equal MONDAY, .MonicaAppears
disappear $a
return
2014-10-27 01:37:15 +00:00
.MonicaAppears
appear $a
return
2015-07-10 08:20:21 +00:00
TrainerSwimmerfElaine:
trainer EVENT_BEAT_SWIMMERF_ELAINE, SWIMMERF, ELAINE, SwimmerfElaineSeenText, SwimmerfElaineBeatenText, $0000, SwimmerfElaineScript
2015-07-10 08:20:21 +00:00
SwimmerfElaineScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a637b
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerSwimmerfPaula:
trainer EVENT_BEAT_SWIMMERF_PAULA, SWIMMERF, PAULA, SwimmerfPaulaSeenText, SwimmerfPaulaBeatenText, $0000, SwimmerfPaulaScript
2015-07-10 08:20:21 +00:00
SwimmerfPaulaScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a63f5
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerSwimmermSimon:
trainer EVENT_BEAT_SWIMMERM_SIMON, SWIMMERM, SIMON, SwimmermSimonSeenText, SwimmermSimonBeatenText, $0000, SwimmermSimonScript
2015-07-10 08:20:21 +00:00
SwimmermSimonScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a6282
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
TrainerSwimmermRandall:
trainer EVENT_BEAT_SWIMMERM_RANDALL, SWIMMERM, RANDALL, SwimmermRandallSeenText, SwimmermRandallBeatenText, $0000, SwimmermRandallScript
2015-07-10 08:20:21 +00:00
SwimmermRandallScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a62fa
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
LassScript_0x1a61c4:
jumptextfaceplayer UnknownText_0x1a6429
2015-07-10 08:20:21 +00:00
PokefanMScript_0x1a61c7:
special Function10630f
iftrue UnknownScript_0x1a61d0
jumptextfaceplayer UnknownText_0x1a646a
2015-07-10 08:20:21 +00:00
UnknownScript_0x1a61d0:
jumptextfaceplayer UnknownText_0x1a649b
2015-07-10 08:20:21 +00:00
LassScript_0x1a61d3:
jumptextfaceplayer UnknownText_0x1a64e6
2015-07-10 08:20:21 +00:00
StandingYoungsterScript_0x1a61d6:
jumptextfaceplayer UnknownText_0x1a6564
2014-10-27 01:37:15 +00:00
MonicaScript:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_SHARP_BEAK_FROM_MONICA
2014-10-27 01:37:15 +00:00
iftrue MonicaMondayScript
checkcode VAR_WEEKDAY
2014-10-27 01:37:15 +00:00
if_not_equal MONDAY, MonicaNotMondayScript
2013-09-24 07:48:58 +00:00
checkevent EVENT_MET_MONICA_OF_MONDAY
2014-10-27 01:37:15 +00:00
iftrue .MetMonica
2015-01-20 08:01:23 +00:00
writetext MeetMonicaText
keeptextopen
2013-09-24 07:48:58 +00:00
setevent EVENT_MET_MONICA_OF_MONDAY
2014-10-27 01:37:15 +00:00
.MetMonica
2015-01-20 08:01:23 +00:00
writetext MonicaGivesGiftText
keeptextopen
verbosegiveitem SHARP_BEAK, 1
2014-10-27 01:37:15 +00:00
iffalse MonicaDoneScript
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_SHARP_BEAK_FROM_MONICA
2015-01-20 08:01:23 +00:00
writetext MonicaGaveGiftText
closetext
loadmovesprites
end
2014-10-27 01:37:15 +00:00
MonicaMondayScript:
2015-01-20 08:01:23 +00:00
writetext MonicaMondayText
closetext
2014-10-27 01:37:15 +00:00
MonicaDoneScript:
loadmovesprites
end
2014-10-27 01:37:15 +00:00
MonicaNotMondayScript:
2015-01-20 08:01:23 +00:00
writetext MonicaNotMondayText
closetext
loadmovesprites
end
2015-07-10 08:20:21 +00:00
MapRoute40Signpost0Script:
jumptext UnknownText_0x1a6767
2015-07-10 08:20:21 +00:00
Route40Rock:
2015-06-23 21:02:58 +00:00
jumpstd smashrock
2015-07-10 08:20:21 +00:00
MapRoute40SignpostItem1:
dwb EVENT_ROUTE_40_HIDDEN_HYPER_POTION, HYPER_POTION
2015-07-10 08:20:21 +00:00
MovementData_0x1a621c:
step_right
step_up
step_up
step_up
step_up
step_up
step_up
step_end
2015-07-10 08:20:21 +00:00
MovementData_0x1a6224:
step_up
step_up
step_up
step_up
step_up
step_end
2015-07-10 08:20:21 +00:00
MovementData_0x1a622a:
step_up
step_up
step_up
step_up
step_end
2015-07-10 08:20:21 +00:00
SwimmermSimonSeenText:
text "You have to warm"
line "up before going"
cont "into the water."
para "That's basic."
done
2015-07-10 08:20:21 +00:00
SwimmermSimonBeatenText:
text "OK! Uncle! I give!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a6282:
text "CIANWOOD CITY is"
line "a good distance"
cont "away from here."
done
2015-07-10 08:20:21 +00:00
SwimmermRandallSeenText:
text "Hey, you're young"
line "and fit!"
para "Don't ride your"
line "#MON! Swim!"
done
2015-07-10 08:20:21 +00:00
SwimmermRandallBeatenText:
text "Uh-oh. I lost…"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a62fa:
text "Swimming exercises"
line "your entire body."
cont "It's healthy."
done
2015-07-10 08:20:21 +00:00
SwimmerfElaineSeenText:
text "Are you going to"
line "CIANWOOD?"
para "How about a quick"
line "battle first?"
done
2015-07-10 08:20:21 +00:00
SwimmerfElaineBeatenText:
text "I lost that one!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a637b:
text "I'd say I'm a bet-"
line "ter swimmer than"
cont "you. Yeah!"
done
2015-07-10 08:20:21 +00:00
SwimmerfPaulaSeenText:
text "No inner tube for"
line "me."
para "I'm hanging on to"
line "a sea #MON!"
done
2015-07-10 08:20:21 +00:00
SwimmerfPaulaBeatenText:
text "Ooh, I'm feeling"
line "dizzy!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a63f5:
text "While I float like"
line "this, the waves"
cont "carry me along."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a6429:
text "Although you can't"
line "see it from here,"
para "CIANWOOD is across"
line "the sea."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a646a:
text "Hm! There's a big"
line "building up ahead!"
para "What is it?"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a649b:
text "Hm! Look at all"
line "those serious-"
cont "looking trainers"
cont "streaming in."
para "What? What?"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a64e6:
text "I came to OLIVINE"
line "by ship to see the"
para "sights and soak up"
line "the atmosphere."
para "Being a port, it"
line "feels so different"
cont "from a big city."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a6564:
text "Have you gone to"
line "the BATTLE TOWER?"
para "I think a lot of"
line "tough trainers"
para "have gathered"
line "there already."
para "But since you have"
line "so many BADGES,"
para "you shouldn't do"
line "badly at all."
done
2014-10-27 01:37:15 +00:00
MeetMonicaText:
text "MONICA: Glad to"
line "meet you. I'm"
para "MONICA of Monday."
done
2014-10-27 01:37:15 +00:00
MonicaGivesGiftText:
text "As a token of our"
line "friendship, I have"
cont "a gift for you!"
done
2014-10-27 01:37:15 +00:00
MonicaGaveGiftText:
text "MONICA: It's an"
line "item that raises"
para "the power of fly-"
line "ing-type moves."
para "You should equip a"
line "bird #MON with"
cont "that item."
done
2014-10-27 01:37:15 +00:00
MonicaMondayText:
text "MONICA: My broth-"
line "ers and sisters"
para "are all over the"
line "place."
para "See if you could"
line "find them all!"
done
2014-10-27 01:37:15 +00:00
MonicaNotMondayText:
text "MONICA: I don't"
line "think today is"
cont "Monday. How sad…"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x1a6767:
text "ROUTE 40"
para "CIANWOOD CITY -"
line "OLIVINE CITY"
done
2015-07-10 08:20:21 +00:00
Route40_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $5, $9, 1, ROUTE_40_BATTLE_TOWER_GATE
.XYTriggers:
db 0
.Signposts:
db 2
signpost 10, 14, SIGNPOST_READ, MapRoute40Signpost0Script
signpost 8, 7, SIGNPOST_ITEM, MapRoute40SignpostItem1
.PersonEvents:
db 12
2015-10-24 14:34:19 +00:00
person_event SPRITE_OLIVINE_RIVAL, 15, 14, $9, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 2, 4, TrainerSwimmermSimon, -1
person_event SPRITE_OLIVINE_RIVAL, 30, 18, $8, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 2, 5, TrainerSwimmermRandall, -1
person_event SPRITE_SWIMMER_GIRL, 19, 3, $9, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 2, 4, TrainerSwimmerfElaine, -1
person_event SPRITE_SWIMMER_GIRL, 25, 10, $1f, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 2, 3, TrainerSwimmerfPaula, -1
person_event SPRITE_ROCK, 11, 7, $18, 0, 0, -1, -1, 0, 0, 0, Route40Rock, -1
person_event SPRITE_ROCK, 9, 6, $18, 0, 0, -1, -1, 0, 0, 0, Route40Rock, -1
person_event SPRITE_ROCK, 8, 7, $18, 0, 0, -1, -1, 0, 0, 0, Route40Rock, -1
person_event SPRITE_LASS, 13, 11, $6, 0, 0, -1, -1, 0, 0, 0, LassScript_0x1a61c4, -1
person_event SPRITE_BUENA, 10, 8, $3, 0, 0, -1, -1, 0, 0, 0, MonicaScript, EVENT_ROUTE_40_MONICA_OF_MONDAY
person_event SPRITE_POKEFAN_M, 6, 7, $9, 0, 0, -1, -1, 0, 0, 0, PokefanMScript_0x1a61c7, -1
person_event SPRITE_LASS, 4, 13, $3, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, LassScript_0x1a61d3, -1
person_event SPRITE_STANDING_YOUNGSTER, 9, 16, $3, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, 0, 0, StandingYoungsterScript_0x1a61d6, EVENT_BATTLE_TOWER_OUTSIDE_SAILOR