pokecrystal/maps/TeamRocketBaseB1F.asm

803 lines
19 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const TEAMROCKETBASEB1F_ROCKET1
const TEAMROCKETBASEB1F_ROCKET2
const TEAMROCKETBASEB1F_SCIENTIST
const TEAMROCKETBASEB1F_POKE_BALL1
const TEAMROCKETBASEB1F_POKE_BALL2
const TEAMROCKETBASEB1F_POKE_BALL3
2015-07-10 08:20:21 +00:00
TeamRocketBaseB1F_MapScriptHeader:
.MapTriggers:
db 1
; triggers
2015-12-09 16:38:40 +00:00
dw .Trigger1, 0
.MapCallbacks:
db 1
; callbacks
2015-12-09 16:38:40 +00:00
dbw 2, .Callback1
2015-12-09 16:38:40 +00:00
.Trigger1:
end
2015-12-09 16:38:40 +00:00
.Callback1:
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB1F_ROCKET1
return
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
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $13, $2
appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $13, $2
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
if_equal $1, 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
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $13, $3
appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $13, $3
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
if_equal $1, 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
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $4, $7
appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement2
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $c, $5
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement3
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
if_equal $1, 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
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $4, $8
appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement4
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $c, $5
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement5
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
if_equal $1, 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
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $13, $6
appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $19, $b
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement6
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
if_equal $1, 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
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $13, $7
appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $19, $c
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement7
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
if_equal $1, 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
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $11, $10
appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $19, $b
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement8
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
if_equal $1, 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
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $3, $10
appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT
2015-11-27 05:22:14 +00:00
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
2015-01-20 08:01:23 +00:00
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT
2015-11-27 05:22:14 +00:00
moveperson TEAMROCKETBASEB1F_ROCKET1, $e, $10
appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement9
2015-01-20 08:01:23 +00:00
scall TrainerCameraGrunt2
if_equal $1, 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:
loadfont
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, 20
startbattle
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB1F_ROCKET1
returnafterbattle
end
2015-07-10 08:20:21 +00:00
TrainerCameraGrunt2:
loadfont
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, 21
startbattle
2015-11-27 05:22:14 +00:00
disappear TEAMROCKETBASEB1F_ROCKET1
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
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
returnafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_EXPLODING_TRAP_22
end
2015-07-10 08:20:21 +00:00
VoltorbExplodingTrap:
2015-11-27 02:05:32 +00:00
special FadeOutPalettes
cry VOLTORB
2015-11-27 02:05:32 +00:00
special FadeInPalettes
2015-12-09 16:38:40 +00:00
setlasttalked -1
writecode VAR_BATTLETYPE, BATTLETYPE_TRAP
loadwildmon VOLTORB, 23
startbattle
end
2015-07-10 08:20:21 +00:00
GeodudeExplodingTrap:
2015-11-27 02:05:32 +00:00
special FadeOutPalettes
cry GEODUDE
2015-11-27 02:05:32 +00:00
special FadeInPalettes
2015-12-09 16:38:40 +00:00
setlasttalked -1
writecode VAR_BATTLETYPE, BATTLETYPE_TRAP
loadwildmon GEODUDE, 21
startbattle
end
2015-07-10 08:20:21 +00:00
KoffingExplodingTrap:
2015-11-27 02:05:32 +00:00
special FadeOutPalettes
cry KOFFING
2015-11-27 02:05:32 +00:00
special FadeInPalettes
2015-12-09 16:38:40 +00:00
setlasttalked -1
writecode 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:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SCIENTIST_JED, SCIENTIST, JED, ScientistJedSeenText, ScientistJedBeatenText, 0, ScientistJedScript
2015-07-10 08:20:21 +00:00
ScientistJedScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6cc16
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerGruntM16:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_ROCKET_GRUNTM_16, GRUNTM, 16, GruntM16SeenText, GruntM16BeatenText, 0, GruntM16Script
2015-07-10 08:20:21 +00:00
GruntM16Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6cd1b
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
MapTeamRocketBaseB1FSignpost5Script:
jumptext SecurityCameraText
2015-07-10 08:20:21 +00:00
MapTeamRocketBaseB1FSignpost7Script:
jumpstd teamrocketoath
2015-07-10 08:20:21 +00:00
MapTeamRocketBaseB1FSignpost0Script:
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_TURNED_OFF_SECURITY_CAMERAS
iftrue UnknownScript_0x6cabe
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6cdad
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
2015-07-10 08:20:21 +00:00
UnknownScript_0x6cabe:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6cdd0
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
ItemFragment_0x6cac4:
db HYPER_POTION, 1
2015-07-10 08:20:21 +00:00
ItemFragment_0x6cac6:
db NUGGET, 1
2015-07-10 08:20:21 +00:00
ItemFragment_0x6cac8:
db GUARD_SPEC, 1
2015-07-10 08:20:21 +00:00
MapTeamRocketBaseB1FSignpostItem8:
dwb EVENT_TEAM_ROCKET_BASE_B1F_HIDDEN_REVIVE, REVIVE
2015-07-10 08:20:21 +00:00
SecurityCameraMovement1:
big_step_right
big_step_right
big_step_right
big_step_right
step_end
2015-07-10 08:20:21 +00:00
SecurityCameraMovement2:
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:
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
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:
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:
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:
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:
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:
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
2015-07-10 08:20:21 +00:00
UnknownText_0x6cc16:
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
2015-07-10 08:20:21 +00:00
UnknownText_0x6cd1b:
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
2015-07-10 08:20:21 +00:00
SecurityCameraText:
text "It's a PERSIAN"
line "statue…"
para "Its eyes are oddly"
line "shiny."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x6cdad:
text "A secret switch!"
line "Better press it."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x6cdd0:
text "The switch is"
line "turned off."
done
2015-07-10 08:20:21 +00:00
TeamRocketBaseB1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
2015-11-03 12:11:32 +00:00
warp_def $2, $1b, 3, MAHOGANY_MART_1F
warp_def $e, $3, 1, TEAM_ROCKET_BASE_B2F
warp_def $f, $5, 4, TEAM_ROCKET_BASE_B1F
warp_def $2, $19, 3, TEAM_ROCKET_BASE_B1F
.XYTriggers:
db 30
; There are five security cameras in the base.
; Walking in front of one triggers two Rocket Grunts.
xy_trigger 0, $2, $18, $0, SecurityCamera1a, $0, $0
xy_trigger 0, $3, $18, $0, SecurityCamera1b, $0, $0
xy_trigger 0, $2, $6, $0, SecurityCamera2a, $0, $0
xy_trigger 0, $3, $6, $0, SecurityCamera2b, $0, $0
xy_trigger 0, $6, $18, $0, SecurityCamera3a, $0, $0
xy_trigger 0, $7, $18, $0, SecurityCamera3b, $0, $0
xy_trigger 0, $10, $16, $0, SecurityCamera4, $0, $0
xy_trigger 0, $10, $8, $0, SecurityCamera5, $0, $0
; There are spots on the floor that trigger a Pokémon battle.
; Each Pokémon (Voltorb, Koffing, Geodude) knows Selfdestruct.
xy_trigger 0, $7, $2, $0, ExplodingTrap1, $0, $0
xy_trigger 0, $7, $3, $0, ExplodingTrap2, $0, $0
xy_trigger 0, $7, $4, $0, ExplodingTrap3, $0, $0
xy_trigger 0, $8, $1, $0, ExplodingTrap4, $0, $0
xy_trigger 0, $8, $3, $0, ExplodingTrap5, $0, $0
xy_trigger 0, $8, $5, $0, ExplodingTrap6, $0, $0
xy_trigger 0, $9, $3, $0, ExplodingTrap7, $0, $0
xy_trigger 0, $9, $4, $0, ExplodingTrap8, $0, $0
xy_trigger 0, $a, $1, $0, ExplodingTrap9, $0, $0
xy_trigger 0, $a, $2, $0, ExplodingTrap10, $0, $0
xy_trigger 0, $a, $3, $0, ExplodingTrap11, $0, $0
xy_trigger 0, $a, $5, $0, ExplodingTrap12, $0, $0
xy_trigger 0, $b, $2, $0, ExplodingTrap13, $0, $0
xy_trigger 0, $b, $4, $0, ExplodingTrap14, $0, $0
xy_trigger 0, $c, $1, $0, ExplodingTrap15, $0, $0
xy_trigger 0, $c, $2, $0, ExplodingTrap16, $0, $0
xy_trigger 0, $c, $4, $0, ExplodingTrap17, $0, $0
xy_trigger 0, $c, $5, $0, ExplodingTrap18, $0, $0
xy_trigger 0, $d, $1, $0, ExplodingTrap19, $0, $0
xy_trigger 0, $d, $3, $0, ExplodingTrap20, $0, $0
xy_trigger 0, $d, $4, $0, ExplodingTrap21, $0, $0
xy_trigger 0, $d, $5, $0, ExplodingTrap22, $0, $0
.Signposts:
db 9
signpost 11, 19, SIGNPOST_READ, MapTeamRocketBaseB1FSignpost0Script
signpost 1, 24, SIGNPOST_UP, MapTeamRocketBaseB1FSignpost5Script
signpost 1, 6, SIGNPOST_UP, MapTeamRocketBaseB1FSignpost5Script
signpost 15, 8, SIGNPOST_UP, MapTeamRocketBaseB1FSignpost5Script
signpost 15, 22, SIGNPOST_UP, MapTeamRocketBaseB1FSignpost5Script
signpost 5, 24, SIGNPOST_UP, MapTeamRocketBaseB1FSignpost5Script
signpost 11, 20, SIGNPOST_READ, MapTeamRocketBaseB1FSignpost7Script
signpost 11, 21, SIGNPOST_READ, MapTeamRocketBaseB1FSignpost7Script
signpost 11, 3, SIGNPOST_ITEM, MapTeamRocketBaseB1FSignpostItem8
.PersonEvents:
db 6
person_event SPRITE_ROCKET, 0, 0, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_SECURITY_GRUNTS
person_event SPRITE_ROCKET, 4, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, TrainerGruntM16, EVENT_TEAM_ROCKET_BASE_POPULATION
person_event SPRITE_SCIENTIST, 12, 18, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_TRAINER, 3, TrainerScientistJed, EVENT_TEAM_ROCKET_BASE_POPULATION
person_event SPRITE_POKE_BALL, 6, 27, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x6cac4, EVENT_TEAM_ROCKET_BASE_B1F_HYPER_POTION
person_event SPRITE_POKE_BALL, 15, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x6cac6, EVENT_TEAM_ROCKET_BASE_B1F_NUGGET
person_event SPRITE_POKE_BALL, 12, 21, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x6cac8, EVENT_TEAM_ROCKET_BASE_B1F_GUARD_SPEC