2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const VICTORYROADGATE_OFFICER
|
|
|
|
const VICTORYROADGATE_BLACK_BELT1
|
|
|
|
const VICTORYROADGATE_BLACK_BELT2
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
VictoryRoadGate_MapScriptHeader:
|
2017-12-24 18:46:34 +00:00
|
|
|
.SceneScripts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2017-12-24 18:46:34 +00:00
|
|
|
scene_script .DummyScene0
|
|
|
|
scene_script .DummyScene1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene0:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene1:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
VictoryRoadGateBadgeCheckScene:
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, LEFT
|
2017-12-10 22:53:21 +00:00
|
|
|
jump 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
|
2017-12-10 22:53:21 +00:00
|
|
|
VictoryRoadGateBadgeCheckScript:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 22:53:21 +00:00
|
|
|
writetext VictoryRoadGateOfficerText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_BADGES
|
2017-12-10 22:53:21 +00:00
|
|
|
if_greater_than 7, .AllEightBadges
|
|
|
|
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
|
2017-12-24 18:46:34 +00:00
|
|
|
setscene $1
|
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
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
VictoryRoadGate_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 8
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $7, $11, 1, ROUTE_22
|
|
|
|
warp_def $7, $12, 1, ROUTE_22
|
|
|
|
warp_def $11, $9, 1, ROUTE_26
|
|
|
|
warp_def $11, $a, 1, ROUTE_26
|
|
|
|
warp_def $0, $9, 1, VICTORY_ROAD
|
|
|
|
warp_def $0, $a, 1, VICTORY_ROAD
|
|
|
|
warp_def $7, $1, 2, ROUTE_28
|
|
|
|
warp_def $7, $2, 2, ROUTE_28
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.CoordEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2017-12-24 18:46:34 +00:00
|
|
|
coord_event 0, $b, $a, VictoryRoadGateBadgeCheckScene
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.BGEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.ObjectEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 3
|
2017-12-24 18:46:34 +00:00
|
|
|
object_event SPRITE_OFFICER, 11, 8, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VictoryRoadGateOfficerScript, -1
|
|
|
|
object_event SPRITE_BLACK_BELT, 5, 7, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VictoryRoadGateLeftBlackBeltScript, EVENT_OPENED_MT_SILVER
|
|
|
|
object_event SPRITE_BLACK_BELT, 5, 12, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VictoryRoadGateRightBlackBeltScript, EVENT_FOUGHT_SNORLAX
|