Map script and color shenanigans
This commit is contained in:
@@ -28,129 +28,129 @@ NewBarkTown_MapScriptHeader:
|
||||
clearevent EVENT_FIRST_TIME_BANKING_WITH_MOM
|
||||
return
|
||||
|
||||
UnknownScript_0x1a8016:
|
||||
NewBarkTown_TeacherStopsYouTrigger1:
|
||||
playmusic MUSIC_MOM
|
||||
spriteface NEWBARKTOWN_TEACHER, LEFT
|
||||
opentext
|
||||
writetext UnknownText_0x1a8134
|
||||
writetext Text_WaitPlayer
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface PLAYER, RIGHT
|
||||
applymovement NEWBARKTOWN_TEACHER, MovementData_0x1a80d4
|
||||
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherRunsToYou1_NBT
|
||||
opentext
|
||||
writetext UnknownText_0x1a813e
|
||||
writetext Text_WhatDoYouThinkYoureDoing
|
||||
waitbutton
|
||||
closetext
|
||||
follow NEWBARKTOWN_TEACHER, PLAYER
|
||||
applymovement NEWBARKTOWN_TEACHER, MovementData_0x1a80e0
|
||||
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherBringsYouBack1_NBT
|
||||
stopfollow
|
||||
opentext
|
||||
writetext UnknownText_0x1a815e
|
||||
writetext Text_ItsDangerousToGoAlone
|
||||
waitbutton
|
||||
closetext
|
||||
special RestartMapMusic
|
||||
end
|
||||
|
||||
UnknownScript_0x1a8041:
|
||||
NewBarkTown_TeacherStopsYouTrigger2:
|
||||
playmusic MUSIC_MOM
|
||||
spriteface NEWBARKTOWN_TEACHER, LEFT
|
||||
opentext
|
||||
writetext UnknownText_0x1a8134
|
||||
writetext Text_WaitPlayer
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface PLAYER, RIGHT
|
||||
applymovement NEWBARKTOWN_TEACHER, MovementData_0x1a80d9
|
||||
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherRunsToYou2_NBT
|
||||
spriteface PLAYER, UP
|
||||
opentext
|
||||
writetext UnknownText_0x1a813e
|
||||
writetext Text_WhatDoYouThinkYoureDoing
|
||||
waitbutton
|
||||
closetext
|
||||
follow NEWBARKTOWN_TEACHER, PLAYER
|
||||
applymovement NEWBARKTOWN_TEACHER, MovementData_0x1a80e6
|
||||
applymovement NEWBARKTOWN_TEACHER, Movement_TeacherBringsYouBack2_NBT
|
||||
stopfollow
|
||||
opentext
|
||||
writetext UnknownText_0x1a815e
|
||||
writetext Text_ItsDangerousToGoAlone
|
||||
waitbutton
|
||||
closetext
|
||||
special RestartMapMusic
|
||||
end
|
||||
|
||||
TeacherScript_0x1a806f:
|
||||
NewBarkTownTeacherScript:
|
||||
faceplayer
|
||||
opentext
|
||||
checkevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
|
||||
iftrue UnknownScript_0x1a8095
|
||||
iftrue .CallMom
|
||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x1a808f
|
||||
iftrue .TellMomYoureLeaving
|
||||
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
|
||||
iftrue UnknownScript_0x1a8089
|
||||
writetext UnknownText_0x1a80f7
|
||||
iftrue .MonIsAdorable
|
||||
writetext Text_GearIsImpressive
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x1a8089:
|
||||
writetext UnknownText_0x1a81c4
|
||||
.MonIsAdorable:
|
||||
writetext Text_YourMonIsAdorable
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x1a808f:
|
||||
writetext UnknownText_0x1a81f2
|
||||
.TellMomYoureLeaving:
|
||||
writetext Text_TellMomIfLeaving
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x1a8095:
|
||||
writetext UnknownText_0x1a8236
|
||||
.CallMom:
|
||||
writetext Text_CallMomOnGear
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
FisherScript_0x1a809b:
|
||||
jumptextfaceplayer UnknownText_0x1a8274
|
||||
NewBarkTownFisherScript:
|
||||
jumptextfaceplayer Text_ElmDiscoveredNewMon
|
||||
|
||||
SilverScript_0x1a809e:
|
||||
NewBarkTownSilverScript:
|
||||
opentext
|
||||
writetext UnknownText_0x1a82a6
|
||||
writetext NewBarkTownRivalText1
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface NEWBARKTOWN_SILVER, LEFT
|
||||
opentext
|
||||
writetext UnknownText_0x1a82cd
|
||||
writetext NewBarkTownRivalText2
|
||||
waitbutton
|
||||
closetext
|
||||
follow PLAYER, NEWBARKTOWN_SILVER
|
||||
applymovement PLAYER, MovementData_0x1a80ed
|
||||
applymovement PLAYER, Movement_SilverPushesYouAway_NBT
|
||||
stopfollow
|
||||
pause 5
|
||||
spriteface NEWBARKTOWN_SILVER, DOWN
|
||||
pause 5
|
||||
playsound SFX_TACKLE
|
||||
applymovement PLAYER, MovementData_0x1a80f0
|
||||
applymovement NEWBARKTOWN_SILVER, MovementData_0x1a80f5
|
||||
applymovement PLAYER, Movement_SilverShovesYouOut_NBT
|
||||
applymovement NEWBARKTOWN_SILVER, Movement_SilverReturnsToTheShadows_NBT
|
||||
end
|
||||
|
||||
MapNewBarkTownSignpost0Script:
|
||||
jumptext UnknownText_0x1a82e8
|
||||
jumptext NewBarkTownSignText
|
||||
|
||||
MapNewBarkTownSignpost1Script:
|
||||
jumptext UnknownText_0x1a8328
|
||||
jumptext PlayersHouseSignText
|
||||
|
||||
MapNewBarkTownSignpost2Script:
|
||||
jumptext UnknownText_0x1a8332
|
||||
jumptext ElmsLabSignText
|
||||
|
||||
MapNewBarkTownSignpost3Script:
|
||||
jumptext UnknownText_0x1a8340
|
||||
jumptext ElmsHouseSignText
|
||||
|
||||
MovementData_0x1a80d4:
|
||||
Movement_TeacherRunsToYou1_NBT:
|
||||
step_left
|
||||
step_left
|
||||
step_left
|
||||
step_left
|
||||
step_end
|
||||
|
||||
MovementData_0x1a80d9:
|
||||
Movement_TeacherRunsToYou2_NBT:
|
||||
step_left
|
||||
step_left
|
||||
step_left
|
||||
@@ -159,7 +159,7 @@ MovementData_0x1a80d9:
|
||||
turn_head_down
|
||||
step_end
|
||||
|
||||
MovementData_0x1a80e0:
|
||||
Movement_TeacherBringsYouBack1_NBT:
|
||||
step_right
|
||||
step_right
|
||||
step_right
|
||||
@@ -167,7 +167,7 @@ MovementData_0x1a80e0:
|
||||
turn_head_left
|
||||
step_end
|
||||
|
||||
MovementData_0x1a80e6:
|
||||
Movement_TeacherBringsYouBack2_NBT:
|
||||
step_right
|
||||
step_right
|
||||
step_right
|
||||
@@ -176,23 +176,23 @@ MovementData_0x1a80e6:
|
||||
turn_head_left
|
||||
step_end
|
||||
|
||||
MovementData_0x1a80ed:
|
||||
Movement_SilverPushesYouAway_NBT:
|
||||
turn_head_up
|
||||
step_down
|
||||
step_end
|
||||
|
||||
MovementData_0x1a80f0:
|
||||
Movement_SilverShovesYouOut_NBT:
|
||||
turn_head_up
|
||||
fix_facing
|
||||
jump_step_down
|
||||
remove_fixed_facing
|
||||
step_end
|
||||
|
||||
MovementData_0x1a80f5:
|
||||
Movement_SilverReturnsToTheShadows_NBT:
|
||||
step_right
|
||||
step_end
|
||||
|
||||
UnknownText_0x1a80f7:
|
||||
Text_GearIsImpressive:
|
||||
text "Wow, your #GEAR"
|
||||
line "is impressive!"
|
||||
|
||||
@@ -200,16 +200,16 @@ UnknownText_0x1a80f7:
|
||||
line "it for you?"
|
||||
done
|
||||
|
||||
UnknownText_0x1a8134:
|
||||
Text_WaitPlayer:
|
||||
text "Wait, <PLAY_G>!"
|
||||
done
|
||||
|
||||
UnknownText_0x1a813e:
|
||||
Text_WhatDoYouThinkYoureDoing:
|
||||
text "What do you think"
|
||||
line "you're doing?"
|
||||
done
|
||||
|
||||
UnknownText_0x1a815e:
|
||||
Text_ItsDangerousToGoAlone:
|
||||
text "It's dangerous to"
|
||||
line "go out without a"
|
||||
cont "#MON!"
|
||||
@@ -221,13 +221,13 @@ UnknownText_0x1a815e:
|
||||
line "to the next town."
|
||||
done
|
||||
|
||||
UnknownText_0x1a81c4:
|
||||
Text_YourMonIsAdorable:
|
||||
text "Oh! Your #MON"
|
||||
line "is adorable!"
|
||||
cont "I wish I had one!"
|
||||
done
|
||||
|
||||
UnknownText_0x1a81f2:
|
||||
Text_TellMomIfLeaving:
|
||||
text "Hi, <PLAY_G>!"
|
||||
line "Leaving again?"
|
||||
|
||||
@@ -236,7 +236,7 @@ UnknownText_0x1a81f2:
|
||||
cont "are leaving."
|
||||
done
|
||||
|
||||
UnknownText_0x1a8236:
|
||||
Text_CallMomOnGear:
|
||||
text "Call your mom on"
|
||||
line "your #GEAR to"
|
||||
|
||||
@@ -244,7 +244,7 @@ UnknownText_0x1a8236:
|
||||
line "you're doing."
|
||||
done
|
||||
|
||||
UnknownText_0x1a8274:
|
||||
Text_ElmDiscoveredNewMon:
|
||||
text "Yo, <PLAYER>!"
|
||||
|
||||
para "I hear PROF.ELM"
|
||||
@@ -252,20 +252,20 @@ UnknownText_0x1a8274:
|
||||
cont "new #MON."
|
||||
done
|
||||
|
||||
UnknownText_0x1a82a6:
|
||||
text $56
|
||||
NewBarkTownRivalText1:
|
||||
text "<......>"
|
||||
|
||||
para "So this is the"
|
||||
line "famous ELM #MON"
|
||||
cont "LAB…"
|
||||
done
|
||||
|
||||
UnknownText_0x1a82cd:
|
||||
NewBarkTownRivalText2:
|
||||
text "…What are you"
|
||||
line "staring at?"
|
||||
done
|
||||
|
||||
UnknownText_0x1a82e8:
|
||||
NewBarkTownSignText:
|
||||
text "NEW BARK TOWN"
|
||||
|
||||
para "The Town Where the"
|
||||
@@ -273,15 +273,15 @@ UnknownText_0x1a82e8:
|
||||
cont "Beginning Blow"
|
||||
done
|
||||
|
||||
UnknownText_0x1a8328:
|
||||
PlayersHouseSignText:
|
||||
text "<PLAYER>'s House"
|
||||
done
|
||||
|
||||
UnknownText_0x1a8332:
|
||||
ElmsLabSignText:
|
||||
text "ELM #MON LAB"
|
||||
done
|
||||
|
||||
UnknownText_0x1a8340:
|
||||
ElmsHouseSignText:
|
||||
text "ELM'S HOUSE"
|
||||
done
|
||||
|
||||
@@ -298,8 +298,8 @@ NewBarkTown_MapEventHeader:
|
||||
|
||||
.XYTriggers:
|
||||
db 2
|
||||
xy_trigger 0, $8, $1, $0, UnknownScript_0x1a8016, $0, $0
|
||||
xy_trigger 0, $9, $1, $0, UnknownScript_0x1a8041, $0, $0
|
||||
xy_trigger 0, $8, $1, $0, NewBarkTown_TeacherStopsYouTrigger1, $0, $0
|
||||
xy_trigger 0, $9, $1, $0, NewBarkTown_TeacherStopsYouTrigger2, $0, $0
|
||||
|
||||
.Signposts:
|
||||
db 4
|
||||
@@ -310,6 +310,6 @@ NewBarkTown_MapEventHeader:
|
||||
|
||||
.PersonEvents:
|
||||
db 3
|
||||
person_event SPRITE_TEACHER, 8, 6, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, TeacherScript_0x1a806f, -1
|
||||
person_event SPRITE_FISHER, 9, 12, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, FisherScript_0x1a809b, -1
|
||||
person_event SPRITE_SILVER, 2, 3, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SilverScript_0x1a809e, EVENT_RIVAL_NEW_BARK_TOWN
|
||||
person_event SPRITE_TEACHER, 8, 6, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, NewBarkTownTeacherScript, -1
|
||||
person_event SPRITE_FISHER, 9, 12, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, NewBarkTownFisherScript, -1
|
||||
person_event SPRITE_SILVER, 2, 3, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, NewBarkTownSilverScript, EVENT_RIVAL_NEW_BARK_TOWN
|
||||
|
Reference in New Issue
Block a user