2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const PALLETTOWN_TEACHER
|
|
|
|
const PALLETTOWN_FISHER
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
PalletTown_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_NEWMAP, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FlyPoint:
|
2015-06-25 22:30:16 -07:00
|
|
|
setflag ENGINE_FLYPOINT_PALLET
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
PalletTownTeacherScript:
|
|
|
|
jumptextfaceplayer PalletTownTeacherText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
PalletTownFisherScript:
|
|
|
|
jumptextfaceplayer PalletTownFisherText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
PalletTownSign:
|
|
|
|
jumptext PalletTownSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
RedsHouseSign:
|
|
|
|
jumptext RedsHouseSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
OaksLabSign:
|
|
|
|
jumptext OaksLabSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
BluesHouseSign:
|
|
|
|
jumptext BluesHouseSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
PalletTownTeacherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm raising #-"
|
|
|
|
line "MON too."
|
|
|
|
|
|
|
|
para "They serve as my"
|
|
|
|
line "private guards."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
PalletTownFisherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Technology is"
|
|
|
|
line "incredible!"
|
|
|
|
|
|
|
|
para "You can now trade"
|
|
|
|
line "#MON across"
|
|
|
|
cont "time like e-mail."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
PalletTownSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "PALLET TOWN"
|
|
|
|
|
|
|
|
para "A Tranquil Setting"
|
|
|
|
line "of Peace & Purity"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
RedsHouseSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "RED'S HOUSE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
OaksLabSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OAK #MON"
|
|
|
|
line "RESEARCH LAB"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
BluesHouseSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLUE'S HOUSE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
PalletTown_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 3 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 5, 5, REDS_HOUSE_1F, 1
|
|
|
|
warp_event 13, 5, BLUES_HOUSE, 1
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 12, 11, OAKS_LAB, 1
|
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 4 ; bg events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 7, 9, BGEVENT_READ, PalletTownSign
|
|
|
|
bg_event 3, 5, BGEVENT_READ, RedsHouseSign
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 13, 13, BGEVENT_READ, OaksLabSign
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 11, 5, BGEVENT_READ, BluesHouseSign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 3, 8, SPRITE_TEACHER, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PalletTownTeacherScript, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 12, 14, SPRITE_FISHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PalletTownFisherScript, -1
|