2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const OAKSLAB_OAK
|
|
|
|
const OAKSLAB_SCIENTIST1
|
|
|
|
const OAKSLAB_SCIENTIST2
|
|
|
|
const OAKSLAB_SCIENTIST3
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
OaksLab_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
.DummyTrigger:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
Oak:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-06-24 20:20:04 -07:00
|
|
|
checkevent EVENT_OPENED_MT_SILVER
|
2015-06-25 21:01:08 -07:00
|
|
|
iftrue .CheckPokedex
|
|
|
|
checkevent EVENT_TALKED_TO_OAK_IN_KANTO
|
|
|
|
iftrue .CheckBadges
|
|
|
|
writetext OakWelcomeKantoText
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-06-25 21:01:08 -07:00
|
|
|
setevent EVENT_TALKED_TO_OAK_IN_KANTO
|
|
|
|
.CheckBadges
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_BADGES
|
2015-06-25 21:01:08 -07:00
|
|
|
if_equal 16, .OpenMtSilver
|
2015-12-15 07:55:56 -08:00
|
|
|
if_equal 8, .Complain
|
2015-06-25 21:01:08 -07:00
|
|
|
jump .AhGood
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
.CheckPokedex
|
|
|
|
writetext OakLabDexCheckText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2015-02-11 15:03:42 -08:00
|
|
|
special ProfOaksPCBoot
|
2015-06-25 21:01:08 -07:00
|
|
|
writetext OakLabGoodbyeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
.OpenMtSilver
|
|
|
|
writetext OakOpenMtSilverText
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-06-24 20:20:04 -07:00
|
|
|
setevent EVENT_OPENED_MT_SILVER
|
2015-06-25 21:01:08 -07:00
|
|
|
jump .CheckPokedex
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
.Complain
|
|
|
|
writetext OakNoKantoBadgesText
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-06-25 21:01:08 -07:00
|
|
|
jump .CheckPokedex
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
.AhGood
|
|
|
|
writetext OakYesKantoBadgesText
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-06-25 21:01:08 -07:00
|
|
|
jump .CheckPokedex
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
OaksAssistant1Script:
|
|
|
|
jumptextfaceplayer OaksAssistant1Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
OaksAssistant2Script:
|
|
|
|
jumptextfaceplayer OaksAssistant2Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
OaksAssistant3Script:
|
|
|
|
jumptextfaceplayer OaksAssistant3Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabBookshelf:
|
2015-06-23 13:21:54 -07:00
|
|
|
jumpstd difficultbookshelf
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabPoster1:
|
|
|
|
jumptext OaksLabPoster1Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabPoster2:
|
|
|
|
jumptext OaksLabPoster2Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabTrashcan:
|
|
|
|
jumptext OaksLabTrashcanText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabPC:
|
|
|
|
jumptext OaksLabPCText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OakWelcomeKantoText:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "OAK: Ah, <PLAY_G>!"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "It's good of you"
|
|
|
|
|
|
|
|
para "to come all this"
|
|
|
|
line "way to KANTO."
|
|
|
|
|
|
|
|
para "What do you think"
|
|
|
|
line "of the trainers"
|
|
|
|
|
|
|
|
para "out here?"
|
|
|
|
line "Pretty tough, huh?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OakLabDexCheckText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "How is your #-"
|
|
|
|
line "DEX coming?"
|
|
|
|
|
|
|
|
para "Let's see…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OakLabGoodbyeText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "If you're in the"
|
|
|
|
line "area, I hope you"
|
|
|
|
cont "come visit again."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OakOpenMtSilverText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OAK: Wow! That's"
|
|
|
|
line "excellent!"
|
|
|
|
|
|
|
|
para "You collected the"
|
|
|
|
line "BADGES of GYMS in"
|
|
|
|
cont "KANTO. Well done!"
|
|
|
|
|
|
|
|
para "I was right in my"
|
|
|
|
line "assessment of you."
|
|
|
|
|
|
|
|
para "Tell you what,"
|
2015-06-27 21:59:17 -07:00
|
|
|
line "<PLAY_G>. I'll make"
|
2014-03-05 21:29:44 -08:00
|
|
|
|
|
|
|
para "arrangements so"
|
|
|
|
line "that you can go to"
|
|
|
|
cont "MT.SILVER."
|
|
|
|
|
|
|
|
para "MT.SILVER is a big"
|
|
|
|
line "mountain that is"
|
|
|
|
|
|
|
|
para "home to many wild"
|
|
|
|
line "#MON."
|
|
|
|
|
|
|
|
para "It's too dangerous"
|
|
|
|
line "for your average"
|
|
|
|
|
|
|
|
para "trainer, so it's"
|
|
|
|
line "off limits. But"
|
|
|
|
|
|
|
|
para "we can make an"
|
|
|
|
line "exception in your"
|
2015-06-27 21:59:17 -07:00
|
|
|
cont "case, <PLAY_G>."
|
2014-03-05 21:29:44 -08:00
|
|
|
|
|
|
|
para "Go up to INDIGO"
|
|
|
|
line "PLATEAU. You can"
|
|
|
|
|
|
|
|
para "reach MT.SILVER"
|
|
|
|
line "from there."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OakNoKantoBadgesText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OAK: Hmm? You're"
|
|
|
|
line "not collecting"
|
|
|
|
cont "KANTO GYM BADGES?"
|
|
|
|
|
|
|
|
para "The GYM LEADERS in"
|
|
|
|
line "KANTO are as tough"
|
|
|
|
|
|
|
|
para "as any you battled"
|
|
|
|
line "in JOHTO."
|
|
|
|
|
|
|
|
para "I recommend that"
|
|
|
|
line "you challenge"
|
|
|
|
cont "them."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OakYesKantoBadgesText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OAK: Ah, you're"
|
|
|
|
line "collecting KANTO"
|
|
|
|
cont "GYM BADGES."
|
|
|
|
|
|
|
|
para "I imagine that"
|
|
|
|
line "it's hard, but the"
|
|
|
|
|
|
|
|
para "experience is sure"
|
|
|
|
line "to help you."
|
|
|
|
|
|
|
|
para "Come see me when"
|
|
|
|
line "you get them all."
|
|
|
|
|
|
|
|
para "I'll have a gift"
|
|
|
|
line "for you."
|
|
|
|
|
|
|
|
para "Keep trying hard,"
|
2015-06-27 21:59:17 -07:00
|
|
|
line "<PLAY_G>!"
|
2014-03-05 21:29:44 -08:00
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
OaksAssistant1Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The PROF's #MON"
|
|
|
|
line "TALK radio program"
|
|
|
|
|
|
|
|
para "isn't aired here"
|
|
|
|
line "in KANTO."
|
|
|
|
|
|
|
|
para "It's a shame--I'd"
|
|
|
|
line "like to hear it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
OaksAssistant2Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Thanks to your"
|
|
|
|
line "work on the #-"
|
|
|
|
cont "DEX, the PROF's"
|
|
|
|
|
|
|
|
para "research is coming"
|
|
|
|
line "along great."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
OaksAssistant3Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Don't tell anyone,"
|
|
|
|
line "but PROF.OAK'S"
|
|
|
|
|
|
|
|
para "#MON TALK isn't"
|
|
|
|
line "a live broadcast."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabPoster1Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Press START to"
|
|
|
|
line "open the MENU."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabPoster2Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The SAVE option is"
|
|
|
|
line "on the MENU."
|
|
|
|
|
|
|
|
para "Use it in a timely"
|
|
|
|
line "manner."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabTrashcanText
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There's nothing in"
|
|
|
|
line "here…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OaksLabPCText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There's an e-mail"
|
|
|
|
line "message on the PC."
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "PROF.OAK, how is"
|
|
|
|
line "your research"
|
|
|
|
cont "coming along?"
|
|
|
|
|
|
|
|
para "I'm still plugging"
|
|
|
|
line "away."
|
|
|
|
|
|
|
|
para "I heard rumors"
|
2015-06-27 21:59:17 -07:00
|
|
|
line "that <PLAY_G> is"
|
2014-03-05 21:29:44 -08:00
|
|
|
|
|
|
|
para "getting quite a"
|
|
|
|
line "reputation."
|
|
|
|
|
|
|
|
para "I'm delighted to"
|
|
|
|
line "hear that."
|
|
|
|
|
|
|
|
para "ELM in NEW BARK"
|
|
|
|
line "TOWN 8-)"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
OaksLab_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 2
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $b, $4, 3, PALLET_TOWN
|
|
|
|
warp_def $b, $5, 3, PALLET_TOWN
|
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 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 16
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 1, 6, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 1, 7, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 1, 8, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 1, 9, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 7, 0, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 7, 1, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 7, 2, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 7, 3, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 7, 6, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 7, 7, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 7, 8, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 7, 9, SIGNPOST_READ, OaksLabBookshelf
|
|
|
|
signpost 0, 4, SIGNPOST_READ, OaksLabPoster1
|
|
|
|
signpost 0, 5, SIGNPOST_READ, OaksLabPoster2
|
|
|
|
signpost 3, 9, SIGNPOST_READ, OaksLabTrashcan
|
|
|
|
signpost 1, 0, SIGNPOST_READ, OaksLabPC
|
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 4
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_OAK, 2, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Oak, -1
|
2015-12-15 07:55:56 -08:00
|
|
|
person_event SPRITE_SCIENTIST, 8, 1, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, OaksAssistant1Script, -1
|
|
|
|
person_event SPRITE_SCIENTIST, 9, 8, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, OaksAssistant2Script, -1
|
|
|
|
person_event SPRITE_SCIENTIST, 4, 1, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, OaksAssistant3Script, -1
|