2018-01-31 08:08:47 -08:00
|
|
|
const_value set 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const VICTORYROADGATE_OFFICER
|
|
|
|
const VICTORYROADGATE_BLACK_BELT1
|
|
|
|
const VICTORYROADGATE_BLACK_BELT2
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VictoryRoadGate_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; scene scripts
|
2017-12-24 10:46:34 -08:00
|
|
|
scene_script .DummyScene0
|
|
|
|
scene_script .DummyScene1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
VictoryRoadGateBadgeCheckScene:
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, LEFT
|
2017-12-10 14:53:21 -08:00
|
|
|
jump VictoryRoadGateBadgeCheckScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateOfficerScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateBadgeCheckScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 14:53:21 -08:00
|
|
|
writetext VictoryRoadGateOfficerText
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_BADGES
|
2018-01-11 22:40:20 -08:00
|
|
|
if_greater_than NUM_JOHTO_BADGES - 1, .AllEightBadges
|
2017-12-10 14:53:21 -08:00
|
|
|
writetext VictoryRoadGateNotEnoughBadgesText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2017-12-10 14:53:21 -08:00
|
|
|
applymovement PLAYER, VictoryRoadGateStepDownMovement
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.AllEightBadges:
|
|
|
|
writetext VictoryRoadGateEightBadgesText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-01-09 15:45:25 -08:00
|
|
|
setscene 1
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateLeftBlackBeltScript:
|
|
|
|
jumptextfaceplayer VictoryRoadGateLeftBlackBeltText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateRightBlackBeltScript:
|
|
|
|
jumptextfaceplayer VictoryRoadGateRightBlackBeltText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateStepDownMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateOfficerText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Only trainers who"
|
|
|
|
line "have proven them-"
|
|
|
|
cont "selves may pass."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateNotEnoughBadgesText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateEightBadgesText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh! The eight"
|
|
|
|
line "BADGES of JOHTO!"
|
|
|
|
|
|
|
|
para "Please, go right"
|
|
|
|
line "on through!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateLeftBlackBeltText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "This way leads to"
|
|
|
|
line "MT.SILVER."
|
|
|
|
|
|
|
|
para "You'll see scary-"
|
|
|
|
line "strong #MON out"
|
|
|
|
cont "there."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
VictoryRoadGateRightBlackBeltText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VictoryRoadGate_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 8 ; warp events
|
2018-01-28 10:20:04 -08:00
|
|
|
warp_event 17, 7, 1, ROUTE_22
|
|
|
|
warp_event 18, 7, 1, ROUTE_22
|
|
|
|
warp_event 9, 17, 1, ROUTE_26
|
|
|
|
warp_event 10, 17, 1, ROUTE_26
|
|
|
|
warp_event 9, 0, 1, VICTORY_ROAD
|
|
|
|
warp_event 10, 0, 1, VICTORY_ROAD
|
|
|
|
warp_event 1, 7, 2, ROUTE_28
|
|
|
|
warp_event 2, 7, 2, ROUTE_28
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; coord events
|
2017-12-28 11:31:25 -08:00
|
|
|
coord_event 10, 11, 0, VictoryRoadGateBadgeCheckScene
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; bg events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 3 ; object events
|
2017-12-28 11:31:25 -08: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
|