2015-07-10 08:20:21 +00:00
|
|
|
Route37_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
dbw 2, SunnyCallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyCallback:
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2014-10-27 01:37:15 +00:00
|
|
|
if_equal SUNDAY, .SunnyAppears
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $6
|
|
|
|
return
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
.SunnyAppears
|
2013-02-17 06:54:07 +00:00
|
|
|
appear $6
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerTwinsAnnandanne1:
|
2015-11-02 19:37:02 +00:00
|
|
|
trainer EVENT_BEAT_TWINS_ANN_AND_ANNE, TWINS, ANNANDANNE1, TwinsAnnandanne1SeenText, TwinsAnnandanne1BeatenText, 0, TwinsAnnandanne1Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TwinsAnnandanne1Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a8e62
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerTwinsAnnandanne2:
|
2015-11-02 19:37:02 +00:00
|
|
|
trainer EVENT_BEAT_TWINS_ANN_AND_ANNE, TWINS, ANNANDANNE2, TwinsAnnandanne2SeenText, TwinsAnnandanne2BeatenText, 0, TwinsAnnandanne2Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TwinsAnnandanne2Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a8eec
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPsychicGreg:
|
2015-11-02 19:37:02 +00:00
|
|
|
trainer EVENT_BEAT_PSYCHIC_GREG, PSYCHIC_T, GREG, PsychicGregSeenText, PsychicGregBeatenText, 0, PsychicGregScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PsychicGregScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a8f80
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
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
|
2014-10-27 01:37:15 +00:00
|
|
|
if_not_equal 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
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_MET_SUNNY_OF_SUNDAY
|
2014-10-27 01:37:15 +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
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-01-20 08:01:23 +00:00
|
|
|
jump .next
|
2014-10-27 01:37:15 +00:00
|
|
|
.Kris
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SunnyGivesGiftText2
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2014-10-27 01:37:15 +00:00
|
|
|
.next
|
2013-02-17 06:54:07 +00:00
|
|
|
verbosegiveitem MAGNET, 1
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnySundayScript:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SunnySundayText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyDoneScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2014-10-27 01:37:15 +00:00
|
|
|
SunnyNotSundayScript:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext SunnyNotSundayText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapRoute37Signpost0Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x1a9197
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
FruitTreeScript_0x1a8e09:
|
2013-02-17 06:54:07 +00:00
|
|
|
fruittree $11
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
FruitTreeScript_0x1a8e0b:
|
2013-02-17 06:54:07 +00:00
|
|
|
fruittree $12
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
FruitTreeScript_0x1a8e0d:
|
2013-02-17 06:54:07 +00:00
|
|
|
fruittree $13
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapRoute37SignpostItem1:
|
2015-07-18 19:46:38 +00:00
|
|
|
dwb EVENT_ROUTE_37_HIDDEN_ETHER, ETHER
|
2013-02-17 06:54:07 +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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a8e62:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a8eec:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a8f80:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1a9197:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ROUTE 37"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
Route37_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 3, 5, SIGNPOST_READ, MapRoute37Signpost0Script
|
2015-07-18 19:46:38 +00:00
|
|
|
signpost 2, 4, SIGNPOST_ITEM, MapRoute37SignpostItem1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 7
|
2015-11-01 01:05:02 +00:00
|
|
|
person_event SPRITE_WEIRD_TREE, 12, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 2, 1, TrainerTwinsAnnandanne1, -1
|
|
|
|
person_event SPRITE_WEIRD_TREE, 12, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 2, 1, TrainerTwinsAnnandanne2, -1
|
|
|
|
person_event SPRITE_YOUNGSTER, 6, 6, SPRITEMOVEDATA_0A, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, 2, 1, TrainerPsychicGreg, -1
|
|
|
|
person_event SPRITE_FRUIT_TREE, 5, 13, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x1a8e09, -1
|
|
|
|
person_event SPRITE_BUG_CATCHER, 8, 16, SPRITEMOVEDATA_02, 1, 1, -1, -1, 0, 0, 0, SunnyScript, EVENT_ROUTE_37_SUNNY_OF_SUNDAY
|
|
|
|
person_event SPRITE_FRUIT_TREE, 5, 16, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x1a8e0b, -1
|
|
|
|
person_event SPRITE_FRUIT_TREE, 7, 15, SPRITEMOVEDATA_01, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x1a8e0d, -1
|