2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const NEWBARKTOWN_TEACHER
|
|
|
|
const NEWBARKTOWN_FISHER
|
|
|
|
const NEWBARKTOWN_SILVER
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
NewBarkTown_MapScripts:
|
2017-12-24 10:46:34 -08:00
|
|
|
.SceneScripts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-24 10:46:34 -08:00
|
|
|
scene_script .DummyScene0
|
|
|
|
scene_script .DummyScene1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FlyPoint:
|
2015-06-25 22:30:16 -07:00
|
|
|
setflag ENGINE_FLYPOINT_NEW_BARK
|
2015-07-20 00:51:52 -07:00
|
|
|
clearevent EVENT_FIRST_TIME_BANKING_WITH_MOM
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
NewBarkTown_TeacherStopsYouScene1:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_MOM
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface NEWBARKTOWN_TEACHER, LEFT
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext Text_WaitPlayer
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
2015-12-16 18:57:42 -08:00
|
|
|
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherRunsToYou1_NBT
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext Text_WhatDoYouThinkYoureDoing
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
follow NEWBARKTOWN_TEACHER, PLAYER
|
2015-12-16 18:57:42 -08:00
|
|
|
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherBringsYouBack1_NBT
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext Text_ItsDangerousToGoAlone
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
NewBarkTown_TeacherStopsYouScene2:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_MOM
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface NEWBARKTOWN_TEACHER, LEFT
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext Text_WaitPlayer
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
2015-12-16 18:57:42 -08:00
|
|
|
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherRunsToYou2_NBT
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, UP
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext Text_WhatDoYouThinkYoureDoing
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
follow NEWBARKTOWN_TEACHER, PLAYER
|
2015-12-16 18:57:42 -08:00
|
|
|
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherBringsYouBack2_NBT
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext Text_ItsDangerousToGoAlone
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
NewBarkTownTeacherScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
|
2015-12-16 18:57:42 -08:00
|
|
|
iftrue .CallMom
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
2015-12-16 18:57:42 -08:00
|
|
|
iftrue .TellMomYoureLeaving
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
|
2015-12-16 18:57:42 -08:00
|
|
|
iftrue .MonIsAdorable
|
|
|
|
writetext Text_GearIsImpressive
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.MonIsAdorable:
|
|
|
|
writetext Text_YourMonIsAdorable
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.TellMomYoureLeaving:
|
|
|
|
writetext Text_TellMomIfLeaving
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.CallMom:
|
|
|
|
writetext Text_CallMomOnGear
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
NewBarkTownFisherScript:
|
|
|
|
jumptextfaceplayer Text_ElmDiscoveredNewMon
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
NewBarkTownSilverScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext NewBarkTownRivalText1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface NEWBARKTOWN_SILVER, LEFT
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext NewBarkTownRivalText2
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
follow PLAYER, NEWBARKTOWN_SILVER
|
2015-12-16 18:57:42 -08:00
|
|
|
applymovement PLAYER, Movement_SilverPushesYouAway_NBT
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
|
|
|
pause 5
|
2015-11-26 21:22:14 -08:00
|
|
|
spriteface NEWBARKTOWN_SILVER, DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 5
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TACKLE
|
2015-12-16 18:57:42 -08:00
|
|
|
applymovement PLAYER, Movement_SilverShovesYouOut_NBT
|
|
|
|
applymovement NEWBARKTOWN_SILVER, Movement_SilverReturnsToTheShadows_NBT
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-06 21:59:45 -07:00
|
|
|
NewBarkTownSign:
|
2015-12-16 18:57:42 -08:00
|
|
|
jumptext NewBarkTownSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MapNewBarkTownSignpost1Script:
|
2015-12-16 18:57:42 -08:00
|
|
|
jumptext PlayersHouseSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MapNewBarkTownSignpost2Script:
|
2015-12-16 18:57:42 -08:00
|
|
|
jumptext ElmsLabSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MapNewBarkTownSignpost3Script:
|
2015-12-16 18:57:42 -08:00
|
|
|
jumptext ElmsHouseSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Movement_TeacherRunsToYou1_NBT:
|
2016-05-14 10:46:14 -07:00
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Movement_TeacherRunsToYou2_NBT:
|
2016-05-14 10:46:14 -07:00
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Movement_TeacherBringsYouBack1_NBT:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
turn_head LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Movement_TeacherBringsYouBack2_NBT:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
turn_head LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Movement_SilverPushesYouAway_NBT:
|
2016-05-14 10:46:14 -07:00
|
|
|
turn_head UP
|
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Movement_SilverShovesYouOut_NBT:
|
2016-05-14 10:46:14 -07:00
|
|
|
turn_head UP
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
jump_step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
remove_fixed_facing
|
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Movement_SilverReturnsToTheShadows_NBT:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_GearIsImpressive:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wow, your #GEAR"
|
|
|
|
line "is impressive!"
|
|
|
|
|
|
|
|
para "Did your mom get"
|
|
|
|
line "it for you?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_WaitPlayer:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "Wait, <PLAY_G>!"
|
2014-03-05 21:29:44 -08:00
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_WhatDoYouThinkYoureDoing:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "What do you think"
|
|
|
|
line "you're doing?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_ItsDangerousToGoAlone:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's dangerous to"
|
|
|
|
line "go out without a"
|
|
|
|
cont "#MON!"
|
|
|
|
|
|
|
|
para "Wild #MON"
|
|
|
|
line "jump out of the"
|
|
|
|
|
|
|
|
para "grass on the way"
|
|
|
|
line "to the next town."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_YourMonIsAdorable:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh! Your #MON"
|
|
|
|
line "is adorable!"
|
|
|
|
cont "I wish I had one!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_TellMomIfLeaving:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "Hi, <PLAY_G>!"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "Leaving again?"
|
|
|
|
|
|
|
|
para "You should tell"
|
|
|
|
line "your mom if you"
|
|
|
|
cont "are leaving."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_CallMomOnGear:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Call your mom on"
|
|
|
|
line "your #GEAR to"
|
|
|
|
|
|
|
|
para "let her know how"
|
|
|
|
line "you're doing."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_ElmDiscoveredNewMon:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "Yo, <PLAYER>!"
|
2014-03-05 21:29:44 -08:00
|
|
|
|
|
|
|
para "I hear PROF.ELM"
|
|
|
|
line "discovered some"
|
|
|
|
cont "new #MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
NewBarkTownRivalText1:
|
|
|
|
text "<......>"
|
2014-03-05 21:29:44 -08:00
|
|
|
|
|
|
|
para "So this is the"
|
|
|
|
line "famous ELM #MON"
|
|
|
|
cont "LAB…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
NewBarkTownRivalText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…What are you"
|
|
|
|
line "staring at?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
NewBarkTownSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "NEW BARK TOWN"
|
|
|
|
|
|
|
|
para "The Town Where the"
|
|
|
|
line "Winds of a New"
|
|
|
|
cont "Beginning Blow"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
PlayersHouseSignText:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER>'s House"
|
2014-03-05 21:29:44 -08:00
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
ElmsLabSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ELM #MON LAB"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
ElmsHouseSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ELM'S HOUSE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
NewBarkTown_MapEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2017-12-28 11:31:25 -08:00
|
|
|
warp_def 6, 3, 1, ELMS_LAB
|
|
|
|
warp_def 13, 5, 1, KRISS_HOUSE_1F
|
|
|
|
warp_def 3, 11, 1, KRISS_NEIGHBORS_HOUSE
|
|
|
|
warp_def 11, 13, 1, ELMS_HOUSE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.CoordEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-28 11:31:25 -08:00
|
|
|
coord_event 1, 8, 0, NewBarkTown_TeacherStopsYouScene1
|
|
|
|
coord_event 1, 9, 0, NewBarkTown_TeacherStopsYouScene2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.BGEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 8, 8, BGEVENT_READ, NewBarkTownSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 11, 5, BGEVENT_READ, MapNewBarkTownSignpost1Script
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 3, 3, BGEVENT_READ, MapNewBarkTownSignpost2Script
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 9, 13, BGEVENT_READ, MapNewBarkTownSignpost3Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.ObjectEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 3
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 6, 8, SPRITE_TEACHER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NewBarkTownTeacherScript, -1
|
|
|
|
object_event 12, 9, SPRITE_FISHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, NewBarkTownFisherScript, -1
|
|
|
|
object_event 3, 2, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NewBarkTownSilverScript, EVENT_RIVAL_NEW_BARK_TOWN
|