2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const VIRIDIANGYM_BLUE
|
2020-07-17 10:01:48 -07:00
|
|
|
const VIRIDIANGYM_GYM_GUIDE
|
2015-11-26 21:22:14 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
ViridianGym_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-26 16:53:20 -07:00
|
|
|
ViridianGymBlueScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 00:00:27 -07:00
|
|
|
checkflag ENGINE_EARTHBADGE
|
|
|
|
iftrue .FightDone
|
2016-01-05 05:46:37 -08:00
|
|
|
writetext LeaderBlueBeforeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2016-01-05 05:46:37 -08:00
|
|
|
winlosstext LeaderBlueWinText, 0
|
2018-01-09 15:45:25 -08:00
|
|
|
loadtrainer BLUE, BLUE1
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_BEAT_BLUE
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2016-01-05 05:46:37 -08:00
|
|
|
writetext Text_ReceivedEarthBadge
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_GET_BADGE
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-07-10 00:00:27 -07:00
|
|
|
setflag ENGINE_EARTHBADGE
|
2016-01-05 05:46:37 -08:00
|
|
|
writetext LeaderBlueAfterText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FightDone:
|
2016-01-05 05:46:37 -08:00
|
|
|
writetext LeaderBlueEpilogueText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2020-07-17 10:01:48 -07:00
|
|
|
ViridianGymGuideScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_BEAT_BLUE
|
2020-07-17 10:01:48 -07:00
|
|
|
iftrue .ViridianGymGuideWinScript
|
|
|
|
writetext ViridianGymGuideText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2020-07-17 10:01:48 -07:00
|
|
|
.ViridianGymGuideWinScript:
|
|
|
|
writetext ViridianGymGuideWinText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-24 20:51:36 -07:00
|
|
|
ViridianGymStatue:
|
|
|
|
checkflag ENGINE_EARTHBADGE
|
|
|
|
iftrue .Beaten
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd GymStatue1Script
|
2016-01-05 05:46:37 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Beaten:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_4, BLUE, BLUE1
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd GymStatue2Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-01-05 05:46:37 -08:00
|
|
|
LeaderBlueBeforeText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLUE: Yo! Finally"
|
|
|
|
line "got here, huh?"
|
|
|
|
|
|
|
|
para "I wasn't in the"
|
|
|
|
line "mood at CINNABAR,"
|
|
|
|
|
|
|
|
para "but now I'm ready"
|
|
|
|
line "to battle you."
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "You're telling me"
|
|
|
|
line "you conquered all"
|
|
|
|
cont "the GYMS in JOHTO?"
|
|
|
|
|
|
|
|
para "Heh! JOHTO's GYMS"
|
|
|
|
line "must be pretty"
|
|
|
|
cont "pathetic then."
|
|
|
|
|
|
|
|
para "Hey, don't worry"
|
|
|
|
line "about it."
|
|
|
|
|
|
|
|
para "I'll know if you"
|
|
|
|
line "are good or not by"
|
|
|
|
|
|
|
|
para "battling you right"
|
|
|
|
line "now."
|
|
|
|
|
|
|
|
para "Ready, JOHTO"
|
|
|
|
line "CHAMP?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-01-05 05:46:37 -08:00
|
|
|
LeaderBlueWinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLUE: What?"
|
|
|
|
|
|
|
|
para "How the heck did I"
|
|
|
|
line "lose to you?"
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "Tch, all right…"
|
|
|
|
line "Here, take this--"
|
|
|
|
cont "it's EARTHBADGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-01-05 05:46:37 -08:00
|
|
|
Text_ReceivedEarthBadge:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "EARTHBADGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-01-05 05:46:37 -08:00
|
|
|
LeaderBlueAfterText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLUE: …"
|
|
|
|
|
|
|
|
para "All right, I was"
|
|
|
|
line "wrong. You're the"
|
|
|
|
|
|
|
|
para "real deal. You are"
|
|
|
|
line "a good trainer."
|
|
|
|
|
|
|
|
para "But I'm going to"
|
|
|
|
line "beat you someday."
|
|
|
|
|
|
|
|
para "Don't you forget"
|
|
|
|
line "it!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-01-05 05:46:37 -08:00
|
|
|
LeaderBlueEpilogueText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLUE: Listen, you."
|
|
|
|
|
|
|
|
para "You'd better not"
|
|
|
|
line "lose until I beat"
|
|
|
|
cont "you. Got it?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-17 10:01:48 -07:00
|
|
|
ViridianGymGuideText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Yo, CHAMP in"
|
|
|
|
line "making!"
|
|
|
|
|
|
|
|
para "How's it going?"
|
|
|
|
line "Looks like you're"
|
|
|
|
cont "on a roll."
|
|
|
|
|
|
|
|
para "The GYM LEADER is"
|
|
|
|
line "a guy who battled"
|
|
|
|
|
|
|
|
para "the CHAMPION three"
|
|
|
|
line "years ago."
|
|
|
|
|
|
|
|
para "He's no pushover."
|
|
|
|
|
|
|
|
para "Give it everything"
|
|
|
|
line "you've got!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-17 10:01:48 -07:00
|
|
|
ViridianGymGuideWinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Man, you are truly"
|
|
|
|
line "tough…"
|
|
|
|
|
|
|
|
para "That was a heck of"
|
|
|
|
line "an inspirational"
|
|
|
|
|
|
|
|
para "battle. It brought"
|
|
|
|
line "tears to my eyes."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
ViridianGym_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 4, 17, VIRIDIAN_CITY, 1
|
|
|
|
warp_event 5, 17, VIRIDIAN_CITY, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 3, 13, BGEVENT_READ, ViridianGymStatue
|
|
|
|
bg_event 6, 13, BGEVENT_READ, ViridianGymStatue
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 5, 3, SPRITE_BLUE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ViridianGymBlueScript, EVENT_VIRIDIAN_GYM_BLUE
|
2020-07-17 10:01:48 -07:00
|
|
|
object_event 7, 13, SPRITE_GYM_GUIDE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ViridianGymGuideScript, EVENT_VIRIDIAN_GYM_BLUE
|