2017-12-24 16:49:57 -08:00
|
|
|
ROUTE43GATE_TOLL EQU 1000
|
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const ROUTE43GATE_OFFICER
|
|
|
|
const ROUTE43GATE_ROCKET1
|
|
|
|
const ROUTE43GATE_ROCKET2
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route43Gate_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2018-02-01 09:40:58 -08:00
|
|
|
scene_script .RocketShakedown ; SCENE_DEFAULT
|
2018-02-01 12:06:06 -08:00
|
|
|
scene_script .DummyScene ; SCENE_FINISHED
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_NEWMAP, .CheckIfRockets
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.RocketShakedown:
|
2019-03-10 13:39:31 -07:00
|
|
|
prioritysjump .RocketTakeover
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.CheckIfRockets:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
2017-12-10 14:53:21 -08:00
|
|
|
iftrue .NoRockets
|
2018-01-31 20:16:51 -08:00
|
|
|
setmapscene ROUTE_43, 0 ; Route 43 does not have a scene variable
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.NoRockets:
|
2018-01-31 20:16:51 -08:00
|
|
|
setmapscene ROUTE_43, 1 ; Route 43 does not have a scene variable
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.RocketTakeover:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_ROCKET_ENCOUNTER
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_FACING
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal DOWN, RocketScript_Southbound
|
|
|
|
ifequal UP, RocketScript_Northbound
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_Southbound:
|
|
|
|
applymovement PLAYER, PlayerStepsIn
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15
|
2017-10-25 21:29:44 -07:00
|
|
|
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_BlocksYouSouth
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject ROUTE43GATE_ROCKET1, UP
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15
|
2017-10-25 21:29:44 -07:00
|
|
|
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_BlocksYouSouth
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-10-25 21:29:44 -07:00
|
|
|
writetext RocketText_TollFee
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2018-01-11 22:40:20 -08:00
|
|
|
checkmoney YOUR_MONEY, ROUTE43GATE_TOLL - 1
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_MORE, RocketScript_TollSouth
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump RocketScript_YoureBrokeSouth
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_TollSouth:
|
2018-01-11 22:40:20 -08:00
|
|
|
takemoney YOUR_MONEY, ROUTE43GATE_TOLL
|
2017-10-25 21:29:44 -07:00
|
|
|
writetext RocketText_ThankYou
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump RocketScript_ShakeDownSouth
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_YoureBrokeSouth:
|
2018-01-11 22:40:20 -08:00
|
|
|
takemoney YOUR_MONEY, ROUTE43GATE_TOLL
|
2017-10-25 21:29:44 -07:00
|
|
|
writetext RocketText_AllYouGot
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump RocketScript_ShakeDownSouth
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_ShakeDownSouth:
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2017-10-25 21:29:44 -07:00
|
|
|
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassSouth
|
|
|
|
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassSouth
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_Northbound:
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15
|
2017-10-25 21:29:44 -07:00
|
|
|
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_BlocksYouNorth
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject ROUTE43GATE_ROCKET2, DOWN
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15
|
2017-10-25 21:29:44 -07:00
|
|
|
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_BlocksYouNorth
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-10-25 21:29:44 -07:00
|
|
|
writetext RocketText_TollFee
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2018-01-11 22:40:20 -08:00
|
|
|
checkmoney YOUR_MONEY, ROUTE43GATE_TOLL - 1
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal HAVE_MORE, RocketScript_TollNorth
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump RocketScript_YoureBrokeNorth
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_TollNorth:
|
2018-01-11 22:40:20 -08:00
|
|
|
takemoney YOUR_MONEY, ROUTE43GATE_TOLL
|
2017-10-25 21:29:44 -07:00
|
|
|
writetext RocketText_ThankYou
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump RocketScript_ShakeDownNorth
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_YoureBrokeNorth:
|
2018-01-11 22:40:20 -08:00
|
|
|
takemoney YOUR_MONEY, ROUTE43GATE_TOLL
|
2017-10-25 21:29:44 -07:00
|
|
|
writetext RocketText_AllYouGot
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump RocketScript_ShakeDownNorth
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_ShakeDownNorth:
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2017-10-25 21:29:44 -07:00
|
|
|
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassNorth
|
|
|
|
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassNorth
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketScript_MakingABundle:
|
|
|
|
jumptextfaceplayer RocketText_MakingABundle
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
OfficerScript_GuardWithSludgeBomb:
|
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_GOT_TM36_SLUDGE_BOMB
|
2017-10-25 21:29:44 -07:00
|
|
|
iftrue .GotSludgeBomb
|
|
|
|
writetext OfficerText_FoundTM
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem TM_SLUDGE_BOMB
|
2017-10-25 21:29:44 -07:00
|
|
|
iffalse .NoRoomForSludgeBomb
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_TM36_SLUDGE_BOMB
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
.GotSludgeBomb:
|
|
|
|
writetext OfficerText_AvoidGrass
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2017-10-25 21:29:44 -07:00
|
|
|
.NoRoomForSludgeBomb:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
PlayerStepsIn:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
Rocket1Script_BlocksYouSouth:
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step UP
|
|
|
|
big_step UP
|
|
|
|
big_step RIGHT
|
|
|
|
big_step RIGHT
|
|
|
|
turn_head UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
Rocket1Script_LetsYouPassSouth:
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step LEFT
|
|
|
|
big_step LEFT
|
|
|
|
big_step DOWN
|
|
|
|
big_step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
Rocket1Script_BlocksYouNorth:
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step DOWN
|
|
|
|
big_step DOWN
|
|
|
|
big_step RIGHT
|
|
|
|
big_step RIGHT
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
Rocket1Script_LetsYouPassNorth:
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step LEFT
|
|
|
|
big_step LEFT
|
|
|
|
big_step UP
|
|
|
|
big_step UP
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
Rocket2Script_BlocksYouSouth:
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step UP
|
|
|
|
big_step UP
|
|
|
|
big_step LEFT
|
|
|
|
big_step LEFT
|
|
|
|
turn_head UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
Rocket2Script_LetsYouPassSouth:
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step RIGHT
|
|
|
|
big_step RIGHT
|
|
|
|
big_step DOWN
|
|
|
|
big_step DOWN
|
|
|
|
turn_head UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
Rocket2Script_BlocksYouNorth:
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step DOWN
|
|
|
|
big_step DOWN
|
|
|
|
big_step LEFT
|
|
|
|
big_step LEFT
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
Rocket2Script_LetsYouPassNorth:
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step RIGHT
|
|
|
|
big_step RIGHT
|
|
|
|
big_step UP
|
|
|
|
big_step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketText_TollFee:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hold it there,"
|
|
|
|
line "kiddo!"
|
|
|
|
|
2021-03-21 15:14:31 -07:00
|
|
|
para "The toll is ¥{d:ROUTE43GATE_TOLL}"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "to go through."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketText_ThankYou:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Thank you very"
|
|
|
|
line "much!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketText_AllYouGot:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Then pay what you"
|
|
|
|
line "have, please."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
RocketText_MakingABundle:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "He-he-he. We're"
|
|
|
|
line "making a bundle."
|
|
|
|
|
|
|
|
para "Everyone wants to"
|
|
|
|
line "see what's going"
|
|
|
|
|
|
|
|
para "on up at LAKE OF"
|
|
|
|
line "RAGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
OfficerText_FoundTM:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I got chased from"
|
|
|
|
line "my post by these"
|
|
|
|
cont "thugs in black."
|
|
|
|
|
|
|
|
para "They left this"
|
|
|
|
line "behind."
|
|
|
|
|
|
|
|
para "It makes me uncom-"
|
|
|
|
line "fortable. Could"
|
|
|
|
cont "you take it away?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
Text_ReceivedTM30: ; unreferenced
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "TM30."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-10-25 21:29:44 -07:00
|
|
|
OfficerText_AvoidGrass:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Use this gate to"
|
|
|
|
line "avoid walking in"
|
|
|
|
cont "the grass."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
Route43Gate_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, 0, ROUTE_43, 4
|
|
|
|
warp_event 5, 0, ROUTE_43, 5
|
|
|
|
warp_event 4, 7, ROUTE_43, 3
|
|
|
|
warp_event 5, 7, ROUTE_43, 3
|
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
|
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 0, 4, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, OfficerScript_GuardWithSludgeBomb, EVENT_LAKE_OF_RAGE_CIVILIANS
|
|
|
|
object_event 2, 4, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RocketScript_MakingABundle, EVENT_ROUTE_43_GATE_ROCKETS
|
|
|
|
object_event 7, 4, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RocketScript_MakingABundle, EVENT_ROUTE_43_GATE_ROCKETS
|