2015-06-25 22:30:16 -07:00
|
|
|
NewBarkTown_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-06-25 22:30:16 -07:00
|
|
|
dw .Trigger1, $0000
|
|
|
|
dw .Trigger2, $0000
|
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
|
|
|
|
|
|
|
|
; callbacks
|
2015-06-25 22:30:16 -07:00
|
|
|
dbw 5, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.Trigger1
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.Trigger2
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
.FlyPoint
|
|
|
|
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
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownScript_0x1a8016:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_MOM
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $2, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a8134
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $2, MovementData_0x1a80d4
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a813e
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-21 23:49:18 -07:00
|
|
|
follow $2, PLAYER
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $2, MovementData_0x1a80e0
|
|
|
|
stopfollow
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a815e
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownScript_0x1a8041:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_MOM
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $2, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a8134
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $2, MovementData_0x1a80d9
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, UP
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a813e
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-21 23:49:18 -07:00
|
|
|
follow $2, PLAYER
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $2, MovementData_0x1a80e6
|
|
|
|
stopfollow
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a815e
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
TeacherScript_0x1a806f:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a8095
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a808f
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a8089
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a80f7
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownScript_0x1a8089:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a81c4
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownScript_0x1a808f:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a81f2
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownScript_0x1a8095:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a8236
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
FisherScript_0x1a809b:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a8274
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
SilverScript_0x1a809e:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a82a6
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $4, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a82cd
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-21 23:49:18 -07:00
|
|
|
follow PLAYER, $4
|
|
|
|
applymovement PLAYER, MovementData_0x1a80ed
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
|
|
|
pause 5
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $4, DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 5
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TACKLE
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x1a80f0
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $4, MovementData_0x1a80f5
|
|
|
|
end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MapNewBarkTownSignpost0Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x1a82e8
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MapNewBarkTownSignpost1Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x1a8328
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MapNewBarkTownSignpost2Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x1a8332
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MapNewBarkTownSignpost3Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x1a8340
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x1a80d4:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x1a80d9:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x1a80e0:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x1a80e6:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x1a80ed:
|
2013-02-16 22:54:07 -08:00
|
|
|
turn_head_up
|
|
|
|
step_down
|
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x1a80f0:
|
2013-02-16 22:54:07 -08:00
|
|
|
turn_head_up
|
|
|
|
fix_facing
|
|
|
|
jump_step_down
|
|
|
|
remove_fixed_facing
|
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x1a80f5:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_right
|
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a80f7:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a8134:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a813e:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a815e:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a81c4:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a81f2:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a8236:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a8274:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a82a6:
|
2014-03-05 21:29:44 -08:00
|
|
|
text $56
|
|
|
|
|
|
|
|
para "So this is the"
|
|
|
|
line "famous ELM #MON"
|
|
|
|
cont "LAB…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a82cd:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a82e8:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a8328:
|
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-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a8332:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ELM #MON LAB"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
UnknownText_0x1a8340:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ELM'S HOUSE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
NewBarkTown_MapEventHeader:
|
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
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $3, $6, 1, ELMS_LAB
|
|
|
|
warp_def $5, $d, 1, KRISS_HOUSE_1F
|
|
|
|
warp_def $b, $3, 1, KRISS_NEIGHBORS_HOUSE
|
|
|
|
warp_def $d, $b, 1, ELMS_HOUSE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
xy_trigger 0, $8, $1, $0, UnknownScript_0x1a8016, $0, $0
|
|
|
|
xy_trigger 0, $9, $1, $0, UnknownScript_0x1a8041, $0, $0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 8, 8, SIGNPOST_READ, MapNewBarkTownSignpost0Script
|
|
|
|
signpost 5, 11, SIGNPOST_READ, MapNewBarkTownSignpost1Script
|
|
|
|
signpost 3, 3, SIGNPOST_READ, MapNewBarkTownSignpost2Script
|
|
|
|
signpost 13, 9, SIGNPOST_READ, MapNewBarkTownSignpost3Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 3
|
2015-07-29 15:22:23 -07:00
|
|
|
person_event SPRITE_TEACHER, 12, 10, $3, 0, 1, -1, -1, $0, 0, TeacherScript_0x1a806f, -1
|
|
|
|
person_event SPRITE_FISHER, 13, 16, $4, 1, 0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, FisherScript_0x1a809b, -1
|
|
|
|
person_event SPRITE_SILVER, 6, 7, $9, 0, 0, -1, -1, $0, 0, SilverScript_0x1a809e, EVENT_RIVAL_NEW_BARK_TOWN
|