Merge yenatch:map-objects

This commit is contained in:
PikalaxALT 2015-07-25 20:18:59 -04:00
commit 594253eb30
85 changed files with 423 additions and 419 deletions

View File

@ -1,4 +1,6 @@
; script vars
PLAYER EQU 0
LAST_TALKED EQU -2
const_def
const VAR_STRINGBUFFER2

View File

@ -611,9 +611,9 @@ TryObjectEvent: ; 969b5
ld hl, OBJECT_MAP_OBJECT_INDEX
add hl, bc
ld a, [hl]
ld [$ffe0], a
ld [hLastTalked], a
ld a, [$ffe0]
ld a, [hLastTalked]
call GetMapObject
ld hl, MAPOBJECT_COLOR
add hl, bc
@ -1094,7 +1094,7 @@ WarpToNewMapScript: ; 96c34
FallIntoMapScript: ; 96c38
newloadmap $f6
playsound SFX_KINESIS
applymovement $0, MovementData_0x96c48
applymovement PLAYER, MovementData_0x96c48
playsound SFX_STRENGTH
scall UnknownScript_0x96c4a
end

View File

@ -2761,7 +2761,7 @@ Function5602: ; 5602
ld a, [wd459]
bit 7, a
jr z, .ok
ld a, [$ffe0]
ld a, [hLastTalked]
and a
jr z, .ok
call Function5629

View File

@ -3167,11 +3167,11 @@ TalkToTrainerScript:: ; 0xbe66a
SeenByTrainerScript:: ; 0xbe675
loadtrainerdata
playrammusic
showemote EMOTE_SHOCK, -2, 30
showemote EMOTE_SHOCK, LAST_TALKED, 30
callasm Function831e
applymovement2 MovementBuffer
writepersonxy -2
faceperson $0, -2
writepersonxy LAST_TALKED
faceperson PLAYER, LAST_TALKED
jump StartBattleWithMapTrainerScript
; 0xbe68a

View File

@ -1046,7 +1046,7 @@ Script_cry: ; 0x971d1
GetScriptPerson: ; 0x971e3
and a
ret z
cp $fe
cp LAST_TALKED
ret z
dec a
ret
@ -1059,7 +1059,7 @@ Script_setlasttalked: ; 0x971ea
call GetScriptByte
call GetScriptPerson
ld [$ffe0], a
ld [hLastTalked], a
ret
; 0x971f3
@ -1106,7 +1106,7 @@ Script_applymovement2: ; 0x97228
; parameters:
; data (MovementPointerLabelParam)
ld a, [$ffe0]
ld a, [hLastTalked]
ld c, a
jp ApplyMovement
; 0x9722e
@ -1114,11 +1114,11 @@ Script_applymovement2: ; 0x97228
Script_faceplayer: ; 0x9722e
; script command 0x6b
ld a, [$ffe0]
ld a, [hLastTalked]
and a
ret z
ld d, $0
ld a, [$ffe0]
ld a, [hLastTalked]
ld e, a
callba GetRelativeFacing
ld a, d
@ -1126,7 +1126,7 @@ rept 2
add a
endr
ld e, a
ld a, [$ffe0]
ld a, [hLastTalked]
ld d, a
call ApplyPersonFacing
ret
@ -1140,17 +1140,17 @@ Script_faceperson: ; 0x97248
call GetScriptByte
call GetScriptPerson
cp $fe
jr c, .asm_97254 ; 0x97250 $2
ld a, [$ffe0]
.asm_97254
cp LAST_TALKED
jr c, .ok
ld a, [hLastTalked]
.ok
ld e, a
call GetScriptByte
call GetScriptPerson
cp $fe
jr nz, .asm_97261 ; 0x9725d $2
ld a, [$ffe0]
.asm_97261
cp LAST_TALKED
jr nz, .ok2
ld a, [hLastTalked]
.ok2
ld d, a
push de
callba GetRelativeFacing
@ -1174,10 +1174,10 @@ Script_spriteface: ; 0x97274
call GetScriptByte
call GetScriptPerson
cp $fe
jr nz, .asm_97280 ; 0x9727c $2
ld a, [$ffe0]
.asm_97280
cp LAST_TALKED
jr nz, .ok
ld a, [hLastTalked]
.ok
ld d, a
call GetScriptByte
rept 2
@ -1271,10 +1271,10 @@ Script_disappear: ; 0x972ee
call GetScriptByte
call GetScriptPerson
cp -2
jr nz, .skip ; 0x972f6 $2
ld a, [$ffe0]
.skip
cp LAST_TALKED
jr nz, .ok
ld a, [hLastTalked]
.ok
call DeleteObjectStruct
ld a, [$ffaf]
ld b, 1 ; set
@ -1354,10 +1354,10 @@ Script_writepersonxy: ; 0x9735b
call GetScriptByte
call GetScriptPerson
cp $fe
jr nz, .asm_97367 ; 0x97363 $2
ld a, [$ffe0]
.asm_97367
cp LAST_TALKED
jr nz, .ok
ld a, [hLastTalked]
.ok
ld b, a
callba Function80a1
ret
@ -1405,10 +1405,10 @@ Script_showemote: ; 0x97396
ld [ScriptVar], a
call GetScriptByte
call GetScriptPerson
cp $fe
jr z, .asm_973a8 ; 0x973a4 $2
ld [$ffe0], a
.asm_973a8
cp LAST_TALKED
jr z, .ok
ld [hLastTalked], a
.ok
call GetScriptByte
ld [ScriptDelay], a
ld b, BANK(ShowEmoteScript)
@ -1454,7 +1454,7 @@ Script_earthquake: ; 0x973c7
; 0x973e6
UnknownScript_0x973e6: ; 973e6
applymovement $0, wd002
applymovement PLAYER, wd002
end
; 973eb

View File

@ -108,7 +108,7 @@ PokeCenterNurseScript:
farwritetext UnknownText_0x1b01bd
pause 20
special Mobile_HealParty
spriteface $fe, LEFT
spriteface LAST_TALKED, LEFT
pause 10
special HealParty
playmusic MUSIC_NONE
@ -116,7 +116,7 @@ PokeCenterNurseScript:
special HealMachineAnim
pause 30
special RestartMapMusic
spriteface $fe, DOWN
spriteface LAST_TALKED, DOWN
pause 10
checkphonecall ; elm already called about pokerus
@ -133,9 +133,9 @@ PokeCenterNurseScript:
.done
farwritetext UnknownText_0x1b020b
spriteface $fe, UP
spriteface LAST_TALKED, UP
pause 10
spriteface $fe, DOWN
spriteface LAST_TALKED, DOWN
pause 10
closetext
@ -308,7 +308,7 @@ BugContestResultsWarpScript:
clearevent EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_NOT_CONTEST_DAY
setevent EVENT_WARPED_FROM_ROUTE_35_NATIONAL_PARK_GATE
warp ROUTE_36_NATIONAL_PARK_GATE, $0, $4
applymovement $0, Movement_ContestResults_WalkAfterWarp
applymovement PLAYER, Movement_ContestResults_WalkAfterWarp
BugContestResultsScript:
clearflag ENGINE_BUG_CONTEST_TIMER

View File

@ -1448,7 +1448,7 @@ CheckTrainerBattle:: ; 360d
.startbattle
pop de
pop af
ld [$ffe0], a
ld [hLastTalked], a
ld a, b
ld [CurFruit], a
ld a, c
@ -1465,7 +1465,7 @@ Function3674:: ; 3674
Function367e:: ; 367e
call GetMapScriptHeaderBank
ld [EngineBuffer1], a
ld a, [$ffe0]
ld a, [hLastTalked]
call GetMapObject
ld hl, MAPOBJECT_SCRIPT_POINTER
add hl, bc

View File

@ -64,6 +64,8 @@ hBGMapUpdate EQU $ffdb
hTileAnimFrame EQU $ffdf
hLastTalked EQU $ffe0
hRandom EQU $ffe1
hRandomAdd EQU $ffe1
hRandomSub EQU $ffe2

View File

@ -3672,14 +3672,14 @@ Function830d: ; 830d
; 831e
Function831e: ; 831e
ld a, [$ffe0]
ld a, [hLastTalked]
call Function1b1e
ld a, $3e
call Function1b3f
ld a, [wd03f]
dec a
jr z, Function833b
ld a, [$ffe0]
ld a, [hLastTalked]
ld b, a
ld c, 0
ld d, 1
@ -5010,7 +5010,7 @@ UsedSurfScript: ; c986
special PlayMapMusic
; step into the water
special Function8379 ; (slow_step_x, step_end)
applymovement $0, MovementBuffer ; PLAYER, MovementBuffer
applymovement PLAYER, MovementBuffer ; PLAYER, MovementBuffer
end
; c9a2
@ -5302,7 +5302,7 @@ Script_UsedWaterfall: ; 0xcb20
loadmovesprites
playsound SFX_BUBBLEBEAM
.loop
applymovement $0, WaterfallStep
applymovement PLAYER, WaterfallStep
callasm CheckContinueWaterfall
iffalse .loop
end
@ -5498,13 +5498,13 @@ UsedDigOrEscapeRopeScript: ; 0xcc3c
closetext
loadmovesprites
playsound SFX_WARP_TO
applymovement $0, MovementData_0xcc59
applymovement PLAYER, MovementData_0xcc59
farscall UnknownScript_0x122c1
special WarpToSpawnPoint
writecode VAR_MOVEMENT, $0
newloadmap -11
playsound SFX_WARP_FROM
applymovement $0, MovementData_0xcc5d
applymovement PLAYER, MovementData_0xcc5d
end
; 0xcc59
@ -5596,13 +5596,13 @@ Script_UsedTeleport: ; 0xccbb
reloadmappart
loadmovesprites
playsound SFX_WARP_TO
applymovement $0, MovementData_0xcce1
applymovement PLAYER, MovementData_0xcce1
farscall UnknownScript_0x122c1
special WarpToSpawnPoint
writecode VAR_MOVEMENT, $0
newloadmap -12
playsound SFX_WARP_FROM
applymovement $0, MovementData_0xcce3
applymovement PLAYER, MovementData_0xcce3
end
; 0xcce1
@ -6058,7 +6058,7 @@ GetFacingObject: ; cf0d
ld hl, OBJECT_MAP_OBJECT_INDEX
add hl, bc
ld a, [hl]
ld [$ffe0], a
ld [hLastTalked], a
call GetMapObject
ld hl, MAPOBJECT_FACING
add hl, bc
@ -6265,16 +6265,16 @@ Script_GotABite: ; 0xd035
scall Script_FishCastRod
callasm Fishing_CheckFacingUp
iffalse .FacingUp
applymovement $0, MovementData_0xd062
applymovement PLAYER, MovementData_0xd062
jump .FightTheHookedPokemon
; 0xd046
.FacingUp: ; 0xd046
applymovement $0, MovementData_0xd05c
applymovement PLAYER, MovementData_0xd05c
.FightTheHookedPokemon: ; 0xd04a
pause 40
applymovement $0, MovementData_0xd069
applymovement PLAYER, MovementData_0xd069
writetext UnknownText_0xd0a4
callasm PutTheRodAway
loadmovesprites
@ -6329,7 +6329,7 @@ Script_FishCastRod: ; 0xd07c
loademote $9
callasm Functionb84b3
loademote $0
applymovement $0, MovementData_0xd093
applymovement PLAYER, MovementData_0xd093
pause 40
end
; 0xd093
@ -12318,7 +12318,7 @@ UnknownScript_0x122c1: ; 0x122c1
FindItemInBallScript:: ; 0x122ce
callasm Function122f8
iffalse NoRoomForItemInBallScript
disappear $fe
disappear LAST_TALKED
loadfont
writetext UnknownText_0x122ee
playsound SFX_ITEM
@ -12730,22 +12730,22 @@ Script_ForcedMovement:: ; 0x1253d
; 0x12550
UnknownScript_0x12550: ; 0x12550
applymovement $0, MovementData_0x12564
applymovement PLAYER, MovementData_0x12564
end
; 0x12555
UnknownScript_0x12555: ; 0x12555
applymovement $0, MovementData_0x1256b
applymovement PLAYER, MovementData_0x1256b
end
; 0x1255a
UnknownScript_0x1255a: ; 0x1255a
applymovement $0, MovementData_0x12572
applymovement PLAYER, MovementData_0x12572
end
; 0x1255f
UnknownScript_0x1255f: ; 0x1255f
applymovement $0, MovementData_0x12579
applymovement PLAYER, MovementData_0x12579
end
; 0x12564

View File

@ -28,23 +28,23 @@ AzaleaTown_MapScriptHeader:
UnknownScript_0x198018:
moveperson $b, $b, $b
spriteface $0, RIGHT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
appear $b
applymovement $b, MovementData_0x198134
spriteface $0, DOWN
spriteface PLAYER, DOWN
jump UnknownScript_0x198049
UnknownScript_0x198034:
spriteface $0, RIGHT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
appear $b
applymovement $b, MovementData_0x19813c
spriteface $0, UP
spriteface PLAYER, UP
UnknownScript_0x198049:
playmusic MUSIC_RIVAL_ENCOUNTER
loadfont
@ -88,7 +88,7 @@ UnknownScript_0x198091:
writetext UnknownText_0x198233
closetext
loadmovesprites
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $b, MovementData_0x198144
playsound SFX_EXIT_BUILDING
disappear $b
@ -146,7 +146,7 @@ WoosterScript:
end
UnknownScript_0x1980e5:
applymovement $0, MovementData_0x198148
applymovement PLAYER, MovementData_0x198148
loadfont
writetext UnknownText_0x1985df
keeptextopen

View File

@ -105,14 +105,14 @@ UnknownScript_0x9e454:
domaptrigger BATTLE_TOWER_BATTLE_ROOM, $0
domaptrigger BATTLE_TOWER_ELEVATOR, $0
domaptrigger BATTLE_TOWER_HALLWAY, $0
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x9e571
writebyte $a
special Function170687
warpsound
disappear $2
stopfollow
applymovement $0, MovementData_0x9e576
applymovement PLAYER, MovementData_0x9e576
warpcheck
end

View File

@ -18,7 +18,7 @@ UnknownScript_0x9f420:
end
UnknownScript_0x9f421:
applymovement $0, MovementData_0x9e58c
applymovement PLAYER, MovementData_0x9e58c
UnknownScript_0x9f425:
writebyte $2
special Function170b44
@ -40,7 +40,7 @@ UnknownScript_0x9f425:
warpsound
disappear $2
applymovement $3, MovementData_0x9e59c
applymovement $0, MovementData_0x9e5a7
applymovement PLAYER, MovementData_0x9e5a7
loadfont
writetext UnknownText_0x9ee92
closetext
@ -57,7 +57,7 @@ UnknownScript_0x9f425:
iffalse UnknownScript_0x9f483
UnknownScript_0x9f477:
loadmovesprites
applymovement $0, MovementData_0x9e5a9
applymovement PLAYER, MovementData_0x9e5a9
applymovement $3, MovementData_0x9e5a1
jump UnknownScript_0x9f425

View File

@ -17,20 +17,20 @@ UnknownScript_0x9f567:
end
UnknownScript_0x9f568:
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x9f58f
applymovement $0, MovementData_0x9f592
applymovement PLAYER, MovementData_0x9f592
writebyte $a
special Function170687
playsound SFX_ELEVATOR
earthquake 60
waitbutton
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x9e578
stopfollow
warpsound
disappear $2
applymovement $0, MovementData_0x9e578
applymovement PLAYER, MovementData_0x9e578
warpcheck
end

View File

@ -17,7 +17,7 @@ UnknownScript_0x9f5c0:
end
UnknownScript_0x9f5c1:
follow $2, $0
follow $2, PLAYER
callasm Function_0x9f5cb
jump UnknownScript_0x9f5dc
@ -65,13 +65,13 @@ UnknownScript_0x9f618:
jump UnknownScript_0x9f61f
UnknownScript_0x9f61f:
faceperson $0, $2
faceperson PLAYER, $2
loadfont
writetext UnknownText_0x9ec26
closetext
loadmovesprites
stopfollow
applymovement $0, MovementData_0x9e576
applymovement PLAYER, MovementData_0x9e576
warpcheck
end

View File

@ -32,7 +32,7 @@ UnknownScript_0x1809ac:
return
UnknownScript_0x1809ad:
applymovement $0, MovementData_0x1809f9
applymovement PLAYER, MovementData_0x1809f9
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80

View File

@ -53,7 +53,7 @@ UnknownScript_0x185c25:
pause 15
spriteface $4, RIGHT
pause 15
applymovement $0, MovementData_0x185ccd
applymovement PLAYER, MovementData_0x185ccd
applymovement $4, MovementData_0x185ccf
playmusic MUSIC_RIVAL_ENCOUNTER
loadfont
@ -101,13 +101,13 @@ UnknownScript_0x185c80:
special Functionc48f
pause 15
earthquake 50
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playsound SFX_ENTER_DOOR
waitbutton
changeblock $a, $8, $25
reloadmappart
pause 15
applymovement $0, MovementData_0x185cd1
applymovement PLAYER, MovementData_0x185cd1
playsound SFX_KINESIS
showemote EMOTE_SHOCK, $4, 20
loadfont

View File

@ -30,48 +30,48 @@ UnknownScript_0x18616b:
playmusic MUSIC_NONE
pause 30
appear $3
spriteface $0, UP
spriteface PLAYER, UP
pause 5
disappear $6
pause 15
cry RAIKOU
appear $4
spriteface $0, UP
spriteface PLAYER, UP
pause 5
disappear $7
pause 15
cry ENTEI
appear $5
spriteface $0, UP
spriteface PLAYER, UP
pause 5
disappear $8
pause 15
cry SUICUNE
pause 15
playsound SFX_WARP_FROM
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $3, MovementData_0x186236
disappear $3
waitbutton
playsound SFX_WARP_FROM
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
applymovement $4, MovementData_0x18623b
disappear $4
waitbutton
pause 15
playsound SFX_WARP_FROM
spriteface $0, UP
spriteface PLAYER, UP
applymovement $5, MovementData_0x186241
playsound SFX_WARP_FROM
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $5, MovementData_0x186248
spriteface $0, UP
spriteface PLAYER, UP
pause 20
cry SUICUNE
pause 30
playsound SFX_WARP_FROM
applymovement $5, MovementData_0x186253
spriteface $0, DOWN
spriteface PLAYER, DOWN
disappear $5
waitbutton
special RestartMapMusic

View File

@ -57,7 +57,7 @@ FisherScript_0x72144:
writetext UnknownText_0x72345
closetext
loadmovesprites
spriteface $fe, LEFT
spriteface LAST_TALKED, LEFT
end
.UnknownScript_0x72172
@ -71,14 +71,14 @@ UnknownScript_0x7217b:
writetext UnknownText_0x7238a
closetext
loadmovesprites
spriteface $fe, LEFT
spriteface LAST_TALKED, LEFT
end
UnknownScript_0x72184:
writetext UnknownText_0x723d9
closetext
loadmovesprites
spriteface $fe, LEFT
spriteface LAST_TALKED, LEFT
end
CeladonGymGuyScript:

View File

@ -48,7 +48,7 @@ UnknownScript_0x1883de:
waitbutton
special RestartMapMusic
pause 15
spriteface $0, DOWN
spriteface PLAYER, DOWN
pause 15
end

View File

@ -34,35 +34,35 @@ CherrygroveCityGuideGent:
closetext
loadmovesprites
playmusic MUSIC_SHOW_ME_AROUND
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x19c195
loadfont
writetext GuideGentPokeCenterText
closetext
loadmovesprites
applymovement $2, MovementData_0x19c19b
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext GuideGentMartText
closetext
loadmovesprites
applymovement $2, MovementData_0x19c1a3
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext GuideGentRoute30Text
closetext
loadmovesprites
applymovement $2, MovementData_0x19c1ac
spriteface $0, LEFT
spriteface PLAYER, LEFT
loadfont
writetext GuideGentSeaText
closetext
loadmovesprites
applymovement $2, MovementData_0x19c1b6
spriteface $0, UP
spriteface PLAYER, UP
pause 60
spriteface $2, LEFT
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext GuideGentGiftText
keeptextopen
@ -76,7 +76,7 @@ CherrygroveCityGuideGent:
loadmovesprites
stopfollow
special RestartMapMusic
spriteface $0, UP
spriteface PLAYER, UP
applymovement $2, MovementData_0x19c1cb
playsound SFX_ENTER_DOOR
disappear $2
@ -101,13 +101,13 @@ UnknownScript_0x19c0aa:
moveperson $3, $27, $7
UnknownScript_0x19c0ae:
spriteface $0, RIGHT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
appear $3
applymovement $3, MovementData_0x19c1ce
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
playmusic MUSIC_RIVAL_ENCOUNTER
loadfont
writetext UnknownText_0x19c4e2
@ -165,8 +165,8 @@ UnknownScript_0x19c126:
loadmovesprites
UnknownScript_0x19c12f:
playsound SFX_TACKLE
applymovement $0, MovementData_0x19c1d4
spriteface $0, LEFT
applymovement PLAYER, MovementData_0x19c1d4
spriteface PLAYER, LEFT
applymovement $3, MovementData_0x19c1da
disappear $3
dotrigger $0

View File

@ -28,12 +28,12 @@ UnknownScript_0x1a001d:
return
UnknownScript_0x1a001e:
spriteface $0, UP
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, UP
showemote EMOTE_SHOCK, PLAYER, 15
pause 15
playsound SFX_WARP_FROM
applymovement $d, MovementData_0x1a00da
spriteface $0, DOWN
spriteface PLAYER, DOWN
pause 15
playsound SFX_WARP_FROM
applymovement $d, MovementData_0x1a00e0

View File

@ -17,7 +17,7 @@ DragonShrine_MapScriptHeader:
end
DragonShrineTestScript:
applymovement $0, MovementData_0x18d2bf
applymovement PLAYER, MovementData_0x18d2bf
applymovement $2, MovementData_0x18d2c7
loadfont
writetext UnknownText_0x18d2ea
@ -116,15 +116,15 @@ DragonShrineTestScript:
closetext
loadmovesprites
playsound SFX_ENTER_DOOR
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_CLAIR
appear $5
waitbutton
spriteface $0, DOWN
spriteface PLAYER, DOWN
pause 30
applymovement $5, MovementData_0x18d2d4
spriteface $5, RIGHT
spriteface $0, LEFT
spriteface PLAYER, LEFT
spriteface $2, LEFT
loadfont
writetext UnknownText_0x18d916
@ -171,7 +171,7 @@ DragonShrineTestScript:
applymovement $2, MovementData_0x18d2ce
spriteface $5, UP
applymovement $2, MovementData_0x18d2d1
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x18d5a3
closetext

View File

@ -42,8 +42,8 @@ UnknownScript_0x18c8b8:
writetext UnknownText_0x18c9b8
pause 30
loadmovesprites
showemote EMOTE_SHOCK, $0, 15
spriteface $0, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
spriteface PLAYER, LEFT
playmusic MUSIC_CLAIR
applymovement $3, MovementData_0x18c9ae
loadfont

View File

@ -75,14 +75,14 @@ EcruteakGymTriggerRockets:
jumpstd radiotowerrockets
UnknownScript_0x99dc6:
applymovement $0, MovementData_0x99e5d
applymovement PLAYER, MovementData_0x99e5d
applymovement $8, MovementData_0x99e63
loadfont
writetext UnknownText_0x9a49c
closetext
loadmovesprites
follow $0, $8
applymovement $0, MovementData_0x99e5f
follow PLAYER, $8
applymovement PLAYER, MovementData_0x99e5f
stopfollow
special FadeBlackBGMap
playsound SFX_ENTER_DOOR

View File

@ -22,7 +22,7 @@ UnknownScript_0x98e64:
appear $6
waitbutton
applymovement $6, MovementData_0x98ec5
applymovement $0, MovementData_0x98ed4
applymovement PLAYER, MovementData_0x98ed4
spriteface $2, UP
pause 10
spriteface $2, DOWN
@ -42,7 +42,7 @@ UnknownScript_0x98e95:
writetext UnknownText_0x98f22
closetext
loadmovesprites
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $6, MovementData_0x98ece
playsound SFX_EXIT_BUILDING
disappear $6

View File

@ -44,7 +44,7 @@ ElmsLab_PutElmAtLaptop:
return
ElmsLab_AutowalkUpToElm:
applymovement $0, ElmsLab_WalkUpToElmMovement
applymovement PLAYER, ElmsLab_WalkUpToElmMovement
showemote EMOTE_SHOCK, $2, 15
spriteface $2, RIGHT
loadfont
@ -75,9 +75,9 @@ ElmsLab_ElmGetsEmail:
closetext
loadmovesprites
applymovement $2, ElmsLab_ElmToDefaultPositionMovement1
spriteface $0, UP
spriteface PLAYER, UP
applymovement $2, ElmsLab_ElmToDefaultPositionMovement2
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext ElmText_ChooseAPokemon
closetext
@ -151,7 +151,7 @@ LabTryToLeaveScript:
writetext LabWhereGoingText
closetext
loadmovesprites
applymovement $0, MovementData_0x78f70
applymovement PLAYER, MovementData_0x78f70
end
CyndaquilPokeBallScript:
@ -181,7 +181,7 @@ CyndaquilPokeBallScript:
loadmovesprites
checkcode VAR_FACING
if_equal $3, ElmDirectionsScript
applymovement $0, AfterCyndaquilMovement
applymovement PLAYER, AfterCyndaquilMovement
jump ElmDirectionsScript
TotodilePokeBallScript:
@ -209,7 +209,7 @@ TotodilePokeBallScript:
keeptextopen
givepoke TOTODILE, 5, BERRY, 0
loadmovesprites
applymovement $0, AfterTotodileMovement
applymovement PLAYER, AfterTotodileMovement
jump ElmDirectionsScript
ChikoritaPokeBallScript:
@ -237,7 +237,7 @@ ChikoritaPokeBallScript:
keeptextopen
givepoke CHIKORITA, 5, BERRY, 0
loadmovesprites
applymovement $0, AfterChikoritaMovement
applymovement PLAYER, AfterChikoritaMovement
jump ElmDirectionsScript
DidntChooseStarterScript:
@ -247,7 +247,7 @@ DidntChooseStarterScript:
end
ElmDirectionsScript:
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext ElmDirectionsText1
closetext
@ -456,14 +456,14 @@ ElmJumpRightScript:
AideScript_WalkPotions1:
applymovement $3, AideWalksRight1
spriteface $0, DOWN
spriteface PLAYER, DOWN
scall AideScript_GivePotions
applymovement $3, AideWalksLeft1
end
AideScript_WalkPotions2:
applymovement $3, AideWalksRight2
spriteface $0, DOWN
spriteface PLAYER, DOWN
scall AideScript_GivePotions
applymovement $3, AideWalksLeft2
end
@ -481,14 +481,14 @@ AideScript_GivePotions:
AideScript_WalkBalls1:
applymovement $3, AideWalksRight1
spriteface $0, DOWN
spriteface PLAYER, DOWN
scall AideScript_GiveYouBalls
applymovement $3, AideWalksLeft1
end
AideScript_WalkBalls2:
applymovement $3, AideWalksRight2
spriteface $0, DOWN
spriteface PLAYER, DOWN
scall AideScript_GiveYouBalls
applymovement $3, AideWalksLeft2
end
@ -544,10 +544,10 @@ AideScript_AfterTheft:
end
MeetCopScript2:
applymovement $0, MeetCopScript2_StepLeft
applymovement PLAYER, MeetCopScript2_StepLeft
MeetCopScript:
applymovement $0, MeetCopScript_WalkUp
applymovement PLAYER, MeetCopScript_WalkUp
CopScript:
spriteface $7, LEFT
loadfont

View File

@ -22,7 +22,7 @@ FastShip1F_MapScriptHeader:
.PriorityJump2:
applymovement $2, MovementData_0x7520e
applymovement $0, MovementData_0x75217
applymovement PLAYER, MovementData_0x75217
applymovement $2, MovementData_0x75211
pause 30
playsound SFX_BOAT
@ -88,12 +88,12 @@ SailorScript_0x75160:
checkcode VAR_FACING
if_equal RIGHT, .YouAreFacingRight
applymovement $2, MovementData_0x7520e
applymovement $0, MovementData_0x75235
applymovement PLAYER, MovementData_0x75235
end
.YouAreFacingRight:
applymovement $2, MovementData_0x75214
applymovement $0, MovementData_0x75238
applymovement PLAYER, MovementData_0x75238
end
SailorScript_0x751d0:
@ -122,13 +122,13 @@ UnknownScript_0x751eb:
appear $5
applymovement $5, MovementData_0x7521b
playsound SFX_TACKLE
applymovement $0, MovementData_0x7522e
applymovement PLAYER, MovementData_0x7522e
applymovement $5, MovementData_0x75220
loadfont
writetext UnknownText_0x75412
closetext
loadmovesprites
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
applymovement $5, MovementData_0x75222
disappear $5
dotrigger $0

View File

@ -38,10 +38,10 @@ TwinScript_0x75ebb:
special Special_FadeBlackQuickly
special Special_ReloadSpritesNoPalettes
disappear $5
applymovement $0, MovementData_0x76004
applymovement PLAYER, MovementData_0x76004
moveperson $4, $3, $13
appear $4
spriteface $0, UP
spriteface PLAYER, UP
spriteface $4, UP
special Special_FadeInQuickly
spriteface $3, DOWN

View File

@ -239,7 +239,7 @@ PharmacistScript_0x56df1:
writetext UnknownText_0x56f55
closetext
loadmovesprites
spriteface $fe, LEFT
spriteface LAST_TALKED, LEFT
end
PokefanMScript_0x56dfc:

View File

@ -100,7 +100,7 @@ LassCarrieScript:
WhitneyCriesScript:
showemote EMOTE_SHOCK, $4, 15
applymovement $4, BridgetWalksUpMovement
spriteface $0, DOWN
spriteface PLAYER, DOWN
loadfont
writetext BridgetWhitneyCriesText
closetext

View File

@ -31,12 +31,12 @@ OfficerScript_0x550ec:
closetext
loadmovesprites
applymovement $2, MovementData_0x55146
applymovement $0, MovementData_0x5514f
applymovement PLAYER, MovementData_0x5514f
writebyte $0
special Special_MagnetTrain
warpcheck
newloadmap $f9
applymovement $0, .MovementBoardTheTrain
applymovement PLAYER, .MovementBoardTheTrain
wait $14
end
@ -58,7 +58,7 @@ OfficerScript_0x550ec:
Script_ArriveFromSaffron:
applymovement $2, MovementData_0x55146
applymovement $0, MovementData_0x55158
applymovement PLAYER, MovementData_0x55158
applymovement $2, MovementData_0x5514b
loadfont
writetext UnknownText_0x5526a

View File

@ -23,7 +23,7 @@ UnknownScript_0x60f9e:
appear $3
playmusic MUSIC_SHOW_ME_AROUND
applymovement $3, MovementData_0x6105a
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x622f0
closetext
@ -55,7 +55,7 @@ UnknownScript_0x60fe3:
appear $3
playmusic MUSIC_SHOW_ME_AROUND
applymovement $3, MovementData_0x61065
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x622f0
closetext

View File

@ -17,16 +17,16 @@ HallOfFame_MapScriptHeader:
end
HallOfFameScript:
follow $2, $0
follow $2, PLAYER
applymovement $2, HallOfFame_WalkUpWithLance
stopfollow
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext HallOfFame_LanceText
closetext
loadmovesprites
spriteface $2, UP
applymovement $0, HallOfFame_SlowlyApproachMachine
applymovement PLAYER, HallOfFame_SlowlyApproachMachine
dotrigger $1
pause 15
writebyte 2 ; Machine is in the Hall of Fame

View File

@ -448,11 +448,11 @@ UnknownScript_0x6ee42:
closetext
loadmovesprites
pause 20
showemote EMOTE_SHOCK, $0, 20
showemote EMOTE_SHOCK, PLAYER, 20
special Functionc48f
applymovement $0, MovementData_0x6ef58
applymovement PLAYER, MovementData_0x6ef58
pause 30
spriteface $0, DOWN
spriteface PLAYER, DOWN
pause 20
clearflag ENGINE_HAVE_EXAMINED_GS_BALL
special Function4989a

View File

@ -53,13 +53,13 @@ UnknownScript_0x180053:
if_equal SATURDAY, UnknownScript_0x18012b
moveperson $5, $11, $9
appear $5
spriteface $0, DOWN
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
applymovement $5, MovementData_0x180164
playmusic MUSIC_RIVAL_ENCOUNTER
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
jump UnknownScript_0x1800ce
UnknownScript_0x180094:
@ -74,13 +74,13 @@ UnknownScript_0x180094:
if_equal FRIDAY, UnknownScript_0x18012b
if_equal SATURDAY, UnknownScript_0x18012b
appear $5
spriteface $0, DOWN
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
applymovement $5, MovementData_0x18016b
playmusic MUSIC_RIVAL_ENCOUNTER
spriteface $0, LEFT
spriteface PLAYER, LEFT
UnknownScript_0x1800ce:
loadfont
writetext UnknownText_0x1801f5
@ -123,7 +123,7 @@ UnknownScript_0x180113:
writetext UnknownText_0x1802a4
closetext
loadmovesprites
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $5, MovementData_0x180172
disappear $5
dotrigger $0

View File

@ -32,7 +32,7 @@ UnknownScript_0x180bd5:
return
UnknownScript_0x180bd6:
applymovement $0, MovementData_0x180c22
applymovement PLAYER, MovementData_0x180c22
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80

View File

@ -32,7 +32,7 @@ UnknownScript_0x180741:
return
UnknownScript_0x180742:
applymovement $0, MovementData_0x18078e
applymovement PLAYER, MovementData_0x18078e
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80

View File

@ -21,7 +21,7 @@ UnknownScript_0x7a4d8:
UnknownScript_0x7a4db:
playmusic MUSIC_MOM
showemote EMOTE_SHOCK, $2, 15
spriteface $0, LEFT
spriteface PLAYER, LEFT
checkevent EVENT_GAVE_KURT_APRICORNS
iffalse UnknownScript_0x7a4f2
applymovement $2, MovementData_0x7a5fc

View File

@ -44,7 +44,7 @@ KurtScript_0x18e178:
setevent EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET
checkcode VAR_FACING
if_equal UP, .RunAround
spriteface $0, DOWN
spriteface PLAYER, DOWN
playsound SFX_FLY
applymovement $2, MovementData_0x18e466
playsound SFX_EXIT_BUILDING
@ -54,7 +54,7 @@ KurtScript_0x18e178:
end
.RunAround:
spriteface $0, DOWN
spriteface PLAYER, DOWN
playsound SFX_FLY
applymovement $2, MovementData_0x18e46c
playsound SFX_EXIT_BUILDING
@ -292,13 +292,13 @@ KurtScript_0x18e178:
showemote EMOTE_SHOCK, $2, 30
checkcode VAR_FACING
if_equal UP, .GSBallRunAround
spriteface $0, DOWN
spriteface PLAYER, DOWN
playsound SFX_FLY
applymovement $2, MovementData_0x18e466
jump .KurtHasLeftTheBuilding
.GSBallRunAround:
spriteface $0, DOWN
spriteface PLAYER, DOWN
playsound SFX_FLY
applymovement $2, MovementData_0x18e46c
.KurtHasLeftTheBuilding:

View File

@ -32,7 +32,7 @@ UnknownScript_0x180e52:
return
UnknownScript_0x180e53:
applymovement $0, MovementData_0x180f33
applymovement PLAYER, MovementData_0x180f33
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80
@ -45,12 +45,12 @@ UnknownScript_0x180e53:
UnknownScript_0x180e6a:
special Functionc48f
applymovement $0, MovementData_0x180f38
applymovement PLAYER, MovementData_0x180f38
jump LanceScript_0x180e7b
UnknownScript_0x180e74:
special Functionc48f
applymovement $0, MovementData_0x180f3c
applymovement PLAYER, MovementData_0x180f3c
LanceScript_0x180e7b:
spriteface $2, LEFT
loadfont
@ -78,7 +78,7 @@ LanceScript_0x180e7b:
showemote EMOTE_SHOCK, $2, 15
spriteface $2, DOWN
pause 10
spriteface $0, DOWN
spriteface PLAYER, DOWN
appear $3
applymovement $3, MovementData_0x180f41
loadfont
@ -97,27 +97,27 @@ LanceScript_0x180e7b:
closetext
loadmovesprites
applymovement $3, MovementData_0x180f4c
spriteface $0, LEFT
spriteface PLAYER, LEFT
loadfont
writetext UnknownText_0x18134b
closetext
loadmovesprites
applymovement $2, MovementData_0x180f4f
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x18137b
closetext
loadmovesprites
follow $2, $0
follow $2, PLAYER
spriteface $3, UP
spriteface $4, UP
applymovement $2, MovementData_0x180f53
stopfollow
playsound SFX_EXIT_BUILDING
disappear $2
applymovement $0, MovementData_0x180f55
applymovement PLAYER, MovementData_0x180f55
playsound SFX_EXIT_BUILDING
disappear $0
disappear PLAYER
applymovement $3, MovementData_0x180f57
showemote EMOTE_SHOCK, $3, 15
loadfont

View File

@ -77,7 +77,7 @@ UnknownScript_0x6c38f:
writetext UnknownText_0x6c549
closetext
loadmovesprites
follow $4, $0
follow $4, PLAYER
applymovement $4, MovementData_0x6c40a
applymovement $2, MovementData_0x6c403
applymovement $4, MovementData_0x6c40e

View File

@ -25,10 +25,10 @@ MahoganyTown_MapScriptHeader:
UnknownScript_0x190013:
showemote EMOTE_SHOCK, $2, 15
applymovement $2, MovementData_0x1900a9
follow $0, $2
applymovement $0, MovementData_0x1900a7
follow PLAYER, $2
applymovement PLAYER, MovementData_0x1900a7
stopfollow
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
scall UnknownScript_0x19002f
applymovement $2, MovementData_0x1900ad
end

View File

@ -17,8 +17,8 @@ UnknownScript_0x7408d:
end
UnknownScript_0x7408e:
spriteface $0, RIGHT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
applymovement $2, MovementData_0x740f9

View File

@ -34,7 +34,7 @@ UnknownScript_0x7709a:
iffalse .NoDancing
appear $2
appear $3
applymovement $0, MovementData_0x77121
applymovement PLAYER, MovementData_0x77121
pause 15
appear $4
spriteface $2, RIGHT

View File

@ -23,7 +23,7 @@ UnknownScript_0x196e56:
writetext UnknownText_0x196f66
closetext
loadmovesprites
applymovement $0, MovementData_0x196f5a
applymovement PLAYER, MovementData_0x196f5a
loadfont
writetext UnknownText_0x196fa8
keeptextopen
@ -84,7 +84,7 @@ UnknownScript_0x196ec7:
UnknownScript_0x196ec9:
playmusic MUSIC_PROF_OAK
applymovement $3, MovementData_0x196f5d
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x197185
keeptextopen
@ -96,14 +96,14 @@ UnknownScript_0x196ec9:
writetext UnknownText_0x1973de
closetext
loadmovesprites
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $3, MovementData_0x196f61
playsound SFX_EXIT_BUILDING
disappear $3
waitbutton
special RestartMapMusic
pause 15
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x1970ed
closetext

View File

@ -30,13 +30,13 @@ UnknownScript_0x1a8016:
writetext UnknownText_0x1a8134
closetext
loadmovesprites
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
applymovement $2, MovementData_0x1a80d4
loadfont
writetext UnknownText_0x1a813e
closetext
loadmovesprites
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x1a80e0
stopfollow
loadfont
@ -53,14 +53,14 @@ UnknownScript_0x1a8041:
writetext UnknownText_0x1a8134
closetext
loadmovesprites
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
applymovement $2, MovementData_0x1a80d9
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x1a813e
closetext
loadmovesprites
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x1a80e6
stopfollow
loadfont
@ -115,14 +115,14 @@ SilverScript_0x1a809e:
writetext UnknownText_0x1a82cd
closetext
loadmovesprites
follow $0, $4
applymovement $0, MovementData_0x1a80ed
follow PLAYER, $4
applymovement PLAYER, MovementData_0x1a80ed
stopfollow
pause 5
spriteface $4, DOWN
pause 5
playsound SFX_TACKLE
applymovement $0, MovementData_0x1a80f0
applymovement PLAYER, MovementData_0x1a80f0
applymovement $4, MovementData_0x1a80f5
end

View File

@ -23,8 +23,8 @@ OlivineCity_MapScriptHeader:
return
UnknownScript_0x1a8833:
spriteface $0, LEFT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
playsound SFX_ENTER_DOOR
@ -36,8 +36,8 @@ UnknownScript_0x1a8833:
writetext UnknownText_0x1a88fa
closetext
loadmovesprites
applymovement $0, MovementData_0x1a88f4
spriteface $0, RIGHT
applymovement PLAYER, MovementData_0x1a88f4
spriteface PLAYER, RIGHT
applymovement $5, MovementData_0x1a88db
dotrigger $1
disappear $5
@ -47,8 +47,8 @@ UnknownScript_0x1a8833:
end
UnknownScript_0x1a886b:
spriteface $0, LEFT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
playsound SFX_ENTER_DOOR
@ -60,8 +60,8 @@ UnknownScript_0x1a886b:
writetext UnknownText_0x1a88fa
closetext
loadmovesprites
applymovement $0, MovementData_0x1a88f7
spriteface $0, RIGHT
applymovement PLAYER, MovementData_0x1a88f7
spriteface PLAYER, RIGHT
applymovement $5, MovementData_0x1a88e8
disappear $5
dotrigger $1

View File

@ -17,7 +17,7 @@ UnknownScript_0x748ad:
end
UnknownScript_0x748b1:
applymovement $0, MovementData_0x74a32
applymovement PLAYER, MovementData_0x74a32
appear $2
dotrigger $0
setevent EVENT_GAVE_KURT_APRICORNS
@ -37,7 +37,7 @@ SailorScript_0x748c0:
playsound SFX_EXIT_BUILDING
disappear $2
waitbutton
applymovement $0, MovementData_0x74a30
applymovement PLAYER, MovementData_0x74a30
playsound SFX_EXIT_BUILDING
special FadeBlackBGMap
waitbutton
@ -73,7 +73,7 @@ UnknownScript_0x7491f:
iftrue UnknownScript_0x7498b
checkevent EVENT_RECEIVED_BALLS_FROM_KURT
iftrue UnknownScript_0x7498b
spriteface $0, LEFT
spriteface PLAYER, LEFT
loadfont
checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x7494e
@ -95,28 +95,28 @@ UnknownScript_0x7494e:
closetext
loadmovesprites
setevent EVENT_RECEIVED_BALLS_FROM_KURT
applymovement $0, MovementData_0x74a37
applymovement PLAYER, MovementData_0x74a37
jump SailorScript_0x748c0
UnknownScript_0x7496d:
writetext UnknownText_0x74b41
closetext
loadmovesprites
applymovement $0, MovementData_0x74a34
applymovement PLAYER, MovementData_0x74a34
end
UnknownScript_0x74977:
writetext UnknownText_0x74ba8
closetext
loadmovesprites
applymovement $0, MovementData_0x74a34
applymovement PLAYER, MovementData_0x74a34
end
UnknownScript_0x74981:
writetext UnknownText_0x74bce
closetext
loadmovesprites
applymovement $0, MovementData_0x74a34
applymovement PLAYER, MovementData_0x74a34
end
UnknownScript_0x7498b:
@ -132,7 +132,7 @@ UnknownScript_0x74992:
writetext UnknownText_0x74af6
closetext
loadmovesprites
applymovement $0, MovementData_0x74a34
applymovement PLAYER, MovementData_0x74a34
end
SailorScript_0x7499c:
@ -162,11 +162,11 @@ UnknownScript_0x749c0:
setevent EVENT_RECEIVED_BALLS_FROM_KURT
checkcode VAR_FACING
if_equal $3, UnknownScript_0x749e5
applymovement $0, MovementData_0x74a3f
applymovement PLAYER, MovementData_0x74a3f
jump SailorScript_0x748c0
UnknownScript_0x749e5:
applymovement $0, MovementData_0x74a49
applymovement PLAYER, MovementData_0x74a49
jump SailorScript_0x748c0
UnknownScript_0x749ec:

View File

@ -164,7 +164,7 @@ LinkReceptionistScript_Trade:
BattleTradeMobile_WalkIn:
applymovement2 MovementData_0x192cce
applymovement $0, MovementData_0x192ce7
applymovement PLAYER, MovementData_0x192ce7
end
LinkReceptionistScript_Battle:
@ -385,7 +385,7 @@ Script_LeftMobileTradeRoom:
Script_WalkOutOfMobileTradeRoom:
applymovement $2, MovementData_0x192d0b
applymovement $0, MovementData_0x192d0f
applymovement PLAYER, MovementData_0x192d0f
applymovement $2, MovementData_0x192d14
end
@ -405,7 +405,7 @@ Script_LeftMobileBattleRoom:
Script_WalkOutOfMobileBattleRoom:
applymovement $3, MovementData_0x192d0b
applymovement $0, MovementData_0x192d0f
applymovement PLAYER, MovementData_0x192d0f
applymovement $3, MovementData_0x192d14
end
@ -413,56 +413,56 @@ PokeCenter2F_CheckGender:
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Female
applymovement2 MovementData_0x192cca
applymovement $0, MovementData_0x192cde
applymovement PLAYER, MovementData_0x192cde
end
.Female:
applymovement2 MovementData_0x192cd8
applymovement $0, MovementData_0x192ce2
applymovement PLAYER, MovementData_0x192ce2
loadfont
writetext Text_OhPleaseWait
closetext
loadmovesprites
applymovement2 MovementData_0x192cdc
spriteface $0, LEFT
spriteface PLAYER, LEFT
loadfont
writetext Text_ChangeTheLook
closetext
loadmovesprites
playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17
applymovement PLAYER, MovementData_0x192d17
writebyte $80
special Functionc225
applymovement $0, MovementData_0x192d1c
applymovement PLAYER, MovementData_0x192d1c
setflag ENGINE_KRIS_IN_CABLE_CLUB
special Special_ReplaceKrisSprite
loadfont
writetext Text_LikeTheLook
closetext
loadmovesprites
showemote EMOTE_SHOCK, $0, 15
applymovement $0, MovementData_0x192ce5
showemote EMOTE_SHOCK, PLAYER, 15
applymovement PLAYER, MovementData_0x192ce5
end
Script_CleanUpFemaleFlagAfterTrade:
checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue .Female
applymovement $2, MovementData_0x192d04
applymovement $0, MovementData_0x192cf5
applymovement PLAYER, MovementData_0x192cf5
applymovement $2, MovementData_0x192cfe
end
.Female:
applymovement $2, MovementData_0x192d04
applymovement $0, MovementData_0x192d28
applymovement PLAYER, MovementData_0x192d28
clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17
applymovement PLAYER, MovementData_0x192d17
writebyte $90
special Functionc225
applymovement $0, MovementData_0x192d1c
applymovement PLAYER, MovementData_0x192d1c
special Special_ReplaceKrisSprite
applymovement $0, MovementData_0x192d2a
applymovement PLAYER, MovementData_0x192d2a
applymovement $2, MovementData_0x192cfe
end
@ -470,21 +470,21 @@ Script_CleanUpFemaleFlagAfterBattle:
checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue .Female
applymovement $3, MovementData_0x192d04
applymovement $0, MovementData_0x192cf5
applymovement PLAYER, MovementData_0x192cf5
applymovement $3, MovementData_0x192cfe
end
.Female:
applymovement $3, MovementData_0x192d04
applymovement $0, MovementData_0x192d28
applymovement PLAYER, MovementData_0x192d28
clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17
applymovement PLAYER, MovementData_0x192d17
writebyte $90
special Functionc225
applymovement $0, MovementData_0x192d1c
applymovement PLAYER, MovementData_0x192d1c
special Special_ReplaceKrisSprite
applymovement $0, MovementData_0x192d2a
applymovement PLAYER, MovementData_0x192d2a
applymovement $3, MovementData_0x192cfe
end
@ -495,17 +495,17 @@ TimeCapsuleScript_CheckPlayerGender:
if_equal LEFT, .MaleFacingLeft
if_equal RIGHT, .MaleFacingRight
applymovement2 MovementData_0x192cd2
applymovement $0, MovementData_0x192cec
applymovement PLAYER, MovementData_0x192cec
end
.MaleFacingLeft:
applymovement2 MovementData_0x192cd2
applymovement $0, MovementData_0x192cef
applymovement PLAYER, MovementData_0x192cef
end
.MaleFacingRight:
applymovement2 MovementData_0x192cd5
applymovement $0, MovementData_0x192cf2
applymovement PLAYER, MovementData_0x192cf2
end
.Female:
@ -513,17 +513,17 @@ TimeCapsuleScript_CheckPlayerGender:
if_equal RIGHT, .FemaleFacingRight
if_equal LEFT, .FemaleFacingLeft
applymovement2 MovementData_0x192d33
applymovement $0, MovementData_0x192d2d
applymovement PLAYER, MovementData_0x192d2d
jump .FemaleContinue
.FemaleFacingRight:
applymovement2 MovementData_0x192d36
applymovement $0, MovementData_0x192d2f
applymovement PLAYER, MovementData_0x192d2f
jump .FemaleContinue
.FemaleFacingLeft:
applymovement2 MovementData_0x192d33
applymovement $0, MovementData_0x192d31
applymovement PLAYER, MovementData_0x192d31
.FemaleContinue:
loadfont
writetext Text_OhPleaseWait
@ -531,26 +531,26 @@ TimeCapsuleScript_CheckPlayerGender:
loadmovesprites
checkcode VAR_FACING
if_not_equal UP, .FemaleChangeApperance
spriteface $0, LEFT
spriteface PLAYER, LEFT
.FemaleChangeApperance:
loadfont
writetext Text_ChangeTheLook
closetext
loadmovesprites
playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17
applymovement PLAYER, MovementData_0x192d17
writebyte $80
special Functionc225
applymovement $0, MovementData_0x192d22
faceperson $0, $4
applymovement PLAYER, MovementData_0x192d22
faceperson PLAYER, $4
setflag ENGINE_KRIS_IN_CABLE_CLUB
special Special_ReplaceKrisSprite
loadfont
writetext Text_LikeTheLook
closetext
loadmovesprites
showemote EMOTE_SHOCK, $0, 15
applymovement $0, MovementData_0x192d2d
showemote EMOTE_SHOCK, PLAYER, 15
applymovement PLAYER, MovementData_0x192d2d
end
Script_LeftTimeCapsule:
@ -558,21 +558,21 @@ Script_LeftTimeCapsule:
checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue .Female
applymovement $4, MovementData_0x192d08
applymovement $0, MovementData_0x192cf9
applymovement PLAYER, MovementData_0x192cf9
applymovement $4, MovementData_0x192d01
jump .Done
.Female:
applymovement $4, MovementData_0x192d08
applymovement $0, MovementData_0x192cfc
applymovement PLAYER, MovementData_0x192cfc
clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17
applymovement PLAYER, MovementData_0x192d17
writebyte $90
special Functionc225
applymovement $0, MovementData_0x192d1c
applymovement PLAYER, MovementData_0x192d1c
special Special_ReplaceKrisSprite
applymovement $0, MovementData_0x192cfc
applymovement PLAYER, MovementData_0x192cfc
applymovement $4, MovementData_0x192d01
.Done:
dotrigger $0

View File

@ -28,12 +28,12 @@ UnknownScript_0x188dc5:
closetext
loadmovesprites
spriteface $2, LEFT
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x188f7f
closetext
loadmovesprites
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $2, MovementData_0x188eda
dotrigger $0
end

View File

@ -112,9 +112,9 @@ Buena:
spriteface $b, RIGHT
checkcode VAR_FACING
if_not_equal $3, UnknownScript_0x5d7be
applymovement $0, MovementData_0x5d921
applymovement PLAYER, MovementData_0x5d921
UnknownScript_0x5d7be:
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x5dedd
closetext
@ -252,7 +252,7 @@ UnknownScript_0x5d8a4:
pause 20
spriteface $b, DOWN
pause 15
spriteface $0, UP
spriteface PLAYER, UP
pause 15
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc

View File

@ -74,7 +74,7 @@ Executivef1Script:
end
UnknownScript_0x6006e:
applymovement $0, MovementData_0x60125
applymovement PLAYER, MovementData_0x60125
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface $3, RIGHT
loadfont
@ -113,7 +113,7 @@ UnknownScript_0x6006e:
moveperson $2, $c, $0
appear $2
applymovement $2, MovementData_0x6010f
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x605b2
keeptextopen

View File

@ -21,12 +21,12 @@ UnknownScript_0x733ed:
UnknownScript_0x733f3:
showemote EMOTE_SHOCK, $2, 15
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x73496
closetext
loadmovesprites
applymovement $0, MovementData_0x73405
applymovement PLAYER, MovementData_0x73405
end
MovementData_0x73405:

View File

@ -21,12 +21,12 @@ UnknownScript_0x73611:
UnknownScript_0x73617:
showemote EMOTE_SHOCK, $2, 15
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x7364d
closetext
loadmovesprites
applymovement $0, MovementData_0x73629
applymovement PLAYER, MovementData_0x73629
end
MovementData_0x73629:

View File

@ -31,9 +31,9 @@ UnknownScript_0x19eea0:
writetext UnknownText_0x19f006
closetext
loadmovesprites
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $2, MovementData_0x19effa
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, MovementData_0x19f000
disappear $2
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
@ -57,9 +57,9 @@ UnknownScript_0x19eee0:
writetext UnknownText_0x19f006
closetext
loadmovesprites
spriteface $0, UP
spriteface PLAYER, UP
applymovement $2, MovementData_0x19effd
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, MovementData_0x19f000
disappear $2
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM

View File

@ -26,7 +26,7 @@ UnknownScript_0x1a0881:
showemote EMOTE_SHOCK, $a, 15
applymovement $a, MovementData_0x1a0a69
UnknownScript_0x1a088c:
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x1a0a6b
keeptextopen

View File

@ -37,14 +37,14 @@ UnknownScript_0x1a0f6d:
spriteface $2, UP
showemote EMOTE_SHOCK, $2, 15
applymovement $2, MovementData_0x1a108d
spriteface $0, LEFT
spriteface PLAYER, LEFT
setevent EVENT_DUDE_TALKED_TO_YOU
loadfont
writetext UnknownText_0x1a10df
yesorno
iffalse UnknownScript_0x1a0fd9
loadmovesprites
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x1a109a
stopfollow
loadpokedata RATTATA, 5
@ -62,14 +62,14 @@ UnknownScript_0x1a0fa3:
spriteface $2, UP
showemote EMOTE_SHOCK, $2, 15
applymovement $2, MovementData_0x1a1094
spriteface $0, LEFT
spriteface PLAYER, LEFT
setevent EVENT_DUDE_TALKED_TO_YOU
loadfont
writetext UnknownText_0x1a10df
yesorno
iffalse UnknownScript_0x1a0fe5
loadmovesprites
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x1a10a1
stopfollow
loadpokedata RATTATA, 5

View File

@ -77,15 +77,15 @@ UnknownScript_0x1904a9:
UnknownScript_0x1904ab:
spriteface $9, LEFT
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x190790
closetext
loadmovesprites
follow $0, $9
applymovement $0, MovementData_0x190789
follow PLAYER, $9
applymovement PLAYER, MovementData_0x190789
stopfollow
spriteface $0, DOWN
spriteface PLAYER, DOWN
scall UnknownScript_0x190470
applymovement $9, MovementData_0x19078c
applymovement $9, MovementData_0x19078e
@ -110,7 +110,7 @@ UnknownScript_0x1904e7:
UnknownScript_0x1904e9:
spriteface $b, DOWN
spriteface $0, UP
spriteface PLAYER, UP
jump UnknownScript_0x1904f3
FisherScript_0x1904f2:

View File

@ -26,11 +26,11 @@ UnknownScript_0x62d3d:
iffalse UnknownScript_0x62d62
showemote EMOTE_SHOCK, $5, 20
spriteface $5, LEFT
spriteface $0, RIGHT
follow $0, $5
applymovement $0, MovementData_0x62d97
spriteface PLAYER, RIGHT
follow PLAYER, $5
applymovement PLAYER, MovementData_0x62d97
stopfollow
spriteface $0, DOWN
spriteface PLAYER, DOWN
loadfont
writetext UnknownText_0x62e41
closetext

View File

@ -55,7 +55,7 @@ Route35NationalParkgate_IsContestDay:
return
Route35NationalParkGate_LeavingContestEarly:
applymovement $0, MovementData_0x6a2e2
applymovement PLAYER, MovementData_0x6a2e2
spriteface $2, RIGHT
loadfont
checkcode VAR_CONTESTMINUTES
@ -121,11 +121,11 @@ Route35NationalParkgate_OkayToProceed:
Route35NationalParkgate_EnterContest:
checkcode VAR_FACING
if_equal LEFT, Route35NationalParkgate_FacingLeft
applymovement $0, MovementData_0x6a2e5
applymovement PLAYER, MovementData_0x6a2e5
end
Route35NationalParkgate_FacingLeft:
applymovement $0, MovementData_0x6a2e9
applymovement PLAYER, MovementData_0x6a2e9
end
Route35NationalParkgate_LeaveTheRestBehind:

View File

@ -30,13 +30,13 @@ ArthurCallback:
return
UnknownScript_0x19401b:
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
pause 15
playsound SFX_WARP_FROM
spriteface $0, UP
spriteface PLAYER, UP
applymovement $a, MovementData_0x194262
disappear $a
spriteface $0, DOWN
spriteface PLAYER, DOWN
pause 10
dotrigger $0
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY

View File

@ -56,7 +56,7 @@ Route36NationalParkgate_MapScriptHeader:
return
.LeftTheContestEarly:
spriteface $0, UP
spriteface PLAYER, UP
loadfont
checkcode VAR_CONTESTMINUTES
addvar $1
@ -72,7 +72,7 @@ Route36NationalParkgate_MapScriptHeader:
scall .CopyContestants
disappear $2
appear $d
applymovement $0, MovementData_0x6add1
applymovement PLAYER, MovementData_0x6add1
pause 15
special Special_FadeInQuickly
jumpstd bugcontestresults
@ -81,7 +81,7 @@ Route36NationalParkgate_MapScriptHeader:
writetext UnknownText_0x6b300
closetext
loadmovesprites
spriteface $0, LEFT
spriteface PLAYER, LEFT
playsound SFX_EXIT_BUILDING
special FadeBlackBGMap
waitbutton
@ -164,7 +164,7 @@ Route36OfficerScriptContest:
loadmovesprites
setflag ENGINE_BUG_CONTEST_TIMER
special Special_GiveParkBalls
spriteface $0, LEFT
spriteface PLAYER, LEFT
playsound SFX_EXIT_BUILDING
special FadeBlackBGMap
waitbutton

View File

@ -16,7 +16,7 @@ UnknownScript_0x1a9217:
end
UnknownScript_0x1a9218:
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
pause 15
playsound SFX_WARP_FROM
applymovement $a, MovementData_0x1a9356

View File

@ -39,7 +39,7 @@ UnknownScript_0x19abda:
end
UnknownScript_0x19abea:
applymovement $0, MovementData_0x19aca2
applymovement PLAYER, MovementData_0x19aca2
showemote EMOTE_SHOCK, $4, 15
applymovement $4, MovementData_0x19acbb
spriteface $3, UP

View File

@ -42,7 +42,7 @@ UnknownScript_0x58dca:
UnknownScript_0x58dd3:
pause 30
earthquake 30
showemote EMOTE_SHOCK, $0, 20
showemote EMOTE_SHOCK, PLAYER, 20
pause 30
playsound SFX_STRENGTH
changeblock $4, $0, $30
@ -66,13 +66,13 @@ UnknownScript_0x58df7:
setflag ENGINE_UNLOCKED_UNOWNS_3
domaptrigger RUINS_OF_ALPH_INNER_CHAMBER, $1
earthquake 30
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
changeblock $2, $2, $18
changeblock $4, $2, $19
reloadmappart
playsound SFX_STRENGTH
earthquake 80
applymovement $0, MovementData_0x58e4d
applymovement PLAYER, MovementData_0x58e4d
playsound SFX_KINESIS
waitbutton
pause 20

View File

@ -43,7 +43,7 @@ UnknownScript_0x5858d:
UnknownScript_0x58596:
pause 30
earthquake 30
showemote EMOTE_SHOCK, $0, 20
showemote EMOTE_SHOCK, PLAYER, 20
pause 30
playsound SFX_STRENGTH
changeblock $4, $0, $30
@ -67,13 +67,13 @@ UnknownScript_0x585ba:
setflag ENGINE_UNLOCKED_UNOWNS_4
domaptrigger RUINS_OF_ALPH_INNER_CHAMBER, $1
earthquake 30
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
changeblock $2, $2, $18
changeblock $4, $2, $19
reloadmappart
playsound SFX_STRENGTH
earthquake 80
applymovement $0, MovementData_0x58610
applymovement PLAYER, MovementData_0x58610
playsound SFX_KINESIS
waitbutton
pause 20

View File

@ -44,7 +44,7 @@ UnknownScript_0x58748:
UnknownScript_0x58751:
pause 30
earthquake 30
showemote EMOTE_SHOCK, $0, 20
showemote EMOTE_SHOCK, PLAYER, 20
pause 30
playsound SFX_STRENGTH
changeblock $4, $0, $30
@ -72,13 +72,13 @@ UnknownScript_0x58778:
setevent EVENT_RUINS_OF_ALPH_KABUTO_CHAMBER_RECEPTIONIST
domaptrigger RUINS_OF_ALPH_INNER_CHAMBER, $1
earthquake 30
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
changeblock $2, $2, $18
changeblock $4, $2, $19
reloadmappart
playsound SFX_STRENGTH
earthquake 80
applymovement $0, MovementData_0x587fe
applymovement PLAYER, MovementData_0x587fe
playsound SFX_KINESIS
waitbutton
pause 20

View File

@ -43,7 +43,7 @@ UnknownScript_0x58c09:
UnknownScript_0x58c12:
pause 30
earthquake 30
showemote EMOTE_SHOCK, $0, 20
showemote EMOTE_SHOCK, PLAYER, 20
pause 30
playsound SFX_STRENGTH
changeblock $4, $0, $30
@ -67,13 +67,13 @@ UnknownScript_0x58c36:
setflag ENGINE_UNLOCKED_UNOWNS_2
domaptrigger RUINS_OF_ALPH_INNER_CHAMBER, $1
earthquake 30
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
changeblock $2, $2, $18
changeblock $4, $2, $19
reloadmappart
playsound SFX_STRENGTH
earthquake 80
applymovement $0, MovementData_0x58c8c
applymovement PLAYER, MovementData_0x58c8c
playsound SFX_KINESIS
waitbutton
pause 20

View File

@ -43,12 +43,12 @@ UnknownScript_0x5802c:
UnknownScript_0x58031:
spriteface $3, UP
spriteface $0, DOWN
spriteface PLAYER, DOWN
jump UnknownScript_0x58044
UnknownScript_0x5803a:
spriteface $3, LEFT
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
jump UnknownScript_0x58044
ScientistScript_0x58043:
@ -59,11 +59,11 @@ UnknownScript_0x58044:
closetext
loadmovesprites
playmusic MUSIC_SHOW_ME_AROUND
follow $3, $0
follow $3, PLAYER
applymovement $3, MovementData_0x580ba
disappear $3
stopfollow
applymovement $0, MovementData_0x580c5
applymovement PLAYER, MovementData_0x580c5
domaptrigger RUINS_OF_ALPH_RESEARCH_CENTER, $1
warpcheck
end

View File

@ -31,12 +31,12 @@ OfficerScript_0x18a81e:
closetext
loadmovesprites
applymovement $2, MovementData_0x18a88f
applymovement $0, MovementData_0x18a898
applymovement PLAYER, MovementData_0x18a898
writebyte $1
special Special_MagnetTrain
warpcheck
newloadmap $f9
applymovement $0, .MovementBoardTheTrain
applymovement PLAYER, .MovementBoardTheTrain
wait $14
end
@ -58,7 +58,7 @@ OfficerScript_0x18a81e:
Script_ArriveFromGoldenrod:
applymovement $2, MovementData_0x18a88f
applymovement $0, MovementData_0x18a8a1
applymovement PLAYER, MovementData_0x18a8a1
applymovement $2, MovementData_0x18a894
loadfont
writetext UnknownText_0x18a993

View File

@ -39,7 +39,7 @@ GruntM1Script:
moveperson $8, $b, $6
appear $8
applymovement $8, KurtSlowpokeWellVictoryMovementData
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext KurtLeaveSlowpokeWellText
closetext

View File

@ -16,8 +16,8 @@ UnknownScript_0x184946:
end
UnknownScript_0x184947:
spriteface $0, UP
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, UP
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
playsound SFX_TACKLE
playsound SFX_ELEVATOR
@ -26,7 +26,7 @@ UnknownScript_0x184947:
playsound SFX_TACKLE
playsound SFX_ELEVATOR
earthquake 79
applymovement $0, MovementData_0x184a1d
applymovement PLAYER, MovementData_0x184a1d
applymovement $8, MovementData_0x184a22
loadfont
writetext UnknownText_0x184a27

View File

@ -25,16 +25,16 @@ SecurityCamera1a:
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $13, $2
appear $2
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, SecurityCameraMovement1
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $13, $2
appear $2
@ -50,16 +50,16 @@ SecurityCamera1b:
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $13, $3
appear $2
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, SecurityCameraMovement1
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $13, $3
appear $2
@ -75,18 +75,18 @@ SecurityCamera2a:
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $4, $7
appear $2
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, SecurityCameraMovement2
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
moveperson $2, $c, $5
appear $2
applymovement $2, SecurityCameraMovement3
@ -101,18 +101,18 @@ SecurityCamera2b:
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $4, $8
appear $2
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, SecurityCameraMovement4
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
moveperson $2, $c, $5
appear $2
applymovement $2, SecurityCameraMovement5
@ -127,18 +127,18 @@ SecurityCamera3a:
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $13, $6
appear $2
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, SecurityCameraMovement1
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
moveperson $2, $19, $b
appear $2
applymovement $2, SecurityCameraMovement6
@ -153,18 +153,18 @@ SecurityCamera3b:
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $13, $7
appear $2
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, SecurityCameraMovement1
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
moveperson $2, $19, $c
appear $2
applymovement $2, SecurityCameraMovement7
@ -179,18 +179,18 @@ SecurityCamera4:
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $11, $10
appear $2
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, SecurityCameraMovement1
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
moveperson $2, $19, $b
appear $2
applymovement $2, SecurityCameraMovement8
@ -205,18 +205,18 @@ SecurityCamera5:
scall PlaySecurityCameraSounds
checkevent EVENT_TEAM_ROCKET_BASE_POPULATION
iftrue NoSecurityCamera
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
moveperson $2, $3, $10
appear $2
spriteface $0, LEFT
spriteface PLAYER, LEFT
applymovement $2, SecurityCameraMovement1
scall TrainerCameraGrunt1
if_equal $1, NoSecurityCamera
scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, $0, 15
showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
moveperson $2, $e, $10
appear $2
applymovement $2, SecurityCameraMovement9

View File

@ -52,12 +52,12 @@ UnknownScript_0x6cfac:
writetext UnknownText_0x6d2ad
closetext
loadmovesprites
spriteface $0, DOWN
showemote EMOTE_SHOCK, $0, 15
applymovement $0, MovementData_0x6d21f
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
applymovement PLAYER, MovementData_0x6d21f
playmusic MUSIC_ROCKET_ENCOUNTER
applymovement $3, MovementData_0x6d224
spriteface $0, UP
spriteface PLAYER, UP
applymovement $2, MovementData_0x6d22f
loadfont
writetext UnknownText_0x6d2c3
@ -65,7 +65,7 @@ UnknownScript_0x6cfac:
loadmovesprites
cry DRAGONITE
spriteface $3, LEFT
spriteface $0, LEFT
spriteface PLAYER, LEFT
appear $5
applymovement $5, MovementData_0x6d236
applymovement $3, MovementData_0x6d23b
@ -76,7 +76,7 @@ UnknownScript_0x6cfac:
writetext UnknownText_0x6d38c
closetext
loadmovesprites
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
applymovement $3, MovementData_0x6d241
loadfont
writetext UnknownText_0x6d3bd
@ -115,12 +115,12 @@ UnknownScript_0x6cfac:
closetext
loadmovesprites
applymovement $4, MovementData_0x6d250
spriteface $0, UP
spriteface PLAYER, UP
loadfont
writetext UnknownText_0x6d64e
closetext
loadmovesprites
follow $4, $0
follow $4, PLAYER
applymovement $4, MovementData_0x6d254
stopfollow
applymovement $4, MovementData_0x6d258
@ -132,7 +132,7 @@ UnknownScript_0x6cfac:
disappear $4
UnknownScript_0x6d075:
applymovement $0, MovementData_0x6d271
applymovement PLAYER, MovementData_0x6d271
end
UnknownScript_0x6d07a:
@ -140,15 +140,15 @@ UnknownScript_0x6d07a:
writetext UnknownText_0x6d7ea
closetext
loadmovesprites
applymovement $0, MovementData_0x6d278
applymovement PLAYER, MovementData_0x6d278
end
UnknownScript_0x6d085:
spriteface $0, UP
spriteface PLAYER, UP
jump UnknownScript_0x6d091
UnknownScript_0x6d08b:
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
spriteface $4, LEFT
UnknownScript_0x6d091:
loadfont
@ -225,7 +225,7 @@ VoltorbScript_0x6d101:
iffalse UnknownScript_0x6d182
returnafterbattle
special PlayMapMusic
applymovement $0, MovementData_0x6d28c
applymovement PLAYER, MovementData_0x6d28c
jump UnknownScript_0x6d184
VoltorbScript_0x6d12c:
@ -243,7 +243,7 @@ VoltorbScript_0x6d12c:
iffalse UnknownScript_0x6d182
returnafterbattle
special PlayMapMusic
applymovement $0, MovementData_0x6d299
applymovement PLAYER, MovementData_0x6d299
jump UnknownScript_0x6d184
VoltorbScript_0x6d157:
@ -261,7 +261,7 @@ VoltorbScript_0x6d157:
iffalse UnknownScript_0x6d182
returnafterbattle
special PlayMapMusic
applymovement $0, MovementData_0x6d2a4
applymovement PLAYER, MovementData_0x6d2a4
jump UnknownScript_0x6d184
UnknownScript_0x6d182:
@ -272,7 +272,7 @@ UnknownScript_0x6d184:
moveperson $4, $12, $6
appear $4
applymovement $4, MovementData_0x6d27a
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x6d809
keeptextopen
@ -286,7 +286,7 @@ UnknownScript_0x6d184:
writetext UnknownText_0x6d994
closetext
loadmovesprites
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $4, MovementData_0x6d283
disappear $4
setevent EVENT_CLEARED_ROCKET_HIDEOUT

View File

@ -38,7 +38,7 @@ TeamRocketBaseB3F_MapScriptHeader:
return
LanceScript_0x6dffc:
spriteface $0, LEFT
spriteface PLAYER, LEFT
pause 5
spriteface $4, RIGHT
pause 20
@ -53,19 +53,19 @@ LanceScript_0x6dffc:
end
UnknownScript_0x6e019:
spriteface $0, LEFT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
appear $a
applymovement $a, MovementData_0x6e164
spriteface $0, LEFT
spriteface PLAYER, LEFT
playmusic MUSIC_RIVAL_ENCOUNTER
loadfont
writetext UnknownText_0x6e267
closetext
loadmovesprites
playsound SFX_TACKLE
applymovement $0, MovementData_0x6e175
applymovement PLAYER, MovementData_0x6e175
applymovement $a, MovementData_0x6e16d
disappear $a
dotrigger $2
@ -76,11 +76,11 @@ RocketScript_0x6e048:
jumptextfaceplayer UnknownText_0x6e235
UnknownScript_0x6e04b:
applymovement $0, MovementData_0x6e133
applymovement PLAYER, MovementData_0x6e133
jump UnknownScript_0x6e056
UnknownScript_0x6e052:
applymovement $0, MovementData_0x6e13a
applymovement PLAYER, MovementData_0x6e13a
UnknownScript_0x6e056:
pause 30
showemote EMOTE_SHOCK, $3, 15

View File

@ -78,13 +78,13 @@ UnknownScript_0x18508e:
return
UnknownScript_0x18508f:
applymovement $0, MovementData_0x1851cb
applymovement PLAYER, MovementData_0x1851cb
pause 15
writebyte RAIKOU
special SpecialMonCheck
iftrue UnknownScript_0x1850b6
applymovement $3, MovementData_0x1851d0
spriteface $0, LEFT
spriteface PLAYER, LEFT
cry RAIKOU
pause 10
playsound SFX_WARP_FROM
@ -97,7 +97,7 @@ UnknownScript_0x1850b6:
special SpecialMonCheck
iftrue UnknownScript_0x1850d7
applymovement $4, MovementData_0x1851da
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
cry ENTEI
pause 10
playsound SFX_WARP_FROM
@ -106,9 +106,9 @@ UnknownScript_0x1850b6:
playsound SFX_EXIT_BUILDING
waitbutton
UnknownScript_0x1850d7:
spriteface $0, UP
spriteface PLAYER, UP
pause 10
applymovement $0, MovementData_0x1851e8
applymovement PLAYER, MovementData_0x1851e8
applymovement $2, MovementData_0x1851e4
cry SUICUNE
pause 20
@ -128,7 +128,7 @@ UnknownScript_0x1850d7:
clearevent EVENT_SET_WHEN_FOUGHT_HO_OH
returnafterbattle
pause 20
spriteface $0, DOWN
spriteface PLAYER, DOWN
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
playsound SFX_ENTER_DOOR
moveperson $5, $a, $f
@ -149,7 +149,7 @@ UnknownScript_0x1850d7:
moveperson $6, $7, $d
moveperson $7, $9, $d
moveperson $8, $b, $d
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x185203
closetext

View File

@ -12,7 +12,7 @@ UnknownScript_0x9b38a:
end
UnknownScript_0x9b38b:
spriteface $0, UP
spriteface PLAYER, UP
loadfont
checkflag ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
iftrue UnknownScript_0x9b3f7
@ -35,7 +35,7 @@ UnknownScript_0x9b3aa:
writetext UnknownText_0x9b4a2
closetext
loadmovesprites
applymovement $0, MovementData_0x9b401
applymovement PLAYER, MovementData_0x9b401
loadfont
writetext UnknownText_0x9b587
closetext
@ -55,21 +55,21 @@ UnknownScript_0x9b3dc:
startbattle
returnafterbattle
UnknownScript_0x9b3e8:
applymovement $0, MovementData_0x9b40f
applymovement PLAYER, MovementData_0x9b40f
end
UnknownScript_0x9b3ed:
writetext UnknownText_0x9b4d6
closetext
loadmovesprites
applymovement $0, MovementData_0x9b41d
applymovement PLAYER, MovementData_0x9b41d
end
UnknownScript_0x9b3f7:
writetext UnknownText_0x9b51d
closetext
loadmovesprites
applymovement $0, MovementData_0x9b41d
applymovement PLAYER, MovementData_0x9b41d
end
MovementData_0x9b401:

View File

@ -78,15 +78,15 @@ TeacherScript_0x7ca7d:
jumptextfaceplayer UnknownText_0x7d1d0
UnknownScript_0x7ca80:
spriteface $0, RIGHT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
playsound SFX_EXIT_BUILDING
appear $c
waitbutton
applymovement $c, MovementData_0x7ce87
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
scall UnknownScript_0x7cad4
applymovement $c, MovementData_0x7ce92
playsound SFX_EXIT_BUILDING
@ -97,15 +97,15 @@ UnknownScript_0x7ca80:
end
UnknownScript_0x7caaa:
spriteface $0, RIGHT
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
playsound SFX_EXIT_BUILDING
appear $c
waitbutton
applymovement $c, MovementData_0x7ce8c
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
scall UnknownScript_0x7cad4
applymovement $c, MovementData_0x7ce97
playsound SFX_EXIT_BUILDING

View File

@ -24,7 +24,7 @@ VermilionPort_MapScriptHeader:
return
UnknownScript_0x74da6:
applymovement $0, MovementData_0x74ef3
applymovement PLAYER, MovementData_0x74ef3
appear $2
dotrigger $0
setevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1
@ -49,7 +49,7 @@ SailorScript_0x74dc4:
playsound SFX_EXIT_BUILDING
disappear $2
waitbutton
applymovement $0, MovementData_0x74ef1
applymovement PLAYER, MovementData_0x74ef1
playsound SFX_EXIT_BUILDING
special FadeBlackBGMap
waitbutton
@ -83,7 +83,7 @@ UnknownScript_0x74e20:
iftrue UnknownScript_0x74e86
checkevent EVENT_RECEIVED_BALLS_FROM_KURT
iftrue UnknownScript_0x74e86
spriteface $0, LEFT
spriteface PLAYER, LEFT
loadfont
checkcode VAR_WEEKDAY
if_equal MONDAY, UnknownScript_0x74e72
@ -102,28 +102,28 @@ UnknownScript_0x74e20:
closetext
loadmovesprites
setevent EVENT_RECEIVED_BALLS_FROM_KURT
applymovement $0, MovementData_0x74ef8
applymovement PLAYER, MovementData_0x74ef8
jump SailorScript_0x74dc4
UnknownScript_0x74e68:
writetext UnknownText_0x74ff2
closetext
loadmovesprites
applymovement $0, MovementData_0x74ef5
applymovement PLAYER, MovementData_0x74ef5
end
UnknownScript_0x74e72:
writetext UnknownText_0x75059
closetext
loadmovesprites
applymovement $0, MovementData_0x74ef5
applymovement PLAYER, MovementData_0x74ef5
end
UnknownScript_0x74e7c:
writetext UnknownText_0x75080
closetext
loadmovesprites
applymovement $0, MovementData_0x74ef5
applymovement PLAYER, MovementData_0x74ef5
end
UnknownScript_0x74e86:
@ -139,7 +139,7 @@ UnknownScript_0x74e8d:
writetext UnknownText_0x74fa7
closetext
loadmovesprites
applymovement $0, MovementData_0x74ef5
applymovement PLAYER, MovementData_0x74ef5
end
SailorScript_0x74e97:
@ -164,7 +164,7 @@ SailorScript_0x74e97:
closetext
loadmovesprites
setevent EVENT_RECEIVED_BALLS_FROM_KURT
applymovement $0, MovementData_0x74efe
applymovement PLAYER, MovementData_0x74efe
jump SailorScript_0x74dc4
UnknownScript_0x74ed4:

View File

@ -17,8 +17,8 @@ UnknownScript_0x74491:
UnknownScript_0x74492:
moveperson $2, $12, $b
spriteface $0, DOWN
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
appear $2
@ -31,8 +31,8 @@ UnknownScript_0x74492:
end
UnknownScript_0x744b5:
spriteface $0, DOWN
showemote EMOTE_SHOCK, $0, 15
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
special Functionc48f
pause 15
appear $2
@ -45,7 +45,7 @@ UnknownScript_0x744b5:
end
UnknownScript_0x744d4:
spriteface $0, DOWN
spriteface PLAYER, DOWN
playmusic MUSIC_RIVAL_ENCOUNTER
loadfont
writetext UnknownText_0x7455f

View File

@ -16,7 +16,7 @@ UnknownScript_0x9b9fc:
end
UnknownScript_0x9b9fd:
spriteface $0, LEFT
spriteface PLAYER, LEFT
jump UnknownScript_0x9ba04
OfficerScript_0x9ba03:
@ -30,7 +30,7 @@ UnknownScript_0x9ba04:
writetext UnknownText_0x9ba5f
closetext
loadmovesprites
applymovement $0, MovementData_0x9ba27
applymovement PLAYER, MovementData_0x9ba27
end
UnknownScript_0x9ba19:

View File

@ -32,9 +32,9 @@ UnknownScript_0x1a83d1:
closetext
loadmovesprites
playmusic MUSIC_SHOW_ME_AROUND
follow $2, $0
follow $2, PLAYER
applymovement $2, MovementData_0x1a842a
spriteface $0, UP
spriteface PLAYER, UP
applymovement $2, MovementData_0x1a8465
stopfollow
special RestartMapMusic

View File

@ -31,7 +31,7 @@ UnknownScript_0x694d7:
loadmovesprites
checkcode VAR_FACING
if_equal $1, .UnknownScript_0x69511
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $6, MovementData_0x69549
playsound SFX_EXIT_BUILDING
disappear $6
@ -40,7 +40,7 @@ UnknownScript_0x694d7:
.UnknownScript_0x69511
applymovement $6, MovementData_0x6954e
spriteface $0, DOWN
spriteface PLAYER, DOWN
applymovement $6, MovementData_0x69551
playsound SFX_EXIT_BUILDING
disappear $6

View File

@ -32,7 +32,7 @@ UnknownScript_0x1804df:
return
UnknownScript_0x1804e0:
applymovement $0, MovementData_0x18052c
applymovement PLAYER, MovementData_0x18052c
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80

View File

@ -51,12 +51,12 @@ SageScript_0x985a0:
UnknownScript_0x985a3:
spriteface $4, UP
spriteface $0, DOWN
spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, $4, 20
follow $0, $4
applymovement $0, MovementData_0x98622
follow PLAYER, $4
applymovement PLAYER, MovementData_0x98622
stopfollow
spriteface $0, RIGHT
spriteface PLAYER, RIGHT
loadfont
writetext UnknownText_0x98712
closetext