Clean up some hex values in map scripts

This commit is contained in:
Remy Oukaour 2018-01-09 18:45:25 -05:00
parent fbc353f206
commit 2f0973f3e0
101 changed files with 420 additions and 399 deletions

View File

@ -26,20 +26,28 @@ CHRIS EQU __enum__
KRIS EQU __enum__ KRIS EQU __enum__
trainerclass FALKNER ; 1 trainerclass FALKNER ; 1
const FALKNER1
trainerclass WHITNEY ; 2 trainerclass WHITNEY ; 2
const WHITNEY1
trainerclass BUGSY ; 3 trainerclass BUGSY ; 3
const BUGSY1
trainerclass MORTY ; 4 trainerclass MORTY ; 4
const MORTY1
trainerclass PRYCE ; 5 trainerclass PRYCE ; 5
const PRYCE1
trainerclass JASMINE ; 6 trainerclass JASMINE ; 6
const JASMINE1
trainerclass CHUCK ; 7 trainerclass CHUCK ; 7
const CHUCK1
trainerclass CLAIR ; 8 trainerclass CLAIR ; 8
const CLAIR1
trainerclass RIVAL1 ; 9 trainerclass RIVAL1 ; 9
const RIVAL1_1_CHIKORITA const RIVAL1_1_CHIKORITA
@ -61,6 +69,7 @@ KRIS EQU __enum__
trainerclass POKEMON_PROF ; a trainerclass POKEMON_PROF ; a
trainerclass WILL ; b trainerclass WILL ; b
const WILL1
trainerclass CAL ; c trainerclass CAL ; c
const CAL1 const CAL1
@ -68,19 +77,25 @@ KRIS EQU __enum__
const CAL3 const CAL3
trainerclass BRUNO ; d trainerclass BRUNO ; d
const BRUNO1
trainerclass KAREN ; e trainerclass KAREN ; e
const KAREN1
trainerclass KOGA ; f trainerclass KOGA ; f
const KOGA1
trainerclass CHAMPION ; 10 trainerclass CHAMPION ; 10
const LANCE const LANCE
trainerclass BROCK ; 11 trainerclass BROCK ; 11
const BROCK1
trainerclass MISTY ; 12 trainerclass MISTY ; 12
const MISTY1
trainerclass LT_SURGE ; 13 trainerclass LT_SURGE ; 13
const LT_SURGE1
trainerclass SCIENTIST ; 14 trainerclass SCIENTIST ; 14
const ROSS const ROSS
@ -90,6 +105,7 @@ KRIS EQU __enum__
const RICH const RICH
trainerclass ERIKA ; 15 trainerclass ERIKA ; 15
const ERIKA1
trainerclass YOUNGSTER ; 16 trainerclass YOUNGSTER ; 16
const JOEY1 const JOEY1
@ -174,6 +190,7 @@ KRIS EQU __enum__
const DANA5 const DANA5
trainerclass JANINE ; 1a trainerclass JANINE ; 1a
const JANINE1
trainerclass COOLTRAINERM ; 1b trainerclass COOLTRAINERM ; 1b
const NICK const NICK
@ -306,6 +323,7 @@ KRIS EQU __enum__
const SHIRLEY const SHIRLEY
trainerclass SABRINA ; 23 trainerclass SABRINA ; 23
const SABRINA1
trainerclass BUG_CATCHER ; 24 trainerclass BUG_CATCHER ; 24
const DON const DON
@ -478,6 +496,7 @@ KRIS EQU __enum__
const GLENN const GLENN
trainerclass BLAINE ; 2e trainerclass BLAINE ; 2e
const BLAINE1
trainerclass BURGLAR ; 2f trainerclass BURGLAR ; 2f
const DUNCAN const DUNCAN
@ -662,8 +681,10 @@ KRIS EQU __enum__
const JAIME const JAIME
trainerclass RED ; 3f trainerclass RED ; 3f
const RED1
trainerclass BLUE ; 40 trainerclass BLUE ; 40
const BLUE1
trainerclass OFFICER ; 41 trainerclass OFFICER ; 41
const KEITH const KEITH

View File

@ -23,7 +23,7 @@ AzaleaGymBugsyScript:
waitbutton waitbutton
closetext closetext
winlosstext BugsyText_ResearchIncomplete, 0 winlosstext BugsyText_ResearchIncomplete, 0
loadtrainer BUGSY, 1 loadtrainer BUGSY, BUGSY1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_BUGSY setevent EVENT_BEAT_BUGSY
@ -146,7 +146,7 @@ AzaleaGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext BUGSY, 1, $1 trainertotext BUGSY, BUGSY1, $1
jumpstd gymstatue2 jumpstd gymstatue2
BugsyText_INeverLose: BugsyText_INeverLose:

View File

@ -37,7 +37,7 @@ AzaleaTown_MapScriptHeader:
return return
AzaleaTownRivalBattleScene1: AzaleaTownRivalBattleScene1:
moveobject AZALEATOWN_SILVER, $b, $b moveobject AZALEATOWN_SILVER, 11, 11
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
special Special_FadeOutMusic special Special_FadeOutMusic
@ -102,7 +102,7 @@ AzaleaTownRivalBattleScript:
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleExitMovement applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleExitMovement
playsound SFX_EXIT_BUILDING playsound SFX_EXIT_BUILDING
disappear AZALEATOWN_SILVER disappear AZALEATOWN_SILVER
setscene $0 setscene 0
waitsfx waitsfx
playmapmusic playmapmusic
end end
@ -170,7 +170,7 @@ AzaleaTownCelebiScene:
setflag ENGINE_HAVE_EXAMINED_GS_BALL setflag ENGINE_HAVE_EXAMINED_GS_BALL
clearevent EVENT_ILEX_FOREST_LASS clearevent EVENT_ILEX_FOREST_LASS
setevent EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS setevent EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS
setscene $0 setscene 0
closetext closetext
end end

View File

@ -38,7 +38,7 @@ BattleTower1F_MapScriptHeader:
writebyte BATTLETOWERACTION_06 writebyte BATTLETOWERACTION_06
special BattleTowerAction special BattleTowerAction
.SkipEverything: .SkipEverything:
setscene $1 setscene 1
.Scene1: .Scene1:
end end
@ -81,10 +81,10 @@ Script_ChooseChallenge: ; 0x9e40f
writetext Text_SaveBeforeEnteringBattleRoom writetext Text_SaveBeforeEnteringBattleRoom
yesorno yesorno
iffalse Script_Menu_ChallengeExplanationCancel iffalse Script_Menu_ChallengeExplanationCancel
setscene $0 setscene 0
special Special_TryQuickSave special Special_TryQuickSave
iffalse Script_Menu_ChallengeExplanationCancel iffalse Script_Menu_ChallengeExplanationCancel
setscene $1 setscene 1
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags] writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags]
special BattleTowerAction special BattleTowerAction
special BattleTowerRoomMenu special BattleTowerRoomMenu
@ -105,9 +105,9 @@ Script_ResumeBattleTowerChallenge:
special BattleTowerAction special BattleTowerAction
Script_WalkToBattleTowerElevator: Script_WalkToBattleTowerElevator:
musicfadeout MUSIC_NONE, 8 musicfadeout MUSIC_NONE, 8
setmapscene BATTLE_TOWER_BATTLE_ROOM, $0 setmapscene BATTLE_TOWER_BATTLE_ROOM, 0
setmapscene BATTLE_TOWER_ELEVATOR, $0 setmapscene BATTLE_TOWER_ELEVATOR, 0
setmapscene BATTLE_TOWER_HALLWAY, $0 setmapscene BATTLE_TOWER_HALLWAY, 0
follow BATTLETOWER1F_RECEPTIONIST, PLAYER follow BATTLETOWER1F_RECEPTIONIST, PLAYER
applymovement BATTLETOWER1F_RECEPTIONIST, MovementData_BattleTower1FWalkToElevator applymovement BATTLETOWER1F_RECEPTIONIST, MovementData_BattleTower1FWalkToElevator
writebyte BATTLETOWERACTION_0A writebyte BATTLETOWERACTION_0A
@ -208,10 +208,10 @@ continue:
writetext Text_SaveBeforeReentry writetext Text_SaveBeforeReentry
yesorno yesorno
iffalse Script_Menu_ChallengeExplanationCancel iffalse Script_Menu_ChallengeExplanationCancel
setscene $0 setscene 0
special Special_TryQuickSave special Special_TryQuickSave
iffalse Script_Menu_ChallengeExplanationCancel iffalse Script_Menu_ChallengeExplanationCancel
setscene $1 setscene 1
writebyte BATTLETOWERACTION_06 writebyte BATTLETOWERACTION_06
special BattleTowerAction special BattleTowerAction
writebyte BATTLETOWERACTION_12 writebyte BATTLETOWERACTION_12

View File

@ -14,7 +14,7 @@ BattleTowerBattleRoom_MapScriptHeader:
.EnterBattleRoom: ; 0x9f419 .EnterBattleRoom: ; 0x9f419
disappear BATTLETOWERBATTLEROOM_YOUNGSTER disappear BATTLETOWERBATTLEROOM_YOUNGSTER
priorityjump Script_BattleRoom priorityjump Script_BattleRoom
setscene $1 setscene 1
.DummyScene: .DummyScene:
end end
@ -87,14 +87,14 @@ Script_DontSaveAndEndTheSession: ; 0x9f4a3
special BattleTowerAction special BattleTowerAction
closetext closetext
special FadeOutPalettes special FadeOutPalettes
warpfacing UP, BATTLE_TOWER_1F, $7, $7 warpfacing UP, BATTLE_TOWER_1F, 7, 7
opentext opentext
jump Script_BattleTowerHopeToServeYouAgain jump Script_BattleTowerHopeToServeYouAgain
Script_FailedBattleTowerChallenge: Script_FailedBattleTowerChallenge:
pause 60 pause 60
special Special_BattleTowerFade special Special_BattleTowerFade
warpfacing UP, BATTLE_TOWER_1F, $7, $7 warpfacing UP, BATTLE_TOWER_1F, 7, 7
writebyte BATTLETOWERACTION_CHALLENGECANCELED writebyte BATTLETOWERACTION_CHALLENGECANCELED
special BattleTowerAction special BattleTowerAction
opentext opentext
@ -106,7 +106,7 @@ Script_FailedBattleTowerChallenge:
Script_BeatenAllTrainers: ; 0x9f4d9 Script_BeatenAllTrainers: ; 0x9f4d9
pause 60 pause 60
special Special_BattleTowerFade special Special_BattleTowerFade
warpfacing UP, BATTLE_TOWER_1F, $7, $7 warpfacing UP, BATTLE_TOWER_1F, 7, 7
Script_BeatenAllTrainers2: Script_BeatenAllTrainers2:
opentext opentext
writetext Text_CongratulationsYouveBeatenAllTheTrainers writetext Text_CongratulationsYouveBeatenAllTheTrainers

View File

@ -12,7 +12,7 @@ BattleTowerElevator_MapScriptHeader:
.Scene0: .Scene0:
priorityjump .RideElevator priorityjump .RideElevator
setscene $1 setscene 1
.Scene1: .Scene1:
end end

View File

@ -12,7 +12,7 @@ BattleTowerHallway_MapScriptHeader:
.Scene0: .Scene0:
priorityjump .ChooseBattleRoom priorityjump .ChooseBattleRoom
setscene $1 setscene 1
.Scene1: .Scene1:
end end

View File

@ -16,15 +16,15 @@ BlackthornGym1F_MapScriptHeader:
.Boulders: .Boulders:
checkevent EVENT_BOULDER_IN_BLACKTHORN_GYM_1 checkevent EVENT_BOULDER_IN_BLACKTHORN_GYM_1
iffalse .skip1 iffalse .skip1
changeblock $8, $2, $3b changeblock 8, 2, $3b
.skip1 .skip1
checkevent EVENT_BOULDER_IN_BLACKTHORN_GYM_2 checkevent EVENT_BOULDER_IN_BLACKTHORN_GYM_2
iffalse .skip2 iffalse .skip2
changeblock $2, $4, $3a changeblock 2, 4, $3a
.skip2 .skip2
checkevent EVENT_BOULDER_IN_BLACKTHORN_GYM_3 checkevent EVENT_BOULDER_IN_BLACKTHORN_GYM_3
iffalse .skip3 iffalse .skip3
changeblock $8, $6, $3b changeblock 8, 6, $3b
.skip3 .skip3
return return
@ -39,7 +39,7 @@ BlackthornGymClairScript:
waitbutton waitbutton
closetext closetext
winlosstext ClairWinText, 0 winlosstext ClairWinText, 0
loadtrainer CLAIR, 1 loadtrainer CLAIR, CLAIR1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_CLAIR setevent EVENT_BEAT_CLAIR
@ -146,7 +146,7 @@ BlackthornGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext CLAIR, 1, $1 trainertotext CLAIR, CLAIR1, $1
jumpstd gymstatue2 jumpstd gymstatue2
ClairIntroText: ClairIntroText:

View File

@ -21,11 +21,11 @@ BrunosRoom_MapScriptHeader:
.BrunosRoomDoors: .BrunosRoomDoors:
checkevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED checkevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
iffalse .KeepDoorClosed iffalse .KeepDoorClosed
changeblock $4, $e, $2a changeblock 4, 14, $2a
.KeepDoorClosed: .KeepDoorClosed:
checkevent EVENT_BRUNOS_ROOM_EXIT_OPEN checkevent EVENT_BRUNOS_ROOM_EXIT_OPEN
iffalse .OpenDoor iffalse .OpenDoor
changeblock $4, $2, $16 changeblock 4, 2, $16
.OpenDoor: .OpenDoor:
return return
@ -34,10 +34,10 @@ BrunosRoom_MapScriptHeader:
refreshscreen $86 refreshscreen $86
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $e, $2a changeblock 4, 14, $2a
reloadmappart reloadmappart
closetext closetext
setscene $1 setscene 1
setevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED setevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
waitsfx waitsfx
end end
@ -51,7 +51,7 @@ BrunoScript_Battle:
waitbutton waitbutton
closetext closetext
winlosstext BrunoScript_BrunoBeatenText, 0 winlosstext BrunoScript_BrunoBeatenText, 0
loadtrainer BRUNO, 1 loadtrainer BRUNO, BRUNO1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_ELITE_4_BRUNO setevent EVENT_BEAT_ELITE_4_BRUNO
@ -60,7 +60,7 @@ BrunoScript_Battle:
waitbutton waitbutton
closetext closetext
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $4, $2, $16 changeblock 4, 2, $16
reloadmappart reloadmappart
closetext closetext
setevent EVENT_BRUNOS_ROOM_EXIT_OPEN setevent EVENT_BRUNOS_ROOM_EXIT_OPEN

View File

@ -29,11 +29,11 @@ BurnedTower1F_MapScriptHeader:
.HoleAndLadder: .HoleAndLadder:
checkevent EVENT_HOLE_IN_BURNED_TOWER checkevent EVENT_HOLE_IN_BURNED_TOWER
iftrue .Next iftrue .Next
changeblock $a, $8, $32 ; hole changeblock 10, 8, $32 ; hole
.Next: .Next:
checkevent EVENT_RELEASED_THE_BEASTS checkevent EVENT_RELEASED_THE_BEASTS
iftrue .Done iftrue .Done
changeblock $6, $e, $9 ; ladder changeblock 6, 14, $9 ; ladder
.Done: .Done:
return return
@ -45,8 +45,8 @@ BurnedTower1F_MapScriptHeader:
writetext BurnedTower1FEusineIntroText writetext BurnedTower1FEusineIntroText
waitbutton waitbutton
closetext closetext
moveobject BURNEDTOWER1F_EUSINE, $9, $e moveobject BURNEDTOWER1F_EUSINE, 9, 14
setscene $1 setscene 1
end end
BurnedTowerRivalBattleScript: BurnedTowerRivalBattleScript:
@ -98,7 +98,7 @@ BurnedTowerRivalBattleScript:
writetext BurnedTowerSilver_AfterText1 writetext BurnedTowerSilver_AfterText1
waitbutton waitbutton
closetext closetext
setscene $2 setscene 2
setevent EVENT_RIVAL_BURNED_TOWER setevent EVENT_RIVAL_BURNED_TOWER
special Special_FadeOutMusic special Special_FadeOutMusic
pause 15 pause 15
@ -106,7 +106,7 @@ BurnedTowerRivalBattleScript:
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
waitsfx waitsfx
changeblock $a, $8, $25 changeblock 10, 8, $25
reloadmappart reloadmappart
pause 15 pause 15
applymovement PLAYER, BurnedTower1FMovement_PlayerStartsToFall applymovement PLAYER, BurnedTower1FMovement_PlayerStartsToFall

View File

@ -28,7 +28,7 @@ BurnedTowerB1F_MapScriptHeader:
.LadderCallback: .LadderCallback:
checkevent EVENT_RELEASED_THE_BEASTS checkevent EVENT_RELEASED_THE_BEASTS
iftrue .NoChange iftrue .NoChange
changeblock $6, $e, $2 changeblock 6, 14, $2
.NoChange: .NoChange:
return return
@ -81,11 +81,11 @@ ReleaseTheBeasts:
disappear BURNEDTOWERB1F_SUICUNE1 disappear BURNEDTOWERB1F_SUICUNE1
waitsfx waitsfx
special RestartMapMusic special RestartMapMusic
setscene $1 setscene 1
setevent EVENT_RELEASED_THE_BEASTS setevent EVENT_RELEASED_THE_BEASTS
special InitRoamMons special InitRoamMons
setmapscene ECRUTEAK_GYM, $1 setmapscene ECRUTEAK_GYM, 1
setmapscene CIANWOOD_CITY, $1 setmapscene CIANWOOD_CITY, 1
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setevent EVENT_ECRUTEAK_GYM_GRAMPS setevent EVENT_ECRUTEAK_GYM_GRAMPS
clearevent EVENT_ECRUTEAK_CITY_GRAMPS clearevent EVENT_ECRUTEAK_CITY_GRAMPS
@ -93,10 +93,10 @@ ReleaseTheBeasts:
setevent EVENT_BURNED_TOWER_1F_EUSINE setevent EVENT_BURNED_TOWER_1F_EUSINE
appear BURNEDTOWERB1F_EUSINE appear BURNEDTOWERB1F_EUSINE
refreshscreen $0 refreshscreen $0
changeblock $6, $e, $1b changeblock 6, 14, $1b
reloadmappart reloadmappart
closetext closetext
setscene $1 setscene 1
end end
BurnedTowerB1FEusine: BurnedTowerB1FEusine:

View File

@ -11,7 +11,7 @@ CeladonDeptStore6F_MapScriptHeader:
dbw MAPCALLBACK_TILES, .Callback dbw MAPCALLBACK_TILES, .Callback
.Callback: .Callback:
changeblock $c, $0, $3 changeblock 12, 0, $3
return return
CeladonDeptStore6FSuperNerdScript: CeladonDeptStore6FSuperNerdScript:

View File

@ -22,7 +22,7 @@ ErikaScript_0x72a6a:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x72c3e, 0 winlosstext UnknownText_0x72c3e, 0
loadtrainer ERIKA, 1 loadtrainer ERIKA, ERIKA1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_ERIKA setevent EVENT_BEAT_ERIKA
@ -109,7 +109,7 @@ CeladonGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext ERIKA, 1, $1 trainertotext ERIKA, ERIKA1, $1
jumpstd gymstatue2 jumpstd gymstatue2
UnknownText_0x72b28: UnknownText_0x72b28:

View File

@ -133,7 +133,7 @@ NoBeastsText:
para "#MON RAIKOU and" para "#MON RAIKOU and"
line "ENTEI?" line "ENTEI?"
para $56, $56, $56 para "<......><......><......>"
para "Okay…" para "Okay…"

View File

@ -48,9 +48,9 @@ CeruleanGym_MapScriptHeader:
setevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM setevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
clearevent EVENT_ROUTE_24_ROCKET clearevent EVENT_ROUTE_24_ROCKET
clearevent EVENT_ROUTE_25_MISTY_BOYFRIEND clearevent EVENT_ROUTE_25_MISTY_BOYFRIEND
setscene $0 setscene 0
setmapscene ROUTE_25, $1 setmapscene ROUTE_25, 1
setmapscene POWER_PLANT, $0 setmapscene POWER_PLANT, 0
waitsfx waitsfx
special RestartMapMusic special RestartMapMusic
pause 15 pause 15
@ -67,7 +67,7 @@ MistyScript_0x188432:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x18870c, 0 winlosstext UnknownText_0x18870c, 0
loadtrainer MISTY, 1 loadtrainer MISTY, MISTY1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_MISTY setevent EVENT_BEAT_MISTY
@ -161,7 +161,7 @@ CeruleanGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext MISTY, 1, $1 trainertotext MISTY, MISTY1, $1
jumpstd gymstatue2 jumpstd gymstatue2
MovementData_0x1884e3: MovementData_0x1884e3:
@ -178,9 +178,9 @@ MovementData_0x1884e8:
MovementData_0x1884eb: MovementData_0x1884eb:
fix_facing fix_facing
db $39 ; movement set_sliding
jump_step UP jump_step UP
db $38 ; movement remove_sliding
remove_fixed_facing remove_fixed_facing
step_sleep 8 step_sleep 8
step_sleep 8 step_sleep 8

View File

@ -101,7 +101,7 @@ CherrygroveCityGuideGent:
end end
CherrygroveSilverSceneSouth: CherrygroveSilverSceneSouth:
moveobject CHERRYGROVECITY_SILVER, $27, $7 moveobject CHERRYGROVECITY_SILVER, 39, 7
CherrygroveSilverSceneNorth: CherrygroveSilverSceneNorth:
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
@ -171,7 +171,7 @@ CherrygroveSilverSceneNorth:
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement CHERRYGROVECITY_SILVER, CherrygroveCity_RivalExitsStageLeft applymovement CHERRYGROVECITY_SILVER, CherrygroveCity_RivalExitsStageLeft
disappear CHERRYGROVECITY_SILVER disappear CHERRYGROVECITY_SILVER
setscene $0 setscene 0
special HealParty special HealParty
playmapmusic playmapmusic
end end

View File

@ -49,9 +49,9 @@ CianwoodCitySuicuneAndEusine:
applymovement CIANWOODCITY_SUICUNE, MovementData_0x1a00e0 applymovement CIANWOODCITY_SUICUNE, MovementData_0x1a00e0
disappear CIANWOODCITY_SUICUNE disappear CIANWOODCITY_SUICUNE
pause 10 pause 10
setscene $0 setscene 0
clearevent EVENT_SAW_SUICUNE_ON_ROUTE_42 clearevent EVENT_SAW_SUICUNE_ON_ROUTE_42
setmapscene ROUTE_42, $1 setmapscene ROUTE_42, 1
checkevent EVENT_FOUGHT_EUSINE checkevent EVENT_FOUGHT_EUSINE
iftrue .Done iftrue .Done
setevent EVENT_FOUGHT_EUSINE setevent EVENT_FOUGHT_EUSINE
@ -151,20 +151,20 @@ CianwoodCityHiddenMaxEther:
dwb EVENT_CIANWOOD_CITY_HIDDEN_MAX_ETHER, MAX_ETHER dwb EVENT_CIANWOOD_CITY_HIDDEN_MAX_ETHER, MAX_ETHER
MovementData_0x1a00da: MovementData_0x1a00da:
db $39 ; movement set_sliding
fast_jump_step DOWN fast_jump_step DOWN
fast_jump_step DOWN fast_jump_step DOWN
fast_jump_step RIGHT fast_jump_step RIGHT
db $38 ; movement remove_sliding
step_end step_end
MovementData_0x1a00e0: MovementData_0x1a00e0:
db $39 ; movement set_sliding
fast_jump_step RIGHT fast_jump_step RIGHT
fast_jump_step UP fast_jump_step UP
fast_jump_step RIGHT fast_jump_step RIGHT
fast_jump_step RIGHT fast_jump_step RIGHT
db $38 ; movement remove_sliding
step_end step_end
MovementData_0x1a00e7: MovementData_0x1a00e7:

View File

@ -40,7 +40,7 @@ ChuckScript_0x9d60f:
waitbutton waitbutton
closetext closetext
winlosstext ChuckLossText, 0 winlosstext ChuckLossText, 0
loadtrainer CHUCK, 1 loadtrainer CHUCK, CHUCK1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_CHUCK setevent EVENT_BEAT_CHUCK
@ -138,7 +138,7 @@ CianwoodGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext CHUCK, 1, $1 trainertotext CHUCK, CHUCK1, $1
jumpstd gymstatue2 jumpstd gymstatue2
CianwoodGymMovement_ChuckChucksBoulder: CianwoodGymMovement_ChuckChucksBoulder:

View File

@ -37,12 +37,12 @@ Colosseum_MapScriptHeader:
return return
.PreparePokecenter2F: .PreparePokecenter2F:
setmapscene POKECENTER_2F, $2 setmapscene POKECENTER_2F, 2
return return
.InitializeAndPreparePokecenter2F: .InitializeAndPreparePokecenter2F:
setscene $1 setscene 1
setmapscene POKECENTER_2F, $2 setmapscene POKECENTER_2F, 2
end end
MapColosseumSignpost1Script: MapColosseumSignpost1Script:

View File

@ -165,8 +165,8 @@ DragonShrine_MapScriptHeader:
waitsfx waitsfx
special RestartMapMusic special RestartMapMusic
specialphonecall SPECIALCALL_MASTERBALL specialphonecall SPECIALCALL_MASTERBALL
setscene $1 setscene 1
setmapscene DRAGONS_DEN_B1F, $1 setmapscene DRAGONS_DEN_B1F, 1
writetext UnknownText_0x18d9f2 writetext UnknownText_0x18d9f2
buttonsound buttonsound
writetext UnknownText_0x18da0b writetext UnknownText_0x18da0b
@ -614,7 +614,7 @@ UnknownText_0x18d916:
para "You did fail?" para "You did fail?"
para $56, $56, $56, $56, $56, $56 para "<......><......><......><......><......><......>"
para "…What? You passed?" para "…What? You passed?"
done done
@ -665,7 +665,7 @@ UnknownText_0x18da0b:
done done
UnknownText_0x18dab4: UnknownText_0x18dab4:
text $56, $56, $56, $56, $56, $56 text "<......><......><......><......><......><......>"
done done
DragonShrine_MapEventHeader: DragonShrine_MapEventHeader:

View File

@ -80,7 +80,7 @@ DragonsDenB1F_ClairScene:
pause 30 pause 30
special RestartMapMusic special RestartMapMusic
disappear DRAGONSDENB1F_CLAIR disappear DRAGONSDENB1F_CLAIR
setscene $0 setscene 0
end end
TrainerCooltrainermDarin: TrainerCooltrainermDarin:

View File

@ -32,7 +32,7 @@ MortyScript_0x99d58:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x9a00a, 0 winlosstext UnknownText_0x9a00a, 0
loadtrainer MORTY, 1 loadtrainer MORTY, MORTY1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_MORTY setevent EVENT_BEAT_MORTY
@ -43,7 +43,7 @@ MortyScript_0x99d58:
setflag ENGINE_FOGBADGE setflag ENGINE_FOGBADGE
checkcode VAR_BADGES checkcode VAR_BADGES
scall EcruteakGymActivateRockets scall EcruteakGymActivateRockets
setmapscene ECRUTEAK_HOUSE, $1 setmapscene ECRUTEAK_HOUSE, 1
setevent EVENT_RANG_CLEAR_BELL_1 setevent EVENT_RANG_CLEAR_BELL_1
setevent EVENT_RANG_CLEAR_BELL_2 setevent EVENT_RANG_CLEAR_BELL_2
.FightDone: .FightDone:
@ -94,7 +94,7 @@ EcruteakGymClosed:
special FadeOutPalettes special FadeOutPalettes
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
waitsfx waitsfx
warp ECRUTEAK_CITY, $6, $1b warp ECRUTEAK_CITY, 6, 27
end end
TrainerSageJeffrey: TrainerSageJeffrey:
@ -162,7 +162,7 @@ EcruteakGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext MORTY, 1, $1 trainertotext MORTY, MORTY1, $1
jumpstd gymstatue2 jumpstd gymstatue2
MovementData_0x99e5d: MovementData_0x99e5d:

View File

@ -35,7 +35,7 @@ EcruteakHouse_MapScriptHeader:
setevent EVENT_ECRUTEAK_HOUSE_WANDERING_SAGE setevent EVENT_ECRUTEAK_HOUSE_WANDERING_SAGE
checkitem CLEAR_BELL checkitem CLEAR_BELL
iftrue .NoClearBell iftrue .NoClearBell
setscene $0 setscene 0
.NoClearBell: .NoClearBell:
return return
@ -47,7 +47,7 @@ EcruteakHouse_CoordEvent1:
checkevent EVENT_RANG_CLEAR_BELL_2 checkevent EVENT_RANG_CLEAR_BELL_2
iftrue EcruteakHouse_CoordEvent_DontMove iftrue EcruteakHouse_CoordEvent_DontMove
applymovement ECRUTEAKHOUSE_SAGE2, MovementData_0x980c7 applymovement ECRUTEAKHOUSE_SAGE2, MovementData_0x980c7
moveobject ECRUTEAKHOUSE_SAGE1, $4, $6 moveobject ECRUTEAKHOUSE_SAGE1, 4, 6
appear ECRUTEAKHOUSE_SAGE1 appear ECRUTEAKHOUSE_SAGE1
pause 5 pause 5
disappear ECRUTEAKHOUSE_SAGE2 disappear ECRUTEAKHOUSE_SAGE2
@ -57,7 +57,7 @@ EcruteakHouse_CoordEvent2:
checkevent EVENT_RANG_CLEAR_BELL_1 checkevent EVENT_RANG_CLEAR_BELL_1
iftrue EcruteakHouse_CoordEvent_DontMove iftrue EcruteakHouse_CoordEvent_DontMove
applymovement ECRUTEAKHOUSE_SAGE1, MovementData_0x980cc applymovement ECRUTEAKHOUSE_SAGE1, MovementData_0x980cc
moveobject ECRUTEAKHOUSE_SAGE2, $5, $6 moveobject ECRUTEAKHOUSE_SAGE2, 5, 6
appear ECRUTEAKHOUSE_SAGE2 appear ECRUTEAKHOUSE_SAGE2
pause 5 pause 5
disappear ECRUTEAKHOUSE_SAGE1 disappear ECRUTEAKHOUSE_SAGE1
@ -100,7 +100,7 @@ SageScript_0x98062:
writetext UnknownText_0x98250 writetext UnknownText_0x98250
waitbutton waitbutton
closetext closetext
setscene $1 setscene 1
setevent EVENT_RANG_CLEAR_BELL_2 setevent EVENT_RANG_CLEAR_BELL_2
clearevent EVENT_RANG_CLEAR_BELL_1 clearevent EVENT_RANG_CLEAR_BELL_1
setevent EVENT_GAVE_KURT_APRICORNS setevent EVENT_GAVE_KURT_APRICORNS
@ -202,7 +202,7 @@ UnknownText_0x98250:
line "but I must ask you" line "but I must ask you"
cont "to leave." cont "to leave."
para $56, $56, $56 para "<......><......><......>"
para "Ah!" para "Ah!"

View File

@ -53,7 +53,7 @@ EcruteakPokecenter1F_MapScriptHeader:
disappear ECRUTEAKPOKECENTER1F_BILL disappear ECRUTEAKPOKECENTER1F_BILL
clearevent EVENT_MET_BILL clearevent EVENT_MET_BILL
setflag ENGINE_TIME_CAPSULE setflag ENGINE_TIME_CAPSULE
setscene $1 setscene 1
waitsfx waitsfx
end end

View File

@ -42,7 +42,7 @@ ElmsLab_MapScriptHeader:
.MoveElmCallback: .MoveElmCallback:
checkscene checkscene
iftrue .Skip iftrue .Skip
moveobject ELMSLAB_ELM, $3, $4 moveobject ELMSLAB_ELM, 3, 4
.Skip: .Skip:
return return
@ -84,7 +84,7 @@ ElmsLab_MapScriptHeader:
opentext opentext
writetext ElmText_ChooseAPokemon writetext ElmText_ChooseAPokemon
waitbutton waitbutton
setscene $1 setscene 1
closetext closetext
end end
@ -274,8 +274,8 @@ ElmDirectionsScript:
closetext closetext
setevent EVENT_GOT_A_POKEMON_FROM_ELM setevent EVENT_GOT_A_POKEMON_FROM_ELM
setevent EVENT_RIVAL_CHERRYGROVE_CITY setevent EVENT_RIVAL_CHERRYGROVE_CITY
setscene $5 setscene 5
setmapscene NEW_BARK_TOWN, $1 setmapscene NEW_BARK_TOWN, 1
end end
ElmDescribesMrPokemonScript: ElmDescribesMrPokemonScript:
@ -341,13 +341,13 @@ ElmAfterTheftScript:
buttonsound buttonsound
setevent EVENT_GAVE_MYSTERY_EGG_TO_ELM setevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
setflag ENGINE_BUG_CONTEST_ON setflag ENGINE_BUG_CONTEST_ON
setmapscene ROUTE_29, $1 setmapscene ROUTE_29, 1
clearevent EVENT_ROUTE_30_YOUNGSTER_JOEY clearevent EVENT_ROUTE_30_YOUNGSTER_JOEY
setevent EVENT_ROUTE_30_BATTLE setevent EVENT_ROUTE_30_BATTLE
writetext ElmAfterTheftText6 writetext ElmAfterTheftText6
waitbutton waitbutton
closetext closetext
setscene $6 setscene 6
end end
ElmStudyingEggScript: ElmStudyingEggScript:
@ -479,7 +479,7 @@ AideScript_GivePotions:
writetext AideText_AlwaysBusy writetext AideText_AlwaysBusy
waitbutton waitbutton
closetext closetext
setscene $2 setscene 2
end end
AideScript_WalkBalls1: AideScript_WalkBalls1:
@ -507,7 +507,7 @@ AideScript_GiveYouBalls:
buttonsound buttonsound
itemnotify itemnotify
closetext closetext
setscene $2 setscene 2
end end
AideScript_ReceiveTheBalls: AideScript_ReceiveTheBalls:
@ -562,7 +562,7 @@ CopScript:
closetext closetext
applymovement ELMSLAB_OFFICER, OfficerLeavesMovement applymovement ELMSLAB_OFFICER, OfficerLeavesMovement
disappear ELMSLAB_OFFICER disappear ELMSLAB_OFFICER
setscene $2 setscene 2
end end
ElmsLabWindow: ElmsLabWindow:
@ -794,7 +794,7 @@ ElmText_GotAnEmail:
text "Oh, hey! I got an" text "Oh, hey! I got an"
line "e-mail!" line "e-mail!"
para $56, $56, $56 para "<......><......><......>"
line "Hm… Uh-huh…" line "Hm… Uh-huh…"
para "Okay…" para "Okay…"

View File

@ -35,11 +35,11 @@ FastShip1F_MapScriptHeader:
clearevent EVENT_FAST_SHIP_HAS_ARRIVED clearevent EVENT_FAST_SHIP_HAS_ARRIVED
checkevent EVENT_FAST_SHIP_FIRST_TIME checkevent EVENT_FAST_SHIP_FIRST_TIME
iftrue .SkipGrandpa iftrue .SkipGrandpa
setscene $2 setscene 2
end end
.SkipGrandpa: .SkipGrandpa:
setscene $0 setscene 0
end end
SailorScript_0x75160: SailorScript_0x75160:
@ -71,8 +71,8 @@ SailorScript_0x75160:
special FadeOutPalettes special FadeOutPalettes
waitsfx waitsfx
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
setmapscene VERMILION_PORT, $1 setmapscene VERMILION_PORT, 1
warp VERMILION_PORT, $7, $11 warp VERMILION_PORT, 7, 17
end end
._Olivine: ._Olivine:
@ -84,8 +84,8 @@ SailorScript_0x75160:
special FadeOutPalettes special FadeOutPalettes
waitsfx waitsfx
setevent EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY setevent EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY
setmapscene OLIVINE_PORT, $1 setmapscene OLIVINE_PORT, 1
warp OLIVINE_PORT, $7, $17 warp OLIVINE_PORT, 7, 23
end end
.LetThePlayerOut: .LetThePlayerOut:
@ -120,7 +120,7 @@ FastShip1FSailorScript:
jumptextfaceplayer FastShip1FSailorText jumptextfaceplayer FastShip1FSailorText
WorriedGrandpaSceneRight: WorriedGrandpaSceneRight:
moveobject FASTSHIP1F_GENTLEMAN, $14, $6 moveobject FASTSHIP1F_GENTLEMAN, 20, 6
WorriedGrandpaSceneLeft: WorriedGrandpaSceneLeft:
appear FASTSHIP1F_GENTLEMAN appear FASTSHIP1F_GENTLEMAN
@ -135,7 +135,7 @@ WorriedGrandpaSceneLeft:
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75222 applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75222
disappear FASTSHIP1F_GENTLEMAN disappear FASTSHIP1F_GENTLEMAN
setscene $0 setscene 0
end end
MovementData_0x7520e: MovementData_0x7520e:

View File

@ -31,7 +31,7 @@ UnknownScript_0x7673c:
checkevent EVENT_FAST_SHIP_B1F_SAILOR_RIGHT checkevent EVENT_FAST_SHIP_B1F_SAILOR_RIGHT
iftrue UnknownScript_0x76766 iftrue UnknownScript_0x76766
applymovement FASTSHIPB1F_SAILOR2, MovementData_0x76876 applymovement FASTSHIPB1F_SAILOR2, MovementData_0x76876
moveobject FASTSHIPB1F_SAILOR1, $1e, $6 moveobject FASTSHIPB1F_SAILOR1, 30, 6
appear FASTSHIPB1F_SAILOR1 appear FASTSHIPB1F_SAILOR1
pause 5 pause 5
disappear FASTSHIPB1F_SAILOR2 disappear FASTSHIPB1F_SAILOR2
@ -41,7 +41,7 @@ UnknownScript_0x76751:
checkevent EVENT_FAST_SHIP_B1F_SAILOR_LEFT checkevent EVENT_FAST_SHIP_B1F_SAILOR_LEFT
iftrue UnknownScript_0x76766 iftrue UnknownScript_0x76766
applymovement FASTSHIPB1F_SAILOR1, MovementData_0x76871 applymovement FASTSHIPB1F_SAILOR1, MovementData_0x76871
moveobject FASTSHIPB1F_SAILOR2, $1f, $6 moveobject FASTSHIPB1F_SAILOR2, 31, 6
appear FASTSHIPB1F_SAILOR2 appear FASTSHIPB1F_SAILOR2
pause 5 pause 5
disappear FASTSHIPB1F_SAILOR1 disappear FASTSHIPB1F_SAILOR1

View File

@ -98,7 +98,7 @@ SailorScript_0x755f1:
waitbutton waitbutton
closetext closetext
setevent EVENT_FAST_SHIP_LAZY_SAILOR setevent EVENT_FAST_SHIP_LAZY_SAILOR
setmapscene FAST_SHIP_B1F, $1 setmapscene FAST_SHIP_B1F, 1
checkcode VAR_FACING checkcode VAR_FACING
if_equal $3, UnknownScript_0x75629 if_equal $3, UnknownScript_0x75629
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x75637 applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x75637

View File

@ -52,7 +52,7 @@ SSAquaGranddaughterBefore:
special Special_ReloadSpritesNoPalettes special Special_ReloadSpritesNoPalettes
disappear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2 disappear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2
applymovement PLAYER, MovementData_0x76004 applymovement PLAYER, MovementData_0x76004
moveobject FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, $3, $13 moveobject FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, 3, 19
appear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1 appear FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1
spriteface PLAYER, UP spriteface PLAYER, UP
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, UP spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN1, UP
@ -81,7 +81,7 @@ SSAquaGranddaughterBefore:
writetext SSAquaEntertainedGranddaughterText writetext SSAquaEntertainedGranddaughterText
buttonsound buttonsound
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
setmapscene FAST_SHIP_1F, $0 setmapscene FAST_SHIP_1F, 0
jump SSAquaMetalCoatAndDocking jump SSAquaMetalCoatAndDocking
SSAquaGrandpa: SSAquaGrandpa:
@ -94,7 +94,7 @@ SSAquaGrandpa:
writetext SSAquaCantFindGranddaughterText writetext SSAquaCantFindGranddaughterText
waitbutton waitbutton
closetext closetext
setmapscene FAST_SHIP_1F, $0 setmapscene FAST_SHIP_1F, 0
end end
SSAquaMetalCoatAndDocking: SSAquaMetalCoatAndDocking:

View File

@ -23,7 +23,7 @@ FuchsiaGymJanineScript:
waitbutton waitbutton
closetext closetext
winlosstext JanineText_ToughOne, 0 winlosstext JanineText_ToughOne, 0
loadtrainer JANINE, 1 loadtrainer JANINE, JANINE1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_JANINE setevent EVENT_BEAT_JANINE
@ -216,7 +216,7 @@ FuchsiaGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext JANINE, 1, $1 trainertotext JANINE, JANINE1, $1
jumpstd gymstatue2 jumpstd gymstatue2
Movement_NinjaSpin: Movement_NinjaSpin:

View File

@ -105,8 +105,8 @@ GoldenrodClangText:
text "Clang! A can of" text "Clang! A can of"
line "@" line "@"
text_from_ram StringBuffer3 text_from_ram StringBuffer3
text $55 text ""
db "popped out!" cont "popped out!"
done done
GoldenrodVendingNoMoneyText: GoldenrodVendingNoMoneyText:

View File

@ -23,7 +23,7 @@ UnknownScript_0x7d781:
jump UnknownScript_0x7d791 jump UnknownScript_0x7d791
UnknownScript_0x7d78a: UnknownScript_0x7d78a:
changeblock $10, $4, $d changeblock 16, 4, $d
jump UnknownScript_0x7d791 jump UnknownScript_0x7d791
UnknownScript_0x7d791: UnknownScript_0x7d791:
@ -31,15 +31,15 @@ UnknownScript_0x7d791:
iftrue .Layout2 iftrue .Layout2
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3 checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
iftrue .Layout3 iftrue .Layout3
changeblock $a, $8, $d changeblock 10, 8, $d
return return
.Layout2: .Layout2:
changeblock $4, $a, $d changeblock 4, 10, $d
return return
.Layout3: .Layout3:
changeblock $a, $c, $d changeblock 10, 12, $d
return return
UnknownScript_0x7d7ac: UnknownScript_0x7d7ac:

View File

@ -23,8 +23,8 @@ GoldenrodDeptStoreRoof_MapScriptHeader:
return return
.ChangeBlock: .ChangeBlock:
changeblock $0, $2, $3f changeblock 0, 2, $3f
changeblock $0, $4, $f changeblock 0, 4, $f
return return
.CheckSaleChangeClerk: .CheckSaleChangeClerk:

View File

@ -30,12 +30,12 @@ WhitneyScript_0x5400c:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x541a5, 0 winlosstext UnknownText_0x541a5, 0
loadtrainer WHITNEY, 1 loadtrainer WHITNEY, WHITNEY1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_WHITNEY setevent EVENT_BEAT_WHITNEY
setevent EVENT_MADE_WHITNEY_CRY setevent EVENT_MADE_WHITNEY_CRY
setscene $1 setscene 1
setevent EVENT_BEAT_BEAUTY_VICTORIA setevent EVENT_BEAT_BEAUTY_VICTORIA
setevent EVENT_BEAT_BEAUTY_SAMANTHA setevent EVENT_BEAT_BEAUTY_SAMANTHA
setevent EVENT_BEAT_LASS_CARRIE setevent EVENT_BEAT_LASS_CARRIE
@ -112,7 +112,7 @@ WhitneyCriesScript:
waitbutton waitbutton
closetext closetext
applymovement GOLDENRODGYM_LASS2, BridgetWalksAwayMovement applymovement GOLDENRODGYM_LASS2, BridgetWalksAwayMovement
setscene $0 setscene 0
clearevent EVENT_MADE_WHITNEY_CRY clearevent EVENT_MADE_WHITNEY_CRY
end end
@ -171,7 +171,7 @@ GoldenrodGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext WHITNEY, 1, $1 trainertotext WHITNEY, WHITNEY1, $1
jumpstd gymstatue2 jumpstd gymstatue2
BridgetWalksUpMovement: BridgetWalksUpMovement:

View File

@ -39,7 +39,7 @@ OfficerScript_0x550ec:
warpcheck warpcheck
newloadmap MAPSETUP_TRAIN newloadmap MAPSETUP_TRAIN
applymovement PLAYER, .MovementBoardTheTrain applymovement PLAYER, .MovementBoardTheTrain
wait $14 wait 20
end end
.MovementBoardTheTrain: .MovementBoardTheTrain:

View File

@ -25,7 +25,7 @@ GoldenrodPokecenter1F_GSBallSceneLeft:
checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
iftrue .cancel iftrue .cancel
playsound SFX_EXIT_BUILDING playsound SFX_EXIT_BUILDING
moveobject GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, $0, $7 moveobject GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, 0, 7
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
playmusic MUSIC_SHOW_ME_AROUND playmusic MUSIC_SHOW_ME_AROUND
@ -57,7 +57,7 @@ GoldenrodPokecenter1F_GSBallSceneRight:
checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
iftrue .cancel iftrue .cancel
playsound SFX_EXIT_BUILDING playsound SFX_EXIT_BUILDING
moveobject GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, $0, $7 moveobject GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, 0, 7
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
playmusic MUSIC_SHOW_ME_AROUND playmusic MUSIC_SHOW_ME_AROUND

View File

@ -45,7 +45,7 @@ GoldenrodUnderground_MapScriptHeader:
return return
.LockBasementDoor: .LockBasementDoor:
changeblock $12, $6, $3d changeblock 18, 6, $3d
return return
.CheckDayOfWeek: .CheckDayOfWeek:
@ -384,7 +384,7 @@ BasementDoorScript::
writetext UnknownText_0x7c5d6 writetext UnknownText_0x7c5d6
waitbutton waitbutton
closetext closetext
changeblock $12, $6, $2e changeblock 18, 6, $2e
reloadmappart reloadmappart
closetext closetext
setevent EVENT_USED_BASEMENT_KEY setevent EVENT_USED_BASEMENT_KEY

View File

@ -28,7 +28,7 @@ HallOfFame_MapScriptHeader:
closetext closetext
spriteface HALLOFFAME_LANCE, UP spriteface HALLOFFAME_LANCE, UP
applymovement PLAYER, HallOfFame_SlowlyApproachMachine applymovement PLAYER, HallOfFame_SlowlyApproachMachine
setscene $1 setscene 1
pause 15 pause 15
writebyte 2 ; Machine is in the Hall of Fame writebyte 2 ; Machine is in the Hall of Fame
special HealMachineAnim special HealMachineAnim
@ -38,7 +38,7 @@ HallOfFame_MapScriptHeader:
clearevent EVENT_RED_IN_MT_SILVER clearevent EVENT_RED_IN_MT_SILVER
setevent EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME setevent EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
clearevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME clearevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
setmapscene SPROUT_TOWER_3F, $1 setmapscene SPROUT_TOWER_3F, 1
special HealParty special HealParty
checkevent EVENT_GOT_SS_TICKET_FROM_ELM checkevent EVENT_GOT_SS_TICKET_FROM_ELM
iftrue .SkipPhoneCall iftrue .SkipPhoneCall

View File

@ -37,52 +37,52 @@ IlexForest_MapScriptHeader:
return return
.PositionOne: .PositionOne:
moveobject ILEXFOREST_FARFETCHD, $e, $1f moveobject ILEXFOREST_FARFETCHD, 14, 31
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionTwo: .PositionTwo:
moveobject ILEXFOREST_FARFETCHD, $f, $19 moveobject ILEXFOREST_FARFETCHD, 15, 25
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionThree: .PositionThree:
moveobject ILEXFOREST_FARFETCHD, $14, $18 moveobject ILEXFOREST_FARFETCHD, 20, 24
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionFour: .PositionFour:
moveobject ILEXFOREST_FARFETCHD, $1d, $16 moveobject ILEXFOREST_FARFETCHD, 29, 22
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionFive: .PositionFive:
moveobject ILEXFOREST_FARFETCHD, $1c, $1f moveobject ILEXFOREST_FARFETCHD, 28, 31
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionSix: .PositionSix:
moveobject ILEXFOREST_FARFETCHD, $18, $23 moveobject ILEXFOREST_FARFETCHD, 24, 35
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionSeven: .PositionSeven:
moveobject ILEXFOREST_FARFETCHD, $16, $1f moveobject ILEXFOREST_FARFETCHD, 22, 31
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionEight: .PositionEight:
moveobject ILEXFOREST_FARFETCHD, $f, $1d moveobject ILEXFOREST_FARFETCHD, 15, 29
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionNine: .PositionNine:
moveobject ILEXFOREST_FARFETCHD, $a, $23 moveobject ILEXFOREST_FARFETCHD, 10, 35
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
.PositionTen: .PositionTen:
moveobject ILEXFOREST_FARFETCHD, $6, $1c moveobject ILEXFOREST_FARFETCHD, 6, 28
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
return return
@ -125,7 +125,7 @@ IlexForestFarfetchdScript:
waitbutton waitbutton
closetext closetext
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos1_Pos2 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos1_Pos2
moveobject ILEXFOREST_FARFETCHD, $f, $19 moveobject ILEXFOREST_FARFETCHD, 15, 25
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 2 loadvar FarfetchdPosition, 2
@ -135,7 +135,7 @@ IlexForestFarfetchdScript:
scall .CryAndCheckFacing scall .CryAndCheckFacing
if_equal DOWN, .Position2_Down if_equal DOWN, .Position2_Down
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos2_Pos3 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos2_Pos3
moveobject ILEXFOREST_FARFETCHD, $14, $18 moveobject ILEXFOREST_FARFETCHD, 20, 24
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 3 loadvar FarfetchdPosition, 3
@ -143,7 +143,7 @@ IlexForestFarfetchdScript:
.Position2_Down: .Position2_Down:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos2_Pos8 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos2_Pos8
moveobject ILEXFOREST_FARFETCHD, $f, $1d moveobject ILEXFOREST_FARFETCHD, 15, 29
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 8 loadvar FarfetchdPosition, 8
@ -153,7 +153,7 @@ IlexForestFarfetchdScript:
scall .CryAndCheckFacing scall .CryAndCheckFacing
if_equal LEFT, .Position3_Left if_equal LEFT, .Position3_Left
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos3_Pos4 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos3_Pos4
moveobject ILEXFOREST_FARFETCHD, $1d, $16 moveobject ILEXFOREST_FARFETCHD, 29, 22
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 4 loadvar FarfetchdPosition, 4
@ -161,7 +161,7 @@ IlexForestFarfetchdScript:
.Position3_Left: .Position3_Left:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos3_Pos2 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos3_Pos2
moveobject ILEXFOREST_FARFETCHD, $f, $19 moveobject ILEXFOREST_FARFETCHD, 15, 25
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 2 loadvar FarfetchdPosition, 2
@ -171,7 +171,7 @@ IlexForestFarfetchdScript:
scall .CryAndCheckFacing scall .CryAndCheckFacing
if_equal UP, .Position4_Up if_equal UP, .Position4_Up
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos4_Pos5 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos4_Pos5
moveobject ILEXFOREST_FARFETCHD, $1c, $1f moveobject ILEXFOREST_FARFETCHD, 28, 31
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 5 loadvar FarfetchdPosition, 5
@ -179,7 +179,7 @@ IlexForestFarfetchdScript:
.Position4_Up: .Position4_Up:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos4_Pos3 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos4_Pos3
moveobject ILEXFOREST_FARFETCHD, $14, $18 moveobject ILEXFOREST_FARFETCHD, 20, 24
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 3 loadvar FarfetchdPosition, 3
@ -191,7 +191,7 @@ IlexForestFarfetchdScript:
if_equal LEFT, .Position5_Left if_equal LEFT, .Position5_Left
if_equal RIGHT, .Position5_Right if_equal RIGHT, .Position5_Right
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos5_Pos6 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos5_Pos6
moveobject ILEXFOREST_FARFETCHD, $18, $23 moveobject ILEXFOREST_FARFETCHD, 24, 35
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 6 loadvar FarfetchdPosition, 6
@ -199,7 +199,7 @@ IlexForestFarfetchdScript:
.Position5_Left: .Position5_Left:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos5_Pos7 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetchd_Pos5_Pos7
moveobject ILEXFOREST_FARFETCHD, $16, $1f moveobject ILEXFOREST_FARFETCHD, 22, 31
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 7 loadvar FarfetchdPosition, 7
@ -207,7 +207,7 @@ IlexForestFarfetchdScript:
.Position5_Up: .Position5_Up:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos5_Pos4_Up applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos5_Pos4_Up
moveobject ILEXFOREST_FARFETCHD, $1d, $16 moveobject ILEXFOREST_FARFETCHD, 29, 22
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 4 loadvar FarfetchdPosition, 4
@ -215,7 +215,7 @@ IlexForestFarfetchdScript:
.Position5_Right: .Position5_Right:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos5_Pos4_Right applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos5_Pos4_Right
moveobject ILEXFOREST_FARFETCHD, $1d, $16 moveobject ILEXFOREST_FARFETCHD, 29, 22
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 4 loadvar FarfetchdPosition, 4
@ -225,7 +225,7 @@ IlexForestFarfetchdScript:
scall .CryAndCheckFacing scall .CryAndCheckFacing
if_equal RIGHT, .Position6_Right if_equal RIGHT, .Position6_Right
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos6_Pos7 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos6_Pos7
moveobject ILEXFOREST_FARFETCHD, $16, $1f moveobject ILEXFOREST_FARFETCHD, 22, 31
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 7 loadvar FarfetchdPosition, 7
@ -233,7 +233,7 @@ IlexForestFarfetchdScript:
.Position6_Right: .Position6_Right:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos6_Pos5 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos6_Pos5
moveobject ILEXFOREST_FARFETCHD, $1c, $1f moveobject ILEXFOREST_FARFETCHD, 28, 31
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 5 loadvar FarfetchdPosition, 5
@ -244,7 +244,7 @@ IlexForestFarfetchdScript:
if_equal DOWN, .Position7_Down if_equal DOWN, .Position7_Down
if_equal LEFT, .Position7_Left if_equal LEFT, .Position7_Left
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos8 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos8
moveobject ILEXFOREST_FARFETCHD, $f, $1d moveobject ILEXFOREST_FARFETCHD, 15, 29
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 8 loadvar FarfetchdPosition, 8
@ -252,7 +252,7 @@ IlexForestFarfetchdScript:
.Position7_Left: .Position7_Left:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos6 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos6
moveobject ILEXFOREST_FARFETCHD, $18, $23 moveobject ILEXFOREST_FARFETCHD, 24, 35
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 6 loadvar FarfetchdPosition, 6
@ -260,7 +260,7 @@ IlexForestFarfetchdScript:
.Position7_Down: .Position7_Down:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos5 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos7_Pos5
moveobject ILEXFOREST_FARFETCHD, $1c, $1f moveobject ILEXFOREST_FARFETCHD, 28, 31
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 5 loadvar FarfetchdPosition, 5
@ -272,7 +272,7 @@ IlexForestFarfetchdScript:
if_equal LEFT, .Position8_Left if_equal LEFT, .Position8_Left
if_equal RIGHT, .Position8_Right if_equal RIGHT, .Position8_Right
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos9 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos9
moveobject ILEXFOREST_FARFETCHD, $a, $23 moveobject ILEXFOREST_FARFETCHD, 10, 35
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 9 loadvar FarfetchdPosition, 9
@ -280,7 +280,7 @@ IlexForestFarfetchdScript:
.Position8_Right: .Position8_Right:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos7 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos7
moveobject ILEXFOREST_FARFETCHD, $16, $1f moveobject ILEXFOREST_FARFETCHD, 22, 31
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 7 loadvar FarfetchdPosition, 7
@ -289,7 +289,7 @@ IlexForestFarfetchdScript:
.Position8_Up: .Position8_Up:
.Position8_Left: .Position8_Left:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos2 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos8_Pos2
moveobject ILEXFOREST_FARFETCHD, $f, $19 moveobject ILEXFOREST_FARFETCHD, 15, 25
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 2 loadvar FarfetchdPosition, 2
@ -300,7 +300,7 @@ IlexForestFarfetchdScript:
if_equal DOWN, .Position9_Down if_equal DOWN, .Position9_Down
if_equal RIGHT, .Position9_Right if_equal RIGHT, .Position9_Right
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos10 applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos10
moveobject ILEXFOREST_FARFETCHD, $6, $1c moveobject ILEXFOREST_FARFETCHD, 6, 28
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 10 loadvar FarfetchdPosition, 10
@ -311,7 +311,7 @@ IlexForestFarfetchdScript:
.Position9_Right: .Position9_Right:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos8_Right applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos8_Right
moveobject ILEXFOREST_FARFETCHD, $f, $1d moveobject ILEXFOREST_FARFETCHD, 15, 29
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 8 loadvar FarfetchdPosition, 8
@ -319,7 +319,7 @@ IlexForestFarfetchdScript:
.Position9_Down: .Position9_Down:
applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos8_Down applymovement ILEXFOREST_FARFETCHD, MovementData_Farfetched_Pos9_Pos8_Down
moveobject ILEXFOREST_FARFETCHD, $f, $1d moveobject ILEXFOREST_FARFETCHD, 15, 29
disappear ILEXFOREST_FARFETCHD disappear ILEXFOREST_FARFETCHD
appear ILEXFOREST_FARFETCHD appear ILEXFOREST_FARFETCHD
loadvar FarfetchdPosition, 8 loadvar FarfetchdPosition, 8

View File

@ -19,12 +19,12 @@ IndigoPlateauPokecenter1F_MapScriptHeader:
end end
.PrepareElite4: .PrepareElite4:
setmapscene WILLS_ROOM, $0 setmapscene WILLS_ROOM, 0
setmapscene KOGAS_ROOM, $0 setmapscene KOGAS_ROOM, 0
setmapscene BRUNOS_ROOM, $0 setmapscene BRUNOS_ROOM, 0
setmapscene KARENS_ROOM, $0 setmapscene KARENS_ROOM, 0
setmapscene LANCES_ROOM, $0 setmapscene LANCES_ROOM, 0
setmapscene HALL_OF_FAME, $0 setmapscene HALL_OF_FAME, 0
clearevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED clearevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
clearevent EVENT_WILLS_ROOM_EXIT_OPEN clearevent EVENT_WILLS_ROOM_EXIT_OPEN
clearevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED clearevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
@ -54,7 +54,7 @@ PlateauRivalBattle1:
if_equal THURSDAY, PlateauRivalScriptDone if_equal THURSDAY, PlateauRivalScriptDone
if_equal FRIDAY, PlateauRivalScriptDone if_equal FRIDAY, PlateauRivalScriptDone
if_equal SATURDAY, PlateauRivalScriptDone if_equal SATURDAY, PlateauRivalScriptDone
moveobject INDIGOPLATEAUPOKECENTER1F_SILVER, $11, $9 moveobject INDIGOPLATEAUPOKECENTER1F_SILVER, 17, 9
appear INDIGOPLATEAUPOKECENTER1F_SILVER appear INDIGOPLATEAUPOKECENTER1F_SILVER
spriteface PLAYER, DOWN spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
@ -130,7 +130,7 @@ PlateauRivalPostBattle:
spriteface PLAYER, DOWN spriteface PLAYER, DOWN
applymovement INDIGOPLATEAUPOKECENTER1F_SILVER, PlateauRivalLeavesMovement applymovement INDIGOPLATEAUPOKECENTER1F_SILVER, PlateauRivalLeavesMovement
disappear INDIGOPLATEAUPOKECENTER1F_SILVER disappear INDIGOPLATEAUPOKECENTER1F_SILVER
setscene $0 setscene 0
playmapmusic playmapmusic
setflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT setflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
PlateauRivalScriptDone: PlateauRivalScriptDone:
@ -160,7 +160,7 @@ TeleportGuyScript:
playsound SFX_WARP_TO playsound SFX_WARP_TO
special FadeOutPalettes special FadeOutPalettes
waitsfx waitsfx
warp NEW_BARK_TOWN, $d, $6 warp NEW_BARK_TOWN, 13, 6
end end
.No: .No:

View File

@ -21,11 +21,11 @@ KarensRoom_MapScriptHeader:
.KarensRoomDoors: .KarensRoomDoors:
checkevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED checkevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
iffalse .KeepDoorsClosed iffalse .KeepDoorsClosed
changeblock $4, $e, $2a changeblock 4, 14, $2a
.KeepDoorsClosed: .KeepDoorsClosed:
checkevent EVENT_KARENS_ROOM_EXIT_OPEN checkevent EVENT_KARENS_ROOM_EXIT_OPEN
iffalse .OpenDoors iffalse .OpenDoors
changeblock $4, $2, $16 changeblock 4, 2, $16
.OpenDoors: .OpenDoors:
return return
@ -34,10 +34,10 @@ KarensRoom_MapScriptHeader:
refreshscreen $86 refreshscreen $86
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $e, $2a changeblock 4, 14, $2a
reloadmappart reloadmappart
closetext closetext
setscene $1 setscene 1
setevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED setevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
waitsfx waitsfx
end end
@ -51,7 +51,7 @@ KarenScript_Battle:
waitbutton waitbutton
closetext closetext
winlosstext KarenScript_KarenBeatenText, 0 winlosstext KarenScript_KarenBeatenText, 0
loadtrainer KAREN, 1 loadtrainer KAREN, KAREN1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_ELITE_4_KAREN setevent EVENT_BEAT_ELITE_4_KAREN
@ -60,7 +60,7 @@ KarenScript_Battle:
waitbutton waitbutton
closetext closetext
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $4, $2, $16 changeblock 4, 2, $16
reloadmappart reloadmappart
closetext closetext
setevent EVENT_KARENS_ROOM_EXIT_OPEN setevent EVENT_KARENS_ROOM_EXIT_OPEN

View File

@ -21,11 +21,11 @@ KogasRoom_MapScriptHeader:
.KogasRoomDoors: .KogasRoomDoors:
checkevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED checkevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
iffalse .KeepDoorsClosed iffalse .KeepDoorsClosed
changeblock $4, $e, $2a changeblock 4, 14, $2a
.KeepDoorsClosed: .KeepDoorsClosed:
checkevent EVENT_KOGAS_ROOM_EXIT_OPEN checkevent EVENT_KOGAS_ROOM_EXIT_OPEN
iffalse .OpenDoors iffalse .OpenDoors
changeblock $4, $2, $16 changeblock 4, 2, $16
.OpenDoors: .OpenDoors:
return return
@ -34,10 +34,10 @@ KogasRoom_MapScriptHeader:
refreshscreen $86 refreshscreen $86
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $e, $2a changeblock 4, 14, $2a
reloadmappart reloadmappart
closetext closetext
setscene $1 setscene 1
setevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED setevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
waitsfx waitsfx
end end
@ -51,7 +51,7 @@ KogaScript_Battle:
waitbutton waitbutton
closetext closetext
winlosstext KogaScript_KogaBeatenText, 0 winlosstext KogaScript_KogaBeatenText, 0
loadtrainer KOGA, 1 loadtrainer KOGA, KOGA1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_ELITE_4_KOGA setevent EVENT_BEAT_ELITE_4_KOGA
@ -60,7 +60,7 @@ KogaScript_Battle:
waitbutton waitbutton
closetext closetext
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $4, $2, $16 changeblock 4, 2, $16
reloadmappart reloadmappart
closetext closetext
setevent EVENT_KOGAS_ROOM_EXIT_OPEN setevent EVENT_KOGAS_ROOM_EXIT_OPEN

View File

@ -43,7 +43,7 @@ UnknownScript_0x7a4f6:
setflag ENGINE_POKEGEAR setflag ENGINE_POKEGEAR
setflag ENGINE_PHONE_CARD setflag ENGINE_PHONE_CARD
addcellnum PHONE_MOM addcellnum PHONE_MOM
setscene $1 setscene 1
setevent EVENT_KRISS_HOUSE_MOM_1 setevent EVENT_KRISS_HOUSE_MOM_1
clearevent EVENT_KRISS_HOUSE_MOM_2 clearevent EVENT_KRISS_HOUSE_MOM_2
writetext UnknownText_0x7a6bd writetext UnknownText_0x7a6bd

View File

@ -93,7 +93,7 @@ KrissHousePC:
closetext closetext
end end
.Warp: .Warp:
warp NONE, $0, $0 warp NONE, 0, 0
end end
KrisRadioText1: KrisRadioText1:

View File

@ -311,7 +311,7 @@ KurtScript_0x18e178:
clearevent EVENT_AZALEA_TOWN_KURT clearevent EVENT_AZALEA_TOWN_KURT
waitsfx waitsfx
special RestartMapMusic special RestartMapMusic
setmapscene AZALEA_TOWN, $2 setmapscene AZALEA_TOWN, 2
end end
KurtScript_0x18e3bd: KurtScript_0x18e3bd:

View File

@ -62,7 +62,7 @@ UnknownScript_0x70035:
disappear LAKEOFRAGE_LANCE disappear LAKEOFRAGE_LANCE
clearevent EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE clearevent EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE
setevent EVENT_DECIDED_TO_HELP_LANCE setevent EVENT_DECIDED_TO_HELP_LANCE
setmapscene MAHOGANY_MART_1F, $1 setmapscene MAHOGANY_MART_1F, 1
end end
UnknownScript_0x7004e: UnknownScript_0x7004e:
@ -101,7 +101,7 @@ UnknownScript_0x7007a:
waitsfx waitsfx
itemnotify itemnotify
closetext closetext
setscene $0 setscene 0
appear LAKEOFRAGE_LANCE appear LAKEOFRAGE_LANCE
end end

View File

@ -23,11 +23,11 @@ LancesRoom_MapScriptHeader:
.LancesRoomDoors: .LancesRoomDoors:
checkevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED checkevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
iffalse .KeepDoorsClosed iffalse .KeepDoorsClosed
changeblock $4, $16, $34 changeblock 4, 22, $34
.KeepDoorsClosed: .KeepDoorsClosed:
checkevent EVENT_LANCES_ROOM_EXIT_OPEN checkevent EVENT_LANCES_ROOM_EXIT_OPEN
iffalse .OpenDoors iffalse .OpenDoors
changeblock $4, $0, $b changeblock 4, 0, $b
.OpenDoors: .OpenDoors:
return return
@ -36,10 +36,10 @@ LancesRoom_MapScriptHeader:
refreshscreen $86 refreshscreen $86
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $16, $34 changeblock 4, 22, $34
reloadmappart reloadmappart
closetext closetext
setscene $1 setscene 1
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
end end
@ -69,7 +69,7 @@ LanceScript_0x180e7b:
waitbutton waitbutton
closetext closetext
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $4, $0, $b changeblock 4, 0, $b
reloadmappart reloadmappart
closetext closetext
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
@ -127,7 +127,7 @@ LanceScript_0x180e7b:
applymovement LANCESROOM_MARY, LancesRoomMovementData_MaryRunsBackAndForth applymovement LANCESROOM_MARY, LancesRoomMovementData_MaryRunsBackAndForth
special FadeOutPalettes special FadeOutPalettes
pause 15 pause 15
warpfacing UP, HALL_OF_FAME, $4, $d warpfacing UP, HALL_OF_FAME, 4, 13
end end
LancesRoom_PlayerWalksInMovementData: LancesRoom_PlayerWalksInMovementData:

View File

@ -23,7 +23,7 @@ PryceScript_0x199a9e:
waitbutton waitbutton
closetext closetext
winlosstext PryceText_Impressed, 0 winlosstext PryceText_Impressed, 0
loadtrainer PRYCE, 1 loadtrainer PRYCE, PRYCE1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_PRYCE setevent EVENT_BEAT_PRYCE
@ -146,7 +146,7 @@ MahoganyGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext PRYCE, 1, $1 trainertotext PRYCE, PRYCE1, $1
jumpstd gymstatue2 jumpstd gymstatue2
PryceText_Intro: PryceText_Intro:

View File

@ -28,7 +28,7 @@ MahoganyMart1F_MapScriptHeader:
return return
.ShowStairs: .ShowStairs:
changeblock $6, $2, $1e changeblock 6, 2, $1e
return return
PharmacistScript_0x6c367: PharmacistScript_0x6c367:
@ -89,7 +89,7 @@ UnknownScript_0x6c38f:
waitbutton waitbutton
showemote EMOTE_SHOCK, MAHOGANYMART1F_PHARMACIST, 10 showemote EMOTE_SHOCK, MAHOGANYMART1F_PHARMACIST, 10
playsound SFX_FAINT playsound SFX_FAINT
changeblock $6, $2, $1e changeblock 6, 2, $1e
reloadmappart reloadmappart
closetext closetext
setevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART setevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
@ -101,7 +101,7 @@ UnknownScript_0x6c38f:
applymovement MAHOGANYMART1F_LANCE, MovementData_0x6c412 applymovement MAHOGANYMART1F_LANCE, MovementData_0x6c412
playsound SFX_EXIT_BUILDING playsound SFX_EXIT_BUILDING
disappear MAHOGANYMART1F_LANCE disappear MAHOGANYMART1F_LANCE
setscene $0 setscene 0
waitsfx waitsfx
end end

View File

@ -15,8 +15,8 @@ MobileBattleRoom_MapScriptHeader:
end end
.InitializeAndPreparePokecenter2F: .InitializeAndPreparePokecenter2F:
setscene $1 setscene 1
setmapscene POKECENTER_2F, $5 setmapscene POKECENTER_2F, 5
end end
MapMobileBattleRoomSignpost0Script: MapMobileBattleRoomSignpost0Script:

View File

@ -15,8 +15,8 @@ MobileTradeRoomMobile_MapScriptHeader:
end end
.InitializeAndPreparePokecenter2F: .InitializeAndPreparePokecenter2F:
setscene $1 setscene 1
setmapscene POKECENTER_2F, $4 setmapscene POKECENTER_2F, 4
end end
MapMobileTradeRoomMobileSignpost0Script: MapMobileTradeRoomMobileSignpost0Script:

View File

@ -66,7 +66,7 @@ MountMoon_MapScriptHeader:
closetext closetext
applymovement MOUNTMOON_SILVER, MountMoonSilverMovementAfter applymovement MOUNTMOON_SILVER, MountMoonSilverMovementAfter
disappear MOUNTMOON_SILVER disappear MOUNTMOON_SILVER
setscene $1 setscene 1
setevent EVENT_BEAT_RIVAL_IN_MT_MOON setevent EVENT_BEAT_RIVAL_IN_MT_MOON
playmapmusic playmapmusic
end end

View File

@ -125,9 +125,9 @@ MrPokemonsHouse_OakScript:
setevent EVENT_RIVAL_NEW_BARK_TOWN setevent EVENT_RIVAL_NEW_BARK_TOWN
setevent EVENT_KRISS_HOUSE_1F_NEIGHBOR setevent EVENT_KRISS_HOUSE_1F_NEIGHBOR
clearevent EVENT_KRISS_NEIGHBORS_HOUSE_NEIGHBOR clearevent EVENT_KRISS_NEIGHBORS_HOUSE_NEIGHBOR
setscene $1 setscene 1
setmapscene CHERRYGROVE_CITY, $1 setmapscene CHERRYGROVE_CITY, 1
setmapscene ELMS_LAB, $3 setmapscene ELMS_LAB, 3
specialphonecall SPECIALCALL_ROBBED specialphonecall SPECIALCALL_ROBBED
clearevent EVENT_COP_IN_ELMS_LAB clearevent EVENT_COP_IN_ELMS_LAB
checkevent EVENT_GOT_TOTODILE_FROM_ELM checkevent EVENT_GOT_TOTODILE_FROM_ELM
@ -169,7 +169,7 @@ MrPokemonsHouse_OakExits:
step DOWN step DOWN
step LEFT step LEFT
turn_head DOWN turn_head DOWN
db $3f ; movement step_sleep 2
step_end step_end
MrPokemonIntroText1: MrPokemonIntroText1:

View File

@ -41,7 +41,7 @@ UnknownScript_0x1a8833:
applymovement PLAYER, MovementData_0x1a88f4 applymovement PLAYER, MovementData_0x1a88f4
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88db applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88db
setscene $1 setscene 1
disappear OLIVINECITY_OLIVINE_RIVAL disappear OLIVINECITY_OLIVINE_RIVAL
special RestartMapMusic special RestartMapMusic
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY
@ -66,7 +66,7 @@ UnknownScript_0x1a886b:
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88e8 applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88e8
disappear OLIVINECITY_OLIVINE_RIVAL disappear OLIVINECITY_OLIVINE_RIVAL
setscene $1 setscene 1
special RestartMapMusic special RestartMapMusic
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY
special MapCallbackSprites_LoadUsedSpritesGFX special MapCallbackSprites_LoadUsedSpritesGFX

View File

@ -18,7 +18,7 @@ JasmineScript_0x9c12f:
waitbutton waitbutton
closetext closetext
winlosstext Jasmine_BetterTrainer, 0 winlosstext Jasmine_BetterTrainer, 0
loadtrainer JASMINE, 1 loadtrainer JASMINE, JASMINE1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_JASMINE setevent EVENT_BEAT_JASMINE
@ -91,7 +91,7 @@ OlivineGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext JASMINE, 1, $1 trainertotext JASMINE, JASMINE1, $1
jumpstd gymstatue2 jumpstd gymstatue2
Jasmine_SteelTypeIntro: Jasmine_SteelTypeIntro:

View File

@ -26,7 +26,7 @@ OlivinePort_MapScriptHeader:
.LeaveFastShipScript: .LeaveFastShipScript:
applymovement PLAYER, MovementData_0x74a32 applymovement PLAYER, MovementData_0x74a32
appear OLIVINEPORT_SAILOR1 appear OLIVINEPORT_SAILOR1
setscene $0 setscene 0
setevent EVENT_GAVE_KURT_APRICORNS setevent EVENT_GAVE_KURT_APRICORNS
blackoutmod OLIVINE_CITY blackoutmod OLIVINE_CITY
end end
@ -64,8 +64,8 @@ SailorScript_0x748c0:
UnknownScript_0x7490a: UnknownScript_0x7490a:
clearevent EVENT_FAST_SHIP_DESTINATION_OLIVINE clearevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
appear OLIVINEPORT_SAILOR1 appear OLIVINEPORT_SAILOR1
setmapscene FAST_SHIP_1F, $1 setmapscene FAST_SHIP_1F, 1
warp FAST_SHIP_1F, $19, $1 warp FAST_SHIP_1F, 25, 1
end end
UnknownScript_0x74919: UnknownScript_0x74919:

View File

@ -19,7 +19,7 @@ BrockScript_0x1a2864:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x1a29bb, 0 winlosstext UnknownText_0x1a29bb, 0
loadtrainer BROCK, 1 loadtrainer BROCK, BROCK1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_BROCK setevent EVENT_BEAT_BROCK
@ -72,7 +72,7 @@ PewterGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext BROCK, 1, $1 trainertotext BROCK, BROCK1, $1
jumpstd gymstatue2 jumpstd gymstatue2
UnknownText_0x1a28d0: UnknownText_0x1a28d0:

View File

@ -376,15 +376,15 @@ LinkReceptionistScript_TimeCapsule:
Script_LeftCableTradeCenter: Script_LeftCableTradeCenter:
special WaitForOtherPlayerToExit special WaitForOtherPlayerToExit
scall Script_WalkOutOfLinkTradeRoom scall Script_WalkOutOfLinkTradeRoom
setscene $0 setscene 0
setmapscene TRADE_CENTER, $0 setmapscene TRADE_CENTER, 0
end end
Script_LeftMobileTradeRoom: Script_LeftMobileTradeRoom:
special Function101220 special Function101220
scall Script_WalkOutOfMobileTradeRoom scall Script_WalkOutOfMobileTradeRoom
setscene $0 setscene 0
setmapscene MOBILE_TRADE_ROOM_MOBILE, $0 setmapscene MOBILE_TRADE_ROOM_MOBILE, 0
end end
Script_WalkOutOfMobileTradeRoom: Script_WalkOutOfMobileTradeRoom:
@ -396,15 +396,15 @@ Script_WalkOutOfMobileTradeRoom:
Script_LeftCableColosseum: Script_LeftCableColosseum:
special WaitForOtherPlayerToExit special WaitForOtherPlayerToExit
scall Script_WalkOutOfLinkBattleRoom scall Script_WalkOutOfLinkBattleRoom
setscene $0 setscene 0
setmapscene COLOSSEUM, $0 setmapscene COLOSSEUM, 0
end end
Script_LeftMobileBattleRoom: Script_LeftMobileBattleRoom:
special Function101220 special Function101220
scall Script_WalkOutOfMobileBattleRoom scall Script_WalkOutOfMobileBattleRoom
setscene $0 setscene 0
setmapscene MOBILE_BATTLE_ROOM, $0 setmapscene MOBILE_BATTLE_ROOM, 0
end end
Script_WalkOutOfMobileBattleRoom: Script_WalkOutOfMobileBattleRoom:
@ -579,8 +579,8 @@ Script_LeftTimeCapsule:
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepDown applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepDown
applymovement POKECENTER2F_TIME_CAPSULE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_2 applymovement POKECENTER2F_TIME_CAPSULE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_2
.Done: .Done:
setscene $0 setscene 0
setmapscene TIME_CAPSULE, $0 setmapscene TIME_CAPSULE, 0
end end
MapPokecenter2FSignpost0Script: MapPokecenter2FSignpost0Script:

View File

@ -42,7 +42,7 @@ PowerPlantGuardPhoneScript:
closetext closetext
spriteface PLAYER, DOWN spriteface PLAYER, DOWN
applymovement POWERPLANT_OFFICER1, MovementData_0x188eda applymovement POWERPLANT_OFFICER1, MovementData_0x188eda
setscene $0 setscene 0
end end
OfficerScript_0x188df5: OfficerScript_0x188df5:
@ -148,8 +148,8 @@ PowerPlantManager:
setevent EVENT_MET_MANAGER_AT_POWER_PLANT setevent EVENT_MET_MANAGER_AT_POWER_PLANT
clearevent EVENT_CERULEAN_GYM_ROCKET clearevent EVENT_CERULEAN_GYM_ROCKET
clearevent EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM clearevent EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM
setmapscene CERULEAN_GYM, $1 setmapscene CERULEAN_GYM, 1
setscene $1 setscene 1
end end
UnknownScript_0x188e8d: UnknownScript_0x188e8d:

View File

@ -249,8 +249,8 @@ UnknownText_0x5cf5a:
done done
UnknownText_0x5cf79: UnknownText_0x5cf79:
text $56 text "<......>"
line $56 line "<......>"
done done
UnknownText_0x5cf7e: UnknownText_0x5cf7e:

View File

@ -21,8 +21,8 @@ RadioTower3F_MapScriptHeader:
return return
.Change: .Change:
changeblock $e, $2, $2a changeblock 14, 2, $2a
changeblock $e, $4, $1 changeblock 14, 4, $1
return return
RadioTower3FSuperNerdScript: RadioTower3FSuperNerdScript:
@ -143,8 +143,8 @@ UnknownScript_0x5e605:
waitbutton waitbutton
setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $e, $2, $2a changeblock 14, 2, $2a
changeblock $e, $4, $1 changeblock 14, 4, $1
reloadmappart reloadmappart
closetext closetext
waitsfx waitsfx

View File

@ -47,7 +47,7 @@ FakeDirectorScript:
buttonsound buttonsound
verbosegiveitem BASEMENT_KEY verbosegiveitem BASEMENT_KEY
closetext closetext
setscene $1 setscene 1
setevent EVENT_BEAT_ROCKET_EXECUTIVEM_3 setevent EVENT_BEAT_ROCKET_EXECUTIVEM_3
end end
@ -115,7 +115,7 @@ RadioTower5FRocketBossScene:
clearevent EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM clearevent EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM
special PlayMapMusic special PlayMapMusic
disappear RADIOTOWER5F_DIRECTOR disappear RADIOTOWER5F_DIRECTOR
moveobject RADIOTOWER5F_DIRECTOR, $c, $0 moveobject RADIOTOWER5F_DIRECTOR, 12, 0
appear RADIOTOWER5F_DIRECTOR appear RADIOTOWER5F_DIRECTOR
applymovement RADIOTOWER5F_DIRECTOR, RadioTower5FDirectorWalksIn applymovement RADIOTOWER5F_DIRECTOR, RadioTower5FDirectorWalksIn
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
@ -126,8 +126,8 @@ RadioTower5FRocketBossScene:
writetext RadioTower5FDirectorDescribeClearBellText writetext RadioTower5FDirectorDescribeClearBellText
waitbutton waitbutton
closetext closetext
setscene $2 setscene 2
setmapscene ECRUTEAK_HOUSE, $0 setmapscene ECRUTEAK_HOUSE, 0
setevent EVENT_GOT_CLEAR_BELL setevent EVENT_GOT_CLEAR_BELL
setevent EVENT_TEAM_ROCKET_DISBANDED setevent EVENT_TEAM_ROCKET_DISBANDED
jump .UselessJump jump .UselessJump

View File

@ -17,12 +17,12 @@ Route19_MapScriptHeader:
.ClearRocks: .ClearRocks:
checkevent EVENT_CINNABAR_ROCKS_CLEARED checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue .Done iftrue .Done
changeblock $6, $6, $7a changeblock 6, 6, $7a
changeblock $8, $6, $7a changeblock 8, 6, $7a
changeblock $a, $6, $7a changeblock 10, 6, $7a
changeblock $c, $8, $7a changeblock 12, 8, $7a
changeblock $4, $8, $7a changeblock 4, 8, $7a
changeblock $a, $a, $7a changeblock 10, 10, $7a
.Done: .Done:
return return

View File

@ -48,7 +48,7 @@ UnknownScript_0x19eea0:
applymovement ROUTE25_MISTY, MovementData_0x19f000 applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY disappear ROUTE25_MISTY
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
setscene $0 setscene 0
special RestartMapMusic special RestartMapMusic
end end
@ -74,7 +74,7 @@ UnknownScript_0x19eee0:
applymovement ROUTE25_MISTY, MovementData_0x19f000 applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY disappear ROUTE25_MISTY
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
setscene $0 setscene 0
special RestartMapMusic special RestartMapMusic
end end

View File

@ -42,7 +42,7 @@ UnknownScript_0x1a088c:
writetext Route27FisherText writetext Route27FisherText
waitbutton waitbutton
closetext closetext
setscene $1 setscene 1
end end
Route27FisherScript: Route27FisherScript:

View File

@ -59,7 +59,7 @@ Route29Tutorial1:
writetext CatchingTutorialDebriefText writetext CatchingTutorialDebriefText
waitbutton waitbutton
closetext closetext
setscene $0 setscene 0
setevent EVENT_LEARNED_TO_CATCH_POKEMON setevent EVENT_LEARNED_TO_CATCH_POKEMON
end end
@ -84,7 +84,7 @@ Route29Tutorial2:
writetext CatchingTutorialDebriefText writetext CatchingTutorialDebriefText
waitbutton waitbutton
closetext closetext
setscene $0 setscene 0
setevent EVENT_LEARNED_TO_CATCH_POKEMON setevent EVENT_LEARNED_TO_CATCH_POKEMON
end end
@ -93,7 +93,7 @@ Script_RefusedTutorial1:
waitbutton waitbutton
closetext closetext
applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData1b applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData1b
setscene $0 setscene 0
end end
Script_RefusedTutorial2: Script_RefusedTutorial2:
@ -101,7 +101,7 @@ Script_RefusedTutorial2:
waitbutton waitbutton
closetext closetext
applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData2b applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData2b
setscene $0 setscene 0
end end
CatchingTutorialDudeScript: CatchingTutorialDudeScript:

View File

@ -127,7 +127,7 @@ Route32WannaBuyASlowpokeTailScript:
SlowpokeTailSalesmanScript: SlowpokeTailSalesmanScript:
faceplayer faceplayer
_OfferToSellSlowpokeTail: _OfferToSellSlowpokeTail:
setscene $2 setscene 2
opentext opentext
writetext Text_MillionDollarSlowpokeTail writetext Text_MillionDollarSlowpokeTail
yesorno yesorno

View File

@ -28,11 +28,11 @@ Route35NationalParkGate_MapScriptHeader:
.CheckIfContestRunning: .CheckIfContestRunning:
checkflag ENGINE_BUG_CONTEST_TIMER checkflag ENGINE_BUG_CONTEST_TIMER
iftrue .BugContestIsRunning iftrue .BugContestIsRunning
setscene $0 setscene 0
return return
.BugContestIsRunning: .BugContestIsRunning:
setscene $2 setscene 2
return return
.CheckIfContestAvailable: .CheckIfContestAvailable:
@ -76,7 +76,7 @@ Route35NationalParkGate_MapScriptHeader:
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
special FadeOutPalettes special FadeOutPalettes
waitsfx waitsfx
warpfacing UP, NATIONAL_PARK_BUG_CONTEST, $a, $2f warpfacing UP, NATIONAL_PARK_BUG_CONTEST, 10, 47
end end
OfficerScript_0x6a204: OfficerScript_0x6a204:
@ -114,7 +114,7 @@ Route35NationalParkGate_OkayToProceed:
special FadeOutPalettes special FadeOutPalettes
waitsfx waitsfx
special Special_SelectRandomBugContestContestants special Special_SelectRandomBugContestContestants
warpfacing UP, NATIONAL_PARK_BUG_CONTEST, $a, $2f warpfacing UP, NATIONAL_PARK_BUG_CONTEST, 10, 47
end end
Route35NationalParkGate_EnterContest: Route35NationalParkGate_EnterContest:

View File

@ -44,9 +44,9 @@ Route36SuicuneScript:
disappear ROUTE36_SUICUNE disappear ROUTE36_SUICUNE
spriteface PLAYER, DOWN spriteface PLAYER, DOWN
pause 10 pause 10
setscene $0 setscene 0
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setmapscene CIANWOOD_CITY, $1 setmapscene CIANWOOD_CITY, 1
end end
SudowoodoScript: SudowoodoScript:

View File

@ -37,11 +37,11 @@ Route36NationalParkGate_MapScriptHeader:
.CheckIfContestRunning: .CheckIfContestRunning:
checkflag ENGINE_BUG_CONTEST_TIMER checkflag ENGINE_BUG_CONTEST_TIMER
iftrue .BugContestIsRunning iftrue .BugContestIsRunning
setscene $0 setscene 0
return return
.BugContestIsRunning: .BugContestIsRunning:
setscene $2 setscene 2
return return
.CheckIfContestAvailable: .CheckIfContestAvailable:
@ -93,7 +93,7 @@ Route36NationalParkGate_MapScriptHeader:
playsound SFX_EXIT_BUILDING playsound SFX_EXIT_BUILDING
special FadeOutPalettes special FadeOutPalettes
waitsfx waitsfx
warpfacing LEFT, NATIONAL_PARK_BUG_CONTEST, $21, $12 warpfacing LEFT, NATIONAL_PARK_BUG_CONTEST, 33, 18
end end
.CopyContestants: .CopyContestants:
@ -177,7 +177,7 @@ Route36OfficerScriptContest:
special FadeOutPalettes special FadeOutPalettes
waitsfx waitsfx
special Special_SelectRandomBugContestContestants special Special_SelectRandomBugContestContestants
warpfacing LEFT, NATIONAL_PARK_BUG_CONTEST, $21, $12 warpfacing LEFT, NATIONAL_PARK_BUG_CONTEST, 33, 18
end end
.LeaveMonsWithOfficer: .LeaveMonsWithOfficer:

View File

@ -31,9 +31,9 @@ Route42SuicuneScript:
applymovement ROUTE42_SUICUNE, MovementData_0x1a9356 applymovement ROUTE42_SUICUNE, MovementData_0x1a9356
disappear ROUTE42_SUICUNE disappear ROUTE42_SUICUNE
pause 10 pause 10
setscene $0 setscene 0
clearevent EVENT_SAW_SUICUNE_ON_ROUTE_36 clearevent EVENT_SAW_SUICUNE_ON_ROUTE_36
setmapscene ROUTE_36, $1 setmapscene ROUTE_36, 1
end end
TrainerFisherTully1: TrainerFisherTully1:
@ -216,14 +216,14 @@ Route42HiddenMaxPotion:
MovementData_0x1a9356: MovementData_0x1a9356:
db $39 ; movement set_sliding
fast_jump_step UP fast_jump_step UP
fast_jump_step UP fast_jump_step UP
fast_jump_step UP fast_jump_step UP
fast_jump_step RIGHT fast_jump_step RIGHT
fast_jump_step RIGHT fast_jump_step RIGHT
fast_jump_step RIGHT fast_jump_step RIGHT
db $38 ; movement remove_sliding
step_end step_end
FisherTully1SeenText: FisherTully1SeenText:

View File

@ -19,11 +19,11 @@ Route43_MapScriptHeader:
.CheckIfRockets: .CheckIfRockets:
checkevent EVENT_CLEARED_ROCKET_HIDEOUT checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue .NoRockets iftrue .NoRockets
setmapscene ROUTE_43_GATE, $0 setmapscene ROUTE_43_GATE, 0
return return
.NoRockets: .NoRockets:
setmapscene ROUTE_43_GATE, $1 setmapscene ROUTE_43_GATE, 1
return return
TrainerCamperSpencer: TrainerCamperSpencer:

View File

@ -25,11 +25,11 @@ Route43Gate_MapScriptHeader:
.CheckIfRockets: .CheckIfRockets:
checkevent EVENT_CLEARED_ROCKET_HIDEOUT checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue .NoRockets iftrue .NoRockets
setmapscene ROUTE_43, $0 setmapscene ROUTE_43, 0
return return
.NoRockets: .NoRockets:
setmapscene ROUTE_43, $1 setmapscene ROUTE_43, 1
return return
.RocketTakeover: .RocketTakeover:
@ -37,7 +37,7 @@ Route43Gate_MapScriptHeader:
checkcode VAR_FACING checkcode VAR_FACING
if_equal DOWN, RocketScript_Southbound if_equal DOWN, RocketScript_Southbound
if_equal UP, RocketScript_Northbound if_equal UP, RocketScript_Northbound
setscene $1 setscene 1
end end
RocketScript_Southbound: RocketScript_Southbound:
@ -69,7 +69,7 @@ RocketScript_ShakeDownSouth:
closetext closetext
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassSouth applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassSouth
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassSouth applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassSouth
setscene $1 setscene 1
special RestartMapMusic special RestartMapMusic
end end
@ -101,7 +101,7 @@ RocketScript_ShakeDownNorth:
closetext closetext
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassNorth applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassNorth
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassNorth applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassNorth
setscene $1 setscene 1
special RestartMapMusic special RestartMapMusic
end end

View File

@ -23,15 +23,15 @@ RuinsOfAlphAerodactylChamber_MapScriptHeader:
.HiddenDoors: .HiddenDoors:
checkevent EVENT_WALL_OPENED_IN_AERODACTYL_CHAMBER checkevent EVENT_WALL_OPENED_IN_AERODACTYL_CHAMBER
iftrue .WallOpen iftrue .WallOpen
changeblock $4, $0, $2e changeblock 4, 0, $2e
.WallOpen: .WallOpen:
checkevent EVENT_SOLVED_AERODACTYL_PUZZLE checkevent EVENT_SOLVED_AERODACTYL_PUZZLE
iffalse .FloorClosed iffalse .FloorClosed
return return
.FloorClosed: .FloorClosed:
changeblock $2, $2, $1 changeblock 2, 2, $1
changeblock $4, $2, $2 changeblock 4, 2, $2
return return
.WallOpenScript: .WallOpenScript:
@ -40,10 +40,10 @@ RuinsOfAlphAerodactylChamber_MapScriptHeader:
showemote EMOTE_SHOCK, PLAYER, 20 showemote EMOTE_SHOCK, PLAYER, 20
pause 30 pause 30
playsound SFX_STRENGTH playsound SFX_STRENGTH
changeblock $4, $0, $30 changeblock 4, 0, $30
reloadmappart reloadmappart
earthquake 50 earthquake 50
setscene $1 setscene 1
closetext closetext
end end
@ -59,11 +59,11 @@ UnknownScript_0x58df7:
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
setevent EVENT_SOLVED_AERODACTYL_PUZZLE setevent EVENT_SOLVED_AERODACTYL_PUZZLE
setflag ENGINE_UNLOCKED_UNOWNS_3 setflag ENGINE_UNLOCKED_UNOWNS_3
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, $1 setmapscene RUINS_OF_ALPH_INNER_CHAMBER, 1
earthquake 30 earthquake 30
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
changeblock $2, $2, $18 changeblock 2, 2, $18
changeblock $4, $2, $19 changeblock 4, 2, $19
reloadmappart reloadmappart
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
@ -106,7 +106,7 @@ UnknownScript_0x58e46:
end end
MovementData_0x58e4d: MovementData_0x58e4d:
db $59 ; movement skyfall_top
step_end step_end
UnknownText_0x58e4f: UnknownText_0x58e4f:

View File

@ -24,15 +24,15 @@ RuinsOfAlphHoOhChamber_MapScriptHeader:
.HiddenDoors: .HiddenDoors:
checkevent EVENT_WALL_OPENED_IN_HO_OH_CHAMBER checkevent EVENT_WALL_OPENED_IN_HO_OH_CHAMBER
iftrue .WallOpen iftrue .WallOpen
changeblock $4, $0, $2e changeblock 4, 0, $2e
.WallOpen: .WallOpen:
checkevent EVENT_SOLVED_HO_OH_PUZZLE checkevent EVENT_SOLVED_HO_OH_PUZZLE
iffalse .FloorClosed iffalse .FloorClosed
return return
.FloorClosed: .FloorClosed:
changeblock $2, $2, $1 changeblock 2, 2, $1
changeblock $4, $2, $2 changeblock 4, 2, $2
return return
.WallOpenScript: .WallOpenScript:
@ -41,10 +41,10 @@ RuinsOfAlphHoOhChamber_MapScriptHeader:
showemote EMOTE_SHOCK, PLAYER, 20 showemote EMOTE_SHOCK, PLAYER, 20
pause 30 pause 30
playsound SFX_STRENGTH playsound SFX_STRENGTH
changeblock $4, $0, $30 changeblock 4, 0, $30
reloadmappart reloadmappart
earthquake 50 earthquake 50
setscene $1 setscene 1
closetext closetext
end end
@ -60,11 +60,11 @@ UnknownScript_0x585ba:
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
setevent EVENT_SOLVED_HO_OH_PUZZLE setevent EVENT_SOLVED_HO_OH_PUZZLE
setflag ENGINE_UNLOCKED_UNOWNS_4 setflag ENGINE_UNLOCKED_UNOWNS_4
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, $1 setmapscene RUINS_OF_ALPH_INNER_CHAMBER, 1
earthquake 30 earthquake 30
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
changeblock $2, $2, $18 changeblock 2, 2, $18
changeblock $4, $2, $19 changeblock 4, 2, $19
reloadmappart reloadmappart
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
@ -107,7 +107,7 @@ UnknownScript_0x58609:
end end
MovementData_0x58610: MovementData_0x58610:
db $59 ; movement skyfall_top
step_end step_end
UnknownText_0x58612: UnknownText_0x58612:

View File

@ -24,7 +24,7 @@ RuinsOfAlphInnerChamber_MapScriptHeader:
writetext RuinsOfAlphStrangePresenceText writetext RuinsOfAlphStrangePresenceText
waitbutton waitbutton
closetext closetext
setscene $0 setscene 0
setevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS setevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
clearevent EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER clearevent EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER
end end

View File

@ -27,15 +27,15 @@ RuinsOfAlphKabutoChamber_MapScriptHeader:
.HiddenDoors: .HiddenDoors:
checkevent EVENT_WALL_OPENED_IN_KABUTO_CHAMBER checkevent EVENT_WALL_OPENED_IN_KABUTO_CHAMBER
iftrue .WallOpen iftrue .WallOpen
changeblock $4, $0, $2e changeblock 4, 0, $2e
.WallOpen: .WallOpen:
checkevent EVENT_SOLVED_KABUTO_PUZZLE checkevent EVENT_SOLVED_KABUTO_PUZZLE
iffalse .FloorClosed iffalse .FloorClosed
return return
.FloorClosed: .FloorClosed:
changeblock $2, $2, $1 changeblock 2, 2, $1
changeblock $4, $2, $2 changeblock 4, 2, $2
return return
.WallOpenScript: .WallOpenScript:
@ -44,10 +44,10 @@ RuinsOfAlphKabutoChamber_MapScriptHeader:
showemote EMOTE_SHOCK, PLAYER, 20 showemote EMOTE_SHOCK, PLAYER, 20
pause 30 pause 30
playsound SFX_STRENGTH playsound SFX_STRENGTH
changeblock $4, $0, $30 changeblock 4, 0, $30
reloadmappart reloadmappart
earthquake 50 earthquake 50
setscene $1 setscene 1
closetext closetext
end end
@ -67,11 +67,11 @@ UnknownScript_0x58778:
setevent EVENT_SOLVED_KABUTO_PUZZLE setevent EVENT_SOLVED_KABUTO_PUZZLE
setflag ENGINE_UNLOCKED_UNOWNS_1 setflag ENGINE_UNLOCKED_UNOWNS_1
setevent EVENT_RUINS_OF_ALPH_KABUTO_CHAMBER_RECEPTIONIST setevent EVENT_RUINS_OF_ALPH_KABUTO_CHAMBER_RECEPTIONIST
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, $1 setmapscene RUINS_OF_ALPH_INNER_CHAMBER, 1
earthquake 30 earthquake 30
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
changeblock $2, $2, $18 changeblock 2, 2, $18
changeblock $4, $2, $19 changeblock 4, 2, $19
reloadmappart reloadmappart
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
@ -144,7 +144,7 @@ UnknownScript_0x587f7:
end end
MovementData_0x587fe: MovementData_0x587fe:
db $59 ; movement skyfall_top
step_end step_end
RuinsOfAlphKabutoChamberReceptionistText: RuinsOfAlphKabutoChamberReceptionistText:

View File

@ -24,15 +24,15 @@ RuinsOfAlphOmanyteChamber_MapScriptHeader:
.HiddenDoors: .HiddenDoors:
checkevent EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER checkevent EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
iftrue .WallOpen iftrue .WallOpen
changeblock $4, $0, $2e changeblock 4, 0, $2e
.WallOpen: .WallOpen:
checkevent EVENT_SOLVED_OMANYTE_PUZZLE checkevent EVENT_SOLVED_OMANYTE_PUZZLE
iffalse .FloorClosed iffalse .FloorClosed
return return
.FloorClosed: .FloorClosed:
changeblock $2, $2, $1 changeblock 2, 2, $1
changeblock $4, $2, $2 changeblock 4, 2, $2
return return
.WallOpenScript: .WallOpenScript:
@ -41,10 +41,10 @@ RuinsOfAlphOmanyteChamber_MapScriptHeader:
showemote EMOTE_SHOCK, PLAYER, 20 showemote EMOTE_SHOCK, PLAYER, 20
pause 30 pause 30
playsound SFX_STRENGTH playsound SFX_STRENGTH
changeblock $4, $0, $30 changeblock 4, 0, $30
reloadmappart reloadmappart
earthquake 50 earthquake 50
setscene $1 setscene 1
closetext closetext
end end
@ -60,11 +60,11 @@ UnknownScript_0x58c36:
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
setevent EVENT_SOLVED_OMANYTE_PUZZLE setevent EVENT_SOLVED_OMANYTE_PUZZLE
setflag ENGINE_UNLOCKED_UNOWNS_2 setflag ENGINE_UNLOCKED_UNOWNS_2
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, $1 setmapscene RUINS_OF_ALPH_INNER_CHAMBER, 1
earthquake 30 earthquake 30
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
changeblock $2, $2, $18 changeblock 2, 2, $18
changeblock $4, $2, $19 changeblock 4, 2, $19
reloadmappart reloadmappart
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
@ -107,7 +107,7 @@ UnknownScript_0x58c85:
end end
MovementData_0x58c8c: MovementData_0x58c8c:
db $59 ; movement skyfall_top
step_end step_end
UnknownText_0x58c8e: UnknownText_0x58c8e:

View File

@ -35,12 +35,12 @@ RuinsOfAlphOutside_MapScriptHeader:
.YesScientist: .YesScientist:
appear RUINSOFALPHOUTSIDE_SCIENTIST appear RUINSOFALPHOUTSIDE_SCIENTIST
setscene $1 setscene 1
return return
.NoScientist: .NoScientist:
disappear RUINSOFALPHOUTSIDE_SCIENTIST disappear RUINSOFALPHOUTSIDE_SCIENTIST
setscene $0 setscene 0
return return
RuinsOfAlphOutsideScientistScene1: RuinsOfAlphOutsideScientistScene1:
@ -66,7 +66,7 @@ UnknownScript_0x58044:
disappear RUINSOFALPHOUTSIDE_SCIENTIST disappear RUINSOFALPHOUTSIDE_SCIENTIST
stopfollow stopfollow
applymovement PLAYER, MovementData_0x580c5 applymovement PLAYER, MovementData_0x580c5
setmapscene RUINS_OF_ALPH_RESEARCH_CENTER, $1 setmapscene RUINS_OF_ALPH_RESEARCH_CENTER, 1
warpcheck warpcheck
end end

View File

@ -26,7 +26,7 @@ RuinsOfAlphResearchCenter_MapScriptHeader:
return return
.ShowScientist: .ShowScientist:
moveobject RUINSOFALPHRESEARCHCENTER_SCIENTIST3, $3, $7 moveobject RUINSOFALPHRESEARCHCENTER_SCIENTIST3, 3, 7
appear RUINSOFALPHRESEARCHCENTER_SCIENTIST3 appear RUINSOFALPHRESEARCHCENTER_SCIENTIST3
return return
@ -55,7 +55,7 @@ RuinsOfAlphResearchCenter_MapScriptHeader:
waitbutton waitbutton
closetext closetext
applymovement RUINSOFALPHRESEARCHCENTER_SCIENTIST3, MovementData_0x59276 applymovement RUINSOFALPHRESEARCHCENTER_SCIENTIST3, MovementData_0x59276
setscene $0 setscene 0
special RestartMapMusic special RestartMapMusic
end end

View File

@ -22,7 +22,7 @@ SabrinaScript_0x189c2e:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x189df4, 0 winlosstext UnknownText_0x189df4, 0
loadtrainer SABRINA, 1 loadtrainer SABRINA, SABRINA1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_SABRINA setevent EVENT_BEAT_SABRINA
@ -111,7 +111,7 @@ SaffronGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext SABRINA, 1, $1 trainertotext SABRINA, SABRINA1, $1
jumpstd gymstatue2 jumpstd gymstatue2
UnknownText_0x189cdf: UnknownText_0x189cdf:

View File

@ -41,7 +41,7 @@ OfficerScript_0x18a81e:
warpcheck warpcheck
newloadmap MAPSETUP_TRAIN newloadmap MAPSETUP_TRAIN
applymovement PLAYER, .MovementBoardTheTrain applymovement PLAYER, .MovementBoardTheTrain
wait $14 wait 20
end end
.MovementBoardTheTrain: .MovementBoardTheTrain:

View File

@ -22,7 +22,7 @@ BlaineScript_0x1ab4fb:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x1ab646, 0 winlosstext UnknownText_0x1ab646, 0
loadtrainer BLAINE, 1 loadtrainer BLAINE, BLAINE1
startbattle startbattle
iftrue .ReturnAfterBattle iftrue .ReturnAfterBattle
appear SEAFOAMGYM_GYM_GUY appear SEAFOAMGYM_GYM_GUY

View File

@ -16,7 +16,7 @@ Red:
waitbutton waitbutton
closetext closetext
winlosstext .Text2, .Text2 winlosstext .Text2, .Text2
loadtrainer RED, 1 loadtrainer RED, RED1
startbattle startbattle
dontrestartmapmusic dontrestartmapmusic
reloadmapafterbattle reloadmapafterbattle
@ -37,8 +37,8 @@ Red:
end end
.Text1: .Text1:
text $56 text "<......>"
line $56 line "<......>"
done done
.Text2: .Text2:
@ -46,8 +46,8 @@ Red:
done done
.Text3: .Text3:
text $56 text "<......>"
line $56 line "<......>"
done done
SilverCaveRoom3_MapEventHeader: SilverCaveRoom3_MapEventHeader:

View File

@ -47,7 +47,7 @@ TrainerGruntM1:
pause 15 pause 15
special Special_FadeInQuickly special Special_FadeInQuickly
disappear SLOWPOKEWELLB1F_KURT disappear SLOWPOKEWELLB1F_KURT
moveobject SLOWPOKEWELLB1F_KURT, $b, $6 moveobject SLOWPOKEWELLB1F_KURT, 11, 6
appear SLOWPOKEWELLB1F_KURT appear SLOWPOKEWELLB1F_KURT
applymovement SLOWPOKEWELLB1F_KURT, KurtSlowpokeWellVictoryMovementData applymovement SLOWPOKEWELLB1F_KURT, KurtSlowpokeWellVictoryMovementData
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
@ -57,7 +57,7 @@ TrainerGruntM1:
closetext closetext
setevent EVENT_CLEARED_SLOWPOKE_WELL setevent EVENT_CLEARED_SLOWPOKE_WELL
variablesprite SPRITE_AZALEA_ROCKET, SPRITE_SILVER variablesprite SPRITE_AZALEA_ROCKET, SPRITE_SILVER
setmapscene AZALEA_TOWN, $1 setmapscene AZALEA_TOWN, 1
clearevent EVENT_ILEX_FOREST_APPRENTICE clearevent EVENT_ILEX_FOREST_APPRENTICE
clearevent EVENT_ILEX_FOREST_FARFETCHD clearevent EVENT_ILEX_FOREST_FARFETCHD
setevent EVENT_CHARCOAL_KILN_FARFETCH_D setevent EVENT_CHARCOAL_KILN_FARFETCH_D
@ -70,7 +70,7 @@ TrainerGruntM1:
special FadeOutPalettes special FadeOutPalettes
special HealParty special HealParty
pause 15 pause 15
warp KURTS_HOUSE, $3, $3 warp KURTS_HOUSE, 3, 3
end end
TrainerGruntM2: TrainerGruntM2:

View File

@ -59,7 +59,7 @@ UnknownScript_0x184947:
disappear SPROUTTOWER3F_SILVER disappear SPROUTTOWER3F_SILVER
waitsfx waitsfx
special Special_FadeInQuickly special Special_FadeInQuickly
setscene $1 setscene 1
special RestartMapMusic special RestartMapMusic
end end

View File

@ -30,7 +30,7 @@ SecurityCamera1a:
iftrue NoSecurityCamera iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $13, $2 moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 2
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
@ -39,7 +39,7 @@ SecurityCamera1a:
scall PlaySecurityCameraSounds scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $13, $2 moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 2
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
scall TrainerCameraGrunt2 scall TrainerCameraGrunt2
@ -55,7 +55,7 @@ SecurityCamera1b:
iftrue NoSecurityCamera iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $13, $3 moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 3
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
@ -64,7 +64,7 @@ SecurityCamera1b:
scall PlaySecurityCameraSounds scall PlaySecurityCameraSounds
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $13, $3 moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 3
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
scall TrainerCameraGrunt2 scall TrainerCameraGrunt2
@ -80,7 +80,7 @@ SecurityCamera2a:
iftrue NoSecurityCamera iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $4, $7 moveobject TEAMROCKETBASEB1F_ROCKET1, 4, 7
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement2 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement2
@ -90,7 +90,7 @@ SecurityCamera2a:
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, $c, $5 moveobject TEAMROCKETBASEB1F_ROCKET1, 12, 5
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement3 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement3
scall TrainerCameraGrunt2 scall TrainerCameraGrunt2
@ -106,7 +106,7 @@ SecurityCamera2b:
iftrue NoSecurityCamera iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $4, $8 moveobject TEAMROCKETBASEB1F_ROCKET1, 4, 8
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement4 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement4
@ -116,7 +116,7 @@ SecurityCamera2b:
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, $c, $5 moveobject TEAMROCKETBASEB1F_ROCKET1, 12, 5
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement5 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement5
scall TrainerCameraGrunt2 scall TrainerCameraGrunt2
@ -132,7 +132,7 @@ SecurityCamera3a:
iftrue NoSecurityCamera iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $13, $6 moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 6
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
@ -142,7 +142,7 @@ SecurityCamera3a:
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, $19, $b moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 11
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement6 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement6
scall TrainerCameraGrunt2 scall TrainerCameraGrunt2
@ -158,7 +158,7 @@ SecurityCamera3b:
iftrue NoSecurityCamera iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $13, $7 moveobject TEAMROCKETBASEB1F_ROCKET1, 19, 7
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
@ -168,7 +168,7 @@ SecurityCamera3b:
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, $19, $c moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 12
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement7 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement7
scall TrainerCameraGrunt2 scall TrainerCameraGrunt2
@ -184,7 +184,7 @@ SecurityCamera4:
iftrue NoSecurityCamera iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $11, $10 moveobject TEAMROCKETBASEB1F_ROCKET1, 17, 16
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
@ -194,7 +194,7 @@ SecurityCamera4:
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, $19, $b moveobject TEAMROCKETBASEB1F_ROCKET1, 25, 11
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement8 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement8
scall TrainerCameraGrunt2 scall TrainerCameraGrunt2
@ -210,7 +210,7 @@ SecurityCamera5:
iftrue NoSecurityCamera iftrue NoSecurityCamera
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
moveobject TEAMROCKETBASEB1F_ROCKET1, $3, $10 moveobject TEAMROCKETBASEB1F_ROCKET1, 3, 16
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
spriteface PLAYER, LEFT spriteface PLAYER, LEFT
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement1
@ -220,7 +220,7 @@ SecurityCamera5:
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
playmusic MUSIC_ROCKET_ENCOUNTER playmusic MUSIC_ROCKET_ENCOUNTER
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
moveobject TEAMROCKETBASEB1F_ROCKET1, $e, $10 moveobject TEAMROCKETBASEB1F_ROCKET1, 14, 16
appear TEAMROCKETBASEB1F_ROCKET1 appear TEAMROCKETBASEB1F_ROCKET1
applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement9 applymovement TEAMROCKETBASEB1F_ROCKET1, SecurityCameraMovement9
scall TrainerCameraGrunt2 scall TrainerCameraGrunt2

View File

@ -44,18 +44,18 @@ TeamRocketBaseB2F_MapScriptHeader:
return return
.Change: .Change:
changeblock $e, $c, $7 changeblock 14, 12, $7
return return
UnknownScript_0x6cf95: UnknownScript_0x6cf95:
moveobject TEAMROCKETBASEB2F_LANCE, $9, $d moveobject TEAMROCKETBASEB2F_LANCE, 9, 13
jump UnknownScript_0x6cfac jump UnknownScript_0x6cfac
UnknownScript_0x6cf9c: UnknownScript_0x6cf9c:
moveobject TEAMROCKETBASEB2F_ROCKET_GIRL, $15, $10 moveobject TEAMROCKETBASEB2F_ROCKET_GIRL, 21, 16
moveobject TEAMROCKETBASEB2F_ROCKET1, $15, $10 moveobject TEAMROCKETBASEB2F_ROCKET1, 21, 16
moveobject TEAMROCKETBASEB2F_DRAGON, $a, $d moveobject TEAMROCKETBASEB2F_DRAGON, 10, 13
moveobject TEAMROCKETBASEB2F_LANCE, $a, $d moveobject TEAMROCKETBASEB2F_LANCE, 10, 13
UnknownScript_0x6cfac: UnknownScript_0x6cfac:
appear TEAMROCKETBASEB2F_ROCKET_GIRL appear TEAMROCKETBASEB2F_ROCKET_GIRL
appear TEAMROCKETBASEB2F_ROCKET1 appear TEAMROCKETBASEB2F_ROCKET1
@ -118,7 +118,7 @@ UnknownScript_0x6cfac:
disappear TEAMROCKETBASEB2F_ROCKET4 disappear TEAMROCKETBASEB2F_ROCKET4
pause 15 pause 15
special Special_FadeInQuickly special Special_FadeInQuickly
setscene $2 setscene 2
clearevent EVENT_TEAM_ROCKET_BASE_B2F_LANCE clearevent EVENT_TEAM_ROCKET_BASE_B2F_LANCE
spriteface TEAMROCKETBASEB2F_LANCE, DOWN spriteface TEAMROCKETBASEB2F_LANCE, DOWN
opentext opentext
@ -175,7 +175,7 @@ LanceHealsCommon:
writetext LanceHealsText2 writetext LanceHealsText2
waitbutton waitbutton
closetext closetext
setscene $1 setscene 1
setevent EVENT_LANCE_HEALED_YOU_IN_TEAM_ROCKET_BASE setevent EVENT_LANCE_HEALED_YOU_IN_TEAM_ROCKET_BASE
checkcode VAR_FACING checkcode VAR_FACING
if_equal RIGHT, UnknownScript_0x6d0be if_equal RIGHT, UnknownScript_0x6d0be
@ -280,7 +280,7 @@ UnknownScript_0x6d182:
end end
UnknownScript_0x6d184: UnknownScript_0x6d184:
moveobject TEAMROCKETBASEB2F_LANCE, $12, $6 moveobject TEAMROCKETBASEB2F_LANCE, 18, 6
appear TEAMROCKETBASEB2F_LANCE appear TEAMROCKETBASEB2F_LANCE
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d27a applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d27a
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
@ -304,7 +304,7 @@ UnknownScript_0x6d184:
clearflag ENGINE_ROCKET_SIGNAL_ON_CH20 clearflag ENGINE_ROCKET_SIGNAL_ON_CH20
setevent EVENT_ROUTE_43_GATE_ROCKETS setevent EVENT_ROUTE_43_GATE_ROCKETS
setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_GYM setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_GYM
setscene $3 setscene 3
clearevent EVENT_LAKE_OF_RAGE_CIVILIANS clearevent EVENT_LAKE_OF_RAGE_CIVILIANS
setevent EVENT_TURNED_OFF_SECURITY_CAMERAS setevent EVENT_TURNED_OFF_SECURITY_CAMERAS
setevent EVENT_SECURITY_CAMERA_1 setevent EVENT_SECURITY_CAMERA_1
@ -330,7 +330,7 @@ UnknownScript_0x6d1e8:
writetext UnknownText_0x6dd6b writetext UnknownText_0x6dd6b
waitbutton waitbutton
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $e, $c, $7 changeblock 14, 12, $7
reloadmappart reloadmappart
closetext closetext
setevent EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER setevent EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER
@ -414,9 +414,9 @@ MovementData_0x6d236:
MovementData_0x6d23b: MovementData_0x6d23b:
fix_facing fix_facing
db $39 ; movement set_sliding
jump_step RIGHT jump_step RIGHT
db $38 ; movement remove_sliding
remove_fixed_facing remove_fixed_facing
step_end step_end

View File

@ -45,7 +45,7 @@ TeamRocketBaseB3F_MapScriptHeader:
return return
.OpenSesame: .OpenSesame:
changeblock $a, $8, $7 changeblock 10, 8, $7
return return
LanceGetPasswordScript: LanceGetPasswordScript:
@ -60,7 +60,7 @@ LanceGetPasswordScript:
closetext closetext
applymovement TEAMROCKETBASEB3F_LANCE, MovementData_0x6e12c applymovement TEAMROCKETBASEB3F_LANCE, MovementData_0x6e12c
disappear TEAMROCKETBASEB3F_LANCE disappear TEAMROCKETBASEB3F_LANCE
setscene $1 setscene 1
end end
RocketBaseRival: RocketBaseRival:
@ -79,7 +79,7 @@ RocketBaseRival:
applymovement PLAYER, RocketBaseRivalShovesPlayerMovement applymovement PLAYER, RocketBaseRivalShovesPlayerMovement
applymovement TEAMROCKETBASEB3F_SILVER, RocketBaseRivalLeaveMovement applymovement TEAMROCKETBASEB3F_SILVER, RocketBaseRivalLeaveMovement
disappear TEAMROCKETBASEB3F_SILVER disappear TEAMROCKETBASEB3F_SILVER
setscene $2 setscene 2
special RestartMapMusic special RestartMapMusic
end end
@ -116,7 +116,7 @@ UnknownScript_0x6e056:
playsound SFX_TACKLE playsound SFX_TACKLE
applymovement TEAMROCKETBASEB3F_ROCKET1, MovementData_0x6e147 applymovement TEAMROCKETBASEB3F_ROCKET1, MovementData_0x6e147
disappear TEAMROCKETBASEB3F_ROCKET1 disappear TEAMROCKETBASEB3F_ROCKET1
setscene $3 setscene 3
end end
RocketBaseMurkrow: RocketBaseMurkrow:
@ -194,7 +194,7 @@ TeamRocketBaseB3FLockedDoor:
writetext UnknownText_0x6e9a3 writetext UnknownText_0x6e9a3
waitbutton waitbutton
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $a, $8, $7 changeblock 10, 8, $7
reloadmappart reloadmappart
closetext closetext
setevent EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE setevent EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE

View File

@ -32,8 +32,8 @@ TimeCapsule_MapScriptHeader:
return return
.InitializeAndPreparePokecenter2F: .InitializeAndPreparePokecenter2F:
setscene $1 setscene 1
setmapscene POKECENTER_2F, $3 setmapscene POKECENTER_2F, 3
end end
MapTimeCapsuleSignpost1Script: MapTimeCapsuleSignpost1Script:

View File

@ -79,7 +79,7 @@ TinTower1F_MapScriptHeader:
.StairsCallback: .StairsCallback:
checkevent EVENT_GOT_RAINBOW_WING checkevent EVENT_GOT_RAINBOW_WING
iftrue .DontHideStairs iftrue .DontHideStairs
changeblock $a, $2, $9 changeblock 10, 2, $9
.DontHideStairs: .DontHideStairs:
return return
@ -125,36 +125,36 @@ TinTower1F_MapScriptHeader:
disappear TINTOWER1F_SUICUNE disappear TINTOWER1F_SUICUNE
setevent EVENT_FOUGHT_SUICUNE setevent EVENT_FOUGHT_SUICUNE
setevent EVENT_SAW_SUICUNE_ON_ROUTE_42 setevent EVENT_SAW_SUICUNE_ON_ROUTE_42
setmapscene ROUTE_42, $0 setmapscene ROUTE_42, 0
setevent EVENT_SAW_SUICUNE_ON_ROUTE_36 setevent EVENT_SAW_SUICUNE_ON_ROUTE_36
setmapscene ROUTE_36, $0 setmapscene ROUTE_36, 0
setevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY setevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setmapscene CIANWOOD_CITY, $0 setmapscene CIANWOOD_CITY, 0
setscene $1 setscene 1
clearevent EVENT_SET_WHEN_FOUGHT_HO_OH clearevent EVENT_SET_WHEN_FOUGHT_HO_OH
reloadmapafterbattle reloadmapafterbattle
pause 20 pause 20
spriteface PLAYER, DOWN spriteface PLAYER, DOWN
playmusic MUSIC_MYSTICALMAN_ENCOUNTER playmusic MUSIC_MYSTICALMAN_ENCOUNTER
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
moveobject TINTOWER1F_EUSINE, $a, $f moveobject TINTOWER1F_EUSINE, 10, 15
appear TINTOWER1F_EUSINE appear TINTOWER1F_EUSINE
applymovement TINTOWER1F_EUSINE, MovementData_0x1851ec applymovement TINTOWER1F_EUSINE, MovementData_0x1851ec
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
moveobject TINTOWER1F_SAGE1, $9, $f moveobject TINTOWER1F_SAGE1, 9, 15
appear TINTOWER1F_SAGE1 appear TINTOWER1F_SAGE1
applymovement TINTOWER1F_SAGE1, MovementData_0x1851f5 applymovement TINTOWER1F_SAGE1, MovementData_0x1851f5
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
moveobject TINTOWER1F_SAGE2, $9, $f moveobject TINTOWER1F_SAGE2, 9, 15
appear TINTOWER1F_SAGE2 appear TINTOWER1F_SAGE2
applymovement TINTOWER1F_SAGE2, MovementData_0x1851fb applymovement TINTOWER1F_SAGE2, MovementData_0x1851fb
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
moveobject TINTOWER1F_SAGE3, $9, $f moveobject TINTOWER1F_SAGE3, 9, 15
appear TINTOWER1F_SAGE3 appear TINTOWER1F_SAGE3
applymovement TINTOWER1F_SAGE3, MovementData_0x1851fe applymovement TINTOWER1F_SAGE3, MovementData_0x1851fe
moveobject TINTOWER1F_SAGE1, $7, $d moveobject TINTOWER1F_SAGE1, 7, 13
moveobject TINTOWER1F_SAGE2, $9, $d moveobject TINTOWER1F_SAGE2, 9, 13
moveobject TINTOWER1F_SAGE3, $b, $d moveobject TINTOWER1F_SAGE3, 11, 13
spriteface PLAYER, RIGHT spriteface PLAYER, RIGHT
opentext opentext
writetext TinTowerEusineSuicuneText writetext TinTowerEusineSuicuneText
@ -201,7 +201,7 @@ TinTower1FSage5Script:
earthquake 72 earthquake 72
waitsfx waitsfx
playsound SFX_STRENGTH playsound SFX_STRENGTH
changeblock $a, $2, $20 changeblock 10, 2, $20
reloadmappart reloadmappart
setevent EVENT_GOT_RAINBOW_WING setevent EVENT_GOT_RAINBOW_WING
closetext closetext

View File

@ -32,8 +32,8 @@ TradeCenter_MapScriptHeader:
return return
.InitializeAndPreparePokecenter2F: .InitializeAndPreparePokecenter2F:
setscene $1 setscene 1
setmapscene POKECENTER_2F, $1 setmapscene POKECENTER_2F, 1
end end
MapTradeCenterSignpost1Script: MapTradeCenterSignpost1Script:

View File

@ -21,7 +21,7 @@ SurgeScript_0x1920a5:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x192238, 0 winlosstext UnknownText_0x192238, 0
loadtrainer LT_SURGE, 1 loadtrainer LT_SURGE, LT_SURGE1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_LTSURGE setevent EVENT_BEAT_LTSURGE
@ -101,7 +101,7 @@ VermilionGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext LT_SURGE, 1, $1 trainertotext LT_SURGE, LT_SURGE1, $1
jumpstd gymstatue2 jumpstd gymstatue2
UnknownText_0x192142: UnknownText_0x192142:

View File

@ -27,7 +27,7 @@ VermilionPort_MapScriptHeader:
.LeaveFastShipScript: .LeaveFastShipScript:
applymovement PLAYER, MovementData_0x74ef3 applymovement PLAYER, MovementData_0x74ef3
appear VERMILIONPORT_SAILOR1 appear VERMILIONPORT_SAILOR1
setscene $0 setscene 0
setevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1 setevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1
setevent EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN setevent EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN
setevent EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP setevent EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
@ -68,8 +68,8 @@ SailorScript_0x74dc4:
clearevent EVENT_BEAT_SCHOOLBOY_RICKY clearevent EVENT_BEAT_SCHOOLBOY_RICKY
setevent EVENT_FAST_SHIP_DESTINATION_OLIVINE setevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
appear VERMILIONPORT_SAILOR1 appear VERMILIONPORT_SAILOR1
setmapscene FAST_SHIP_1F, $1 setmapscene FAST_SHIP_1F, 1
warp FAST_SHIP_1F, $19, $1 warp FAST_SHIP_1F, 25, 1
end end
UnknownScript_0x74e1a: UnknownScript_0x74e1a:

View File

@ -22,7 +22,7 @@ VictoryRoad_MapScriptHeader:
end end
UnknownScript_0x74492: UnknownScript_0x74492:
moveobject VICTORYROAD_SILVER, $12, $b moveobject VICTORYROAD_SILVER, 18, 11
spriteface PLAYER, DOWN spriteface PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15 showemote EMOTE_SHOCK, PLAYER, 15
special Special_FadeOutMusic special Special_FadeOutMusic
@ -32,7 +32,7 @@ UnknownScript_0x74492:
scall UnknownScript_0x744d4 scall UnknownScript_0x744d4
applymovement VICTORYROAD_SILVER, MovementData_0x7454c applymovement VICTORYROAD_SILVER, MovementData_0x7454c
disappear VICTORYROAD_SILVER disappear VICTORYROAD_SILVER
setscene $1 setscene 1
playmapmusic playmapmusic
end end
@ -46,7 +46,7 @@ UnknownScript_0x744b5:
scall UnknownScript_0x744d4 scall UnknownScript_0x744d4
applymovement VICTORYROAD_SILVER, MovementData_0x74555 applymovement VICTORYROAD_SILVER, MovementData_0x74555
disappear VICTORYROAD_SILVER disappear VICTORYROAD_SILVER
setscene $1 setscene 1
playmapmusic playmapmusic
end end

View File

@ -40,7 +40,7 @@ VictoryRoadGateBadgeCheckScript:
writetext VictoryRoadGateEightBadgesText writetext VictoryRoadGateEightBadgesText
waitbutton waitbutton
closetext closetext
setscene $1 setscene 1
end end
VictoryRoadGateLeftBlackBeltScript: VictoryRoadGateLeftBlackBeltScript:

View File

@ -20,7 +20,7 @@ FalknerScript_0x683c2:
waitbutton waitbutton
closetext closetext
winlosstext UnknownText_0x6854a, 0 winlosstext UnknownText_0x6854a, 0
loadtrainer FALKNER, 1 loadtrainer FALKNER, FALKNER1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_FALKNER setevent EVENT_BEAT_FALKNER
@ -36,7 +36,7 @@ FalknerScript_0x683c2:
iftrue .SpeechAfterTM iftrue .SpeechAfterTM
setevent EVENT_BEAT_BIRD_KEEPER_ROD setevent EVENT_BEAT_BIRD_KEEPER_ROD
setevent EVENT_BEAT_BIRD_KEEPER_ABE setevent EVENT_BEAT_BIRD_KEEPER_ABE
setmapscene ELMS_LAB, $2 setmapscene ELMS_LAB, 2
specialphonecall SPECIALCALL_ASSISTANT specialphonecall SPECIALCALL_ASSISTANT
writetext UnknownText_0x685c8 writetext UnknownText_0x685c8
buttonsound buttonsound
@ -109,7 +109,7 @@ VioletGymStatue:
iftrue .Beaten iftrue .Beaten
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext FALKNER, 1, $1 trainertotext FALKNER, FALKNER1, $1
jumpstd gymstatue2 jumpstd gymstatue2
UnknownText_0x68473: UnknownText_0x68473:

View File

@ -32,7 +32,7 @@ VioletPokecenter1F_ElmsAideScript:
setevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE setevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
clearevent EVENT_ELMS_AIDE_IN_LAB clearevent EVENT_ELMS_AIDE_IN_LAB
clearevent EVENT_TOGEPI_HATCHED clearevent EVENT_TOGEPI_HATCHED
setmapscene ROUTE_32, $1 setmapscene ROUTE_32, 1
writetext UnknownText_0x695c5 writetext UnknownText_0x695c5
waitbutton waitbutton
closetext closetext

View File

@ -18,7 +18,7 @@ ViridianGymBlueScript:
waitbutton waitbutton
closetext closetext
winlosstext LeaderBlueWinText, 0 winlosstext LeaderBlueWinText, 0
loadtrainer BLUE, 1 loadtrainer BLUE, BLUE1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_BLUE setevent EVENT_BEAT_BLUE
@ -60,7 +60,7 @@ ViridianGymStatue:
jumpstd gymstatue1 jumpstd gymstatue1
.Beaten: .Beaten:
trainertotext BLUE, 1, $1 trainertotext BLUE, BLUE1, $1
jumpstd gymstatue2 jumpstd gymstatue2
LeaderBlueBeforeText: LeaderBlueBeforeText:

View File

@ -21,11 +21,11 @@ WillsRoom_MapScriptHeader:
.WillsRoomDoors: .WillsRoomDoors:
checkevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED checkevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
iffalse .KeepDoorsClosed iffalse .KeepDoorsClosed
changeblock $4, $e, $2a changeblock 4, 14, $2a
.KeepDoorsClosed: .KeepDoorsClosed:
checkevent EVENT_WILLS_ROOM_EXIT_OPEN checkevent EVENT_WILLS_ROOM_EXIT_OPEN
iffalse .OpenDoors iffalse .OpenDoors
changeblock $4, $2, $16 changeblock 4, 2, $16
.OpenDoors: .OpenDoors:
return return
@ -34,10 +34,10 @@ WillsRoom_MapScriptHeader:
refreshscreen $86 refreshscreen $86
playsound SFX_STRENGTH playsound SFX_STRENGTH
earthquake 80 earthquake 80
changeblock $4, $e, $2a changeblock 4, 14, $2a
reloadmappart reloadmappart
closetext closetext
setscene $1 setscene 1
setevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED setevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
waitsfx waitsfx
end end
@ -51,7 +51,7 @@ WillScript_Battle:
waitbutton waitbutton
closetext closetext
winlosstext WillScript_WillBeatenText, 0 winlosstext WillScript_WillBeatenText, 0
loadtrainer WILL, 1 loadtrainer WILL, WILL1
startbattle startbattle
reloadmapafterbattle reloadmapafterbattle
setevent EVENT_BEAT_ELITE_4_WILL setevent EVENT_BEAT_ELITE_4_WILL
@ -60,7 +60,7 @@ WillScript_Battle:
waitbutton waitbutton
closetext closetext
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $4, $2, $16 changeblock 4, 2, $16
reloadmappart reloadmappart
closetext closetext
setevent EVENT_WILLS_ROOM_EXIT_OPEN setevent EVENT_WILLS_ROOM_EXIT_OPEN

Some files were not shown because too many files have changed in this diff Show More