2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE19_SWIMMER_GIRL
|
|
|
|
const ROUTE19_SWIMMER_GUY1
|
|
|
|
const ROUTE19_SWIMMER_GUY2
|
|
|
|
const ROUTE19_SWIMMER_GUY3
|
|
|
|
const ROUTE19_FISHER1
|
|
|
|
const ROUTE19_FISHER2
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route19_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_TILES, .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
|
|
|
checkevent EVENT_CINNABAR_ROCKS_CLEARED
|
|
|
|
iftrue .Done
|
2018-01-17 18:23:43 +00:00
|
|
|
changeblock 6, 6, $7a ; rock
|
|
|
|
changeblock 8, 6, $7a ; rock
|
|
|
|
changeblock 10, 6, $7a ; rock
|
|
|
|
changeblock 12, 8, $7a ; rock
|
|
|
|
changeblock 4, 8, $7a ; rock
|
|
|
|
changeblock 10, 10, $7a ; rock
|
2016-04-10 18:42:14 +00:00
|
|
|
.Done:
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSwimmerfDawn:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SWIMMERF, DAWN, EVENT_BEAT_SWIMMERF_DAWN, SwimmerfDawnSeenText, SwimmerfDawnBeatenText, 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 SwimmerfDawnAfterBattleText
|
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
|
|
|
TrainerSwimmermHarold:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SWIMMERM, HAROLD, EVENT_BEAT_SWIMMERM_HAROLD, SwimmermHaroldSeenText, SwimmermHaroldBeatenText, 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 SwimmermHaroldAfterBattleText
|
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
|
|
|
TrainerSwimmermJerome:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SWIMMERM, JEROME, EVENT_BEAT_SWIMMERM_JEROME, SwimmermJeromeSeenText, SwimmermJeromeBeatenText, 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 SwimmermJeromeAfterBattleText
|
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
|
|
|
TrainerSwimmermTucker:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer SWIMMERM, TUCKER, EVENT_BEAT_SWIMMERM_TUCKER, SwimmermTuckerSeenText, SwimmermTuckerBeatenText, 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 SwimmermTuckerAfterBattleText
|
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
|
|
|
FisherScript_0x19ea4d:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 12:08:03 +00:00
|
|
|
checkevent EVENT_CINNABAR_ROCKS_CLEARED
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x19ea5b
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x19ecaf
|
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
|
|
|
UnknownScript_0x19ea5b:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x19ed24
|
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
|
|
|
FisherScript_0x19ea61:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 12:08:03 +00:00
|
|
|
checkevent EVENT_CINNABAR_ROCKS_CLEARED
|
2016-04-07 04:59:45 +00:00
|
|
|
iftrue .RocksCleared
|
|
|
|
writetext Route19FisherText1
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.RocksCleared:
|
2016-04-07 04:59:45 +00:00
|
|
|
writetext Route19FisherText2
|
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
|
|
|
Route19Sign:
|
|
|
|
jumptext Route19SignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
CarefulSwimmingSign:
|
|
|
|
jumptext CarefulSwimmingSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermHaroldSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Have you ever gone"
|
|
|
|
line "swimming in the"
|
|
|
|
cont "sea at night?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermHaroldBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Glub…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SwimmermHaroldAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "At night, the sea"
|
|
|
|
line "turns black. It"
|
|
|
|
|
|
|
|
para "feels like it will"
|
|
|
|
line "swallow you up."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermTuckerSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Pant, pant…"
|
|
|
|
line "Just… a little…"
|
|
|
|
|
|
|
|
para "farther… to…"
|
|
|
|
line "FUCHSIA…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermTuckerBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm drowning!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SwimmermTuckerAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I… asked my girl-"
|
|
|
|
line "friend to swim to"
|
|
|
|
cont "FUCHSIA… Gasp…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmerfDawnSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm disgusted by"
|
|
|
|
line "wimpy people!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmerfDawnBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I could beat you"
|
|
|
|
line "at swimming…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SwimmerfDawnAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's a quick swim"
|
|
|
|
line "between FUCHSIA"
|
|
|
|
|
|
|
|
para "and SEAFOAM IS-"
|
|
|
|
line "LANDS…"
|
|
|
|
|
|
|
|
para "Sheesh, some big"
|
|
|
|
line "man my boyfriend"
|
|
|
|
|
|
|
|
para "is! What a wimp!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermJeromeSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Swimming?"
|
|
|
|
line "I'm lousy at it."
|
|
|
|
|
|
|
|
para "I'm just splashing"
|
|
|
|
line "around in these"
|
|
|
|
cont "shallow waters."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SwimmermJeromeBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I thought I could"
|
|
|
|
line "win."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
SwimmermJeromeAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I might be bad at"
|
|
|
|
line "swimming, but I"
|
|
|
|
cont "love the sea."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x19ecaf:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Sorry. This road"
|
|
|
|
line "is closed for"
|
|
|
|
cont "construction."
|
|
|
|
|
|
|
|
para "If you want to get"
|
|
|
|
line "to CINNABAR, you'd"
|
|
|
|
|
|
|
|
para "better go south"
|
|
|
|
line "from PALLET TOWN."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x19ed24:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm all sweaty."
|
|
|
|
line "Time for a swim!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route19FisherText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Who knows how long"
|
|
|
|
line "it would take to"
|
|
|
|
cont "move this boulder…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route19FisherText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The roadwork is"
|
|
|
|
line "finally finished."
|
|
|
|
|
|
|
|
para "Now I can go"
|
|
|
|
line "fishing again."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route19SignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ROUTE 19"
|
|
|
|
|
|
|
|
para "FUCHSIA CITY -"
|
|
|
|
line "SEAFOAM ISLANDS"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
CarefulSwimmingSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Please be careful"
|
|
|
|
line "if you are swim-"
|
|
|
|
cont "ming to SEAFOAM"
|
|
|
|
cont "ISLANDS."
|
|
|
|
|
|
|
|
para "FUCHSIA POLICE"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route19_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 7, 3, ROUTE_19_FUCHSIA_GATE, 3
|
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 2 ; bg events
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 11, 13, BGEVENT_READ, Route19Sign
|
|
|
|
bg_event 11, 1, BGEVENT_READ, CarefulSwimmingSign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 6 ; object events
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 9, 23, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 0, TrainerSwimmerfDawn, -1
|
|
|
|
object_event 13, 28, SPRITE_SWIMMER_GUY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerSwimmermHarold, -1
|
|
|
|
object_event 11, 17, SPRITE_SWIMMER_GUY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerSwimmermJerome, -1
|
|
|
|
object_event 8, 23, SPRITE_SWIMMER_GUY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerSwimmermTucker, -1
|
|
|
|
object_event 9, 5, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 1, FisherScript_0x19ea4d, -1
|
|
|
|
object_event 11, 5, SPRITE_FISHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 1, FisherScript_0x19ea61, -1
|