2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE20_SWIMMER_GIRL1
|
|
|
|
const ROUTE20_SWIMMER_GIRL2
|
|
|
|
const ROUTE20_SWIMMER_GUY
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route20_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_NEWMAP, .ClearRocks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.ClearRocks:
|
2015-07-10 12:08:03 +00:00
|
|
|
setevent EVENT_CINNABAR_ROCKS_CLEARED
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSwimmerfNicole:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SWIMMERF, NICOLE, EVENT_BEAT_SWIMMERF_NICOLE, SwimmerfNicoleSeenText, SwimmerfNicoleBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext SwimmerfNicoleAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSwimmerfLori:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SWIMMERF, LORI, EVENT_BEAT_SWIMMERF_LORI, SwimmerfLoriSeenText, SwimmerfLoriBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext SwimmerfLoriAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSwimmermCameron:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SWIMMERM, CAMERON, EVENT_BEAT_SWIMMERM_CAMERON, SwimmermCameronSeenText, SwimmermCameronBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext SwimmermCameronAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
CinnabarGymSign:
|
|
|
|
jumptext CinnabarGymSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
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
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SwimmerfNicoleAfterBattleText:
|
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
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SwimmerfLoriAfterBattleText:
|
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
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SwimmermCameronAfterBattleText:
|
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
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
CinnabarGymSignText:
|
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
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route20_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; warp events
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 38, 7, SEAFOAM_GYM, 1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; bg events
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 37, 11, BGEVENT_READ, CinnabarGymSign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 3 ; object events
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 52, 8, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerSwimmerfNicole, -1
|
|
|
|
object_event 45, 13, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerSwimmerfLori, -1
|
|
|
|
object_event 12, 13, SPRITE_SWIMMER_GUY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerSwimmermCameron, -1
|