2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const CELADONGYM_ERIKA
|
|
|
|
const CELADONGYM_LASS1
|
|
|
|
const CELADONGYM_LASS2
|
|
|
|
const CELADONGYM_BUENA
|
|
|
|
const CELADONGYM_TWIN1
|
|
|
|
const CELADONGYM_TWIN2
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
CeladonGym_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 0 ; callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 21:50:43 +00:00
|
|
|
CeladonGymErikaScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 07:00:27 +00:00
|
|
|
checkflag ENGINE_RAINBOWBADGE
|
|
|
|
iftrue .FightDone
|
2018-03-08 03:05:14 +00:00
|
|
|
writetext ErikaBeforeBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-03-08 03:05:14 +00:00
|
|
|
winlosstext ErikaBeatenText, 0
|
2018-01-09 23:45:25 +00:00
|
|
|
loadtrainer ERIKA, ERIKA1
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2015-07-10 07:00:27 +00:00
|
|
|
setevent EVENT_BEAT_ERIKA
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_BEAT_LASS_MICHELLE
|
|
|
|
setevent EVENT_BEAT_PICNICKER_TANYA
|
|
|
|
setevent EVENT_BEAT_BEAUTY_JULIA
|
|
|
|
setevent EVENT_BEAT_TWINS_JO_AND_ZOE
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-03-08 03:05:14 +00:00
|
|
|
writetext PlayerReceivedRainbowBadgeText
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_GET_BADGE
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-07-10 07:00:27 +00:00
|
|
|
setflag ENGINE_RAINBOWBADGE
|
2016-04-10 18:42:14 +00:00
|
|
|
.FightDone:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TM19_GIGA_DRAIN
|
2018-02-28 22:47:31 +00:00
|
|
|
iftrue .GotGigaDrain
|
2018-03-08 03:05:14 +00:00
|
|
|
writetext ErikaExplainTMText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem TM_GIGA_DRAIN
|
2018-02-28 22:47:31 +00:00
|
|
|
iffalse .GotGigaDrain
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_TM19_GIGA_DRAIN
|
2018-02-28 22:47:31 +00:00
|
|
|
.GotGigaDrain:
|
2018-03-08 03:05:14 +00:00
|
|
|
writetext ErikaAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
TrainerLassMichelle:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer LASS, MICHELLE, EVENT_BEAT_LASS_MICHELLE, LassMichelleSeenText, LassMichelleBeatenText, 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 LassMichelleAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
TrainerPicnickerTanya:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer PICNICKER, TANYA, EVENT_BEAT_PICNICKER_TANYA, PicnickerTanyaSeenText, PicnickerTanyaBeatenText, 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 PicnickerTanyaAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
TrainerBeautyJulia:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer BEAUTY, JULIA, EVENT_BEAT_BEAUTY_JULIA, BeautyJuliaSeenText, BeautyJuliaBeatenText, 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 BeautyJuliaAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
TrainerTwinsJoAndZoe1:
|
|
|
|
trainer TWINS, JOANDZOE1, EVENT_BEAT_TWINS_JO_AND_ZOE, TwinsJoAndZoe1SeenText, TwinsJoAndZoe1BeatenText, 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
|
2018-03-08 03:05:14 +00:00
|
|
|
writetext TwinsJoAndZoe1AfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
TrainerTwinsJoAndZoe2:
|
|
|
|
trainer TWINS, JOANDZOE2, EVENT_BEAT_TWINS_JO_AND_ZOE, TwinsJoAndZoe2SeenText, TwinsJoAndZoe2BeatenText, 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
|
2018-03-08 03:05:14 +00:00
|
|
|
writetext TwinsJoAndZoe2AfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 03:51:36 +00:00
|
|
|
CeladonGymStatue:
|
|
|
|
checkflag ENGINE_RAINBOWBADGE
|
|
|
|
iftrue .Beaten
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue1
|
2016-04-10 18:42:14 +00:00
|
|
|
.Beaten:
|
2018-01-12 06:40:20 +00:00
|
|
|
trainertotext ERIKA, ERIKA1, MEM_BUFFER_1
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
ErikaBeforeBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ERIKA: Hello…"
|
|
|
|
line "Lovely weather,"
|
|
|
|
|
|
|
|
para "isn't it?"
|
|
|
|
line "It's so pleasant…"
|
|
|
|
|
|
|
|
para "…I'm afraid I may"
|
|
|
|
line "doze off…"
|
|
|
|
|
|
|
|
para "My name is ERIKA."
|
|
|
|
line "I am the LEADER of"
|
|
|
|
cont "CELADON GYM."
|
|
|
|
|
|
|
|
para "…Oh? All the way"
|
|
|
|
line "from JOHTO, you"
|
|
|
|
cont "say? How nice…"
|
|
|
|
|
|
|
|
para "Oh. I'm sorry, I"
|
|
|
|
line "didn't realize"
|
|
|
|
|
|
|
|
para "that you wished to"
|
|
|
|
line "challenge me."
|
|
|
|
|
|
|
|
para "Very well, but I"
|
|
|
|
line "shall not lose."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
ErikaBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ERIKA: Oh!"
|
|
|
|
line "I concede defeat…"
|
|
|
|
|
|
|
|
para "You are remarkably"
|
|
|
|
line "strong…"
|
|
|
|
|
|
|
|
para "I shall give you"
|
|
|
|
line "RAINBOWBADGE…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
PlayerReceivedRainbowBadgeText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "RAINBOWBADGE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
ErikaExplainTMText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ERIKA: That was a"
|
|
|
|
line "delightful match."
|
|
|
|
|
|
|
|
para "I felt inspired."
|
|
|
|
line "Please, I wish you"
|
|
|
|
cont "to have this TM."
|
|
|
|
|
|
|
|
para "It is GIGA DRAIN."
|
|
|
|
|
|
|
|
para "It is a wonderful"
|
|
|
|
line "move that drains"
|
|
|
|
|
|
|
|
para "half the damage it"
|
|
|
|
line "inflicts to heal"
|
|
|
|
cont "your #MON."
|
|
|
|
|
|
|
|
para "Please use it if"
|
|
|
|
line "it pleases you…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
ErikaAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ERIKA: Losing"
|
|
|
|
line "leaves a bitter"
|
|
|
|
cont "aftertaste…"
|
|
|
|
|
|
|
|
para "But knowing that"
|
|
|
|
line "there are strong"
|
|
|
|
|
|
|
|
para "trainers spurs me"
|
|
|
|
line "to do better…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
LassMichelleSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Do you think a"
|
|
|
|
line "girls-only GYM"
|
|
|
|
cont "is rare?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
LassMichelleBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, bleah!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
LassMichelleAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I just got care-"
|
|
|
|
line "less, that's all!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
PicnickerTanyaSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, a battle?"
|
|
|
|
line "That's kind of"
|
|
|
|
cont "scary, but OK!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
PicnickerTanyaBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, that's it?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
PicnickerTanyaAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, look at all"
|
|
|
|
line "your BADGES. No"
|
|
|
|
|
|
|
|
para "wonder I couldn't"
|
|
|
|
line "win!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BeautyJuliaSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Were you looking"
|
|
|
|
line "at these flowers"
|
|
|
|
cont "or at me?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BeautyJuliaBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "How annoying!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
BeautyJuliaAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "How do I go about"
|
|
|
|
line "becoming ladylike"
|
|
|
|
cont "like ERIKA?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
TwinsJoAndZoe1SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We'll show you"
|
|
|
|
line "#MON moves that"
|
|
|
|
cont "ERIKA taught us!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
TwinsJoAndZoe1BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh… We lost…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
TwinsJoAndZoe1AfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ERIKA will get you"
|
|
|
|
line "back for us!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
TwinsJoAndZoe2SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We're going to"
|
|
|
|
line "protect ERIKA!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
TwinsJoAndZoe2BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We couldn't win…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-08 03:05:14 +00:00
|
|
|
TwinsJoAndZoe2AfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "ERIKA is much,"
|
|
|
|
line "much stronger!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
CeladonGym_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 2 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 4, 17, CELADON_CITY, 8
|
|
|
|
warp_event 5, 17, CELADON_CITY, 8
|
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 3, 15, BGEVENT_READ, CeladonGymStatue
|
|
|
|
bg_event 6, 15, BGEVENT_READ, CeladonGymStatue
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 6 ; object events
|
2018-02-28 21:50:43 +00:00
|
|
|
object_event 5, 3, SPRITE_ERIKA, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonGymErikaScript, -1
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 7, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerLassMichelle, -1
|
|
|
|
object_event 2, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerPicnickerTanya, -1
|
|
|
|
object_event 3, 5, SPRITE_BUENA, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerBeautyJulia, -1
|
2018-03-08 03:05:14 +00:00
|
|
|
object_event 4, 10, SPRITE_TWIN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerTwinsJoAndZoe1, -1
|
|
|
|
object_event 5, 10, SPRITE_TWIN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerTwinsJoAndZoe2, -1
|