pokecrystal/maps/TeamRocketBaseB1F.asm

790 lines
20 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const TEAMROCKETBASEB1F_ROCKET1
const TEAMROCKETBASEB1F_ROCKET2
const TEAMROCKETBASEB1F_SCIENTIST
const TEAMROCKETBASEB1F_POKE_BALL1
const TEAMROCKETBASEB1F_POKE_BALL2
const TEAMROCKETBASEB1F_POKE_BALL3
TeamRocketBaseB1F_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_DEFAULT
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .HideSecurityGrunt
.DummyScene:
end
.HideSecurityGrunt:
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB1F_ROCKET1
endcallback
2015-07-10 08:20:21 +00:00
SecurityCamera1a:
2013-09-24 07:48:58 +00:00
checkevent EVENT_SECURITY_CAMERA_1
iftrue NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 2
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
turnobject PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 2
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2013-09-24 07:48:58 +00:00
setevent EVENT_SECURITY_CAMERA_1
end
2015-07-10 08:20:21 +00:00
SecurityCamera1b:
2013-09-24 07:48:58 +00:00
checkevent EVENT_SECURITY_CAMERA_1
iftrue NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 3
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
turnobject PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 3
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2013-09-24 07:48:58 +00:00
setevent EVENT_SECURITY_CAMERA_1
end
2015-07-10 08:20:21 +00:00
SecurityCamera2a:
2013-09-24 07:48:58 +00:00
checkevent EVENT_SECURITY_CAMERA_2
iftrue NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 4, 7
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
turnobject PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement2
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 12, 5
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement3
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2013-09-24 07:48:58 +00:00
setevent EVENT_SECURITY_CAMERA_2
end
2015-07-10 08:20:21 +00:00
SecurityCamera2b:
2013-09-24 07:48:58 +00:00
checkevent EVENT_SECURITY_CAMERA_2
iftrue NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 4, 8
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
turnobject PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement4
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 12, 5
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement5
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2013-09-24 07:48:58 +00:00
setevent EVENT_SECURITY_CAMERA_2
end
2015-07-10 08:20:21 +00:00
SecurityCamera3a:
2013-09-24 07:48:58 +00:00
checkevent EVENT_SECURITY_CAMERA_3
iftrue NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 6
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
turnobject PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 11
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement6
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2013-09-24 07:48:58 +00:00
setevent EVENT_SECURITY_CAMERA_3
end
2015-07-10 08:20:21 +00:00
SecurityCamera3b:
2013-09-24 07:48:58 +00:00
checkevent EVENT_SECURITY_CAMERA_3
iftrue NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 7
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
turnobject PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 12
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement7
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2013-09-24 07:48:58 +00:00
setevent EVENT_SECURITY_CAMERA_3
end
2015-07-10 08:20:21 +00:00
SecurityCamera4:
2013-09-24 07:48:58 +00:00
checkevent EVENT_SECURITY_CAMERA_4
iftrue NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 17, 16
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
turnobject PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 11
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement8
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2013-09-24 07:48:58 +00:00
setevent EVENT_SECURITY_CAMERA_4
end
2015-07-10 08:20:21 +00:00
SecurityCamera5:
2013-09-24 07:48:58 +00:00
checkevent EVENT_SECURITY_CAMERA_5
iftrue NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, 3, 16
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
turnobject PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, 14, 16
2015-11-27 05:22:14 +00:00
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement9
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
2018-02-03 02:09:17 +00:00
ifequal TRUE, NoSecurityCamera
2013-09-24 07:48:58 +00:00
setevent EVENT_SECURITY_CAMERA_5
end
2015-07-10 08:20:21 +00:00
NoSecurityCamera:
end
2015-07-10 08:20:21 +00:00
TrainerCameraGrunt1:
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext CameraGrunt1SeenText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-02 19:37:02 +00:00
winlosstext CameraGrunt1BeatenText, 0
2015-12-09 16:38:40 +00:00
setlasttalked TEAMROCKETBASEB1F_ROCKET1
loadtrainer GRUNTM, GRUNTM_20
startbattle
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB1F_ROCKET1
reloadmapafterbattle
end
2015-07-10 08:20:21 +00:00
TrainerCameraGrunt2:
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext CameraGrunt2SeenText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-02 19:37:02 +00:00
winlosstext CameraGrunt2BeatenText, 0
2015-12-09 16:38:40 +00:00
setlasttalked TEAMROCKETBASEB1F_ROCKET1
loadtrainer GRUNTM, GRUNTM_21
startbattle
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB1F_ROCKET1
reloadmapafterbattle
end
2015-07-10 08:20:21 +00:00
PlaySecurityCameraSounds:
playsound SFX_LICK
pause 10
playsound SFX_LICK
pause 10
playsound SFX_LICK
pause 10
playsound SFX_LICK
pause 10
playsound SFX_LICK
pause 10
playsound SFX_LICK
end
2015-07-10 08:20:21 +00:00
ExplodingTrap1:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_1
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall KoffingExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_1
end
2015-07-10 08:20:21 +00:00
ExplodingTrap2:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_2
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall VoltorbExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_2
end
2015-07-10 08:20:21 +00:00
ExplodingTrap3:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_3
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall GeodudeExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_3
end
2015-07-10 08:20:21 +00:00
ExplodingTrap4:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_4
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall VoltorbExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_4
end
2015-07-10 08:20:21 +00:00
ExplodingTrap5:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_5
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall GeodudeExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_5
end
2015-07-10 08:20:21 +00:00
ExplodingTrap6:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_6
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall KoffingExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_6
end
2015-07-10 08:20:21 +00:00
ExplodingTrap7:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_7
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall VoltorbExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_7
end
2015-07-10 08:20:21 +00:00
ExplodingTrap8:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_8
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall KoffingExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_8
end
2015-07-10 08:20:21 +00:00
ExplodingTrap9:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_9
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall KoffingExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_9
end
2015-07-10 08:20:21 +00:00
ExplodingTrap10:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_10
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall VoltorbExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_10
end
2015-07-10 08:20:21 +00:00
ExplodingTrap11:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_11
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall GeodudeExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_11
end
2015-07-10 08:20:21 +00:00
ExplodingTrap12:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_12
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall GeodudeExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_12
end
2015-07-10 08:20:21 +00:00
ExplodingTrap13:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_13
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall GeodudeExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_13
end
2015-07-10 08:20:21 +00:00
ExplodingTrap14:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_14
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall KoffingExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_14
end
2015-07-10 08:20:21 +00:00
ExplodingTrap15:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_15
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall VoltorbExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_15
end
2015-07-10 08:20:21 +00:00
ExplodingTrap16:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_16
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall KoffingExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_16
end
2015-07-10 08:20:21 +00:00
ExplodingTrap17:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_17
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall VoltorbExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_17
end
2015-07-10 08:20:21 +00:00
ExplodingTrap18:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_18
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall GeodudeExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_18
end
2015-07-10 08:20:21 +00:00
ExplodingTrap19:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_19
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall GeodudeExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_19
end
2015-07-10 08:20:21 +00:00
ExplodingTrap20:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_20
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall VoltorbExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_20
end
2015-07-10 08:20:21 +00:00
ExplodingTrap21:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_21
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall KoffingExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_21
end
2015-07-10 08:20:21 +00:00
ExplodingTrap22:
2013-09-24 07:48:58 +00:00
checkevent EVENT_EXPLODING_TRAP_22
iftrue NoExplodingTrap
2015-01-20 08:01:23 +00:00
scall VoltorbExplodingTrap
reloadmapafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_22
end
2015-07-10 08:20:21 +00:00
VoltorbExplodingTrap:
special FadeOutPalettes
cry VOLTORB
special FadeInPalettes
2015-12-09 16:38:40 +00:00
setlasttalked -1
loadvar VAR_BATTLETYPE, BATTLETYPE_TRAP
loadwildmon VOLTORB, 23
startbattle
end
2015-07-10 08:20:21 +00:00
GeodudeExplodingTrap:
special FadeOutPalettes
cry GEODUDE
special FadeInPalettes
2015-12-09 16:38:40 +00:00
setlasttalked -1
loadvar VAR_BATTLETYPE, BATTLETYPE_TRAP
loadwildmon GEODUDE, 21
startbattle
end
2015-07-10 08:20:21 +00:00
KoffingExplodingTrap:
special FadeOutPalettes
cry KOFFING
special FadeInPalettes
2015-12-09 16:38:40 +00:00
setlasttalked -1
loadvar VAR_BATTLETYPE, BATTLETYPE_TRAP
loadwildmon KOFFING, 21
startbattle
end
2015-07-10 08:20:21 +00:00
NoExplodingTrap:
end
2015-07-10 08:20:21 +00:00
TrainerScientistJed:
trainer SCIENTIST, JED, EVENT_BEAT_SCIENTIST_JED, ScientistJedSeenText, ScientistJedBeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext ScientistJedAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerGruntM16:
trainer GRUNTM, GRUNTM_16, EVENT_BEAT_ROCKET_GRUNTM_16, GruntM16SeenText, GruntM16BeatenText, 0, .Script
2017-12-18 01:45:04 +00:00
.Script:
2018-02-03 02:09:17 +00:00
endifjustbattled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext GruntM16AfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
TeamRocketBaseB1FSecurityCamera:
jumptext TeamRocketBaseB1FSecurityCameraText
TeamRocketBaseB1FBookshelf:
jumpstd TeamRocketOathScript
TeamRocketBaseB1FSecretSwitch:
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_TURNED_OFF_SECURITY_CAMERAS
iftrue .SecretSwitchOff
writetext TeamRocketBaseB1FSecretSwitchText
playsound SFX_TALLY
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2013-09-24 07:48:58 +00:00
setevent EVENT_TURNED_OFF_SECURITY_CAMERAS
setevent EVENT_SECURITY_CAMERA_1
setevent EVENT_SECURITY_CAMERA_2
setevent EVENT_SECURITY_CAMERA_3
setevent EVENT_SECURITY_CAMERA_4
setevent EVENT_SECURITY_CAMERA_5
end
.SecretSwitchOff:
writetext TeamRocketBaseB1FSwitchOffText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-12-15 15:55:56 +00:00
TeamRocketBaseB1FHyperPotion:
itemball HYPER_POTION
2015-12-15 15:55:56 +00:00
TeamRocketBaseB1FNugget:
itemball NUGGET
2015-12-15 15:55:56 +00:00
TeamRocketBaseB1FGuardSpec:
itemball GUARD_SPEC
TeamRocketBaseB1FHiddenRevive:
hiddenitem REVIVE, EVENT_TEAM_ROCKET_BASE_B1F_HIDDEN_REVIVE
2015-07-10 08:20:21 +00:00
SecurityCameraMovement1:
2016-05-14 17:46:14 +00:00
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement2:
2016-05-14 17:46:14 +00:00
big_step UP
big_step RIGHT
big_step UP
big_step UP
big_step UP
big_step UP
turn_head RIGHT
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement3:
2016-05-14 17:46:14 +00:00
big_step LEFT
big_step LEFT
big_step LEFT
big_step UP
big_step UP
big_step UP
big_step LEFT
big_step LEFT
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement4:
; he jumps over a trap
2016-05-14 17:46:14 +00:00
jump_step UP
big_step RIGHT
big_step UP
big_step UP
big_step UP
turn_head RIGHT
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement5:
2016-05-14 17:46:14 +00:00
big_step LEFT
big_step LEFT
big_step LEFT
big_step UP
big_step UP
big_step LEFT
big_step LEFT
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement6:
2016-05-14 17:46:14 +00:00
big_step UP
big_step UP
big_step RIGHT
big_step UP
big_step UP
big_step UP
big_step LEFT
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement7:
2016-05-14 17:46:14 +00:00
big_step UP
big_step UP
big_step UP
big_step RIGHT
big_step UP
big_step UP
big_step LEFT
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement8:
2016-05-14 17:46:14 +00:00
big_step DOWN
big_step DOWN
big_step RIGHT
big_step DOWN
big_step DOWN
big_step DOWN
big_step LEFT
big_step LEFT
big_step LEFT
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement9:
2016-05-14 17:46:14 +00:00
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
step_end
2015-07-10 08:20:21 +00:00
CameraGrunt1SeenText:
text "Hey!"
line "Intruder alert!"
done
2015-07-10 08:20:21 +00:00
CameraGrunt1BeatenText:
text "Dang… I failed…"
done
2015-07-10 08:20:21 +00:00
CameraGrunt2SeenText:
text "It's my turn!"
line "There's no escape!"
done
2015-07-10 08:20:21 +00:00
CameraGrunt2BeatenText:
text "Surveillance cams"
line "are in the #MON"
cont "statues."
para "We'll keep appear-"
line "ing until you trip"
cont "a secret switch."
done
2015-07-10 08:20:21 +00:00
ScientistJedSeenText:
text "This was once a"
line "ninja hideout."
para "There are traps to"
line "confound intruders"
cont "like you."
done
2015-07-10 08:20:21 +00:00
ScientistJedBeatenText:
text "I get it…"
done
2017-12-10 20:36:58 +00:00
ScientistJedAfterBattleText:
text "All right. I'll"
line "divulge a secret"
cont "about our hideout."
para "That thing on the"
line "floor up ahead is"
cont "a warp panel."
para "If you step on it,"
line "you'll be warped"
para "back to the en-"
line "trance."
done
2015-07-10 08:20:21 +00:00
GruntM16SeenText:
text "Heheh. Feeling"
line "lucky, punk?"
para "Go ahead, take"
line "another step."
para "We've got traps"
line "set in the floor!"
done
2015-07-10 08:20:21 +00:00
GruntM16BeatenText:
text "Kaboom!"
done
2017-12-10 20:36:58 +00:00
GruntM16AfterBattleText:
text "I don't even know"
line "where the traps"
cont "are planted."
para "You'll just have"
line "to collect your"
cont "courage and walk."
done
TeamRocketBaseB1FSecurityCameraText:
text "It's a PERSIAN"
line "statue…"
para "Its eyes are oddly"
line "shiny."
done
TeamRocketBaseB1FSecretSwitchText:
text "A secret switch!"
line "Better press it."
done
TeamRocketBaseB1FSwitchOffText:
text "The switch is"
line "turned off."
done
TeamRocketBaseB1F_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 27, 2, MAHOGANY_MART_1F, 3
warp_event 3, 14, TEAM_ROCKET_BASE_B2F, 1
warp_event 5, 15, TEAM_ROCKET_BASE_B1F, 4
warp_event 25, 2, TEAM_ROCKET_BASE_B1F, 3
db 30 ; coord events
; There are five security cameras in the base.
; Walking in front of one triggers two Rocket Grunts.
2018-02-02 04:35:28 +00:00
coord_event 24, 2, SCENE_DEFAULT, SecurityCamera1a
coord_event 24, 3, SCENE_DEFAULT, SecurityCamera1b
coord_event 6, 2, SCENE_DEFAULT, SecurityCamera2a
coord_event 6, 3, SCENE_DEFAULT, SecurityCamera2b
coord_event 24, 6, SCENE_DEFAULT, SecurityCamera3a
coord_event 24, 7, SCENE_DEFAULT, SecurityCamera3b
coord_event 22, 16, SCENE_DEFAULT, SecurityCamera4
coord_event 8, 16, SCENE_DEFAULT, SecurityCamera5
; There are spots on the floor that trigger a Pokémon battle.
; Each Pokémon (Voltorb, Koffing, Geodude) knows Selfdestruct.
2018-02-02 03:22:07 +00:00
coord_event 2, 7, SCENE_DEFAULT, ExplodingTrap1
coord_event 3, 7, SCENE_DEFAULT, ExplodingTrap2
coord_event 4, 7, SCENE_DEFAULT, ExplodingTrap3
coord_event 1, 8, SCENE_DEFAULT, ExplodingTrap4
coord_event 3, 8, SCENE_DEFAULT, ExplodingTrap5
coord_event 5, 8, SCENE_DEFAULT, ExplodingTrap6
coord_event 3, 9, SCENE_DEFAULT, ExplodingTrap7
coord_event 4, 9, SCENE_DEFAULT, ExplodingTrap8
coord_event 1, 10, SCENE_DEFAULT, ExplodingTrap9
coord_event 2, 10, SCENE_DEFAULT, ExplodingTrap10
coord_event 3, 10, SCENE_DEFAULT, ExplodingTrap11
coord_event 5, 10, SCENE_DEFAULT, ExplodingTrap12
coord_event 2, 11, SCENE_DEFAULT, ExplodingTrap13
coord_event 4, 11, SCENE_DEFAULT, ExplodingTrap14
coord_event 1, 12, SCENE_DEFAULT, ExplodingTrap15
coord_event 2, 12, SCENE_DEFAULT, ExplodingTrap16
coord_event 4, 12, SCENE_DEFAULT, ExplodingTrap17
coord_event 5, 12, SCENE_DEFAULT, ExplodingTrap18
coord_event 1, 13, SCENE_DEFAULT, ExplodingTrap19
coord_event 3, 13, SCENE_DEFAULT, ExplodingTrap20
coord_event 4, 13, SCENE_DEFAULT, ExplodingTrap21
coord_event 5, 13, SCENE_DEFAULT, ExplodingTrap22
db 9 ; bg events
bg_event 19, 11, BGEVENT_READ, TeamRocketBaseB1FSecretSwitch
bg_event 24, 1, BGEVENT_UP, TeamRocketBaseB1FSecurityCamera
bg_event 6, 1, BGEVENT_UP, TeamRocketBaseB1FSecurityCamera
bg_event 8, 15, BGEVENT_UP, TeamRocketBaseB1FSecurityCamera
bg_event 22, 15, BGEVENT_UP, TeamRocketBaseB1FSecurityCamera
bg_event 24, 5, BGEVENT_UP, TeamRocketBaseB1FSecurityCamera
bg_event 20, 11, BGEVENT_READ, TeamRocketBaseB1FBookshelf
bg_event 21, 11, BGEVENT_READ, TeamRocketBaseB1FBookshelf
2018-02-02 03:22:07 +00:00
bg_event 3, 11, BGEVENT_ITEM, TeamRocketBaseB1FHiddenRevive
db 6 ; object events
2018-02-02 03:22:07 +00:00
object_event 0, 0, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_SECURITY_GRUNTS
object_event 2, 4, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM16, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 18, 12, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerScientistJed, EVENT_TEAM_ROCKET_BASE_POPULATION
2018-02-02 03:22:07 +00:00
object_event 27, 6, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TeamRocketBaseB1FHyperPotion, EVENT_TEAM_ROCKET_BASE_B1F_HYPER_POTION
object_event 14, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TeamRocketBaseB1FNugget, EVENT_TEAM_ROCKET_BASE_B1F_NUGGET
object_event 21, 12, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, TeamRocketBaseB1FGuardSpec, EVENT_TEAM_ROCKET_BASE_B1F_GUARD_SPEC