2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2015-11-27 05:22:14 +00:00
|
|
|
const VICTORYROADGATE_OFFICER
|
|
|
|
const VICTORYROADGATE_BLACK_BELT1
|
|
|
|
const VICTORYROADGATE_BLACK_BELT2
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
VictoryRoadGate_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2022-08-09 22:04:18 +00:00
|
|
|
scene_script VictoryRoadGateNoop1Scene, SCENE_VICTORYROADGATE_BADGE_CHECK
|
|
|
|
scene_script VictoryRoadGateNoop2Scene, SCENE_VICTORYROADGATE_NOOP
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
VictoryRoadGateNoop1Scene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
VictoryRoadGateNoop2Scene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
VictoryRoadGateBadgeCheckScript:
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject PLAYER, LEFT
|
2022-08-09 22:04:18 +00:00
|
|
|
sjump _VictoryRoadGateBadgeCheckScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateOfficerScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2022-08-09 22:04:18 +00:00
|
|
|
_VictoryRoadGateBadgeCheckScript:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 22:53:21 +00:00
|
|
|
writetext VictoryRoadGateOfficerText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_BADGES
|
2018-02-03 02:09:17 +00:00
|
|
|
ifgreater NUM_JOHTO_BADGES - 1, .AllEightBadges
|
2017-12-10 22:53:21 +00:00
|
|
|
writetext VictoryRoadGateNotEnoughBadgesText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2017-12-10 22:53:21 +00:00
|
|
|
applymovement PLAYER, VictoryRoadGateStepDownMovement
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.AllEightBadges:
|
|
|
|
writetext VictoryRoadGateEightBadgesText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2022-07-29 21:43:10 +00:00
|
|
|
setscene SCENE_VICTORYROADGATE_NOOP
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateLeftBlackBeltScript:
|
|
|
|
jumptextfaceplayer VictoryRoadGateLeftBlackBeltText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateRightBlackBeltScript:
|
|
|
|
jumptextfaceplayer VictoryRoadGateRightBlackBeltText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateStepDownMovement:
|
2016-05-14 17:46:14 +00:00
|
|
|
step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateOfficerText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Only trainers who"
|
|
|
|
line "have proven them-"
|
|
|
|
cont "selves may pass."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateNotEnoughBadgesText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You don't have all"
|
|
|
|
line "the GYM BADGES of"
|
|
|
|
cont "JOHTO."
|
|
|
|
|
|
|
|
para "I'm sorry, but I"
|
|
|
|
line "can't let you go"
|
|
|
|
cont "through."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateEightBadgesText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh! The eight"
|
|
|
|
line "BADGES of JOHTO!"
|
|
|
|
|
|
|
|
para "Please, go right"
|
|
|
|
line "on through!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateLeftBlackBeltText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "This way leads to"
|
|
|
|
line "MT.SILVER."
|
|
|
|
|
|
|
|
para "You'll see scary-"
|
|
|
|
line "strong #MON out"
|
|
|
|
cont "there."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateRightBlackBeltText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Off to the #MON"
|
|
|
|
line "LEAGUE, are you?"
|
|
|
|
|
|
|
|
para "The ELITE FOUR are"
|
|
|
|
line "so strong it's"
|
|
|
|
|
|
|
|
para "scary, and they're"
|
|
|
|
line "ready for you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
VictoryRoadGate_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_warp_events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 17, 7, ROUTE_22, 1
|
|
|
|
warp_event 18, 7, ROUTE_22, 1
|
|
|
|
warp_event 9, 17, ROUTE_26, 1
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 10, 17, ROUTE_26, 1
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 9, 0, VICTORY_ROAD, 1
|
|
|
|
warp_event 10, 0, VICTORY_ROAD, 1
|
|
|
|
warp_event 1, 7, ROUTE_28, 2
|
|
|
|
warp_event 2, 7, ROUTE_28, 2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2022-08-09 22:04:18 +00:00
|
|
|
coord_event 10, 11, SCENE_VICTORYROADGATE_BADGE_CHECK, VictoryRoadGateBadgeCheckScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 8, 11, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VictoryRoadGateOfficerScript, -1
|
|
|
|
object_event 7, 5, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VictoryRoadGateLeftBlackBeltScript, EVENT_OPENED_MT_SILVER
|
|
|
|
object_event 12, 5, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VictoryRoadGateRightBlackBeltScript, EVENT_FOUGHT_SNORLAX
|