2015-07-10 08:20:21 +00:00
|
|
|
Route20_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2015-07-10 12:08:03 +00:00
|
|
|
dbw 5, .ClearRocks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 12:08:03 +00:00
|
|
|
.ClearRocks
|
|
|
|
setevent EVENT_CINNABAR_ROCKS_CLEARED
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSwimmerfNicole:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_SWIMMERF_NICOLE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SWIMMERF, NICOLE
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SwimmerfNicoleSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SwimmerfNicoleBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SwimmerfNicoleScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmerfNicoleScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1acd93
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSwimmerfLori:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_SWIMMERF_LORI
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SWIMMERF, LORI
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SwimmerfLoriSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SwimmerfLoriBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SwimmerfLoriScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmerfLoriScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1ace15
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSwimmermCameron:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_SWIMMERM_CAMERON
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SWIMMERM, CAMERON
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SwimmermCameronSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SwimmermCameronBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SwimmermCameronScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermCameronScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1ace8b
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapRoute20Signpost0Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x1acec2
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmerfNicoleSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I feel so much"
|
|
|
|
line "lighter in water."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmerfNicoleBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, no!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1acd93:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Swimming exercises"
|
|
|
|
line "your full body."
|
|
|
|
|
|
|
|
para "It's really good"
|
|
|
|
line "for you."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmerfLoriSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "What an impressive"
|
|
|
|
line "collection of GYM"
|
|
|
|
|
|
|
|
para "BADGES. We should"
|
|
|
|
line "battle!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmerfLoriBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "No!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1ace15:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SURF is no longer"
|
|
|
|
line "the only HM move"
|
|
|
|
cont "you use in water."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermCameronSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I guess it's im-"
|
|
|
|
line "possible to swim"
|
|
|
|
|
|
|
|
para "all the way to"
|
|
|
|
line "JOHTO."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermCameronBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Aiyah!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1ace8b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Besides the sea, I"
|
|
|
|
line "can also swim in"
|
|
|
|
cont "ponds and rivers."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1acec2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "What does this"
|
|
|
|
line "sign say?"
|
|
|
|
|
|
|
|
para "CINNABAR GYM"
|
|
|
|
line "LEADER: BLAINE"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
Route20_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 1
|
|
|
|
warp_def $7, $26, 1, GROUP_SEAFOAM_GYM, MAP_SEAFOAM_GYM
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 1
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 11, 37, SIGNPOST_READ, MapRoute20Signpost0Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 3
|
2015-07-16 22:10:10 +00:00
|
|
|
person_event SPRITE_SWIMMER_GIRL, 12, 56, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 3, TrainerSwimmerfNicole, -1
|
|
|
|
person_event SPRITE_SWIMMER_GIRL, 17, 49, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $82, 3, TrainerSwimmerfLori, -1
|
|
|
|
person_event SPRITE_SWIMMER_GUY, 17, 16, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerSwimmermCameron, -1
|