mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-06 16:15:24 +13:00
Merge branch 'master' of https://github.com/ZetaNull/jep-hack
This commit is contained in:
commit
cdbaf2fe2a
94 changed files with 1909 additions and 354 deletions
BIN
maps/BlueLab.ablk
Normal file
BIN
maps/BlueLab.ablk
Normal file
Binary file not shown.
790
maps/BlueLab.asm
Normal file
790
maps/BlueLab.asm
Normal file
|
|
@ -0,0 +1,790 @@
|
|||
; Text in this area uses translations from Minamitoku.
|
||||
; https://www.youtube.com/watch?v=Pe1vsKRl7_M&ab_channel=Minamitoku
|
||||
; https://www.youtube.com/watch?v=EyAHU12OKDI&t=1741s&ab_channel=Minamitoku
|
||||
|
||||
; There is much abridging of course, for the purposes of JEP's storyline.
|
||||
; Some tweaks are made to be reminiscent of RBY, showing Blue taking after Oak.
|
||||
|
||||
object_const_def
|
||||
const BLUELAB_BLUE
|
||||
const BLUELAB_CUBBURN
|
||||
const BLUELAB_PALSSIO
|
||||
const BLUELAB_CHIKORITA
|
||||
const BLUELAB_KEN
|
||||
const BLUELAB_OAK
|
||||
|
||||
BlueLab_MapScripts:
|
||||
def_scene_scripts
|
||||
scene_script EnterLabWithBlue, SCENE_ENTER_LAB_WITH_BLUE
|
||||
scene_script EnterStarterRoomWithBlue, SCENE_ENTER_STARTER_ROOM_WITH_BLUE
|
||||
scene_script BlueLabWhereGoing, SCENE_BLUELAB_WHERE_GOING
|
||||
scene_script BlueLabNoopScene, SCENE_BLUELAB_NOOP
|
||||
|
||||
def_callbacks
|
||||
callback MAPCALLBACK_OBJECTS, BlueLabSetup
|
||||
|
||||
BlueLabNoopScene:
|
||||
end
|
||||
|
||||
BlueLabSetup:
|
||||
checkevent EVENT_DRAGGED_BY_BLUE
|
||||
iffalse .skip1
|
||||
moveobject BLUELAB_BLUE, 4, 18
|
||||
.skip1
|
||||
checkevent EVENT_GONE_THROUGH_STARTER_DOOR
|
||||
iffalse .skip2
|
||||
appear BLUELAB_BLUE
|
||||
appear BLUELAB_KEN
|
||||
moveobject BLUELAB_BLUE, 20, 2
|
||||
moveobject BLUELAB_KEN, 19, 4
|
||||
.skip2
|
||||
checkevent EVENT_BRIEFED_BY_BLUE
|
||||
iffalse .skip3
|
||||
moveobject BLUELAB_OAK, 6, 2
|
||||
moveobject BLUELAB_KEN, 23, 19
|
||||
.skip3
|
||||
endcallback
|
||||
end
|
||||
|
||||
EnterLabWithBlue:
|
||||
applymovement BLUELAB_BLUE, BlueIllusion
|
||||
moveobject BLUELAB_BLUE, 5, 4
|
||||
applymovement PLAYER, EnterLabWithBlueMovement
|
||||
turnobject BLUELAB_BLUE, UP
|
||||
opentext
|
||||
writetext BlueIBroughtEm
|
||||
waitbutton
|
||||
closetext
|
||||
opentext
|
||||
writetext KenWowText
|
||||
waitbutton
|
||||
closetext
|
||||
opentext
|
||||
writetext OakAhYesIAmOak
|
||||
waitbutton
|
||||
closetext
|
||||
opentext
|
||||
writetext OakStoryAskText
|
||||
waitbutton
|
||||
closetext
|
||||
yesorno
|
||||
iffalse .No1
|
||||
sjump .Yes1
|
||||
.No1
|
||||
opentext
|
||||
writetext OakDiscerningEye
|
||||
waitbutton
|
||||
closetext
|
||||
yesorno
|
||||
iffalse .No1
|
||||
.Yes1
|
||||
opentext
|
||||
writetext OakStoryText
|
||||
waitbutton
|
||||
closetext
|
||||
turnobject BLUELAB_KEN, RIGHT
|
||||
opentext
|
||||
writetext KenResponseText
|
||||
waitbutton
|
||||
closetext
|
||||
opentext
|
||||
writetext BlueTakeText
|
||||
waitbutton
|
||||
closetext
|
||||
opentext
|
||||
writetext OakThanksText
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement BLUELAB_BLUE, KenBlueMovement
|
||||
applymovement BLUELAB_BLUE, BlueEnterStarterRoomMovement
|
||||
disappear BLUELAB_BLUE
|
||||
playsound SFX_ENTER_DOOR
|
||||
pause 10
|
||||
applymovement BLUELAB_KEN, KenBlueMovement
|
||||
applymovement BLUELAB_KEN, KenEnterStarterRoomMovement
|
||||
disappear BLUELAB_KEN
|
||||
playsound SFX_ENTER_DOOR
|
||||
pause 10
|
||||
applymovement PLAYER, EnterStarterRoomMovement1
|
||||
setscene SCENE_BLUELAB_NOOP
|
||||
end
|
||||
|
||||
EnterStarterRoomWithBlue:
|
||||
applymovement PLAYER, EnterStarterRoomMovement2
|
||||
opentext
|
||||
writetext BlueChooseText
|
||||
waitbutton
|
||||
closetext
|
||||
opentext
|
||||
writetext KenPickText
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement BLUELAB_KEN, KenPickMovement1
|
||||
opentext
|
||||
writetext KenChikoritaText
|
||||
waitbutton
|
||||
closetext
|
||||
disappear BLUELAB_CHIKORITA
|
||||
opentext
|
||||
writetext KenReceivedChikoritaText
|
||||
waitbutton
|
||||
closetext
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
applymovement BLUELAB_KEN, KenPickMovement2
|
||||
moveobject BLUELAB_KEN, 23, 19
|
||||
playsound SFX_ENTER_DOOR
|
||||
pause 10
|
||||
opentext
|
||||
writetext BlueWeirdText
|
||||
waitbutton
|
||||
closetext
|
||||
.goBack
|
||||
opentext
|
||||
writetext BlueProposalText
|
||||
waitbutton
|
||||
closetext
|
||||
yesorno
|
||||
iffalse .No
|
||||
sjump .Yes
|
||||
.No
|
||||
opentext
|
||||
writetext BlueLabINeedYouText
|
||||
waitbutton
|
||||
closetext
|
||||
yesorno
|
||||
iffalse .goBack
|
||||
.Yes
|
||||
opentext
|
||||
writetext BlueAcceptText
|
||||
waitbutton
|
||||
closetext
|
||||
setscene SCENE_BLUELAB_NOOP
|
||||
clearevent EVENT_GOT_POKEMON_FROM_BLUE ; Player is now trapped!
|
||||
end
|
||||
|
||||
BlueIllusion: ; Blue steps up, then gets directly moved to the right spot once he's off-screen.
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step_end
|
||||
|
||||
EnterLabWithBlueMovement:
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step_end
|
||||
|
||||
EnterStarterRoomMovement1:
|
||||
step RIGHT
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step LEFT
|
||||
step UP
|
||||
step_end
|
||||
|
||||
KenBlueMovement:
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step_end
|
||||
|
||||
KenEnterStarterRoomMovement:
|
||||
step RIGHT
|
||||
step UP
|
||||
step_end
|
||||
|
||||
BlueEnterStarterRoomMovement:
|
||||
step LEFT
|
||||
step UP
|
||||
step_end
|
||||
|
||||
EnterStarterRoomMovement2:
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step UP
|
||||
step_end
|
||||
|
||||
CubburnPokeBallScript:
|
||||
checkevent EVENT_GOT_POKEMON_FROM_BLUE
|
||||
iftrue LookAtBluePokeBallScript
|
||||
turnobject BLUELAB_BLUE, DOWN
|
||||
refreshscreen
|
||||
pokepic CUBBURN
|
||||
cry CUBBURN
|
||||
waitbutton
|
||||
closepokepic
|
||||
opentext
|
||||
writetext TakeCubburnText
|
||||
yesorno
|
||||
iffalse BlueDidntChooseStarterScript
|
||||
disappear BLUELAB_CUBBURN
|
||||
setevent EVENT_GOT_CUBBURN_FROM_BLUE
|
||||
writetext BlueChoseCubburnText
|
||||
promptbutton
|
||||
waitsfx
|
||||
getmonname STRING_BUFFER_3, CUBBURN
|
||||
writetext BlueLabReceivedStarterText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
promptbutton
|
||||
givepoke CUBBURN, 5
|
||||
closetext
|
||||
readvar VAR_FACING
|
||||
ifequal RIGHT, BlueAfterStarterScript
|
||||
applymovement PLAYER, AfterCubburnMovement
|
||||
sjump BlueAfterStarterScript
|
||||
|
||||
PalssioPokeBallScript:
|
||||
checkevent EVENT_GOT_POKEMON_FROM_BLUE
|
||||
iftrue LookAtBluePokeBallScript
|
||||
turnobject BLUELAB_BLUE, DOWN
|
||||
refreshscreen
|
||||
pokepic PALSSIO
|
||||
cry PALSSIO
|
||||
waitbutton
|
||||
closepokepic
|
||||
opentext
|
||||
writetext TakePalssioText
|
||||
yesorno
|
||||
iffalse BlueDidntChooseStarterScript
|
||||
disappear BLUELAB_PALSSIO
|
||||
setevent EVENT_GOT_PALSSIO_FROM_BLUE
|
||||
writetext BlueChosePalssioText
|
||||
promptbutton
|
||||
waitsfx
|
||||
getmonname STRING_BUFFER_3, PALSSIO
|
||||
writetext BlueLabReceivedStarterText
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
promptbutton
|
||||
givepoke PALSSIO, 5
|
||||
closetext
|
||||
readvar VAR_FACING
|
||||
ifequal RIGHT, BlueAfterStarterScript
|
||||
applymovement PLAYER, AfterPalssioMovement
|
||||
sjump BlueAfterStarterScript
|
||||
|
||||
BlueAfterStarterScript:
|
||||
opentext
|
||||
writetext BlueAfterStarterText
|
||||
waitbutton
|
||||
closetext
|
||||
addcellnum PHONE_BLUE
|
||||
opentext
|
||||
writetext GotBluesNumberText
|
||||
playsound SFX_REGISTER_PHONE_NUMBER
|
||||
waitsfx
|
||||
waitbutton
|
||||
closetext
|
||||
moveobject BLUELAB_OAK, 6, 2
|
||||
setevent EVENT_BRIEFED_BY_BLUE
|
||||
end
|
||||
|
||||
BlueDidntChooseStarterScript:
|
||||
writetext BlueDidntChooseStarterText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
BlueLabReceivedStarterText:
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wStringBuffer3
|
||||
text "!"
|
||||
done
|
||||
|
||||
BlueChoseCubburnText:
|
||||
text "BLUE: This one"
|
||||
line "is fierce! I"
|
||||
cont "love it!"
|
||||
done
|
||||
|
||||
BlueChosePalssioText:
|
||||
text "BLUE: This one"
|
||||
line "is so smart!"
|
||||
para "A favourite of"
|
||||
line "mine for sure!"
|
||||
done
|
||||
|
||||
BlueDidntChooseStarterText:
|
||||
text "Think it over"
|
||||
line "carefully."
|
||||
|
||||
para "This is really"
|
||||
line "important, after"
|
||||
cont "all."
|
||||
done
|
||||
|
||||
GotBluesNumberText:
|
||||
text "<PLAYER> got BLUE's"
|
||||
line "phone number."
|
||||
done
|
||||
|
||||
AfterCubburnMovement:
|
||||
step LEFT
|
||||
step LEFT
|
||||
turn_head UP
|
||||
step_end
|
||||
|
||||
AfterPalssioMovement:
|
||||
step LEFT
|
||||
step LEFT
|
||||
step LEFT
|
||||
turn_head UP
|
||||
step_end
|
||||
|
||||
TakeCubburnText:
|
||||
text "So! You want the"
|
||||
line "FIRE #MON,"
|
||||
cont "CUBBURN?"
|
||||
done
|
||||
|
||||
TakePalssioText:
|
||||
text "So! You want the"
|
||||
line "WATER #MON,"
|
||||
cont "PALSSIO?"
|
||||
done
|
||||
|
||||
LookAtBluePokeBallScript:
|
||||
opentext
|
||||
writetext BluePokeBallText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
BlueChikoritaPokeBallScript:
|
||||
BluePokeBallText:
|
||||
text "It contains a"
|
||||
line "#MON caught by"
|
||||
cont "PROF.OAK."
|
||||
done
|
||||
|
||||
KenIfItIsntYouText:
|
||||
text "KEN: Haaah, what?"
|
||||
line "If it isn't"
|
||||
cont "<PLAYER>!"
|
||||
|
||||
para "I thought it was"
|
||||
line "strange, so I"
|
||||
cont "came here."
|
||||
|
||||
para "But nobody is"
|
||||
line "around!"
|
||||
done
|
||||
|
||||
PCText:
|
||||
text "There's some mail"
|
||||
line "here!"
|
||||
|
||||
para "… … …"
|
||||
|
||||
para "PROF.OAK!"
|
||||
line "Have you vanished?"
|
||||
|
||||
para "The whole world is"
|
||||
line "worried!"
|
||||
|
||||
para "That said…"
|
||||
|
||||
para "I still haven't"
|
||||
line "been able to"
|
||||
cont "find that #MON"
|
||||
cont "you wanted to"
|
||||
cont "research."
|
||||
|
||||
para "No clues, no"
|
||||
line "chances to catch"
|
||||
cont "it."
|
||||
|
||||
para "Maybe it really"
|
||||
line "is a tall tale…"
|
||||
|
||||
para "- A concerned"
|
||||
line "AIDE"
|
||||
done
|
||||
|
||||
ReportText:
|
||||
text "Don't forget to"
|
||||
line "SAVE!"
|
||||
done
|
||||
|
||||
PokedexText:
|
||||
text "It's a #DEX!"
|
||||
line "It looks diff-"
|
||||
cont "erent to the"
|
||||
cont "ones in JOHTO!"
|
||||
done
|
||||
|
||||
DoorLockedText:
|
||||
text "The door is"
|
||||
line "locked."
|
||||
done
|
||||
|
||||
BlueLabWhereAreYouGoingText:
|
||||
text "BLUE: Whoa, hey,"
|
||||
line "you going some-"
|
||||
cont "where?"
|
||||
done
|
||||
|
||||
BlueLabINeedYouText:
|
||||
text "Look, I need you"
|
||||
line "to do this with"
|
||||
cont "me."
|
||||
|
||||
para "These #MON are"
|
||||
line "super rare! You"
|
||||
cont "like those, right?"
|
||||
done
|
||||
|
||||
BlueIBroughtEm:
|
||||
text "BLUE: Hey! Gramps!"
|
||||
line "I brought 'em!"
|
||||
done
|
||||
|
||||
KenWowText:
|
||||
text "KEN: Whoa, it's"
|
||||
line "PROF.OAK!"
|
||||
|
||||
para "I didn't expect"
|
||||
line "him to be a"
|
||||
cont "geez-- I mean,"
|
||||
cont "senior…"
|
||||
done
|
||||
|
||||
OakAhYesIAmOak:
|
||||
text "OAK: Hm? Ah, yes,"
|
||||
line "I am OAK!"
|
||||
|
||||
para "So nice of you"
|
||||
line "to call me an"
|
||||
cont "old geezer!"
|
||||
|
||||
para "Yes! I, PROF.OAK,"
|
||||
line "called you two"
|
||||
cont "here!"
|
||||
done
|
||||
|
||||
OakStoryAskText:
|
||||
text "Will you listen"
|
||||
line "to my story?"
|
||||
done
|
||||
|
||||
OakDiscerningEye:
|
||||
text "I suppose I am"
|
||||
line "not a good judge"
|
||||
cont "of character…"
|
||||
|
||||
para "Hmm…"
|
||||
done
|
||||
|
||||
OakStoryText:
|
||||
text "OAK: Right! A year"
|
||||
line "ago, I gave two"
|
||||
cont "boys #MON so"
|
||||
cont "they could carry"
|
||||
cont "out my dream of"
|
||||
cont "filling the"
|
||||
cont "#DEX!"
|
||||
|
||||
para "That dream was"
|
||||
line "fulfilled! They"
|
||||
cont "pulled it off"
|
||||
cont "with aplomb!"
|
||||
|
||||
para "They documented"
|
||||
line "all 190 #MON!"
|
||||
|
||||
para "But…the world is"
|
||||
line "a big place! One"
|
||||
cont "after another, new"
|
||||
cont "#MON have been"
|
||||
cont "discovered!"
|
||||
|
||||
para "I moved to this"
|
||||
line "place, SILENT"
|
||||
cont "HILLS, to cont-"
|
||||
cont "inue my research!"
|
||||
|
||||
para "I must see all"
|
||||
line "#MON up close!"
|
||||
cont "That is my policy!"
|
||||
|
||||
para "… … …"
|
||||
|
||||
para "As you can see,"
|
||||
line "my nephew is here"
|
||||
cont "to help, as are"
|
||||
cont "everyone else."
|
||||
|
||||
para "But…we're short-"
|
||||
line "staffed."
|
||||
|
||||
para "So! You two!"
|
||||
|
||||
para "I need your help!"
|
||||
done
|
||||
|
||||
KenResponseText:
|
||||
text "KEN: Oh, <PLAYER>!"
|
||||
line "This is super"
|
||||
cont "interesting!"
|
||||
done
|
||||
|
||||
BlueTakeText:
|
||||
text "BLUE: I'll take"
|
||||
line "them in. You need"
|
||||
cont "rest, gramps!"
|
||||
done
|
||||
|
||||
OakThanksText:
|
||||
text "OAK: Ah, thank"
|
||||
line "you!"
|
||||
done
|
||||
|
||||
BlueChooseText:
|
||||
text "BLUE: So here we"
|
||||
line "have 3 #"
|
||||
cont "BALLS!"
|
||||
|
||||
para "Haha! They contain"
|
||||
line "#MON."
|
||||
|
||||
para "I used to be a"
|
||||
line "rough and tumble"
|
||||
cont "sort of TRAINER,"
|
||||
cont "and even became"
|
||||
cont "CHAMPION!"
|
||||
|
||||
para "But I was too"
|
||||
line "cocky for my own"
|
||||
cont "good. My old RIVAL"
|
||||
cont "set me straight."
|
||||
|
||||
para "When picking these"
|
||||
line "3, please treat"
|
||||
cont "them with love"
|
||||
cont "and respect."
|
||||
|
||||
para "KEN, care to pick"
|
||||
line "first?"
|
||||
done
|
||||
|
||||
KenPickText:
|
||||
text "Ah! I already"
|
||||
line "know which I want"
|
||||
cont "want to pick!"
|
||||
|
||||
para "I'm so excited!"
|
||||
done
|
||||
|
||||
KenPickMovement1:
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step UP
|
||||
step_end
|
||||
|
||||
KenChikoritaText:
|
||||
text "CHIKORITA!"
|
||||
line "It's so cute"
|
||||
cont "and cuddly!"
|
||||
|
||||
para "Let's go on"
|
||||
line "an adventure"
|
||||
cont "together!"
|
||||
|
||||
para "I'll show CAL!"
|
||||
done
|
||||
|
||||
KenReceivedChikoritaText:
|
||||
text "KEN received"
|
||||
line "CHIKORITA!"
|
||||
done
|
||||
|
||||
KenPickMovement2:
|
||||
step LEFT
|
||||
step DOWN
|
||||
step DOWN
|
||||
step DOWN
|
||||
step DOWN
|
||||
step DOWN
|
||||
step DOWN
|
||||
step_end
|
||||
|
||||
BlueWeirdText:
|
||||
text "BLUE: Such a"
|
||||
line "starry-eyed"
|
||||
cont "kid…"
|
||||
|
||||
para "Well, champ…"
|
||||
|
||||
para "You saw it too,"
|
||||
line "right? I mean,"
|
||||
cont "you have to be"
|
||||
cont "blind to not."
|
||||
|
||||
para "That ain't gramps."
|
||||
|
||||
para "No one believes"
|
||||
line "me! Not even"
|
||||
cont "DAISY! Gramps's"
|
||||
cont "research is top-"
|
||||
cont "notch, but this"
|
||||
cont "one hardly responds"
|
||||
cont "to e-mails!"
|
||||
|
||||
para "#MON TALK is"
|
||||
line "down too, so the"
|
||||
cont "news is catching"
|
||||
cont "on!"
|
||||
done
|
||||
|
||||
BlueProposalText:
|
||||
text "So here's the"
|
||||
line "deal. I want you"
|
||||
cont "to search for"
|
||||
cont "gramps."
|
||||
|
||||
para "In return, I"
|
||||
line "will give you"
|
||||
cont "one of these"
|
||||
cont "#MON. Capische?"
|
||||
done
|
||||
|
||||
BlueAcceptText:
|
||||
text "They're super"
|
||||
line "rare! I'm sure"
|
||||
cont "they'll be safe"
|
||||
cont "with you!"
|
||||
done
|
||||
|
||||
BlueAfterStarterText:
|
||||
text "Right place at"
|
||||
line "the right time,"
|
||||
cont "huh, <PLAYER>?"
|
||||
|
||||
para "I don't have any"
|
||||
line "proof that gramps"
|
||||
cont "has disappeared,"
|
||||
cont "only a hunch."
|
||||
|
||||
para "I don't know"
|
||||
line "where he could"
|
||||
cont "have gone, even."
|
||||
|
||||
para "The NIHON LEAGUE"
|
||||
line "is wicked tough,"
|
||||
cont "so why not start"
|
||||
cont "there?"
|
||||
|
||||
para "The first GYM is"
|
||||
line "in OLD CITY."
|
||||
|
||||
para "Oh, say, do you"
|
||||
line "want my #GEAR"
|
||||
cont "number? I'll call"
|
||||
cont "you if anything"
|
||||
cont "comes up"
|
||||
done
|
||||
|
||||
BlueLabWhereAreYouGoingMovement:
|
||||
step UP
|
||||
step_end
|
||||
|
||||
BlueLabWhereGoing:
|
||||
checkevent EVENT_GOT_POKEMON_FROM_BLUE
|
||||
iftrue .end
|
||||
opentext
|
||||
writetext BlueLabWhereGoing
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement PLAYER, BlueLabWhereAreYouGoingMovement
|
||||
opentext
|
||||
writetext BlueLabINeedYouText
|
||||
waitbutton
|
||||
closetext
|
||||
setscene SCENE_BLUELAB_NOOP
|
||||
.end
|
||||
end
|
||||
|
||||
OakRegularScript:
|
||||
jumptextfaceplayer OakRegularText
|
||||
|
||||
OakRegularText:
|
||||
text "OAK: #MON the"
|
||||
line "world over wait"
|
||||
cont "for you…"
|
||||
|
||||
para "What was your"
|
||||
line "name again?"
|
||||
|
||||
para "<PLAYER>?"
|
||||
|
||||
para "I'll remember it"
|
||||
line "for you."
|
||||
done
|
||||
|
||||
KenRegularScript:
|
||||
jumptextfaceplayer KenRegularText
|
||||
|
||||
KenRegularText:
|
||||
text "?"
|
||||
done
|
||||
|
||||
; To be expanded on later.
|
||||
ProfBlueScript:
|
||||
opentext
|
||||
writetext BlueRegularText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
BlueRegularText:
|
||||
text "Hey, <PLAYER>!"
|
||||
|
||||
para "I'll let you know"
|
||||
line "If anything comes"
|
||||
cont "up."
|
||||
done
|
||||
|
||||
BlueLab_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
def_warp_events
|
||||
warp_event 3, 19, SILENT_HILLS, 3
|
||||
warp_event 4, 19, SILENT_HILLS, 4
|
||||
warp_event 4, 0, BLUE_LAB, 4
|
||||
warp_event 19, 9, BLUE_LAB, 3
|
||||
warp_event 20, 9, BLUE_LAB, 3
|
||||
|
||||
def_coord_events
|
||||
coord_event 4, 19, SCENE_ENTER_LAB_WITH_BLUE, EnterLabWithBlue
|
||||
coord_event 20, 9, SCENE_BLUELAB_WHERE_GOING, BlueLabWhereGoing
|
||||
coord_event 19, 9, SCENE_BLUELAB_WHERE_GOING, BlueLabWhereGoing
|
||||
|
||||
def_bg_events
|
||||
|
||||
def_object_events
|
||||
object_event 4, 2, SPRITE_BLUE, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ProfBlueScript, -1
|
||||
object_event 22, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CubburnPokeBallScript, EVENT_CUBBURN_POKEBALL_IN_BLUES_LAB
|
||||
object_event 23, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PalssioPokeBallScript, EVENT_PALSSIO_POKEBALL_IN_BLUES_LAB
|
||||
object_event 21, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlueChikoritaPokeBallScript, -1
|
||||
object_event 3, 4, SPRITE_ROCKER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, KenRegularScript, -1
|
||||
object_event 4, 2, SPRITE_OAK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OakRegularScript, -1
|
||||
|
|
@ -282,17 +282,17 @@ BurnedTower1F_MapEvents:
|
|||
warp_event 9, 15, ECRUTEAK_CITY, 13
|
||||
warp_event 10, 15, ECRUTEAK_CITY, 13
|
||||
warp_event 10, 9, BURNED_TOWER_B1F, 1
|
||||
warp_event 5, 5, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
||||
warp_event 5, 6, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
||||
warp_event 4, 6, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
||||
warp_event 15, 4, BURNED_TOWER_B1F, 2 ; inaccessible, left over from G/S
|
||||
warp_event 15, 5, BURNED_TOWER_B1F, 2 ; inaccessible, left over from G/S
|
||||
warp_event 10, 7, BURNED_TOWER_B1F, 3 ; inaccessible, left over from G/S
|
||||
warp_event 5, 14, BURNED_TOWER_B1F, 4 ; inaccessible, left over from G/S
|
||||
warp_event 4, 14, BURNED_TOWER_B1F, 4 ; inaccessible, left over from G/S
|
||||
warp_event 14, 14, BURNED_TOWER_B1F, 5 ; inaccessible, left over from G/S
|
||||
warp_event 15, 14, BURNED_TOWER_B1F, 5 ; inaccessible, left over from G/S
|
||||
warp_event 7, 15, BURNED_TOWER_B1F, 6 ; inaccessible, left over from G/S
|
||||
; warp_event 5, 5, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
||||
; warp_event 5, 6, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
||||
; warp_event 4, 6, BURNED_TOWER_B1F, 1 ; inaccessible, left over from G/S
|
||||
; warp_event 15, 4, BURNED_TOWER_B1F, 2 ; inaccessible, left over from G/S
|
||||
; warp_event 15, 5, BURNED_TOWER_B1F, 2 ; inaccessible, left over from G/S
|
||||
; warp_event 10, 7, BURNED_TOWER_B1F, 3 ; inaccessible, left over from G/S
|
||||
; warp_event 5, 14, BURNED_TOWER_B1F, 4 ; inaccessible, left over from G/S
|
||||
; warp_event 4, 14, BURNED_TOWER_B1F, 4 ; inaccessible, left over from G/S
|
||||
; warp_event 14, 14, BURNED_TOWER_B1F, 5 ; inaccessible, left over from G/S
|
||||
; warp_event 15, 14, BURNED_TOWER_B1F, 5 ; inaccessible, left over from G/S
|
||||
; warp_event 7, 15, BURNED_TOWER_B1F, 6 ; inaccessible, left over from G/S
|
||||
|
||||
def_coord_events
|
||||
coord_event 11, 9, SCENE_BURNEDTOWER1F_RIVAL_BATTLE, BurnedTowerRivalBattleScript
|
||||
|
|
|
|||
|
|
@ -155,12 +155,6 @@ BurnedTowerSuicuneMovement2:
|
|||
remove_sliding
|
||||
step_end
|
||||
|
||||
BurnedTowerUnusedMovement: ; unreferenced
|
||||
set_sliding
|
||||
big_step DOWN
|
||||
remove_sliding
|
||||
step_end
|
||||
|
||||
BurnedTowerSuicuneMovement3:
|
||||
set_sliding
|
||||
big_step UP
|
||||
|
|
|
|||
|
|
@ -502,7 +502,7 @@ DebugRoom_MapEvents:
|
|||
warp_event 19, 34, BLUE_FOREST, 1 ; southern warp
|
||||
warp_event 33, 33, BLUE_FOREST, 1 ; southeast warp
|
||||
warp_event 5, 3, AZALEA_TOWN, 1
|
||||
warp_event 34, 11, WINNERS_PATH, 1
|
||||
warp_event 34, 11, WINNERS_PATH, 3
|
||||
|
||||
def_coord_events
|
||||
|
||||
|
|
|
|||
|
|
@ -1209,12 +1209,6 @@ ElmGiveTicketText2:
|
|||
line "PROF.OAK in KANTO!"
|
||||
done
|
||||
|
||||
ElmsLabMonEggText: ; unreferenced
|
||||
text "It's the #MON"
|
||||
line "EGG being studied"
|
||||
cont "by PROF.ELM."
|
||||
done
|
||||
|
||||
AideText_GiveYouPotion:
|
||||
text "<PLAY_G>, I want"
|
||||
line "you to have this"
|
||||
|
|
|
|||
|
|
@ -420,9 +420,6 @@ IlexForestHiddenSuperPotion:
|
|||
IlexForestHiddenFullHeal:
|
||||
hiddenitem FULL_HEAL, EVENT_ILEX_FOREST_HIDDEN_FULL_HEAL
|
||||
|
||||
IlexForestBoulder: ; unreferenced
|
||||
jumpstd StrengthBoulderScript
|
||||
|
||||
IlexForestSignpost:
|
||||
jumptext IlexForestSignpostText
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
IJHF|}+BF~E/JIJ
|
||||
!A|}G~E$AAAAAATnnnnUX5555Y
|
||||
IJHF|}+BF~E/JIJ !A|}G~E$AAAAAATnnnnUX5555Y
|
||||
|
|
@ -2,14 +2,82 @@
|
|||
; https://www.youtube.com/watch?v=Pe1vsKRl7_M&ab_channel=Minamitoku
|
||||
|
||||
object_const_def
|
||||
;const GLOBALTERMINALOUTSIDE_ROCKET
|
||||
const SILENT_HILLS_POKEFAN_F
|
||||
const SILENT_HILLS_YOUNGSTER
|
||||
const SILENT_HILLS_BLUE
|
||||
|
||||
SilentHills_MapScripts:
|
||||
def_scene_scripts
|
||||
scene_script SilentHillsNoopScene, SCENE_SILENT_HILLS_NOOP
|
||||
scene_script SilentHillsBlue1, SCENE_SILENT_HILLS_BLUE1
|
||||
scene_script SilentHillsBlue2, SCENE_SILENT_HILLS_BLUE2
|
||||
|
||||
def_callbacks
|
||||
callback MAPCALLBACK_NEWMAP, SilentHillsFlypointCallback
|
||||
|
||||
SilentHillsNoopScene:
|
||||
end
|
||||
|
||||
SilentHillsBlue1:
|
||||
checkevent EVENT_DRAGGED_BY_BLUE
|
||||
iftrue .end
|
||||
moveobject SILENT_HILLS_BLUE, 4, 8
|
||||
opentext
|
||||
writetext BlueWaitText1
|
||||
waitbutton
|
||||
closetext
|
||||
pause 15
|
||||
opentext
|
||||
writetext BlueWaitText2
|
||||
waitbutton
|
||||
closetext
|
||||
opentext
|
||||
writetext BlueFollowMeText
|
||||
playmusic MUSIC_SHOW_ME_AROUND
|
||||
appear SILENT_HILLS_BLUE
|
||||
applymovement SILENT_HILLS_BLUE, BlueStrideMovement
|
||||
opentext
|
||||
writetext BlueFollowMeText
|
||||
waitbutton
|
||||
closetext
|
||||
follow SILENT_HILLS_BLUE, PLAYER, BlueFollowMeMovement1
|
||||
stopfollow
|
||||
setevent EVENT_DRAGGED_BY_BLUE
|
||||
setevent EVENT_GOT_POKEMON_FROM_BLUE ; It's only for the moment, it gets reset once you're actually picking one. Just handles potentially stupid scenarios.
|
||||
.end
|
||||
setscene SCENE_SILENT_HILLS_NOOP
|
||||
end
|
||||
|
||||
SilentHillsBlue2:
|
||||
checkevent EVENT_DRAGGED_BY_BLUE
|
||||
iftrue .end
|
||||
moveobject SILENT_HILLS_BLUE, 4, 8
|
||||
opentext
|
||||
writetext BlueWaitText1
|
||||
waitbutton
|
||||
closetext
|
||||
pause 15
|
||||
opentext
|
||||
writetext BlueWaitText2
|
||||
waitbutton
|
||||
closetext
|
||||
opentext
|
||||
writetext BlueFollowMeText
|
||||
playmusic MUSIC_SHOW_ME_AROUND
|
||||
appear SILENT_HILLS_BLUE
|
||||
applymovement SILENT_HILLS_BLUE, BlueStrideMovement
|
||||
opentext
|
||||
writetext BlueFollowMeText
|
||||
waitbutton
|
||||
closetext
|
||||
follow SILENT_HILLS_BLUE, PLAYER, BlueFollowMeMovement2
|
||||
stopfollow
|
||||
setevent EVENT_DRAGGED_BY_BLUE
|
||||
setevent EVENT_GOT_POKEMON_FROM_BLUE ; It's only for the moment, it gets reset once you're actually picking one. Just handles potentially stupid scenarios.
|
||||
.end
|
||||
setscene SCENE_SILENT_HILLS_NOOP
|
||||
end
|
||||
|
||||
SilentHillsFlypointCallback:
|
||||
setflag ENGINE_FLYPOINT_SILENT_HILLS
|
||||
endcallback
|
||||
|
|
@ -67,9 +135,98 @@ SilentHillYoungster:
|
|||
jumptextfaceplayer SilentHillManText
|
||||
|
||||
SilentHillManText:
|
||||
text "Are there people"
|
||||
line "who hate #MON"
|
||||
cont "at night?"
|
||||
text "Do some people"
|
||||
line "hate nocturnal"
|
||||
cont "#MON?"
|
||||
done
|
||||
|
||||
BlueWaitText1:
|
||||
text "Hey! Hey! Wait!"
|
||||
done
|
||||
|
||||
BlueWaitText2:
|
||||
text "I said WAIT, bozo!"
|
||||
done
|
||||
|
||||
BlueFollowMeText:
|
||||
text "BLUE: Do you not"
|
||||
line "know--"
|
||||
|
||||
para "Huh?! It's you!"
|
||||
line "You wiped the floor"
|
||||
cont "with me before!"
|
||||
|
||||
para "What are you doing"
|
||||
line "in NIHON?!"
|
||||
|
||||
para "…"
|
||||
|
||||
para "You may be useful,"
|
||||
line "actually. Come with"
|
||||
cont "me!"
|
||||
done
|
||||
|
||||
BlueStrideMovement:
|
||||
step LEFT
|
||||
step LEFT
|
||||
step LEFT
|
||||
step_end
|
||||
|
||||
BlueFollowMeMovement1:
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step DOWN
|
||||
step DOWN
|
||||
step DOWN
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step UP
|
||||
step_end
|
||||
|
||||
BlueFollowMeMovement2:
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step DOWN
|
||||
step DOWN
|
||||
step DOWN
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step RIGHT
|
||||
step UP
|
||||
step_end
|
||||
|
||||
; A little message for the cheaters.
|
||||
SilentHillsWhatScript:
|
||||
jumptextfaceplayer SilentHillsWhatText
|
||||
|
||||
SilentHillsWhatText:
|
||||
text "How on earth did"
|
||||
line "you get here?!"
|
||||
|
||||
para "You stinker!"
|
||||
|
||||
para "…"
|
||||
|
||||
para "Well, you must be"
|
||||
line "smart…and dedicated."
|
||||
|
||||
para "So, props! Thanks"
|
||||
line "for playing!"
|
||||
done
|
||||
|
||||
SilentHills_MapEvents:
|
||||
|
|
@ -78,11 +235,13 @@ SilentHills_MapEvents:
|
|||
def_warp_events
|
||||
warp_event 13, 4, SILENT_HILLS_POKECENTER_1F, 1 ; Pokecenter
|
||||
warp_event 5, 4, CALS_HOUSE_1F, 1 ; Cal's House
|
||||
warp_event 14, 11, PLAYERS_HOUSE_1F, 1 ; Blue's Lab
|
||||
warp_event 15, 11, PLAYERS_HOUSE_1F, 1 ; Blue's Lab
|
||||
warp_event 3, 12, SILVERS_HOUSE, 1 ; Silver's House
|
||||
warp_event 14, 11, BLUE_LAB, 1
|
||||
warp_event 15, 11, BLUE_LAB, 2
|
||||
warp_event 3, 12, SILVERS_HOUSE, 1
|
||||
|
||||
def_coord_events
|
||||
coord_event 1, 9, SCENE_SILENT_HILLS_BLUE1, SilentHillsBlue1
|
||||
coord_event 1, 8, SCENE_SILENT_HILLS_BLUE2, SilentHillsBlue2
|
||||
|
||||
def_bg_events
|
||||
bg_event 8, 4, BGEVENT_READ, SilentHillsSign1
|
||||
|
|
@ -96,3 +255,4 @@ SilentHills_MapEvents:
|
|||
def_object_events
|
||||
object_event 8, 7, SPRITE_POKEFAN_F, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SilentHillPokefanF, -1
|
||||
object_event 9, 13, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SilentHillYoungster, -1
|
||||
object_event 0, 0, SPRITE_BLUE, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, SilentHillsWhatText, -1
|
||||
|
|
|
|||
6
maps/UnnumberedRoute.ablk
Normal file
6
maps/UnnumberedRoute.ablk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
k))(k)))))))))))(efj''%eeeeeeeeeej'''''''''''%-`-TnnnUptt]^"C"X555Y‹ŒŒb"†"X555Y`beeeeeeee"eeeX555Yeee`
|
||||
|
||||
|
||||
|
||||
|
||||
nnnnnnnnnnnŠ555Y
|
||||
137
maps/UnnumberedRoute.asm
Normal file
137
maps/UnnumberedRoute.asm
Normal file
|
|
@ -0,0 +1,137 @@
|
|||
object_const_def
|
||||
|
||||
UnnumberedRoute_MapScripts:
|
||||
def_scene_scripts
|
||||
|
||||
def_callbacks
|
||||
|
||||
UnnumberedRouteSign1Script:
|
||||
jumptext UnnumberedRouteSign1Text
|
||||
|
||||
UnnumberedRouteSign1Text:
|
||||
text "Route XX"
|
||||
line "WEST: SILENT"
|
||||
cont "HILLS"
|
||||
|
||||
para "SOUTH: WINNER'S"
|
||||
line "PATH"
|
||||
done
|
||||
|
||||
UnnumberedRouteSign2Script:
|
||||
jumptext UnnumberedRouteSign2Text
|
||||
|
||||
UnnumberedRouteSign2Text:
|
||||
text "TRAINER TIPS"
|
||||
|
||||
para "If you use DEF-"
|
||||
line "ENSE CURL before"
|
||||
cont "ROLLOUT, its"
|
||||
cont "power doubles!"
|
||||
done
|
||||
|
||||
TrainerPainterDali:
|
||||
trainer PAINTER, DALI, EVENT_BEAT_PAINTER_DALI, PainterDaliSeenText, PainterDaliBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext PainterDaliAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
PainterDaliSeenText:
|
||||
text "I'm not strange!"
|
||||
line "I'm just normal."
|
||||
done
|
||||
|
||||
PainterDaliBeatenText:
|
||||
text "You're certainly"
|
||||
line "not imitating!"
|
||||
prompt
|
||||
|
||||
PainterDaliAfterBattleText:
|
||||
text "Have no fear"
|
||||
line "of perfection!"
|
||||
|
||||
para "You'll never"
|
||||
line "reach it!"
|
||||
done
|
||||
|
||||
TrainerSuperNerdGregg:
|
||||
trainer SUPER_NERD, GREGG, EVENT_BEAT_SUPER_NERD_GREGG, SuperNerdGreggSeenText, SuperNerdGreggBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext SuperNerdGreggAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
SuperNerdGreggSeenText:
|
||||
text "We're on the"
|
||||
line "verge of a"
|
||||
cont "revolution!"
|
||||
done
|
||||
|
||||
SuperNerdGreggBeatenText:
|
||||
text "It won't be"
|
||||
line "televised!"
|
||||
prompt
|
||||
|
||||
SuperNerdGreggAfterBattleText:
|
||||
text "Isn't it crazy?"
|
||||
|
||||
para "Virtual reality!"
|
||||
|
||||
para "The VIRTUAL BOY"
|
||||
line "will change the"
|
||||
cont "world!"
|
||||
done
|
||||
|
||||
TrainerFisherBran:
|
||||
trainer FISHER, BRAN, EVENT_BEAT_FISHER_BRAN, FisherBranSeenText, FisherBranBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext FisherBranAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
FisherBranSeenText:
|
||||
text "Agh! You made me"
|
||||
line "lose my catch!"
|
||||
done
|
||||
|
||||
FisherBranBeatenText:
|
||||
text "Now I can't catch"
|
||||
line "any!"
|
||||
prompt
|
||||
|
||||
FisherBranAfterBattleText:
|
||||
text "SILENT HILLS has"
|
||||
line "a #MON CENTER"
|
||||
|
||||
para "Isn't that just"
|
||||
line "incredible?"
|
||||
done
|
||||
|
||||
UnnumberedRoute_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
def_warp_events
|
||||
warp_event 57, 9, DEBUG_ROOM, 1 ; Unsure, probably the other route.
|
||||
|
||||
def_coord_events
|
||||
|
||||
def_bg_events
|
||||
bg_event 2, 4, BGEVENT_READ, UnnumberedRouteSign1Script
|
||||
bg_event 30, 6, BGEVENT_READ, UnnumberedRouteSign2Script
|
||||
|
||||
def_object_events
|
||||
object_event 47, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 1, TrainerPainterDali, -1
|
||||
object_event 10, 12, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 4, TrainerSuperNerdGregg, -1
|
||||
object_event 41, 8, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 1, TrainerFisherBran, -1
|
||||
|
|
@ -77,7 +77,9 @@ VictoryRoadGateEightBadgesText:
|
|||
|
||||
VictoryRoadGateLeftBlackBeltText:
|
||||
text "This way leads to"
|
||||
line "MT.SILVER."
|
||||
line "WINNER'S PATH,"
|
||||
cont "which leads to"
|
||||
cont "NIHON."
|
||||
|
||||
para "You'll see scary-"
|
||||
line "strong #MON out"
|
||||
|
|
@ -105,8 +107,8 @@ VictoryRoadGate_MapEvents:
|
|||
warp_event 10, 17, ROUTE_26, 1
|
||||
warp_event 9, 0, VICTORY_ROAD, 1
|
||||
warp_event 10, 0, VICTORY_ROAD, 1
|
||||
warp_event 1, 7, ROUTE_28, 2
|
||||
warp_event 2, 7, ROUTE_28, 2
|
||||
warp_event 1, 7, WINNERS_PATH_OUTSIDE, 1
|
||||
warp_event 2, 7, WINNERS_PATH_OUTSIDE, 2
|
||||
|
||||
def_coord_events
|
||||
coord_event 10, 11, SCENE_VICTORYROADGATE_BADGE_CHECK, VictoryRoadGateBadgeCheckScript
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
@&%R
|
||||
A&1@2'
|
||||
ST0U
|
||||
A&VN#M
....................
|
||||
+)K
|
||||
)))!
|
||||
))(
|
||||
( !+JN#M
....................
|
||||
$&VN#M
....................
|
||||
+K
|
||||
)O+) )
|
||||
(*))((
|
||||
( +JXJN#M
....................
|
||||
*E*B
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,71 @@
|
|||
object_const_def
|
||||
const WINNERS_PATH_COOLTRAINERM1
|
||||
const WINNERS_PATH_COOLTRAINERM2
|
||||
const WINNERS_PATH_BEAUTY
|
||||
const WINNERS_PATH_BOULDER1
|
||||
const WINNERS_PATH_NPCITEM1
|
||||
const WINNERS_PATH_NPCITEM2
|
||||
const WINNERS_PATH_ROCK
|
||||
|
||||
WinnersPath_MapScripts:
|
||||
def_scene_scripts
|
||||
|
||||
def_callbacks
|
||||
callback MAPCALLBACK_TILES, WinnersPathSwitchClickCallback
|
||||
callback MAPCALLBACK_CMDQUEUE, WinnersPathSwitchCallback
|
||||
|
||||
; This replicates the boulder switch functionality of RBY.
|
||||
; Not sure why they removed this to be honest, it's quite nice.
|
||||
; This is extremely hacky and the boulder won't move if you reload the map and put it back on the switch, but given there's no function for switches and I can't be bothered to make one, this will do.
|
||||
WinnersPathSwitchCallback:
|
||||
checkevent EVENT_WINNERS_PATH_SWITCH_PRESSED
|
||||
iftrue .noBoulderNeeded
|
||||
writecmdqueue .CommandQueue
|
||||
.noBoulderNeeded
|
||||
endcallback
|
||||
|
||||
.CommandQueue:
|
||||
cmdqueue CMDQUEUE_STONETABLE, .StoneTable ; check if any stones are sitting on a warp (or in our case, the switch)
|
||||
|
||||
.StoneTable:
|
||||
stonetable 7, WINNERS_PATH_BOULDER1, .Boulder1
|
||||
db -1 ; end
|
||||
|
||||
.Boulder1:
|
||||
checkevent EVENT_WINNERS_PATH_SWITCH_PRESSED
|
||||
iftrue .skip
|
||||
pause 30
|
||||
scall .switchClicked
|
||||
setevent EVENT_WINNERS_PATH_SWITCH_PRESSED
|
||||
opentext
|
||||
writetext WinnersPathDoorOpenedText
|
||||
waitbutton
|
||||
closetext
|
||||
changeblock 2, 22, $1C ; boulder gate
|
||||
changeblock 4, 24, $59 ; switch
|
||||
reloadmappart
|
||||
delcmdqueue CMDQUEUE_STONETABLE, .StoneTable
|
||||
; fallthrough
|
||||
.skip
|
||||
end
|
||||
|
||||
.switchClicked:
|
||||
playsound SFX_STRENGTH
|
||||
earthquake 80
|
||||
end
|
||||
|
||||
WinnersPathSwitchClickCallback:
|
||||
checkevent EVENT_WINNERS_PATH_SWITCH_PRESSED
|
||||
iffalse .keepBlock
|
||||
changeblock 2, 22, $1C ; boulder gate
|
||||
changeblock 4, 24, $59 ; switch
|
||||
.keepBlock
|
||||
endcallback
|
||||
|
||||
WinnersPathDoorOpenedText:
|
||||
text "The switch was"
|
||||
line "pressed!"
|
||||
done
|
||||
|
||||
WinnersPathSign1Script:
|
||||
jumptext WinnersPathSign1Text
|
||||
|
|
@ -86,59 +148,74 @@ CoolTrainerAndyAfterBattleText:
|
|||
line "fault!"
|
||||
done
|
||||
|
||||
TrainerCoolTrainerSteve:
|
||||
trainer COOLTRAINERM, STEVE, EVENT_BEAT_COOLTRAINERM_STEVE, CoolTrainerSteveSeenText, CoolTrainerSteveBeatenText, 0, .AfterScript
|
||||
TrainerBeautyJaclyn:
|
||||
trainer BEAUTY, JACLYN, EVENT_BEAT_BEAUTY_JACLYN, BeautyJaclynSeenText, BeautyJaclynBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext CoolTrainerSteveAfterBattleText
|
||||
writetext BeautyJaclynAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
CoolTrainerSteveSeenText:
|
||||
text "NIHON is a great"
|
||||
line "place! But do"
|
||||
cont "you have what it"
|
||||
cont "takes to get"
|
||||
cont "there?"
|
||||
BeautyJaclynSeenText:
|
||||
text "Oh, a cute"
|
||||
line "TRAINER! Let's"
|
||||
cont "see how you"
|
||||
cont "got here!"
|
||||
done
|
||||
|
||||
CoolTrainerSteveBeatenText:
|
||||
text "Haha! Whoa!"
|
||||
BeautyJaclynBeatenText:
|
||||
text "Hey, take it"
|
||||
line "easy! You won"
|
||||
cont "already!"
|
||||
prompt
|
||||
|
||||
CoolTrainerSteveAfterBattleText:
|
||||
text "WINNER'S PATH is"
|
||||
line "known for having"
|
||||
cont "some of the stro-"
|
||||
cont "-ngest #MON of"
|
||||
cont "all!"
|
||||
BeautyJaclynAfterBattleText:
|
||||
text "I love meeting"
|
||||
line "the strong"
|
||||
cont "TRAINERs here."
|
||||
|
||||
para "Obvious when"
|
||||
line "you think about"
|
||||
cont "it, right?"
|
||||
para "Many used to be"
|
||||
line "CHAMPIONs! Eek!"
|
||||
done
|
||||
|
||||
WinnersPathBoulder:
|
||||
jumpstd StrengthBoulderScript
|
||||
|
||||
WinnersPathRock:
|
||||
jumpstd SmashRockScript
|
||||
|
||||
WinnersPathItem1:
|
||||
itemball TM_CURSE
|
||||
|
||||
WinnersPathItem2:
|
||||
itemball TM_ROLLOUT
|
||||
|
||||
WinnersPath_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
def_warp_events
|
||||
warp_event 3, 49, DEBUG_ROOM, 1 ; Will be...Indigo Plateau?
|
||||
warp_event 3, 49, WINNERS_PATH_OUTSIDE, 3
|
||||
warp_event 17, 39, WINNERS_PATH, 3
|
||||
warp_event 17, 29, WINNERS_PATH, 2
|
||||
warp_event 15, 29, WINNERS_PATH, 2
|
||||
warp_event 3, 21, WINNERS_PATH, 5
|
||||
warp_event 3, 11, WINNERS_PATH, 4
|
||||
warp_event 17, 5, DEBUG_ROOM, 3 ; Some Route...
|
||||
warp_event 17, 5, WINNERS_PATH_OUTSIDE, 4 ; Some Route...
|
||||
warp_event 5, 24, WINNERS_PATH_OUTSIDE, 4 ; Dummy warp for the switch. Hope this works!
|
||||
|
||||
def_coord_events
|
||||
|
||||
def_bg_events
|
||||
bg_event 2, 48, BGEVENT_READ, WinnersPathSign1Text
|
||||
bg_event 16, 4, BGEVENT_READ, WinnersPathSign2Text
|
||||
bg_event 2, 48, BGEVENT_READ, WinnersPathSign1Script
|
||||
bg_event 16, 4, BGEVENT_READ, WinnersPathSign2Script
|
||||
|
||||
def_object_events
|
||||
object_event 9, 43, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerCoolTrainerErick, -1
|
||||
object_event 5, 22, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerCoolTrainerAndy, -1
|
||||
object_event 7, 8, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerCoolTrainerSteve, -1
|
||||
object_event 8, 22, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerCoolTrainerAndy, -1
|
||||
object_event 7, 8, SPRITE_BEAUTY, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerBeautyJaclyn, -1
|
||||
object_event 14, 23, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, WinnersPathBoulder, -1
|
||||
object_event 10, 6, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, WinnersPathItem1, EVENT_WINNERS_PATH_ITEM1
|
||||
object_event 2, 29, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, WinnersPathItem2, EVENT_WINNERS_PATH_ITEM2
|
||||
object_event 3, 28, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, WinnersPathRock, -1
|
||||
|
|
|
|||
1
maps/WinnersPathOutside.ablk
Normal file
1
maps/WinnersPathOutside.ablk
Normal file
|
|
@ -0,0 +1 @@
|
|||
ƒWWWWWWƒWWWWWWƒWWWWWWƒƒWWWWWWEk))))("l**‚<>%"l**&l**&l**&„l**&l***(l***&l***&l***&j<>''%EWWaƒmC99„WWWpttt…ƒrq{{…E
|
||||
122
maps/WinnersPathOutside.asm
Normal file
122
maps/WinnersPathOutside.asm
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
object_const_def
|
||||
|
||||
WinnersPathOutside_MapScripts:
|
||||
def_scene_scripts
|
||||
|
||||
def_callbacks
|
||||
|
||||
WinnersPathOutsideSign1Script:
|
||||
jumptext WinnersPathOutsideSign1Text
|
||||
|
||||
WinnersPathOutsideSign2Script:
|
||||
jumptext WinnersPathOutsideSign2Text
|
||||
|
||||
WinnersPathOutsideSign3Script:
|
||||
jumptext WinnersPathOutsideSign3Text
|
||||
|
||||
WinnersPathOutsideSign1Text:
|
||||
text "#MON LEAGUE"
|
||||
line "RECEPTION"
|
||||
done
|
||||
|
||||
WinnersPathOutsideSign2Text:
|
||||
text "WINNER'S PATH"
|
||||
line "Warning: Strong"
|
||||
cont "#MON ahead!"
|
||||
done
|
||||
|
||||
WinnersPathOutsideSign3Text:
|
||||
text "WINNER'S PATH"
|
||||
line "NORTH: NIHON"
|
||||
cont "SOUTH: KANTO"
|
||||
done
|
||||
|
||||
TrainerEngineerDashu:
|
||||
trainer ENGINEER, DASHU, EVENT_BEAT_ENGINEER_DASHU, EngineerDashuSeenText, EngineerDashuBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext EngineerDashuAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
EngineerDashuSeenText:
|
||||
text "Whoa! We don't"
|
||||
line "see many folks"
|
||||
cont "from JOHTO in"
|
||||
cont "these parts!"
|
||||
done
|
||||
|
||||
EngineerDashuBeatenText:
|
||||
text "Gahaha! And you're"
|
||||
line "always strong!"
|
||||
prompt
|
||||
|
||||
EngineerDashuAfterBattleText:
|
||||
text "There's a huge"
|
||||
line "POWER PLANT near"
|
||||
cont "NEW TYPE." ; Change name when necessary.
|
||||
|
||||
para "Why aren't I there"
|
||||
line "right now"
|
||||
|
||||
para "Aren't you a nosy"
|
||||
cont "one, eh?"
|
||||
done
|
||||
|
||||
TrainerCoolTrainerSteve:
|
||||
trainer COOLTRAINERM, STEVE, EVENT_BEAT_COOLTRAINERM_STEVE, CoolTrainerSteveSeenText, CoolTrainerSteveBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
endifjustbattled
|
||||
opentext
|
||||
writetext CoolTrainerSteveAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
CoolTrainerSteveSeenText:
|
||||
text "NIHON is a great"
|
||||
line "place! But do"
|
||||
cont "you have what it"
|
||||
cont "takes to get"
|
||||
cont "there?"
|
||||
done
|
||||
|
||||
CoolTrainerSteveBeatenText:
|
||||
text "Haha! Whoa!"
|
||||
prompt
|
||||
|
||||
CoolTrainerSteveAfterBattleText:
|
||||
text "WINNER'S PATH is"
|
||||
line "known for having"
|
||||
cont "some of the stro-"
|
||||
cont "-ngest #MON of"
|
||||
cont "all!"
|
||||
|
||||
para "Obvious when"
|
||||
line "you think about"
|
||||
cont "it, right?"
|
||||
done
|
||||
|
||||
WinnersPathOutside_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
def_warp_events
|
||||
warp_event 12, 53, VICTORY_ROAD_GATE, 7
|
||||
warp_event 13, 53, VICTORY_ROAD_GATE, 8
|
||||
warp_event 4, 41, WINNERS_PATH, 1
|
||||
warp_event 10, 23, WINNERS_PATH, 6
|
||||
|
||||
def_coord_events
|
||||
|
||||
def_bg_events
|
||||
bg_event 14, 54, BGEVENT_READ, WinnersPathOutsideSign1Script
|
||||
bg_event 6, 42, BGEVENT_READ, WinnersPathOutsideSign2Script
|
||||
bg_event 6, 16, BGEVENT_READ, WinnersPathOutsideSign3Script
|
||||
|
||||
def_object_events
|
||||
object_event 6, 48, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINCLOCKWISE, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerCoolTrainerSteve, -1
|
||||
object_event 10, 12, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 4, TrainerEngineerDashu, -1
|
||||
Loading…
Add table
Add a link
Reference in a new issue