2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08: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-16 19:57:19 -08:00
|
|
|
Route19_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_TILES, .ClearRocks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.ClearRocks:
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_CINNABAR_ROCKS_CLEARED
|
|
|
|
iftrue .Done
|
2018-01-17 10:23:43 -08: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 11:42:14 -07:00
|
|
|
.Done:
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerSwimmerfDawn:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer SWIMMERF, DAWN, EVENT_BEAT_SWIMMERF_DAWN, SwimmerfDawnSeenText, SwimmerfDawnBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2018-02-02 18:09:17 -08:00
|
|
|
endifjustbattled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext SwimmerfDawnAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerSwimmermHarold:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer SWIMMERM, HAROLD, EVENT_BEAT_SWIMMERM_HAROLD, SwimmermHaroldSeenText, SwimmermHaroldBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2018-02-02 18:09:17 -08:00
|
|
|
endifjustbattled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext SwimmermHaroldAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerSwimmermJerome:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer SWIMMERM, JEROME, EVENT_BEAT_SWIMMERM_JEROME, SwimmermJeromeSeenText, SwimmermJeromeBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2018-02-02 18:09:17 -08:00
|
|
|
endifjustbattled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext SwimmermJeromeAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerSwimmermTucker:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer SWIMMERM, TUCKER, EVENT_BEAT_SWIMMERM_TUCKER, SwimmermTuckerSeenText, SwimmermTuckerBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2018-02-02 18:09:17 -08:00
|
|
|
endifjustbattled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext SwimmermTuckerAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route19Fisher1Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_CINNABAR_ROCKS_CLEARED
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .RocksCleared
|
|
|
|
writetext Route19Fisher1Text
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.RocksCleared:
|
|
|
|
writetext Route19Fisher1Text_RocksCleared
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route19Fisher2Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 05:08:03 -07:00
|
|
|
checkevent EVENT_CINNABAR_ROCKS_CLEARED
|
2016-04-06 21:59:45 -07:00
|
|
|
iftrue .RocksCleared
|
2018-02-28 14:47:31 -08:00
|
|
|
writetext Route19Fisher2Text
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.RocksCleared:
|
2018-02-28 14:47:31 -08:00
|
|
|
writetext Route19Fisher2Text_RocksCleared
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
Route19Sign:
|
|
|
|
jumptext Route19SignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
CarefulSwimmingSign:
|
|
|
|
jumptext CarefulSwimmingSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SwimmermHaroldSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Have you ever gone"
|
|
|
|
line "swimming in the"
|
|
|
|
cont "sea at night?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SwimmermHaroldBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Glub…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
SwimmermHaroldAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "At night, the sea"
|
|
|
|
line "turns black. It"
|
|
|
|
|
|
|
|
para "feels like it will"
|
|
|
|
line "swallow you up."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SwimmermTuckerSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Pant, pant…"
|
|
|
|
line "Just… a little…"
|
|
|
|
|
|
|
|
para "farther… to…"
|
|
|
|
line "FUCHSIA…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SwimmermTuckerBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm drowning!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
SwimmermTuckerAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I… asked my girl-"
|
|
|
|
line "friend to swim to"
|
|
|
|
cont "FUCHSIA… Gasp…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SwimmerfDawnSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm disgusted by"
|
|
|
|
line "wimpy people!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SwimmerfDawnBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I could beat you"
|
|
|
|
line "at swimming…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
SwimmerfDawnAfterBattleText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SwimmermJeromeSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Swimming?"
|
|
|
|
line "I'm lousy at it."
|
|
|
|
|
|
|
|
para "I'm just splashing"
|
|
|
|
line "around in these"
|
|
|
|
cont "shallow waters."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SwimmermJeromeBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I thought I could"
|
|
|
|
line "win."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
SwimmermJeromeAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I might be bad at"
|
|
|
|
line "swimming, but I"
|
|
|
|
cont "love the sea."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route19Fisher1Text:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route19Fisher1Text_RocksCleared:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm all sweaty."
|
|
|
|
line "Time for a swim!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route19Fisher2Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Who knows how long"
|
|
|
|
line "it would take to"
|
|
|
|
cont "move this boulder…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
Route19Fisher2Text_RocksCleared:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The roadwork is"
|
|
|
|
line "finally finished."
|
|
|
|
|
|
|
|
para "Now I can go"
|
|
|
|
line "fishing again."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
Route19SignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ROUTE 19"
|
|
|
|
|
|
|
|
para "FUCHSIA CITY -"
|
|
|
|
line "SEAFOAM ISLANDS"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
CarefulSwimmingSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Please be careful"
|
|
|
|
line "if you are swim-"
|
|
|
|
cont "ming to SEAFOAM"
|
|
|
|
cont "ISLANDS."
|
|
|
|
|
|
|
|
para "FUCHSIA POLICE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route19_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 7, 3, ROUTE_19_FUCHSIA_GATE, 3
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; bg events
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 11, 13, BGEVENT_READ, Route19Sign
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 11, 1, BGEVENT_READ, CarefulSwimmingSign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 6 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 9, 23, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 0, TrainerSwimmerfDawn, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
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
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 8, 23, SPRITE_SWIMMER_GUY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerSwimmermTucker, -1
|
2018-02-28 14:47:31 -08:00
|
|
|
object_event 9, 5, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 1, Route19Fisher1Script, -1
|
|
|
|
object_event 11, 5, SPRITE_FISHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 1, Route19Fisher2Script, -1
|