2013-02-16 22:54:07 -08:00
|
|
|
Route40_MapScriptHeader: ; 0x1a6160
|
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
dbw 2, MonicaCallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaCallback:
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent $07cf
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcode $b
|
2014-10-26 18:37:15 -07:00
|
|
|
if_equal MONDAY, .MonicaAppears
|
2013-02-16 22:54:07 -08:00
|
|
|
disappear $a
|
|
|
|
return
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
.MonicaAppears
|
2013-02-16 22:54:07 -08:00
|
|
|
appear $a
|
|
|
|
return
|
|
|
|
|
|
|
|
TrainerSwimmerfElaine: ; 0x1a6174
|
|
|
|
; bit/flag number
|
|
|
|
dw $3e8
|
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SWIMMERF, ELAINE
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SwimmerfElaineSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SwimmerfElaineBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SwimmerfElaineScript
|
|
|
|
; 0x1a6180
|
|
|
|
|
|
|
|
SwimmerfElaineScript: ; 0x1a6180
|
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a637b
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a6188
|
|
|
|
|
|
|
|
TrainerSwimmerfPaula: ; 0x1a6188
|
|
|
|
; bit/flag number
|
|
|
|
dw $3e9
|
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SWIMMERF, PAULA
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SwimmerfPaulaSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SwimmerfPaulaBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SwimmerfPaulaScript
|
|
|
|
; 0x1a6194
|
|
|
|
|
|
|
|
SwimmerfPaulaScript: ; 0x1a6194
|
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a63f5
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a619c
|
|
|
|
|
|
|
|
TrainerSwimmermSimon: ; 0x1a619c
|
|
|
|
; bit/flag number
|
|
|
|
dw $595
|
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SWIMMERM, SIMON
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SwimmermSimonSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SwimmermSimonBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SwimmermSimonScript
|
|
|
|
; 0x1a61a8
|
|
|
|
|
|
|
|
SwimmermSimonScript: ; 0x1a61a8
|
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a6282
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a61b0
|
|
|
|
|
|
|
|
TrainerSwimmermRandall: ; 0x1a61b0
|
|
|
|
; bit/flag number
|
|
|
|
dw $596
|
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SWIMMERM, RANDALL
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SwimmermRandallSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SwimmermRandallBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SwimmermRandallScript
|
|
|
|
; 0x1a61bc
|
|
|
|
|
|
|
|
SwimmermRandallScript: ; 0x1a61bc
|
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a62fa
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x1a61c4
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
LassScript_0x1a61c4: ; 0x1a61c4
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a6429
|
|
|
|
; 0x1a61c7
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
PokefanMScript_0x1a61c7: ; 0x1a61c7
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function10630f
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a61d0
|
|
|
|
jumptextfaceplayer UnknownText_0x1a646a
|
|
|
|
; 0x1a61d0
|
|
|
|
|
|
|
|
UnknownScript_0x1a61d0: ; 0x1a61d0
|
|
|
|
jumptextfaceplayer UnknownText_0x1a649b
|
|
|
|
; 0x1a61d3
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
LassScript_0x1a61d3: ; 0x1a61d3
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a64e6
|
|
|
|
; 0x1a61d6
|
|
|
|
|
2013-07-12 14:06:11 -07:00
|
|
|
StandingYoungsterScript_0x1a61d6: ; 0x1a61d6
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a6564
|
|
|
|
; 0x1a61d9
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_SHARP_BEAK_FROM_MONICA
|
2014-10-26 18:37:15 -07:00
|
|
|
iftrue MonicaMondayScript
|
2013-02-16 22:54:07 -08:00
|
|
|
checkcode $b
|
2014-10-26 18:37:15 -07:00
|
|
|
if_not_equal MONDAY, MonicaNotMondayScript
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_MET_MONICA_OF_MONDAY
|
2014-10-26 18:37:15 -07:00
|
|
|
iftrue .MetMonica
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext MeetMonicaText
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_MET_MONICA_OF_MONDAY
|
2014-10-26 18:37:15 -07:00
|
|
|
.MetMonica
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext MonicaGivesGiftText
|
2013-02-16 22:54:07 -08:00
|
|
|
keeptextopen
|
|
|
|
verbosegiveitem SHARP_BEAK, 1
|
2014-10-26 18:37:15 -07:00
|
|
|
iffalse MonicaDoneScript
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_SHARP_BEAK_FROM_MONICA
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext MonicaGaveGiftText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaMondayScript:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext MonicaMondayText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaDoneScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaNotMondayScript:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext MonicaNotMondayText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
|
|
|
MapRoute40Signpost0Script: ; 0x1a6213
|
|
|
|
jumptext UnknownText_0x1a6767
|
|
|
|
; 0x1a6216
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
Route40Rock: ; 0x1a6216
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd smashrock
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a6219
|
|
|
|
|
|
|
|
MapRoute40SignpostItem1: ; 0x1a6219
|
|
|
|
dw $00ab
|
|
|
|
db HYPER_POTION
|
|
|
|
; 0x1a621c
|
|
|
|
|
|
|
|
MovementData_0x1a621c: ; 0x1a621c
|
|
|
|
step_right
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
; 0x1a6224
|
|
|
|
|
|
|
|
MovementData_0x1a6224: ; 0x1a6224
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
; 0x1a622a
|
|
|
|
|
|
|
|
MovementData_0x1a622a: ; 0x1a622a
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
; 0x1a622f
|
|
|
|
|
|
|
|
SwimmermSimonSeenText: ; 0x1a622f
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You have to warm"
|
|
|
|
line "up before going"
|
|
|
|
cont "into the water."
|
|
|
|
|
|
|
|
para "That's basic."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a626e
|
|
|
|
|
|
|
|
SwimmermSimonBeatenText: ; 0x1a626e
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OK! Uncle! I give!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a6282
|
|
|
|
|
|
|
|
UnknownText_0x1a6282: ; 0x1a6282
|
2014-03-05 21:29:44 -08:00
|
|
|
text "CIANWOOD CITY is"
|
|
|
|
line "a good distance"
|
|
|
|
cont "away from here."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a62b4
|
|
|
|
|
|
|
|
SwimmermRandallSeenText: ; 0x1a62b4
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey, you're young"
|
|
|
|
line "and fit!"
|
|
|
|
|
|
|
|
para "Don't ride your"
|
|
|
|
line "#MON! Swim!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a62ea
|
|
|
|
|
|
|
|
SwimmermRandallBeatenText: ; 0x1a62ea
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Uh-oh. I lost…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a62fa
|
|
|
|
|
|
|
|
UnknownText_0x1a62fa: ; 0x1a62fa
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Swimming exercises"
|
|
|
|
line "your entire body."
|
|
|
|
cont "It's healthy."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a632d
|
|
|
|
|
|
|
|
SwimmerfElaineSeenText: ; 0x1a632d
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Are you going to"
|
|
|
|
line "CIANWOOD?"
|
|
|
|
|
|
|
|
para "How about a quick"
|
|
|
|
line "battle first?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a6369
|
|
|
|
|
|
|
|
SwimmerfElaineBeatenText: ; 0x1a6369
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I lost that one!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a637b
|
|
|
|
|
|
|
|
UnknownText_0x1a637b: ; 0x1a637b
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'd say I'm a bet-"
|
|
|
|
line "ter swimmer than"
|
|
|
|
cont "you. Yeah!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a63a9
|
|
|
|
|
|
|
|
SwimmerfPaulaSeenText: ; 0x1a63a9
|
2014-03-05 21:29:44 -08:00
|
|
|
text "No inner tube for"
|
|
|
|
line "me."
|
|
|
|
|
|
|
|
para "I'm hanging on to"
|
|
|
|
line "a sea #MON!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a63dd
|
|
|
|
|
|
|
|
SwimmerfPaulaBeatenText: ; 0x1a63dd
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ooh, I'm feeling"
|
|
|
|
line "dizzy!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a63f5
|
|
|
|
|
|
|
|
UnknownText_0x1a63f5: ; 0x1a63f5
|
2014-03-05 21:29:44 -08:00
|
|
|
text "While I float like"
|
|
|
|
line "this, the waves"
|
|
|
|
cont "carry me along."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a6429
|
|
|
|
|
|
|
|
UnknownText_0x1a6429: ; 0x1a6429
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Although you can't"
|
|
|
|
line "see it from here,"
|
|
|
|
|
|
|
|
para "CIANWOOD is across"
|
|
|
|
line "the sea."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a646a
|
|
|
|
|
|
|
|
UnknownText_0x1a646a: ; 0x1a646a
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hm! There's a big"
|
|
|
|
line "building up ahead!"
|
|
|
|
|
|
|
|
para "What is it?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a649b
|
|
|
|
|
|
|
|
UnknownText_0x1a649b: ; 0x1a649b
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hm! Look at all"
|
|
|
|
line "those serious-"
|
|
|
|
cont "looking trainers"
|
|
|
|
cont "streaming in."
|
|
|
|
|
|
|
|
para "What? What?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a64e6
|
|
|
|
|
|
|
|
UnknownText_0x1a64e6: ; 0x1a64e6
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a6564
|
|
|
|
|
|
|
|
UnknownText_0x1a6564: ; 0x1a6564
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a6606
|
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MeetMonicaText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MONICA: Glad to"
|
|
|
|
line "meet you. I'm"
|
|
|
|
|
|
|
|
para "MONICA of Monday."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaGivesGiftText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "As a token of our"
|
|
|
|
line "friendship, I have"
|
|
|
|
cont "a gift for you!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaGaveGiftText:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaMondayText:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2014-10-26 18:37:15 -07:00
|
|
|
MonicaNotMondayText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MONICA: I don't"
|
|
|
|
line "think today is"
|
|
|
|
cont "Monday. How sad…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
UnknownText_0x1a6767: ; 0x1a6767
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ROUTE 40"
|
|
|
|
|
|
|
|
para "CIANWOOD CITY -"
|
|
|
|
line "OLIVINE CITY"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1a678e
|
|
|
|
|
|
|
|
Route40_MapEventHeader: ; 0x1a678e
|
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 1
|
|
|
|
warp_def $5, $9, 1, GROUP_ROUTE_40_BATTLE_TOWER_GATE, MAP_ROUTE_40_BATTLE_TOWER_GATE
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 2
|
|
|
|
signpost 10, 14, $0, MapRoute40Signpost0Script
|
|
|
|
signpost 8, 7, $7, MapRoute40SignpostItem1
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 12
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_OLIVINE_RIVAL, 19, 18, $9, $0, 255, 255, $82, 4, TrainerSwimmermSimon, $ffff
|
|
|
|
person_event SPRITE_OLIVINE_RIVAL, 34, 22, $8, $0, 255, 255, $82, 5, TrainerSwimmermRandall, $ffff
|
|
|
|
person_event SPRITE_SWIMMER_GIRL, 23, 7, $9, $0, 255, 255, $a2, 4, TrainerSwimmerfElaine, $ffff
|
|
|
|
person_event SPRITE_SWIMMER_GIRL, 29, 14, $1f, $0, 255, 255, $a2, 3, TrainerSwimmerfPaula, $ffff
|
2015-06-25 21:01:08 -07:00
|
|
|
person_event SPRITE_ROCK, 15, 11, $18, $0, 255, 255, $0, 0, Route40Rock, $ffff
|
|
|
|
person_event SPRITE_ROCK, 13, 10, $18, $0, 255, 255, $0, 0, Route40Rock, $ffff
|
|
|
|
person_event SPRITE_ROCK, 12, 11, $18, $0, 255, 255, $0, 0, Route40Rock, $ffff
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_LASS, 17, 15, $6, $0, 255, 255, $0, 0, LassScript_0x1a61c4, $ffff
|
2014-10-26 18:37:15 -07:00
|
|
|
person_event SPRITE_BUENA, 14, 12, $3, $0, 255, 255, $0, 0, MonicaScript, $075e
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_POKEFAN_M, 10, 11, $9, $0, 255, 255, $0, 0, PokefanMScript_0x1a61c7, $ffff
|
|
|
|
person_event SPRITE_LASS, 8, 17, $3, $0, 255, 255, $a0, 0, LassScript_0x1a61d3, $ffff
|
|
|
|
person_event SPRITE_STANDING_YOUNGSTER, 13, 20, $3, $0, 255, 255, $90, 0, StandingYoungsterScript_0x1a61d6, $07cf
|