2017-12-25 00:49:57 +00:00
|
|
|
ROUTE43GATE_TOLL EQU 1000
|
|
|
|
|
2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const ROUTE43GATE_OFFICER
|
|
|
|
const ROUTE43GATE_ROCKET1
|
|
|
|
const ROUTE43GATE_ROCKET2
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
Route43Gate_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 .RocketShakedown
|
|
|
|
scene_script .DummyScene
|
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 1
|
2017-12-10 22:53:21 +00:00
|
|
|
dbw MAPCALLBACK_NEWMAP, .CheckIfRockets
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.RocketShakedown:
|
|
|
|
priorityjump .RocketTakeover
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.CheckIfRockets:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
2017-12-10 22:53:21 +00:00
|
|
|
iftrue .NoRockets
|
2017-12-24 18:46:34 +00:00
|
|
|
setmapscene ROUTE_43, $0
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.NoRockets:
|
2017-12-24 18:46:34 +00:00
|
|
|
setmapscene ROUTE_43, $1
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.RocketTakeover:
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_ROCKET_ENCOUNTER
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_FACING
|
2017-10-26 04:29:44 +00:00
|
|
|
if_equal DOWN, RocketScript_Southbound
|
|
|
|
if_equal UP, RocketScript_Northbound
|
2017-12-24 18:46:34 +00:00
|
|
|
setscene $1
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_Southbound:
|
|
|
|
applymovement PLAYER, PlayerStepsIn
|
2015-11-27 05:22:14 +00:00
|
|
|
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15
|
2017-10-26 04:29:44 +00:00
|
|
|
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_BlocksYouSouth
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface ROUTE43GATE_ROCKET1, UP
|
|
|
|
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15
|
2017-10-26 04:29:44 +00:00
|
|
|
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_BlocksYouSouth
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-10-26 04:29:44 +00:00
|
|
|
writetext RocketText_TollFee
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2017-12-25 00:49:57 +00:00
|
|
|
checkmoney $0, ROUTE43GATE_TOLL - 1
|
2017-10-26 04:29:44 +00:00
|
|
|
if_equal $0, RocketScript_TollSouth
|
|
|
|
jump RocketScript_YoureBrokeSouth
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_TollSouth:
|
2017-12-25 00:49:57 +00:00
|
|
|
takemoney $0, ROUTE43GATE_TOLL
|
2017-10-26 04:29:44 +00:00
|
|
|
writetext RocketText_ThankYou
|
|
|
|
jump RocketScript_ShakeDownSouth
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_YoureBrokeSouth:
|
2017-12-25 00:49:57 +00:00
|
|
|
takemoney $0, ROUTE43GATE_TOLL
|
2017-10-26 04:29:44 +00:00
|
|
|
writetext RocketText_AllYouGot
|
|
|
|
jump RocketScript_ShakeDownSouth
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_ShakeDownSouth:
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2017-10-26 04:29:44 +00:00
|
|
|
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassSouth
|
|
|
|
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassSouth
|
2017-12-24 18:46:34 +00:00
|
|
|
setscene $1
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_Northbound:
|
2015-11-27 05:22:14 +00:00
|
|
|
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET1, 15
|
2017-10-26 04:29:44 +00:00
|
|
|
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_BlocksYouNorth
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface ROUTE43GATE_ROCKET2, DOWN
|
|
|
|
showemote EMOTE_SHOCK, ROUTE43GATE_ROCKET2, 15
|
2017-10-26 04:29:44 +00:00
|
|
|
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_BlocksYouNorth
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-10-26 04:29:44 +00:00
|
|
|
writetext RocketText_TollFee
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2017-12-25 00:49:57 +00:00
|
|
|
checkmoney $0, ROUTE43GATE_TOLL - 1
|
2017-10-26 04:29:44 +00:00
|
|
|
if_equal $0, RocketScript_TollNorth
|
|
|
|
jump RocketScript_YoureBrokeNorth
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_TollNorth:
|
2017-12-25 00:49:57 +00:00
|
|
|
takemoney $0, ROUTE43GATE_TOLL
|
2017-10-26 04:29:44 +00:00
|
|
|
writetext RocketText_ThankYou
|
|
|
|
jump RocketScript_ShakeDownNorth
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_YoureBrokeNorth:
|
2017-12-25 00:49:57 +00:00
|
|
|
takemoney $0, ROUTE43GATE_TOLL
|
2017-10-26 04:29:44 +00:00
|
|
|
writetext RocketText_AllYouGot
|
|
|
|
jump RocketScript_ShakeDownNorth
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_ShakeDownNorth:
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2017-10-26 04:29:44 +00:00
|
|
|
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassNorth
|
|
|
|
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassNorth
|
2017-12-24 18:46:34 +00:00
|
|
|
setscene $1
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketScript_MakingABundle:
|
|
|
|
jumptextfaceplayer RocketText_MakingABundle
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
OfficerScript_GuardWithSludgeBomb:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TM36_SLUDGE_BOMB
|
2017-10-26 04:29:44 +00:00
|
|
|
iftrue .GotSludgeBomb
|
|
|
|
writetext OfficerText_FoundTM
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem TM_SLUDGE_BOMB
|
2017-10-26 04:29:44 +00:00
|
|
|
iffalse .NoRoomForSludgeBomb
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_TM36_SLUDGE_BOMB
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
.GotSludgeBomb:
|
|
|
|
writetext OfficerText_AvoidGrass
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2017-10-26 04:29:44 +00:00
|
|
|
.NoRoomForSludgeBomb:
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
PlayerStepsIn:
|
2016-05-14 17:46:14 +00:00
|
|
|
step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Rocket1Script_BlocksYouSouth:
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step UP
|
|
|
|
big_step UP
|
|
|
|
big_step RIGHT
|
|
|
|
big_step RIGHT
|
|
|
|
turn_head UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Rocket1Script_LetsYouPassSouth:
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step LEFT
|
|
|
|
big_step LEFT
|
|
|
|
big_step DOWN
|
|
|
|
big_step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Rocket1Script_BlocksYouNorth:
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step DOWN
|
|
|
|
big_step DOWN
|
|
|
|
big_step RIGHT
|
|
|
|
big_step RIGHT
|
|
|
|
turn_head DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Rocket1Script_LetsYouPassNorth:
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step LEFT
|
|
|
|
big_step LEFT
|
|
|
|
big_step UP
|
|
|
|
big_step UP
|
|
|
|
turn_head DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Rocket2Script_BlocksYouSouth:
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step UP
|
|
|
|
big_step UP
|
|
|
|
big_step LEFT
|
|
|
|
big_step LEFT
|
|
|
|
turn_head UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Rocket2Script_LetsYouPassSouth:
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step RIGHT
|
|
|
|
big_step RIGHT
|
|
|
|
big_step DOWN
|
|
|
|
big_step DOWN
|
|
|
|
turn_head UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Rocket2Script_BlocksYouNorth:
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step DOWN
|
|
|
|
big_step DOWN
|
|
|
|
big_step LEFT
|
|
|
|
big_step LEFT
|
|
|
|
turn_head DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Rocket2Script_LetsYouPassNorth:
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step RIGHT
|
|
|
|
big_step RIGHT
|
|
|
|
big_step UP
|
|
|
|
big_step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketText_TollFee:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hold it there,"
|
|
|
|
line "kiddo!"
|
|
|
|
|
|
|
|
para "The toll is ¥1000"
|
|
|
|
line "to go through."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketText_ThankYou:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Thank you very"
|
|
|
|
line "much!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketText_AllYouGot:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Then pay what you"
|
|
|
|
line "have, please."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
RocketText_MakingABundle:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
OfficerText_FoundTM:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
Text_ReceivedTM30:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "TM30."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-10-26 04:29:44 +00:00
|
|
|
OfficerText_AvoidGrass:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Use this gate to"
|
|
|
|
line "avoid walking in"
|
|
|
|
cont "the grass."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
Route43Gate_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 4
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $0, $4, 4, ROUTE_43
|
|
|
|
warp_def $0, $5, 5, ROUTE_43
|
|
|
|
warp_def $7, $4, 3, ROUTE_43
|
|
|
|
warp_def $7, $5, 3, ROUTE_43
|
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 0
|
|
|
|
|
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, 4, 0, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, OfficerScript_GuardWithSludgeBomb, EVENT_LAKE_OF_RAGE_CIVILIANS
|
|
|
|
object_event SPRITE_ROCKET, 4, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RocketScript_MakingABundle, EVENT_ROUTE_43_GATE_ROCKETS
|
|
|
|
object_event SPRITE_ROCKET, 4, 7, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RocketScript_MakingABundle, EVENT_ROUTE_43_GATE_ROCKETS
|