2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE37_WEIRD_TREE1
|
|
|
|
const ROUTE37_WEIRD_TREE2
|
|
|
|
const ROUTE37_YOUNGSTER
|
|
|
|
const ROUTE37_FRUIT_TREE1
|
2016-04-07 04:59:45 +00:00
|
|
|
const ROUTE37_SUNNY
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE37_FRUIT_TREE2
|
|
|
|
const ROUTE37_FRUIT_TREE3
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route37_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_OBJECTS, .Sunny
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.Sunny:
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal SUNDAY, .SunnyAppears
|
2016-04-07 04:59:45 +00:00
|
|
|
disappear ROUTE37_SUNNY
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.SunnyAppears:
|
2016-04-07 04:59:45 +00:00
|
|
|
appear ROUTE37_SUNNY
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerTwinsAnnandanne1:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer TWINS, ANNANDANNE1, EVENT_BEAT_TWINS_ANN_AND_ANNE, TwinsAnnandanne1SeenText, TwinsAnnandanne1BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext TwinsAnnandanne1AfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerTwinsAnnandanne2:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer TWINS, ANNANDANNE2, EVENT_BEAT_TWINS_ANN_AND_ANNE, TwinsAnnandanne2SeenText, TwinsAnnandanne2BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext TwinsAnnandanne2AfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPsychicGreg:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer PSYCHIC_T, GREG, EVENT_BEAT_PSYCHIC_GREG, PsychicGregSeenText, PsychicGregBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext PsychicGregAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_MAGNET_FROM_SUNNY
|
2014-10-27 01:37:15 +00:00
|
|
|
iftrue SunnySundayScript
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2018-02-03 02:09:17 +00:00
|
|
|
ifnotequal SUNDAY, SunnyNotSundayScript
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_MET_SUNNY_OF_SUNDAY
|
2014-10-27 01:37:15 +00:00
|
|
|
iftrue .MetSunny
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext MeetSunnyText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_MET_SUNNY_OF_SUNDAY
|
2016-04-10 18:42:14 +00:00
|
|
|
.MetSunny:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_PLAYER_IS_FEMALE
|
2014-10-27 01:37:15 +00:00
|
|
|
iftrue .Kris
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SunnyGivesGiftText1
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-01-20 08:01:23 +00:00
|
|
|
jump .next
|
2016-04-10 18:42:14 +00:00
|
|
|
.Kris:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SunnyGivesGiftText2
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2014-10-27 01:37:15 +00:00
|
|
|
.next
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem MAGNET
|
2014-10-27 01:37:15 +00:00
|
|
|
iffalse SunnyDoneScript
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_MAGNET_FROM_SUNNY
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SunnyGaveGiftText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnySundayScript:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SunnySundayText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyDoneScript:
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyNotSundayScript:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SunnyNotSundayText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route37Sign:
|
|
|
|
jumptext Route37SignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
Route37FruitTree1:
|
2015-11-18 15:42:42 +00:00
|
|
|
fruittree FRUITTREE_ROUTE_37_1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
Route37FruitTree2:
|
2015-11-18 15:42:42 +00:00
|
|
|
fruittree FRUITTREE_ROUTE_37_2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
Route37FruitTree3:
|
2015-11-18 15:42:42 +00:00
|
|
|
fruittree FRUITTREE_ROUTE_37_3
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
Route37HiddenEther:
|
2018-01-23 17:59:21 +00:00
|
|
|
hiddenitem ETHER, EVENT_ROUTE_37_HIDDEN_ETHER
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TwinsAnnandanne1SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ANN: ANNE and I"
|
|
|
|
line "are in this to-"
|
|
|
|
cont "gether!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TwinsAnnandanne1BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ANN & ANNE: Nnn… A"
|
|
|
|
line "little too strong."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
TwinsAnnandanne1AfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ANN: I can tell"
|
|
|
|
line "what my sister and"
|
|
|
|
|
|
|
|
para "my #MON are"
|
|
|
|
line "thinking."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TwinsAnnandanne2SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ANNE: ANN and I"
|
|
|
|
line "are in this to-"
|
|
|
|
cont "gether!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TwinsAnnandanne2BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ANN & ANNE: Nnn… A"
|
|
|
|
line "little too strong."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
TwinsAnnandanne2AfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ANNE: We share the"
|
|
|
|
line "same feelings as"
|
|
|
|
cont "our #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicGregSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "#MON can't do a"
|
|
|
|
line "thing if they are"
|
|
|
|
cont "asleep."
|
|
|
|
|
|
|
|
para "I'll show you how"
|
|
|
|
line "scary that is!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicGregBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I lost. That's"
|
|
|
|
line "pretty sad…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
PsychicGregAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Putting #MON to"
|
|
|
|
line "sleep or paralyz-"
|
|
|
|
cont "ing them are good"
|
|
|
|
cont "battle techniques."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
MeetSunnyText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SUNNY: Hi!"
|
|
|
|
|
|
|
|
para "I'm SUNNY of Sun-"
|
|
|
|
line "day, meaning it's"
|
|
|
|
cont "Sunday today!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyGivesGiftText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I was told to give"
|
|
|
|
line "you this if I saw"
|
|
|
|
cont "you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyGivesGiftText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I was told to give"
|
|
|
|
line "you this if I saw"
|
|
|
|
cont "you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyGaveGiftText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SUNNY: That thing…"
|
|
|
|
|
|
|
|
para "Um…"
|
|
|
|
|
|
|
|
para "… What was it now…"
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "Oh! I remember"
|
|
|
|
line "now!"
|
|
|
|
|
|
|
|
para "A #MON that"
|
|
|
|
line "knows electric"
|
|
|
|
|
|
|
|
para "moves should hold"
|
|
|
|
line "it."
|
|
|
|
|
|
|
|
para "My sis MONICA said"
|
|
|
|
line "it powers up"
|
|
|
|
cont "electric moves!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnySundayText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SUNNY: My sisters"
|
|
|
|
line "and brothers are"
|
|
|
|
cont "MONICA, TUSCANY,"
|
|
|
|
cont "WESLEY, ARTHUR,"
|
|
|
|
cont "FRIEDA and SANTOS."
|
|
|
|
|
|
|
|
para "They're all older"
|
|
|
|
line "than me!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyNotSundayText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SUNNY: Isn't today"
|
|
|
|
line "Sunday?"
|
|
|
|
cont "Um… I forgot!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-07 04:59:45 +00:00
|
|
|
Route37SignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ROUTE 37"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route37_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; warp events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; bg events
|
2018-02-02 03:22:07 +00:00
|
|
|
bg_event 5, 3, BGEVENT_READ, Route37Sign
|
|
|
|
bg_event 4, 2, BGEVENT_ITEM, Route37HiddenEther
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 7 ; object events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 6, 12, SPRITE_WEIRD_TREE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerTwinsAnnandanne1, -1
|
|
|
|
object_event 7, 12, SPRITE_WEIRD_TREE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerTwinsAnnandanne2, -1
|
|
|
|
object_event 6, 6, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerPsychicGreg, -1
|
2018-02-28 21:50:43 +00:00
|
|
|
object_event 13, 5, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route37FruitTree1, -1
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 16, 8, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SunnyScript, EVENT_ROUTE_37_SUNNY_OF_SUNDAY
|
2018-02-28 21:50:43 +00:00
|
|
|
object_event 16, 5, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route37FruitTree2, -1
|
|
|
|
object_event 15, 7, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route37FruitTree3, -1
|