Meaningful scene constant names

(Two common patterns: 0=default event and 1=nothing; and 0=nothing and 1=some event)
This commit is contained in:
Rangi 2018-02-01 12:40:58 -05:00
parent 936a170e0d
commit fcfe77bc3d
85 changed files with 596 additions and 678 deletions

View File

@ -1,388 +1,307 @@
SCENE_DEFAULT EQU 0
; wPokecenter2FSceneID
const_def
const SCENE_POKECENTER2F_0
const SCENE_POKECENTER2F_1
const SCENE_POKECENTER2F_2
const SCENE_POKECENTER2F_3
const SCENE_POKECENTER2F_4
const SCENE_POKECENTER2F_5
const_def 1
const SCENE_POKECENTER2F_LEAVE_TRADE_CENTER ; 1
const SCENE_POKECENTER2F_LEAVE_COLOSSEUM ; 2
const SCENE_POKECENTER2F_LEAVE_TIME_CAPSULE ; 3
const SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM ; 4
const SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM ; 5
; wTradeCenterSceneID
const_def
const SCENE_TRADECENTER_0
const SCENE_TRADECENTER_1
const_def 1
const SCENE_TRADECENTER_NOTHING ; 1
; wColosseumSceneID
const_def
const SCENE_COLOSSEUM_0
const SCENE_COLOSSEUM_1
const SCENE_COLOSSEUM_2
const_def 1
const SCENE_COLOSSEUM_NOTHING ; 1
const SCENE_COLOSSEUM_UNUSED ; 2
; wTimeCapsuleSceneID
const_def
const SCENE_TIMECAPSULE_0
const SCENE_TIMECAPSULE_1
const_def 1
const SCENE_TIMECAPSULE_NOTHING ; 1
; wPowerPlantSceneID
const_def
const SCENE_POWERPLANT_0
const SCENE_POWERPLANT_1
const SCENE_POWERPLANT_NOTHING ; 0
const SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL ; 1
; wCeruleanGymSceneID
const_def
const SCENE_CERULEANGYM_0
const SCENE_CERULEANGYM_1
const SCENE_CERULEANGYM_NOTHING ; 0
const SCENE_CERULEANGYM_GRUNT_RUNS_OUT ; 1
; wRoute25SceneID
const_def
const SCENE_ROUTE25_0
const SCENE_ROUTE25_1
; wTrainerHouseB1FSceneID
const_def
const SCENE_TRAINERHOUSEB1F_0
const SCENE_ROUTE25_NOTHING ; 0
const SCENE_ROUTE25_MISTYS_DATE ; 1
; wVictoryRoadGateSceneID
const_def
const SCENE_VICTORYROADGATE_0
const SCENE_VICTORYROADGATE_1
; wSaffronMagnetTrainStationSceneID
const_def
const SCENE_SAFFRONMAGNETTRAINSTATION_0
; wRoute16GateSceneID
const_def
const SCENE_ROUTE16GATE_0
; wRoute17Route18GateSceneID
const_def
const SCENE_ROUTE17ROUTE18GATE_0
; wIndigoPlateauPokecenter1FSceneID
const_def
const SCENE_INDIGOPLATEAUPOKECENTER1F_0
const_def 1
const SCENE_VICTORYROADGATE_NOTHING ; 1
; wWillsRoomSceneID
const_def
const SCENE_WILLSROOM_0
const SCENE_WILLSROOM_1
const_def 1
const SCENE_WILLSROOM_NOTHING ; 1
; wKogasRoomSceneID
const_def
const SCENE_KOGASROOM_0
const SCENE_KOGASROOM_1
const_def 1
const SCENE_KOGASROOM_NOTHING ; 1
; wBrunosRoomSceneID
const_def
const SCENE_BRUNOSROOM_0
const SCENE_BRUNOSROOM_1
const_def 1
const SCENE_BRUNOSROOM_NOTHING ; 1
; wKarensRoomSceneID
const_def
const SCENE_KARENSROOM_0
const SCENE_KARENSROOM_1
const_def 1
const SCENE_KARENSROOM_NOTHING ; 1
; wLancesRoomSceneID
const_def
const SCENE_LANCESROOM_0
const SCENE_LANCESROOM_1
const_def 1
const SCENE_LANCESROOM_APPROACH_LANCE ; 1
; wHallOfFameSceneID
const_def
const SCENE_HALLOFFAME_0
const SCENE_HALLOFFAME_1
const_def 1
const SCENE_HALLOFFAME_NOTHING ; 1
; wRoute27SceneID
const_def
const SCENE_ROUTE27_0
const SCENE_ROUTE27_1
const SCENE_ROUTE27_2
const_def 1
const SCENE_ROUTE27_NOTHING ; 1
; wNewBarkTownSceneID
const_def
const SCENE_NEWBARKTOWN_0
const SCENE_NEWBARKTOWN_1
const_def 1
const SCENE_NEWBARKTOWN_NOTHING ; 1
; wElmsLabSceneID
const_def
const SCENE_ELMSLAB_0
const SCENE_ELMSLAB_1
const SCENE_ELMSLAB_2
const SCENE_ELMSLAB_3
const SCENE_ELMSLAB_4
const SCENE_ELMSLAB_5
const SCENE_ELMSLAB_6
const_def 1
const SCENE_ELMSLAB_CANT_LEAVE ; 1
const SCENE_ELMSLAB_NOTHING ; 2
const SCENE_ELMSLAB_MEET_OFFICER ; 3
const SCENE_ELMSLAB_UNUSED ; 4
const SCENE_ELMSLAB_AIDE_GIVES_POTION ; 5
const SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS ; 6
; wPlayersHouse1FSceneID
const_def
const SCENE_PLAYERSHOUSE1F_0
const SCENE_PLAYERSHOUSE1F_1
const_def 1
const SCENE_PLAYERSHOUSE1F_NOTHING ; 1
; wRoute29SceneID
const_def
const SCENE_ROUTE29_0
const SCENE_ROUTE29_1
const SCENE_ROUTE29_NOTHING ; 0
const SCENE_ROUTE29_CATCH_TUTORIAL ; 1
; wCherrygroveCitySceneID
const_def
const SCENE_CHERRYGROVECITY_0
const SCENE_CHERRYGROVECITY_1
const SCENE_CHERRYGROVECITY_NOTHING ; 0
const SCENE_CHERRYGROVECITY_MEET_RIVAL ; 1
; wMrPokemonsHouseSceneID
const_def
const SCENE_MRPOKEMONSHOUSE_0
const SCENE_MRPOKEMONSHOUSE_1
const_def 1
const SCENE_MRPOKEMONSHOUSE_NOTHING ; 1
; wRoute32SceneID
const_def
const SCENE_ROUTE32_0
const SCENE_ROUTE32_1
const SCENE_ROUTE32_2
const_def 1
const SCENE_ROUTE32_OFFER_SLOWPOKETAIL ; 1
const SCENE_ROUTE32_NOTHING ; 2
; wRoute35NationalParkGateSceneID
const_def
const SCENE_ROUTE35NATIONALPARKGATE_0
const SCENE_ROUTE35NATIONALPARKGATE_1
const SCENE_ROUTE35NATIONALPARKGATE_2
const SCENE_ROUTE35NATIONALPARKGATE_NOTHING ; 0
const SCENE_ROUTE35NATIONALPARKGATE_UNUSED ; 1
const SCENE_ROUTE35NATIONALPARKGATE_LEAVE_CONTEST_EARLY ; 2
; wRoute36SceneID
const_def
const SCENE_ROUTE36_0
const SCENE_ROUTE36_1
const SCENE_ROUTE36_NOTHING ; 0
const SCENE_ROUTE36_SUICUNE ; 1
; wRoute36NationalParkGateSceneID
const_def
const SCENE_ROUTE36NATIONALPARKGATE_0
const SCENE_ROUTE36NATIONALPARKGATE_1
const SCENE_ROUTE36NATIONALPARKGATE_2
const SCENE_ROUTE36NATIONALPARKGATE_NOTHING ; 0
const SCENE_ROUTE36NATIONALPARKGATE_UNUSED ; 1
const SCENE_ROUTE36NATIONALPARKGATE_LEAVE_CONTEST_EARLY ; 2
; wAzaleaTownSceneID
const_def
const SCENE_AZALEATOWN_0
const SCENE_AZALEATOWN_1
const SCENE_AZALEATOWN_2
const SCENE_AZALEATOWN_NOTHING ; 0
const SCENE_AZALEATOWN_RIVAL_BATTLE ; 1
const SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL ; 2
; wGoldenrodGymSceneID
const_def
const SCENE_GOLDENRODGYM_0
const SCENE_GOLDENRODGYM_1
; wGoldenrodMagnetTrainStationSceneID
const_def
const SCENE_GOLDENRODMAGNETTRAINSTATION_0
; wGoldenrodPokecenter1FSceneID
const_def
const SCENE_GOLDENRODPOKECENTER1F_0
const SCENE_GOLDENRODGYM_NOTHING ; 0
const SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING ; 1
; wOlivineCitySceneID
const_def
const SCENE_OLIVINECITY_0
const SCENE_OLIVINECITY_1
const_def 1
const SCENE_OLIVINECITY_NOTHING ; 1
; wEcruteakTinTowerEntranceSceneID
const_def
const SCENE_ECRUTEAKTINTOWERENTRANCE_0
const SCENE_ECRUTEAKTINTOWERENTRANCE_1
const_def 1
const SCENE_ECRUTEAKTINTOWERENTRANCE_NOTHING ; 1
; wWiseTriosRoomSceneID
const_def
const SCENE_WISETRIOSROOM_0
const SCENE_WISETRIOSROOM_1
const_def 1
const SCENE_WISETRIOSROOM_NOTHING ; 1
; wEcruteakPokecenter1FSceneID
const_def
const SCENE_ECRUTEAKPOKECENTER1F_0
const SCENE_ECRUTEAKPOKECENTER1F_1
const_def 1
const SCENE_ECRUTEAKPOKECENTER1F_NOTHING ; 1
; wEcruteakGymSceneID
const_def
const SCENE_ECRUTEAKGYM_0
const SCENE_ECRUTEAKGYM_1
const_def 1
const SCENE_ECRUTEAKGYM_NOTHING ; 1
; wMahoganyTownSceneID
const_def
const SCENE_MAHOGANYTOWN_0
const SCENE_MAHOGANYTOWN_1
const_def 1
const SCENE_MAHOGANYTOWN_NOTHING ; 1
; wRoute42SceneID
const_def
const SCENE_ROUTE42_0
const SCENE_ROUTE42_1
const SCENE_ROUTE42_NOTHING ; 0
const SCENE_ROUTE42_SUICUNE ; 1
; wCianwoodCitySceneID
const_def
const SCENE_CIANWOODCITY_0
const SCENE_CIANWOODCITY_1
const SCENE_CIANWOODCITY_NOTHING ; 0
const SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE ; 1
; wBattleTower1FSceneID
const_def
const SCENE_BATTLETOWER1F_0
const SCENE_BATTLETOWER1F_1
const_def 1
const SCENE_BATTLETOWER1F_NOTHING ; 1
; wBattleTowerBattleRoomSceneID
const_def
const SCENE_BATTLETOWERBATTLEROOM_0
const SCENE_BATTLETOWERBATTLEROOM_1
const_def 1
const SCENE_BATTLETOWERBATTLEROOM_NOTHING ; 1
; wBattleTowerElevatorSceneID
const_def
const SCENE_BATTLETOWERELEVATOR_0
const SCENE_BATTLETOWERELEVATOR_1
const_def 1
const SCENE_BATTLETOWERELEVATOR_NOTHING ; 1
; wBattleTowerHallwaySceneID
const_def
const SCENE_BATTLETOWERHALLWAY_0
const SCENE_BATTLETOWERHALLWAY_1
const_def 1
const SCENE_BATTLETOWERHALLWAY_NOTHING ; 1
; wRoute43GateSceneID
const_def
const SCENE_ROUTE43GATE_0
const SCENE_ROUTE43GATE_1
const_def 1
const SCENE_ROUTE43GATE_NOTHING ; 1
; wMountMoonSceneID
const_def
const SCENE_MOUNTMOON_0
const SCENE_MOUNTMOON_1
const_def 1
const SCENE_MOUNTMOON_NOTHING ; 1
; wSproutTower3FSceneID
const_def
const SCENE_SPROUTTOWER3F_0
const SCENE_SPROUTTOWER3F_1
const_def 1
const SCENE_SPROUTTOWER3F_NOTHING ; 1
; wTinTower1FSceneID
const_def
const SCENE_TINTOWER1F_0
const SCENE_TINTOWER1F_1
const_def 1
const SCENE_TINTOWER1F_NOTHING ; 1
; wBurnedTower1FSceneID
const_def
const SCENE_BURNEDTOWER1F_0
const SCENE_BURNEDTOWER1F_1
const SCENE_BURNEDTOWER1F_2
const_def 1
const SCENE_BURNEDTOWER1F_RIVAL_BATTLE ; 1
const SCENE_BURNEDTOWER1F_NOTHING ; 2
; wBurnedTowerB1FSceneID
const_def
const SCENE_BURNEDTOWERB1F_0
const SCENE_BURNEDTOWERB1F_1
const_def 1
const SCENE_BURNEDTOWERB1F_NOTHING ; 1
; wRadioTower5FSceneID
const_def
const SCENE_RADIOTOWER5F_0
const SCENE_RADIOTOWER5F_1
const SCENE_RADIOTOWER5F_2
const_def 1
const SCENE_RADIOTOWER5F_ROCKET_BOSS ; 1
const SCENE_RADIOTOWER5F_NOTHING ; 2
; wRuinsOfAlphOutsideSceneID
const_def
const SCENE_RUINSOFALPHOUTSIDE_0
const SCENE_RUINSOFALPHOUTSIDE_1
const SCENE_RUINSOFALPHOUTSIDE_NOTHING ; 0
const SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX ; 1
; wRuinsOfAlphResearchCenterSceneID
const_def
const SCENE_RUINSOFALPHRESEARCHCENTER_0
const SCENE_RUINSOFALPHRESEARCHCENTER_1
const SCENE_RUINSOFALPHRESEARCHCENTER_NOTHING ; 0
const SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX ; 1
; wRuinsOfAlphHoOhChamberSceneID
const_def
const SCENE_RUINSOFALPHHOOHCHAMBER_0
const SCENE_RUINSOFALPHHOOHCHAMBER_1
const_def 1
const SCENE_RUINSOFALPHHOOHCHAMBER_NOTHING ; 1
; wRuinsOfAlphKabutoChamberSceneID
const_def
const SCENE_RUINSOFALPHKABUTOCHAMBER_0
const SCENE_RUINSOFALPHKABUTOCHAMBER_1
const_def 1
const SCENE_RUINSOFALPHKABUTOCHAMBER_NOTHING ; 1
; wRuinsOfAlphOmanyteChamberSceneID
const_def
const SCENE_RUINSOFALPHOMANYTECHAMBER_0
const SCENE_RUINSOFALPHOMANYTECHAMBER_1
const_def 1
const SCENE_RUINSOFALPHOMANYTECHAMBER_NOTHING ; 1
; wRuinsOfAlphAerodactylChamberSceneID
const_def
const SCENE_RUINSOFALPHAERODACTYLCHAMBER_0
const SCENE_RUINSOFALPHAERODACTYLCHAMBER_1
const_def 1
const SCENE_RUINSOFALPHAERODACTYLCHAMBER_NOTHING ; 1
; wRuinsOfAlphInnerChamberSceneID
const_def
const SCENE_RUINSOFALPHINNERCHAMBER_0
const SCENE_RUINSOFALPHINNERCHAMBER_1
const SCENE_RUINSOFALPHINNERCHAMBER_NOTHING ; 0
const SCENE_RUINSOFALPHINNERCHAMBER_STRANGE_PRESENCE ; 1
; wMahoganyMart1FSceneID
const_def
const SCENE_MAHOGANYMART1F_0
const SCENE_MAHOGANYMART1F_1
; wTeamRocketBaseB1FSceneID
const_def
const SCENE_TEAMROCKETBASEB1F_0
const SCENE_MAHOGANYMART1F_NOTHING ; 0
const SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS ; 1
; wTeamRocketBaseB2FSceneID
const_def
const SCENE_TEAMROCKETBASEB2F_0
const SCENE_TEAMROCKETBASEB2F_1
const SCENE_TEAMROCKETBASEB2F_2
const SCENE_TEAMROCKETBASEB2F_3
const_def 1
const SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS ; 1
const SCENE_TEAMROCKETBASEB2F_ELECTRODES ; 2
const SCENE_TEAMROCKETBASEB2F_NOTHING ; 3
; wTeamRocketBaseB3FSceneID
const_def
const SCENE_TEAMROCKETBASEB3F_0
const SCENE_TEAMROCKETBASEB3F_1
const SCENE_TEAMROCKETBASEB3F_2
const SCENE_TEAMROCKETBASEB3F_3
const_def 1
const SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER ; 1
const SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS ; 2
const SCENE_TEAMROCKETBASEB3F_NOTHING ; 3
; wGoldenrodUndergroundSwitchRoomEntrancesSceneID
const_def
const SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_0
const SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_1
const_def 1
const SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOTHING ; 1
; wVictoryRoadSceneID
const_def
const SCENE_VICTORYROAD_0
const SCENE_VICTORYROAD_1
const_def 1
const SCENE_VICTORYROAD_NOTHING ; 1
; wDragonsDenB1FSceneID
const_def
const SCENE_DRAGONSDENB1F_0
const SCENE_DRAGONSDENB1F_1
const SCENE_DRAGONSDENB1F_NOTHING ; 0
const SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM ; 1
; wDragonShrineSceneID
const_def
const SCENE_DRAGONSHRINE_0
const SCENE_DRAGONSHRINE_1
const_def 1
const SCENE_DRAGONSHRINE_NOTHING ; 1
; wOlivinePortSceneID
const_def
const SCENE_OLIVINEPORT_0
const SCENE_OLIVINEPORT_1
const_def 1
const SCENE_OLIVINEPORT_LEAVE_SHIP ; 1
; wVermilionPortSceneID
const_def
const SCENE_VERMILIONPORT_0
const SCENE_VERMILIONPORT_1
const_def 1
const SCENE_VERMILIONPORT_LEAVE_SHIP ; 1
; wFastShip1FSceneID
const_def
const SCENE_FASTSHIP1F_0
const SCENE_FASTSHIP1F_1
const SCENE_FASTSHIP1F_2
const_def 1
const SCENE_FASTSHIP1F_ENTER_SHIP ; 1
const SCENE_FASTSHIP1F_MEET_GRANDPA ; 2
; wFastShipB1FSceneID
const_def
const SCENE_FASTSHIPB1F_0
const SCENE_FASTSHIPB1F_1
const_def 1
const SCENE_FASTSHIPB1F_NOTHING ; 1
; wMountMoonSquareSceneID
const_def
const SCENE_MOUNTMOONSQUARE_0
const SCENE_MOUNTMOONSQUARE_1
const_def 1
const SCENE_MOUNTMOONSQUARE_UNUSED ; 1
; wMobileTradeRoomSceneID
const_def
const SCENE_MOBILETRADEROOM_0
const SCENE_MOBILETRADEROOM_1
const_def 1
const SCENE_MOBILETRADEROOM_NOTHING ; 1
; wMobileBattleRoomSceneID
const_def
const SCENE_MOBILEBATTLEROOM_0
const SCENE_MOBILEBATTLEROOM_1
const_def 1
const SCENE_MOBILEBATTLEROOM_NOTHING ; 1

View File

@ -298,7 +298,7 @@ RadioTowerRocketsScript:
clearevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_EAST
specialphonecall SPECIALCALL_WEIRDBROADCAST
setmapscene MAHOGANY_TOWN, 1
setmapscene MAHOGANY_TOWN, SCENE_MAHOGANYTOWN_NOTHING
end
BugContestResultsWarpScript:
@ -356,8 +356,8 @@ BugContestResults_DidNotLeaveMons
waitbutton
BugContestResults_CleanUp
closetext
setscene SCENE_ROUTE36NATIONALPARKGATE_0
setmapscene ROUTE_35_NATIONAL_PARK_GATE, 0
setscene SCENE_ROUTE36NATIONALPARKGATE_NOTHING
setmapscene ROUTE_35_NATIONAL_PARK_GATE, SCENE_ROUTE35NATIONALPARKGATE_NOTHING
setevent EVENT_BUG_CATCHING_CONTESTANT_1A
setevent EVENT_BUG_CATCHING_CONTESTANT_2A
setevent EVENT_BUG_CATCHING_CONTESTANT_3A

View File

@ -14,9 +14,9 @@
AzaleaTown_MapScripts:
db 3 ; scene scripts
scene_script .DummyScene0 ; SCENE_AZALEATOWN_0
scene_script .DummyScene1 ; SCENE_AZALEATOWN_1
scene_script .DummyScene2 ; SCENE_AZALEATOWN_2
scene_script .DummyScene0 ; SCENE_AZALEATOWN_NOTHING
scene_script .DummyScene1 ; SCENE_AZALEATOWN_RIVAL_BATTLE
scene_script .DummyScene2 ; SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .Flypoint
@ -100,7 +100,7 @@ AzaleaTownRivalBattleScript:
applymovement AZALEATOWN_SILVER, AzaleaTownRivalBattleExitMovement
playsound SFX_EXIT_BUILDING
disappear AZALEATOWN_SILVER
setscene SCENE_AZALEATOWN_0
setscene SCENE_AZALEATOWN_NOTHING
waitsfx
playmapmusic
end
@ -168,7 +168,7 @@ AzaleaTownCelebiScene:
setflag ENGINE_FOREST_IS_RESTLESS
clearevent EVENT_ILEX_FOREST_LASS
setevent EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS
setscene SCENE_AZALEATOWN_0
setscene SCENE_AZALEATOWN_NOTHING
closetext
end
@ -467,9 +467,9 @@ AzaleaTown_MapEvents:
warp_event 2, 11, 4, ILEX_FOREST_AZALEA_GATE
db 3 ; coord events
coord_event 5, 10, SCENE_AZALEATOWN_1, AzaleaTownRivalBattleScene1
coord_event 5, 11, SCENE_AZALEATOWN_1, AzaleaTownRivalBattleScene2
coord_event 9, 6, SCENE_AZALEATOWN_2, AzaleaTownCelebiScene
coord_event 5, 10, SCENE_AZALEATOWN_RIVAL_BATTLE, AzaleaTownRivalBattleScene1
coord_event 5, 11, SCENE_AZALEATOWN_RIVAL_BATTLE, AzaleaTownRivalBattleScene2
coord_event 9, 6, SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL, AzaleaTownCelebiScene
db 9 ; bg events
bg_event 19, 9, BGEVENT_READ, AzaleaTownSign

View File

@ -7,8 +7,8 @@
BattleTower1F_MapScripts:
db 2 ; scene scripts
scene_script .Scene0 ; SCENE_BATTLETOWER1F_0
scene_script .Scene1 ; SCENE_BATTLETOWER1F_1
scene_script .Scene0 ; SCENE_DEFAULT
scene_script .Scene1 ; SCENE_BATTLETOWER1F_NOTHING
db 0 ; callbacks
@ -36,7 +36,7 @@ BattleTower1F_MapScripts:
writebyte BATTLETOWERACTION_06
special BattleTowerAction
.SkipEverything:
setscene SCENE_BATTLETOWER1F_1
setscene SCENE_BATTLETOWER1F_NOTHING
.Scene1:
end
@ -79,10 +79,10 @@ Script_ChooseChallenge: ; 0x9e40f
writetext Text_SaveBeforeEnteringBattleRoom
yesorno
iffalse Script_Menu_ChallengeExplanationCancel
setscene SCENE_BATTLETOWER1F_0
setscene SCENE_DEFAULT
special TryQuickSave
iffalse Script_Menu_ChallengeExplanationCancel
setscene SCENE_BATTLETOWER1F_1
setscene SCENE_BATTLETOWER1F_NOTHING
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags]
special BattleTowerAction
special BattleTowerRoomMenu
@ -103,9 +103,9 @@ Script_ResumeBattleTowerChallenge:
special BattleTowerAction
Script_WalkToBattleTowerElevator:
musicfadeout MUSIC_NONE, 8
setmapscene BATTLE_TOWER_BATTLE_ROOM, SCENE_BATTLETOWERBATTLEROOM_0
setmapscene BATTLE_TOWER_ELEVATOR, SCENE_BATTLETOWERELEVATOR_0
setmapscene BATTLE_TOWER_HALLWAY, SCENE_BATTLETOWERHALLWAY_0
setmapscene BATTLE_TOWER_BATTLE_ROOM, SCENE_DEFAULT
setmapscene BATTLE_TOWER_ELEVATOR, SCENE_DEFAULT
setmapscene BATTLE_TOWER_HALLWAY, SCENE_DEFAULT
follow BATTLETOWER1F_RECEPTIONIST, PLAYER
applymovement BATTLETOWER1F_RECEPTIONIST, MovementData_BattleTower1FWalkToElevator
writebyte BATTLETOWERACTION_0A
@ -206,10 +206,10 @@ continue:
writetext Text_SaveBeforeReentry
yesorno
iffalse Script_Menu_ChallengeExplanationCancel
setscene SCENE_BATTLETOWER1F_0
setscene SCENE_DEFAULT
special TryQuickSave
iffalse Script_Menu_ChallengeExplanationCancel
setscene SCENE_BATTLETOWER1F_1
setscene SCENE_BATTLETOWER1F_NOTHING
writebyte BATTLETOWERACTION_06
special BattleTowerAction
writebyte BATTLETOWERACTION_12

View File

@ -4,15 +4,15 @@
BattleTowerBattleRoom_MapScripts:
db 2 ; scene scripts
scene_script .EnterBattleRoom ; SCENE_BATTLETOWERBATTLEROOM_0
scene_script .DummyScene ; SCENE_BATTLETOWERBATTLEROOM_1
scene_script .EnterBattleRoom ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_BATTLETOWERBATTLEROOM_NOTHING
db 0 ; callbacks
.EnterBattleRoom: ; 0x9f419
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
priorityjump Script_BattleRoom
setscene SCENE_BATTLETOWERBATTLEROOM_1
setscene SCENE_BATTLETOWERBATTLEROOM_NOTHING
.DummyScene:
end

View File

@ -3,15 +3,14 @@
BattleTowerElevator_MapScripts:
db 2 ; scene scripts
scene_script .Scene0 ; SCENE_BATTLETOWERELEVATOR_0
scene_script .Scene1 ; SCENE_BATTLETOWERELEVATOR_1
scene_script .Scene0 ; SCENE_DEFAULT
scene_script .Scene1 ; SCENE_BATTLETOWERELEVATOR_NOTHING
db 0 ; callbacks
.Scene0:
priorityjump .RideElevator
setscene SCENE_BATTLETOWERELEVATOR_1
setscene SCENE_BATTLETOWERELEVATOR_NOTHING
.Scene1:
end

View File

@ -3,14 +3,14 @@
BattleTowerHallway_MapScripts:
db 2 ; scene scripts
scene_script .Scene0 ; SCENE_BATTLETOWERHALLWAY_0
scene_script .Scene1 ; SCENE_BATTLETOWERHALLWAY_1
scene_script .Scene0 ; SCENE_DEFAULT
scene_script .Scene1 ; SCENE_BATTLETOWERHALLWAY_NOTHING
db 0 ; callbacks
.Scene0:
priorityjump .ChooseBattleRoom
setscene SCENE_BATTLETOWERHALLWAY_1
setscene SCENE_BATTLETOWERHALLWAY_NOTHING
.Scene1:
end

View File

@ -3,8 +3,8 @@
BrunosRoom_MapScripts:
db 2 ; scene scripts
scene_script .LockDoor ; SCENE_BRUNOSROOM_0
scene_script .DummyScene ; SCENE_BRUNOSROOM_1
scene_script .LockDoor ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_BRUNOSROOM_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .BrunosRoomDoors
@ -35,7 +35,7 @@ BrunosRoom_MapScripts:
changeblock 4, 14, $2a ; wall
reloadmappart
closetext
setscene SCENE_BRUNOSROOM_1
setscene SCENE_BRUNOSROOM_NOTHING
setevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
waitsfx
end

View File

@ -7,9 +7,9 @@
BurnedTower1F_MapScripts:
db 3 ; scene scripts
scene_script .EusineScene ; SCENE_BURNEDTOWER1F_0
scene_script .DummyScene1 ; SCENE_BURNEDTOWER1F_1
scene_script .DummyScene2 ; SCENE_BURNEDTOWER1F_2
scene_script .EusineScene ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_BURNEDTOWER1F_RIVAL_BATTLE
scene_script .DummyScene2 ; SCENE_BURNEDTOWER1F_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .HoleAndLadder
@ -44,7 +44,7 @@ BurnedTower1F_MapScripts:
waitbutton
closetext
moveobject BURNEDTOWER1F_EUSINE, 9, 14
setscene SCENE_BURNEDTOWER1F_1
setscene SCENE_BURNEDTOWER1F_RIVAL_BATTLE
end
BurnedTowerRivalBattleScript:
@ -96,7 +96,7 @@ BurnedTowerRivalBattleScript:
writetext BurnedTowerSilver_AfterText1
waitbutton
closetext
setscene SCENE_BURNEDTOWER1F_2
setscene SCENE_BURNEDTOWER1F_NOTHING
setevent EVENT_RIVAL_BURNED_TOWER
special FadeOutMusic
pause 15
@ -295,7 +295,7 @@ BurnedTower1F_MapEvents:
warp_event 7, 15, 6, BURNED_TOWER_B1F
db 1 ; coord events
coord_event 11, 9, SCENE_BURNEDTOWER1F_1, BurnedTowerRivalBattleScript
coord_event 11, 9, SCENE_BURNEDTOWER1F_RIVAL_BATTLE, BurnedTowerRivalBattleScript
db 2 ; bg events
bg_event 8, 7, BGEVENT_ITEM, BurnedTower1FHiddenEther

View File

@ -11,8 +11,8 @@
BurnedTowerB1F_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_BURNEDTOWERB1F_0
scene_script .DummyScene1 ; SCENE_BURNEDTOWERB1F_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_BURNEDTOWERB1F_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .LadderCallback
@ -79,11 +79,11 @@ ReleaseTheBeasts:
disappear BURNEDTOWERB1F_SUICUNE1
waitsfx
special RestartMapMusic
setscene SCENE_BURNEDTOWERB1F_1
setscene SCENE_BURNEDTOWERB1F_NOTHING
setevent EVENT_RELEASED_THE_BEASTS
special InitRoamMons
setmapscene ECRUTEAK_GYM, SCENE_ECRUTEAKGYM_1
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_1
setmapscene ECRUTEAK_GYM, SCENE_ECRUTEAKGYM_NOTHING
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setevent EVENT_ECRUTEAK_GYM_GRAMPS
clearevent EVENT_ECRUTEAK_CITY_GRAMPS
@ -94,7 +94,7 @@ ReleaseTheBeasts:
changeblock 6, 14, $1b ; ladder
reloadmappart
closetext
setscene SCENE_BURNEDTOWERB1F_1
setscene SCENE_BURNEDTOWERB1F_NOTHING
end
BurnedTowerB1FEusine:
@ -245,7 +245,7 @@ BurnedTowerB1F_MapEvents:
warp_event 7, 15, 14, BURNED_TOWER_1F
db 1 ; coord events
coord_event 10, 6, SCENE_BURNEDTOWERB1F_0, ReleaseTheBeasts
coord_event 10, 6, SCENE_DEFAULT, ReleaseTheBeasts
db 0 ; bg events

View File

@ -8,8 +8,8 @@
CeruleanGym_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_CERULEANGYM_0
scene_script .GruntRunsOut ; SCENE_CERULEANGYM_1
scene_script .DummyScene0 ; SCENE_CERULEANGYM_NOTHING
scene_script .GruntRunsOut ; SCENE_CERULEANGYM_GRUNT_RUNS_OUT
db 0 ; callbacks
@ -46,9 +46,9 @@ CeruleanGym_MapScripts:
setevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
clearevent EVENT_ROUTE_24_ROCKET
clearevent EVENT_ROUTE_25_MISTY_BOYFRIEND
setscene SCENE_CERULEANGYM_0
setmapscene ROUTE_25, SCENE_ROUTE25_1
setmapscene POWER_PLANT, SCENE_POWERPLANT_0
setscene SCENE_CERULEANGYM_NOTHING
setmapscene ROUTE_25, SCENE_ROUTE25_MISTYS_DATE
setmapscene POWER_PLANT, SCENE_POWERPLANT_NOTHING
waitsfx
special RestartMapMusic
pause 15

View File

@ -7,8 +7,8 @@
CherrygroveCity_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_CHERRYGROVECITY_0
scene_script .DummyScene1 ; SCENE_CHERRYGROVECITY_1
scene_script .DummyScene0 ; SCENE_CHERRYGROVECITY_NOTHING
scene_script .DummyScene1 ; SCENE_CHERRYGROVECITY_MEET_RIVAL
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
@ -169,7 +169,7 @@ CherrygroveSilverSceneNorth:
spriteface PLAYER, LEFT
applymovement CHERRYGROVECITY_SILVER, CherrygroveCity_RivalExitsStageLeft
disappear CHERRYGROVECITY_SILVER
setscene SCENE_CHERRYGROVECITY_0
setscene SCENE_CHERRYGROVECITY_NOTHING
special HealParty
playmapmusic
end
@ -555,8 +555,8 @@ CherrygroveCity_MapEvents:
warp_event 31, 11, 1, CHERRYGROVE_EVOLUTION_SPEECH_HOUSE
db 2 ; coord events
coord_event 33, 6, SCENE_CHERRYGROVECITY_1, CherrygroveSilverSceneNorth
coord_event 33, 7, SCENE_CHERRYGROVECITY_1, CherrygroveSilverSceneSouth
coord_event 33, 6, SCENE_CHERRYGROVECITY_MEET_RIVAL, CherrygroveSilverSceneNorth
coord_event 33, 7, SCENE_CHERRYGROVECITY_MEET_RIVAL, CherrygroveSilverSceneSouth
db 4 ; bg events
bg_event 30, 8, BGEVENT_READ, CherrygroveCitySign

View File

@ -14,8 +14,8 @@
CianwoodCity_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_CIANWOODCITY_0
scene_script .DummyScene1 ; SCENE_CIANWOODCITY_1
scene_script .DummyScene0 ; SCENE_CIANWOODCITY_NOTHING
scene_script .DummyScene1 ; SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPointAndSuicune
@ -47,9 +47,9 @@ CianwoodCitySuicuneAndEusine:
applymovement CIANWOODCITY_SUICUNE, MovementData_0x1a00e0
disappear CIANWOODCITY_SUICUNE
pause 10
setscene SCENE_CIANWOODCITY_0
setscene SCENE_CIANWOODCITY_NOTHING
clearevent EVENT_SAW_SUICUNE_ON_ROUTE_42
setmapscene ROUTE_42, SCENE_ROUTE42_1
setmapscene ROUTE_42, SCENE_ROUTE42_SUICUNE
checkevent EVENT_FOUGHT_EUSINE
iftrue .Done
setevent EVENT_FOUGHT_EUSINE
@ -391,7 +391,7 @@ CianwoodCity_MapEvents:
warp_event 5, 17, 1, POKE_SEERS_HOUSE
db 1 ; coord events
coord_event 11, 16, SCENE_CIANWOODCITY_1, CianwoodCitySuicuneAndEusine
coord_event 11, 16, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE, CianwoodCitySuicuneAndEusine
db 8 ; bg events
bg_event 20, 34, BGEVENT_READ, CianwoodCitySign

View File

@ -4,9 +4,9 @@
Colosseum_MapScripts:
db 3 ; scene scripts
scene_script .InitializeColosseum ; SCENE_COLOSSEUM_0
scene_script .DummyScene1 ; SCENE_COLOSSEUM_1
scene_script .DummyScene2 ; SCENE_COLOSSEUM_2
scene_script .InitializeColosseum ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_COLOSSEUM_NOTHING
scene_script .DummyScene2 ; SCENE_COLOSSEUM_UNUSED
db 2 ; callbacks
callback MAPCALLBACK_OBJECTS, .SetWhichChris
@ -35,12 +35,12 @@ Colosseum_MapScripts:
return
.PreparePokecenter2F:
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_2
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
return
.InitializeAndPreparePokecenter2F:
setscene SCENE_COLOSSEUM_1
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_2
setscene SCENE_COLOSSEUM_NOTHING
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
end
MapColosseumSignpost1Script:

View File

@ -6,8 +6,8 @@
DragonShrine_MapScripts:
db 2 ; scene scripts
scene_script .DragonShrineTest ; SCENE_DRAGONSHRINE_0
scene_script .DummyScene ; SCENE_DRAGONSHRINE_1
scene_script .DragonShrineTest ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_DRAGONSHRINE_NOTHING
db 0 ; callbacks
@ -163,8 +163,8 @@ DragonShrine_MapScripts:
waitsfx
special RestartMapMusic
specialphonecall SPECIALCALL_MASTERBALL
setscene SCENE_DRAGONSHRINE_1
setmapscene DRAGONS_DEN_B1F, SCENE_DRAGONSDENB1F_1
setscene SCENE_DRAGONSHRINE_NOTHING
setmapscene DRAGONS_DEN_B1F, SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM
writetext DragonShrinePlayerReceivedRisingBadgeText
buttonsound
writetext DragonShrineRisingBadgeExplanationText

View File

@ -11,8 +11,8 @@
DragonsDenB1F_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_DRAGONSDENB1F_0
scene_script .DummyScene1 ; SCENE_DRAGONSDENB1F_1
scene_script .DummyScene0 ; SCENE_DRAGONSDENB1F_NOTHING
scene_script .DummyScene1 ; SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .CheckSilver
@ -78,7 +78,7 @@ DragonsDenB1F_ClairScene:
pause 30
special RestartMapMusic
disappear DRAGONSDENB1F_CLAIR
setscene SCENE_DRAGONSDENB1F_0
setscene SCENE_DRAGONSDENB1F_NOTHING
end
TrainerCooltrainermDarin:
@ -412,7 +412,7 @@ DragonsDenB1F_MapEvents:
warp_event 19, 29, 1, DRAGON_SHRINE
db 1 ; coord events
coord_event 19, 30, SCENE_DRAGONSDENB1F_1, DragonsDenB1F_ClairScene
coord_event 19, 30, SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM, DragonsDenB1F_ClairScene
db 4 ; bg events
bg_event 18, 24, BGEVENT_READ, MapDragonsDenB1FSignpost0Script

View File

@ -9,8 +9,8 @@
EcruteakGym_MapScripts:
db 2 ; scene scripts
scene_script .ForcedToLeave ; SCENE_ECRUTEAKGYM_0
scene_script .DummyScene ; SCENE_ECRUTEAKGYM_1
scene_script .ForcedToLeave ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_ECRUTEAKGYM_NOTHING
db 0 ; callbacks
@ -41,7 +41,7 @@ MortyScript_0x99d58:
setflag ENGINE_FOGBADGE
checkcode VAR_BADGES
scall EcruteakGymActivateRockets
setmapscene ECRUTEAK_TIN_TOWER_ENTRANCE, SCENE_ECRUTEAKTINTOWERENTRANCE_1
setmapscene ECRUTEAK_TIN_TOWER_ENTRANCE, SCENE_ECRUTEAKTINTOWERENTRANCE_NOTHING
setevent EVENT_RANG_CLEAR_BELL_1
setevent EVENT_RANG_CLEAR_BELL_2
.FightDone:

View File

@ -7,8 +7,8 @@
EcruteakPokecenter1F_MapScripts:
db 2 ; scene scripts
scene_script .MeetBill ; SCENE_ECRUTEAKPOKECENTER1F_0
scene_script .DummyScene ; SCENE_ECRUTEAKPOKECENTER1F_1
scene_script .MeetBill ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_ECRUTEAKPOKECENTER1F_NOTHING
db 0 ; callbacks
@ -51,7 +51,7 @@ EcruteakPokecenter1F_MapScripts:
disappear ECRUTEAKPOKECENTER1F_BILL
clearevent EVENT_MET_BILL
setflag ENGINE_TIME_CAPSULE
setscene SCENE_ECRUTEAKPOKECENTER1F_1
setscene SCENE_ECRUTEAKPOKECENTER1F_NOTHING
waitsfx
end

View File

@ -6,8 +6,8 @@
EcruteakTinTowerEntrance_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_ECRUTEAKTINTOWERENTRANCE_0
scene_script .DummyScene1 ; SCENE_ECRUTEAKTINTOWERENTRANCE_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_ECRUTEAKTINTOWERENTRANCE_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .InitializeSages
@ -33,7 +33,7 @@ EcruteakTinTowerEntrance_MapScripts:
setevent EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE
checkitem CLEAR_BELL
iftrue .NoClearBell
setscene SCENE_ECRUTEAKTINTOWERENTRANCE_0
setscene SCENE_DEFAULT
.NoClearBell:
return
@ -98,7 +98,7 @@ SageScript_0x98062:
writetext UnknownText_0x98250
waitbutton
closetext
setscene SCENE_ECRUTEAKTINTOWERENTRANCE_1
setscene SCENE_ECRUTEAKTINTOWERENTRANCE_NOTHING
setevent EVENT_RANG_CLEAR_BELL_2
clearevent EVENT_RANG_CLEAR_BELL_1
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
@ -286,8 +286,8 @@ EcruteakTinTowerEntrance_MapEvents:
warp_event 17, 3, 3, WISE_TRIOS_ROOM
db 2 ; coord events
coord_event 4, 7, SCENE_ECRUTEAKTINTOWERENTRANCE_0, EcruteakTinTowerEntrance_CoordEvent1
coord_event 5, 7, SCENE_ECRUTEAKTINTOWERENTRANCE_0, EcruteakTinTowerEntrance_CoordEvent2
coord_event 4, 7, SCENE_DEFAULT, EcruteakTinTowerEntrance_CoordEvent1
coord_event 5, 7, SCENE_DEFAULT, EcruteakTinTowerEntrance_CoordEvent2
db 0 ; bg events

View File

@ -8,12 +8,12 @@
ElmsLab_MapScripts:
db 6 ; scene scripts
scene_script .MeetElm ; SCENE_ELMSLAB_0
scene_script .DummyScene1 ; SCENE_ELMSLAB_1
scene_script .DummyScene2 ; SCENE_ELMSLAB_2
scene_script .DummyScene3 ; SCENE_ELMSLAB_3
scene_script .DummyScene4 ; SCENE_ELMSLAB_4
scene_script .DummyScene5 ; SCENE_ELMSLAB_5
scene_script .MeetElm ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_ELMSLAB_CANT_LEAVE
scene_script .DummyScene2 ; SCENE_ELMSLAB_NOTHING
scene_script .DummyScene3 ; SCENE_ELMSLAB_MEET_OFFICER
scene_script .DummyScene4 ; SCENE_ELMSLAB_UNUSED
scene_script .DummyScene5 ; SCENE_ELMSLAB_AIDE_GIVES_POTION
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .MoveElmCallback
@ -39,7 +39,7 @@ ElmsLab_MapScripts:
.MoveElmCallback:
checkscene
iftrue .Skip ; not SCENE_ELMSLAB_0
iftrue .Skip ; not SCENE_DEFAULT
moveobject ELMSLAB_ELM, 3, 4
.Skip:
return
@ -82,7 +82,7 @@ ElmsLab_MapScripts:
opentext
writetext ElmText_ChooseAPokemon
waitbutton
setscene SCENE_ELMSLAB_1
setscene SCENE_ELMSLAB_CANT_LEAVE
closetext
end
@ -272,8 +272,8 @@ ElmDirectionsScript:
closetext
setevent EVENT_GOT_A_POKEMON_FROM_ELM
setevent EVENT_RIVAL_CHERRYGROVE_CITY
setscene SCENE_ELMSLAB_5
setmapscene NEW_BARK_TOWN, SCENE_NEWBARKTOWN_1
setscene SCENE_ELMSLAB_AIDE_GIVES_POTION
setmapscene NEW_BARK_TOWN, SCENE_NEWBARKTOWN_NOTHING
end
ElmDescribesMrPokemonScript:
@ -339,13 +339,13 @@ ElmAfterTheftScript:
buttonsound
setevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
setflag ENGINE_BUG_CONTEST_ON
setmapscene ROUTE_29, SCENE_ROUTE29_1
setmapscene ROUTE_29, SCENE_ROUTE29_CATCH_TUTORIAL
clearevent EVENT_ROUTE_30_YOUNGSTER_JOEY
setevent EVENT_ROUTE_30_BATTLE
writetext ElmAfterTheftText6
waitbutton
closetext
setscene SCENE_ELMSLAB_6
setscene SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS
end
ElmStudyingEggScript:
@ -455,29 +455,29 @@ ElmJumpRightScript:
opentext
end
AideScript_WalkPotions1:
AideScript_WalkPotion1:
applymovement ELMSLAB_ELMS_AIDE, AideWalksRight1
spriteface PLAYER, DOWN
scall AideScript_GivePotions
scall AideScript_GivePotion
applymovement ELMSLAB_ELMS_AIDE, AideWalksLeft1
end
AideScript_WalkPotions2:
AideScript_WalkPotion2:
applymovement ELMSLAB_ELMS_AIDE, AideWalksRight2
spriteface PLAYER, DOWN
scall AideScript_GivePotions
scall AideScript_GivePotion
applymovement ELMSLAB_ELMS_AIDE, AideWalksLeft2
end
AideScript_GivePotions:
AideScript_GivePotion:
opentext
writetext AideText_GiveYouPotions
writetext AideText_GiveYouPotion
buttonsound
verbosegiveitem POTION
writetext AideText_AlwaysBusy
waitbutton
closetext
setscene SCENE_ELMSLAB_2
setscene SCENE_ELMSLAB_NOTHING
end
AideScript_WalkBalls1:
@ -505,7 +505,7 @@ AideScript_GiveYouBalls:
buttonsound
itemnotify
closetext
setscene SCENE_ELMSLAB_2
setscene SCENE_ELMSLAB_NOTHING
end
AideScript_ReceiveTheBalls:
@ -560,7 +560,7 @@ CopScript:
closetext
applymovement ELMSLAB_OFFICER, OfficerLeavesMovement
disappear ELMSLAB_OFFICER
setscene SCENE_ELMSLAB_2
setscene SCENE_ELMSLAB_NOTHING
end
ElmsLabWindow:
@ -1215,7 +1215,7 @@ ElmsLabSignpostText_Egg:
cont "by PROF.ELM."
done
AideText_GiveYouPotions:
AideText_GiveYouPotion:
text "<PLAY_G>, I want"
line "you to have this"
cont "for your errand."
@ -1376,14 +1376,14 @@ ElmsLab_MapEvents:
warp_event 5, 11, 1, NEW_BARK_TOWN
db 8 ; coord events
coord_event 4, 6, SCENE_ELMSLAB_1, LabTryToLeaveScript
coord_event 5, 6, SCENE_ELMSLAB_1, LabTryToLeaveScript
coord_event 4, 5, SCENE_ELMSLAB_3, MeetCopScript
coord_event 5, 5, SCENE_ELMSLAB_3, MeetCopScript2
coord_event 4, 8, SCENE_ELMSLAB_5, AideScript_WalkPotions1
coord_event 5, 8, SCENE_ELMSLAB_5, AideScript_WalkPotions2
coord_event 4, 8, SCENE_ELMSLAB_6, AideScript_WalkBalls1
coord_event 5, 8, SCENE_ELMSLAB_6, AideScript_WalkBalls2
coord_event 4, 6, SCENE_ELMSLAB_CANT_LEAVE, LabTryToLeaveScript
coord_event 5, 6, SCENE_ELMSLAB_CANT_LEAVE, LabTryToLeaveScript
coord_event 4, 5, SCENE_ELMSLAB_MEET_OFFICER, MeetCopScript
coord_event 5, 5, SCENE_ELMSLAB_MEET_OFFICER, MeetCopScript2
coord_event 4, 8, SCENE_ELMSLAB_AIDE_GIVES_POTION, AideScript_WalkPotion1
coord_event 5, 8, SCENE_ELMSLAB_AIDE_GIVES_POTION, AideScript_WalkPotion2
coord_event 4, 8, SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS, AideScript_WalkBalls1
coord_event 5, 8, SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS, AideScript_WalkBalls2
db 16 ; bg events
bg_event 2, 1, BGEVENT_READ, ElmsLabHealingMachine

View File

@ -6,9 +6,9 @@
FastShip1F_MapScripts:
db 3 ; scene scripts
scene_script .DummyScene0 ; SCENE_FASTSHIP1F_0
scene_script .EnterFastShip ; SCENE_FASTSHIP1F_1
scene_script .DummyScene2 ; SCENE_FASTSHIP1F_2
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .EnterFastShip ; SCENE_FASTSHIP1F_ENTER_SHIP
scene_script .DummyScene2 ; SCENE_FASTSHIP1F_MEET_GRANDPA
db 0 ; callbacks
@ -33,11 +33,11 @@ FastShip1F_MapScripts:
clearevent EVENT_FAST_SHIP_HAS_ARRIVED
checkevent EVENT_FAST_SHIP_FIRST_TIME
iftrue .SkipGrandpa
setscene SCENE_FASTSHIP1F_2
setscene SCENE_FASTSHIP1F_MEET_GRANDPA
end
.SkipGrandpa:
setscene SCENE_FASTSHIP1F_0
setscene SCENE_DEFAULT
end
SailorScript_0x75160:
@ -69,7 +69,7 @@ SailorScript_0x75160:
special FadeOutPalettes
waitsfx
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
setmapscene VERMILION_PORT, SCENE_VERMILIONPORT_1
setmapscene VERMILION_PORT, SCENE_VERMILIONPORT_LEAVE_SHIP
warp VERMILION_PORT, 7, 17
end
@ -82,7 +82,7 @@ SailorScript_0x75160:
special FadeOutPalettes
waitsfx
setevent EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY
setmapscene OLIVINE_PORT, SCENE_OLIVINEPORT_1
setmapscene OLIVINE_PORT, SCENE_OLIVINEPORT_LEAVE_SHIP
warp OLIVINE_PORT, 7, 23
end
@ -133,7 +133,7 @@ WorriedGrandpaSceneLeft:
spriteface PLAYER, RIGHT
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75222
disappear FASTSHIP1F_GENTLEMAN
setscene SCENE_FASTSHIP1F_0
setscene SCENE_DEFAULT
end
MovementData_0x7520e:
@ -301,8 +301,8 @@ FastShip1F_MapEvents:
warp_event 30, 14, 2, FAST_SHIP_B1F
db 2 ; coord events
coord_event 24, 6, SCENE_FASTSHIP1F_2, WorriedGrandpaSceneLeft
coord_event 25, 6, SCENE_FASTSHIP1F_2, WorriedGrandpaSceneRight
coord_event 24, 6, SCENE_FASTSHIP1F_MEET_GRANDPA, WorriedGrandpaSceneLeft
coord_event 25, 6, SCENE_FASTSHIP1F_MEET_GRANDPA, WorriedGrandpaSceneRight
db 0 ; bg events

View File

@ -14,8 +14,8 @@
FastShipB1F_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_FASTSHIPB1F_0
scene_script .DummyScene1 ; SCENE_FASTSHIPB1F_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_FASTSHIPB1F_NOTHING
db 0 ; callbacks
@ -454,8 +454,8 @@ FastShipB1F_MapEvents:
warp_event 31, 13, 12, FAST_SHIP_1F
db 2 ; coord events
coord_event 30, 7, SCENE_FASTSHIPB1F_0, UnknownScript_0x7673c
coord_event 31, 7, SCENE_FASTSHIPB1F_0, UnknownScript_0x76751
coord_event 30, 7, SCENE_DEFAULT, UnknownScript_0x7673c
coord_event 31, 7, SCENE_DEFAULT, UnknownScript_0x76751
db 1 ; bg events
bg_event 27, 9, BGEVENT_READ, FashShipB1FTrashcan

View File

@ -96,7 +96,7 @@ SailorScript_0x755f1:
waitbutton
closetext
setevent EVENT_FAST_SHIP_LAZY_SAILOR
setmapscene FAST_SHIP_B1F, SCENE_FASTSHIPB1F_1
setmapscene FAST_SHIP_B1F, SCENE_FASTSHIPB1F_NOTHING
checkcode VAR_FACING
if_equal RIGHT, UnknownScript_0x75629
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x75637

View File

@ -79,7 +79,7 @@ SSAquaGranddaughterBefore:
writetext SSAquaEntertainedGranddaughterText
buttonsound
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_0
setmapscene FAST_SHIP_1F, SCENE_DEFAULT
jump SSAquaMetalCoatAndDocking
SSAquaGrandpa:
@ -92,7 +92,7 @@ SSAquaGrandpa:
writetext SSAquaCantFindGranddaughterText
waitbutton
closetext
setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_0
setmapscene FAST_SHIP_1F, SCENE_DEFAULT
end
SSAquaMetalCoatAndDocking:

View File

@ -8,8 +8,8 @@
GoldenrodGym_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_GOLDENRODGYM_0
scene_script .DummyScene1 ; SCENE_GOLDENRODGYM_1
scene_script .DummyScene0 ; SCENE_GOLDENRODGYM_NOTHING
scene_script .DummyScene1 ; SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING
db 0 ; callbacks
@ -33,7 +33,7 @@ WhitneyScript_0x5400c:
reloadmapafterbattle
setevent EVENT_BEAT_WHITNEY
setevent EVENT_MADE_WHITNEY_CRY
setscene SCENE_GOLDENRODGYM_1
setscene SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING
setevent EVENT_BEAT_BEAUTY_VICTORIA
setevent EVENT_BEAT_BEAUTY_SAMANTHA
setevent EVENT_BEAT_LASS_CARRIE
@ -110,7 +110,7 @@ WhitneyCriesScript:
waitbutton
closetext
applymovement GOLDENRODGYM_LASS2, BridgetWalksAwayMovement
setscene SCENE_GOLDENRODGYM_0
setscene SCENE_GOLDENRODGYM_NOTHING
clearevent EVENT_MADE_WHITNEY_CRY
end
@ -385,7 +385,7 @@ GoldenrodGym_MapEvents:
warp_event 3, 17, 1, GOLDENROD_CITY
db 1 ; coord events
coord_event 8, 5, SCENE_GOLDENRODGYM_1, WhitneyCriesScript
coord_event 8, 5, SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING, WhitneyCriesScript
db 2 ; bg events
bg_event 1, 15, BGEVENT_READ, GoldenrodGymStatue

View File

@ -4,7 +4,7 @@
GoldenrodMagnetTrainStation_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_GOLDENRODMAGNETTRAINSTATION_0
scene_script .DummyScene ; SCENE_DEFAULT
db 0 ; callbacks
@ -172,7 +172,7 @@ GoldenrodMagnetTrainStation_MapEvents:
warp_event 11, 5, 3, SAFFRON_MAGNET_TRAIN_STATION
db 1 ; coord events
coord_event 11, 6, SCENE_GOLDENRODMAGNETTRAINSTATION_0, Script_ArriveFromSaffron
coord_event 11, 6, SCENE_DEFAULT, Script_ArriveFromSaffron
db 0 ; bg events

View File

@ -812,8 +812,8 @@ GoldenrodPokecenter1F_MapEvents:
warp_event 0, 7, 1, POKECENTER_2F
db 2 ; coord events
coord_event 3, 7, SCENE_GOLDENRODPOKECENTER1F_0, GoldenrodPokecenter1F_GSBallSceneLeft
coord_event 4, 7, SCENE_GOLDENRODPOKECENTER1F_0, GoldenrodPokecenter1F_GSBallSceneRight
coord_event 3, 7, SCENE_DEFAULT, GoldenrodPokecenter1F_GSBallSceneLeft
coord_event 4, 7, SCENE_DEFAULT, GoldenrodPokecenter1F_GSBallSceneRight
db 0 ; bg events

View File

@ -46,8 +46,8 @@ ENDM
GoldenrodUndergroundSwitchRoomEntrances_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_0
scene_script .DummyScene1 ; SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .UpdateDoorPositions
@ -130,7 +130,7 @@ UndergroundSilverScene1:
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement1
playsound SFX_EXIT_BUILDING
disappear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
setscene SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_1
setscene SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOTHING
waitsfx
playmapmusic
end
@ -149,7 +149,7 @@ UndergroundSilverScene2:
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement2
playsound SFX_EXIT_BUILDING
disappear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
setscene SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_1
setscene SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOTHING
waitsfx
playmapmusic
end
@ -158,7 +158,7 @@ UndergroundSilverBattleScript:
checkevent EVENT_RIVAL_BURNED_TOWER
iftrue .Continue
setevent EVENT_RIVAL_BURNED_TOWER
setmapscene BURNED_TOWER_1F, SCENE_BURNEDTOWER1F_1
setmapscene BURNED_TOWER_1F, SCENE_BURNEDTOWER1F_RIVAL_BATTLE
.Continue:
playmusic MUSIC_RIVAL_ENCOUNTER
opentext
@ -943,8 +943,8 @@ GoldenrodUndergroundSwitchRoomEntrances_MapEvents:
warp_event 21, 29, 13, GOLDENROD_CITY
db 2 ; coord events
coord_event 19, 4, SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_0, UndergroundSilverScene1
coord_event 19, 5, SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_0, UndergroundSilverScene2
coord_event 19, 4, SCENE_DEFAULT, UndergroundSilverScene1
coord_event 19, 5, SCENE_DEFAULT, UndergroundSilverScene2
db 6 ; bg events
bg_event 16, 1, BGEVENT_READ, Switch1Script

View File

@ -3,8 +3,8 @@
HallOfFame_MapScripts:
db 2 ; scene scripts
scene_script .EnterHallOfFame ; SCENE_HALLOFFAME_0
scene_script .DummyScene ; SCENE_HALLOFFAME_1
scene_script .EnterHallOfFame ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_HALLOFFAME_NOTHING
db 0 ; callbacks
@ -26,7 +26,7 @@ HallOfFame_MapScripts:
closetext
spriteface HALLOFFAME_LANCE, UP
applymovement PLAYER, HallOfFame_SlowlyApproachMachine
setscene SCENE_HALLOFFAME_1
setscene SCENE_HALLOFFAME_NOTHING
pause 15
writebyte HEALMACHINE_HALL_OF_FAME
special HealMachineAnim
@ -36,7 +36,7 @@ HallOfFame_MapScripts:
clearevent EVENT_RED_IN_MT_SILVER
setevent EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
clearevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
setmapscene SPROUT_TOWER_3F, SCENE_SPROUTTOWER3F_1
setmapscene SPROUT_TOWER_3F, SCENE_SPROUTTOWER3F_NOTHING
special HealParty
checkevent EVENT_GOT_SS_TICKET_FROM_ELM
iftrue .SkipPhoneCall

View File

@ -8,7 +8,7 @@
IndigoPlateauPokecenter1F_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_INDIGOPLATEAUPOKECENTER1F_0
scene_script .DummyScene ; SCENE_DEFAULT
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .PrepareElite4
@ -17,12 +17,12 @@ IndigoPlateauPokecenter1F_MapScripts:
end
.PrepareElite4:
setmapscene WILLS_ROOM, SCENE_WILLSROOM_0
setmapscene KOGAS_ROOM, SCENE_KOGASROOM_0
setmapscene BRUNOS_ROOM, SCENE_BRUNOSROOM_0
setmapscene KARENS_ROOM, SCENE_KARENSROOM_0
setmapscene LANCES_ROOM, SCENE_LANCESROOM_0
setmapscene HALL_OF_FAME, SCENE_HALLOFFAME_0
setmapscene WILLS_ROOM, SCENE_DEFAULT
setmapscene KOGAS_ROOM, SCENE_DEFAULT
setmapscene BRUNOS_ROOM, SCENE_DEFAULT
setmapscene KARENS_ROOM, SCENE_DEFAULT
setmapscene LANCES_ROOM, SCENE_DEFAULT
setmapscene HALL_OF_FAME, SCENE_DEFAULT
clearevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
clearevent EVENT_WILLS_ROOM_EXIT_OPEN
clearevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
@ -128,7 +128,7 @@ PlateauRivalPostBattle:
spriteface PLAYER, DOWN
applymovement INDIGOPLATEAUPOKECENTER1F_SILVER, PlateauRivalLeavesMovement
disappear INDIGOPLATEAUPOKECENTER1F_SILVER
setscene SCENE_INDIGOPLATEAUPOKECENTER1F_0
setscene SCENE_DEFAULT
playmapmusic
setflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
PlateauRivalScriptDone:
@ -310,8 +310,8 @@ IndigoPlateauPokecenter1F_MapEvents:
warp_event 14, 3, 1, WILLS_ROOM
db 2 ; coord events
coord_event 16, 4, SCENE_INDIGOPLATEAUPOKECENTER1F_0, PlateauRivalBattle1
coord_event 17, 4, SCENE_INDIGOPLATEAUPOKECENTER1F_0, PlateauRivalBattle2
coord_event 16, 4, SCENE_DEFAULT, PlateauRivalBattle1
coord_event 17, 4, SCENE_DEFAULT, PlateauRivalBattle2
db 0 ; bg events

View File

@ -3,8 +3,8 @@
KarensRoom_MapScripts:
db 2 ; scene scripts
scene_script .LockDoor ; SCENE_KARENSROOM_0
scene_script .DummyScene ; SCENE_KARENSROOM_1
scene_script .LockDoor ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_KARENSROOM_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .KarensRoomDoors
@ -35,7 +35,7 @@ KarensRoom_MapScripts:
changeblock 4, 14, $2a ; wall
reloadmappart
closetext
setscene SCENE_KARENSROOM_1
setscene SCENE_KARENSROOM_NOTHING
setevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
waitsfx
end

View File

@ -3,8 +3,8 @@
KogasRoom_MapScripts:
db 2 ; scene scripts
scene_script .LockDoor ; SCENE_KOGASROOM_0
scene_script .DummyScene ; SCENE_KOGASROOM_1
scene_script .LockDoor ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_KOGASROOM_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .KogasRoomDoors
@ -35,7 +35,7 @@ KogasRoom_MapScripts:
changeblock 4, 14, $2a ; wall
reloadmappart
closetext
setscene SCENE_KOGASROOM_1
setscene SCENE_KOGASROOM_NOTHING
setevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
waitsfx
end

View File

@ -309,7 +309,7 @@ KurtScript_0x18e178:
clearevent EVENT_AZALEA_TOWN_KURT
waitsfx
special RestartMapMusic
setmapscene AZALEA_TOWN, SCENE_AZALEATOWN_2
setmapscene AZALEA_TOWN, SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL
end
KurtScript_0x18e3bd:

View File

@ -60,7 +60,7 @@ UnknownScript_0x70035:
disappear LAKEOFRAGE_LANCE
clearevent EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE
setevent EVENT_DECIDED_TO_HELP_LANCE
setmapscene MAHOGANY_MART_1F, SCENE_MAHOGANYMART1F_1
setmapscene MAHOGANY_MART_1F, SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS
end
UnknownScript_0x7004e:

View File

@ -5,8 +5,8 @@
LancesRoom_MapScripts:
db 2 ; scene scripts
scene_script .LockDoor ; SCENE_LANCESROOM_0
scene_script .DummyScene ; SCENE_LANCESROOM_1
scene_script .LockDoor ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_LANCESROOM_APPROACH_LANCE
db 1 ; callbacks
callback MAPCALLBACK_TILES, .LancesRoomDoors
@ -37,7 +37,7 @@ LancesRoom_MapScripts:
changeblock 4, 22, $34 ; wall
reloadmappart
closetext
setscene SCENE_LANCESROOM_1
setscene SCENE_LANCESROOM_APPROACH_LANCE
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
end
@ -345,8 +345,8 @@ LancesRoom_MapEvents:
warp_event 5, 1, 2, HALL_OF_FAME
db 2 ; coord events
coord_event 4, 5, SCENE_LANCESROOM_1, Script_ApproachLanceFromLeft
coord_event 5, 5, SCENE_LANCESROOM_1, Script_ApproachLanceFromRight
coord_event 4, 5, SCENE_LANCESROOM_APPROACH_LANCE, Script_ApproachLanceFromLeft
coord_event 5, 5, SCENE_LANCESROOM_APPROACH_LANCE, Script_ApproachLanceFromRight
db 0 ; bg events

View File

@ -7,8 +7,8 @@
MahoganyMart1F_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_MAHOGANYMART1F_0
scene_script .LanceUncoversStaircase ; SCENE_MAHOGANYMART1F_1
scene_script .DummyScene0 ; SCENE_MAHOGANYMART1F_NOTHING
scene_script .LanceUncoversStaircase ; SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS
db 1 ; callbacks
callback MAPCALLBACK_TILES, .MahoganyMart1FStaircase
@ -99,7 +99,7 @@ UnknownScript_0x6c38f:
applymovement MAHOGANYMART1F_LANCE, MovementData_0x6c412
playsound SFX_EXIT_BUILDING
disappear MAHOGANYMART1F_LANCE
setscene SCENE_MAHOGANYMART1F_0
setscene SCENE_MAHOGANYMART1F_NOTHING
waitsfx
end

View File

@ -6,8 +6,8 @@
MahoganyTown_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_MAHOGANYTOWN_0
scene_script .DummyScene1 ; SCENE_MAHOGANYTOWN_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_MAHOGANYTOWN_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
@ -253,8 +253,8 @@ MahoganyTown_MapEvents:
warp_event 9, 1, 3, ROUTE_43_MAHOGANY_GATE
db 2 ; coord events
coord_event 19, 8, SCENE_MAHOGANYTOWN_0, UnknownScript_0x190013
coord_event 19, 9, SCENE_MAHOGANYTOWN_0, UnknownScript_0x190013
coord_event 19, 8, SCENE_DEFAULT, UnknownScript_0x190013
coord_event 19, 9, SCENE_DEFAULT, UnknownScript_0x190013
db 4 ; bg events
bg_event 1, 5, BGEVENT_READ, MahoganyTownSign

View File

@ -1,7 +1,7 @@
MobileBattleRoom_MapScripts:
db 2 ; scene scripts
scene_script .InitializeMobileBattleRoom ; SCENE_MOBILEBATTLEROOM_0
scene_script .DummyScene ; SCENE_MOBILEBATTLEROOM_1
scene_script .InitializeMobileBattleRoom ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_MOBILEBATTLEROOM_NOTHING
db 0 ; callbacks
@ -13,8 +13,8 @@ MobileBattleRoom_MapScripts:
end
.InitializeAndPreparePokecenter2F:
setscene SCENE_MOBILEBATTLEROOM_1
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_5
setscene SCENE_MOBILEBATTLEROOM_NOTHING
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM
end
MapMobileBattleRoomSignpost0Script:

View File

@ -1,7 +1,7 @@
MobileTradeRoom_MapScripts:
db 2 ; scene scripts
scene_script .InitializeMobileTradeRoom ; SCENE_MOBILETRADEROOM_0
scene_script .DummyScene ; SCENE_MOBILETRADEROOM_1
scene_script .InitializeMobileTradeRoom ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_MOBILETRADEROOM_NOTHING
db 0 ; callbacks
@ -13,8 +13,8 @@ MobileTradeRoom_MapScripts:
end
.InitializeAndPreparePokecenter2F:
setscene SCENE_MOBILETRADEROOM_1
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_4
setscene SCENE_MOBILETRADEROOM_NOTHING
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM
end
MapMobileTradeRoomSignpost0Script:

View File

@ -3,8 +3,8 @@
MountMoon_MapScripts:
db 2 ; scene scripts
scene_script .RivalEncounter ; SCENE_MOUNTMOON_0
scene_script .DummyScene ; SCENE_MOUNTMOON_1
scene_script .RivalEncounter ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_MOUNTMOON_NOTHING
db 0 ; callbacks
@ -64,7 +64,7 @@ MountMoon_MapScripts:
closetext
applymovement MOUNTMOON_SILVER, MountMoonSilverMovementAfter
disappear MOUNTMOON_SILVER
setscene SCENE_MOUNTMOON_1
setscene SCENE_MOUNTMOON_NOTHING
setevent EVENT_BEAT_RIVAL_IN_MT_MOON
playmapmusic
end

View File

@ -8,8 +8,8 @@ MountMoonSquare_MapScripts:
scene_script .DummyScene
db 2 ; callbacks
callback MAPCALLBACK_NEWMAP, .DisappearMoonStone ; SCENE_MOUNTMOONSQUARE_0
callback MAPCALLBACK_OBJECTS, .DisappearRock ; SCENE_MOUNTMOONSQUARE_1
callback MAPCALLBACK_NEWMAP, .DisappearMoonStone ; SCENE_DEFAULT
callback MAPCALLBACK_OBJECTS, .DisappearRock ; SCENE_MOUNTMOONSQUARE_UNUSED
.DummyScene:
end
@ -139,7 +139,7 @@ MountMoonSquare_MapEvents:
warp_event 13, 7, 1, MOUNT_MOON_GIFT_SHOP
db 1 ; coord events
coord_event 7, 11, SCENE_MOUNTMOONSQUARE_0, ClefairyDance
coord_event 7, 11, SCENE_DEFAULT, ClefairyDance
db 2 ; bg events
bg_event 7, 7, BGEVENT_ITEM, MountMoonSquareHiddenMoonStone

View File

@ -4,8 +4,8 @@
MrPokemonsHouse_MapScripts:
db 2 ; scene scripts
scene_script .MeetMrPokemon ; SCENE_MRPOKEMONSHOUSE_0
scene_script .DummyScene ; SCENE_MRPOKEMONSHOUSE_1
scene_script .MeetMrPokemon ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_MRPOKEMONSHOUSE_NOTHING
db 0 ; callbacks
@ -123,9 +123,9 @@ MrPokemonsHouse_OakScript:
setevent EVENT_RIVAL_NEW_BARK_TOWN
setevent EVENT_PLAYERS_HOUSE_1F_NEIGHBOR
clearevent EVENT_PLAYERS_NEIGHBORS_HOUSE_NEIGHBOR
setscene SCENE_MRPOKEMONSHOUSE_1
setmapscene CHERRYGROVE_CITY, SCENE_CHERRYGROVECITY_1
setmapscene ELMS_LAB, SCENE_ELMSLAB_3
setscene SCENE_MRPOKEMONSHOUSE_NOTHING
setmapscene CHERRYGROVE_CITY, SCENE_CHERRYGROVECITY_MEET_RIVAL
setmapscene ELMS_LAB, SCENE_ELMSLAB_MEET_OFFICER
specialphonecall SPECIALCALL_ROBBED
clearevent EVENT_COP_IN_ELMS_LAB
checkevent EVENT_GOT_TOTODILE_FROM_ELM

View File

@ -5,8 +5,8 @@
NewBarkTown_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_NEWBARKTOWN_0
scene_script .DummyScene1 ; SCENE_NEWBARKTOWN_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_NEWBARKTOWN_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
@ -289,8 +289,8 @@ NewBarkTown_MapEvents:
warp_event 11, 13, 1, ELMS_HOUSE
db 2 ; coord events
coord_event 1, 8, SCENE_NEWBARKTOWN_0, NewBarkTown_TeacherStopsYouScene1
coord_event 1, 9, SCENE_NEWBARKTOWN_0, NewBarkTown_TeacherStopsYouScene2
coord_event 1, 8, SCENE_DEFAULT, NewBarkTown_TeacherStopsYouScene1
coord_event 1, 9, SCENE_DEFAULT, NewBarkTown_TeacherStopsYouScene2
db 4 ; bg events
bg_event 8, 8, BGEVENT_READ, NewBarkTownSign

View File

@ -6,8 +6,8 @@
OlivineCity_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_OLIVINECITY_0
scene_script .DummyScene1 ; SCENE_OLIVINECITY_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_OLIVINECITY_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
@ -39,7 +39,7 @@ UnknownScript_0x1a8833:
applymovement PLAYER, MovementData_0x1a88f4
spriteface PLAYER, RIGHT
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88db
setscene SCENE_OLIVINECITY_1
setscene SCENE_OLIVINECITY_NOTHING
disappear OLIVINECITY_OLIVINE_RIVAL
special RestartMapMusic
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY
@ -64,7 +64,7 @@ UnknownScript_0x1a886b:
spriteface PLAYER, RIGHT
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88e8
disappear OLIVINECITY_OLIVINE_RIVAL
setscene SCENE_OLIVINECITY_1
setscene SCENE_OLIVINECITY_NOTHING
special RestartMapMusic
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY
special LoadUsedSpritesGFX
@ -302,8 +302,8 @@ OlivineCity_MapEvents:
warp_event 20, 27, 2, OLIVINE_PORT_PASSAGE
db 2 ; coord events
coord_event 13, 12, SCENE_OLIVINECITY_0, UnknownScript_0x1a8833
coord_event 13, 13, SCENE_OLIVINECITY_0, UnknownScript_0x1a886b
coord_event 13, 12, SCENE_DEFAULT, UnknownScript_0x1a8833
coord_event 13, 13, SCENE_DEFAULT, UnknownScript_0x1a886b
db 7 ; bg events
bg_event 17, 11, BGEVENT_READ, OlivineCitySign

View File

@ -9,8 +9,8 @@
OlivinePort_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_OLIVINEPORT_0
scene_script .LeaveFastShip ; SCENE_OLIVINEPORT_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .LeaveFastShip ; SCENE_OLIVINEPORT_LEAVE_SHIP
db 0 ; callbacks
@ -24,7 +24,7 @@ OlivinePort_MapScripts:
.LeaveFastShipScript:
applymovement PLAYER, MovementData_0x74a32
appear OLIVINEPORT_SAILOR1
setscene SCENE_OLIVINEPORT_0
setscene SCENE_DEFAULT
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
blackoutmod OLIVINE_CITY
end
@ -62,7 +62,7 @@ SailorScript_0x748c0:
UnknownScript_0x7490a:
clearevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
appear OLIVINEPORT_SAILOR1
setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_1
setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_ENTER_SHIP
warp FAST_SHIP_1F, 25, 1
end
@ -390,7 +390,7 @@ OlivinePort_MapEvents:
warp_event 7, 23, 1, FAST_SHIP_1F
db 1 ; coord events
coord_event 7, 15, SCENE_OLIVINEPORT_0, UnknownScript_0x7491f
coord_event 7, 15, SCENE_DEFAULT, UnknownScript_0x7491f
db 1 ; bg events
bg_event 1, 22, BGEVENT_ITEM, OlivinePortHiddenProtein

View File

@ -7,8 +7,8 @@
PlayersHouse1F_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_PLAYERSHOUSE1F_0
scene_script .DummyScene1 ; SCENE_PLAYERSHOUSE1F_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_PLAYERSHOUSE1F_NOTHING
db 0 ; callbacks
@ -41,7 +41,7 @@ UnknownScript_0x7a4f6:
setflag ENGINE_POKEGEAR
setflag ENGINE_PHONE_CARD
addcellnum PHONE_MOM
setscene SCENE_PLAYERSHOUSE1F_1
setscene SCENE_PLAYERSHOUSE1F_NOTHING
setevent EVENT_PLAYERS_HOUSE_MOM_1
clearevent EVENT_PLAYERS_HOUSE_MOM_2
writetext UnknownText_0x7a6bd
@ -114,7 +114,7 @@ MomScript_0x7a582:
faceplayer
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
checkscene
iffalse UnknownScript_0x7a572 ; SCENE_PLAYERSHOUSE1F_0
iffalse UnknownScript_0x7a572 ; SCENE_DEFAULT
opentext
checkevent EVENT_FIRST_TIME_BANKING_WITH_MOM
iftrue UnknownScript_0x7a5af
@ -392,8 +392,8 @@ PlayersHouse1F_MapEvents:
warp_event 9, 0, 1, PLAYERS_HOUSE_2F
db 2 ; coord events
coord_event 8, 4, SCENE_PLAYERSHOUSE1F_0, UnknownScript_0x7a4d8
coord_event 9, 4, SCENE_PLAYERSHOUSE1F_0, UnknownScript_0x7a4db
coord_event 8, 4, SCENE_DEFAULT, UnknownScript_0x7a4d8
coord_event 9, 4, SCENE_DEFAULT, UnknownScript_0x7a4db
db 4 ; bg events
bg_event 0, 1, BGEVENT_READ, StoveScript

View File

@ -6,12 +6,12 @@
Pokecenter2F_MapScripts:
db 6 ; scene scripts
scene_script .Scene0 ; SCENE_POKECENTER2F_0
scene_script .Scene1 ; SCENE_POKECENTER2F_1
scene_script .Scene2 ; SCENE_POKECENTER2F_2
scene_script .Scene3 ; SCENE_POKECENTER2F_3
scene_script .Scene4 ; SCENE_POKECENTER2F_4
scene_script .Scene5 ; SCENE_POKECENTER2F_5
scene_script .Scene0 ; SCENE_DEFAULT
scene_script .Scene1 ; SCENE_POKECENTER2F_LEAVE_TRADE_CENTER
scene_script .Scene2 ; SCENE_POKECENTER2F_LEAVE_COLOSSEUM
scene_script .Scene3 ; SCENE_POKECENTER2F_LEAVE_TIME_CAPSULE
scene_script .Scene4 ; SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM
scene_script .Scene5 ; SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM
db 0 ; callbacks
@ -374,15 +374,15 @@ LinkReceptionistScript_TimeCapsule:
Script_LeftCableTradeCenter:
special WaitForOtherPlayerToExit
scall Script_WalkOutOfLinkTradeRoom
setscene SCENE_POKECENTER2F_0
setmapscene TRADE_CENTER, SCENE_TRADECENTER_0
setscene SCENE_DEFAULT
setmapscene TRADE_CENTER, SCENE_DEFAULT
end
Script_LeftMobileTradeRoom:
special Function101220
scall Script_WalkOutOfMobileTradeRoom
setscene SCENE_POKECENTER2F_0
setmapscene MOBILE_TRADE_ROOM, SCENE_MOBILETRADEROOM_0
setscene SCENE_DEFAULT
setmapscene MOBILE_TRADE_ROOM, SCENE_DEFAULT
end
Script_WalkOutOfMobileTradeRoom:
@ -394,15 +394,15 @@ Script_WalkOutOfMobileTradeRoom:
Script_LeftCableColosseum:
special WaitForOtherPlayerToExit
scall Script_WalkOutOfLinkBattleRoom
setscene SCENE_POKECENTER2F_0
setmapscene COLOSSEUM, SCENE_COLOSSEUM_0
setscene SCENE_DEFAULT
setmapscene COLOSSEUM, SCENE_DEFAULT
end
Script_LeftMobileBattleRoom:
special Function101220
scall Script_WalkOutOfMobileBattleRoom
setscene SCENE_POKECENTER2F_0
setmapscene MOBILE_BATTLE_ROOM, SCENE_MOBILEBATTLEROOM_0
setscene SCENE_DEFAULT
setmapscene MOBILE_BATTLE_ROOM, SCENE_DEFAULT
end
Script_WalkOutOfMobileBattleRoom:
@ -577,8 +577,8 @@ Script_LeftTimeCapsule:
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepDown
applymovement POKECENTER2F_TIME_CAPSULE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_2
.Done:
setscene SCENE_POKECENTER2F_0
setmapscene TIME_CAPSULE, SCENE_TIMECAPSULE_0
setscene SCENE_DEFAULT
setmapscene TIME_CAPSULE, SCENE_DEFAULT
end
MapPokecenter2FSignpost0Script:

View File

@ -9,8 +9,8 @@
PowerPlant_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_POWERPLANT_0
scene_script .DummyScene1 ; SCENE_POWERPLANT_1
scene_script .DummyScene0 ; SCENE_POWERPLANT_NOTHING
scene_script .DummyScene1 ; SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL
db 0 ; callbacks
@ -40,7 +40,7 @@ PowerPlantGuardPhoneScript:
closetext
spriteface PLAYER, DOWN
applymovement POWERPLANT_OFFICER1, MovementData_0x188eda
setscene SCENE_POWERPLANT_0
setscene SCENE_POWERPLANT_NOTHING
end
OfficerScript_0x188df5:
@ -146,8 +146,8 @@ PowerPlantManager:
setevent EVENT_MET_MANAGER_AT_POWER_PLANT
clearevent EVENT_CERULEAN_GYM_ROCKET
clearevent EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM
setmapscene CERULEAN_GYM, SCENE_CERULEANGYM_1
setscene SCENE_POWERPLANT_1
setmapscene CERULEAN_GYM, SCENE_CERULEANGYM_GRUNT_RUNS_OUT
setscene SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL
end
UnknownScript_0x188e8d:
@ -394,7 +394,7 @@ PowerPlant_MapEvents:
warp_event 3, 17, 2, ROUTE_10_NORTH
db 1 ; coord events
coord_event 5, 12, SCENE_POWERPLANT_1, PowerPlantGuardPhoneScript
coord_event 5, 12, SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL, PowerPlantGuardPhoneScript
db 2 ; bg events
bg_event 0, 1, BGEVENT_READ, PowerPlantBookshelf

View File

@ -7,9 +7,9 @@
RadioTower5F_MapScripts:
db 3 ; scene scripts
scene_script .DummyScene0 ; SCENE_RADIOTOWER5F_0
scene_script .DummyScene1 ; SCENE_RADIOTOWER5F_1
scene_script .DummyScene2 ; SCENE_RADIOTOWER5F_2
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_RADIOTOWER5F_ROCKET_BOSS
scene_script .DummyScene2 ; SCENE_RADIOTOWER5F_NOTHING
db 0 ; callbacks
@ -45,7 +45,7 @@ FakeDirectorScript:
buttonsound
verbosegiveitem BASEMENT_KEY
closetext
setscene SCENE_RADIOTOWER5F_1
setscene SCENE_RADIOTOWER5F_ROCKET_BOSS
setevent EVENT_BEAT_ROCKET_EXECUTIVEM_3
end
@ -124,8 +124,8 @@ RadioTower5FRocketBossScene:
writetext RadioTower5FDirectorDescribeClearBellText
waitbutton
closetext
setscene SCENE_RADIOTOWER5F_2
setmapscene ECRUTEAK_TIN_TOWER_ENTRANCE, SCENE_ECRUTEAKTINTOWERENTRANCE_0
setscene SCENE_RADIOTOWER5F_NOTHING
setmapscene ECRUTEAK_TIN_TOWER_ENTRANCE, SCENE_DEFAULT
setevent EVENT_GOT_CLEAR_BELL
setevent EVENT_TEAM_ROCKET_DISBANDED
jump .UselessJump
@ -426,8 +426,8 @@ RadioTower5F_MapEvents:
warp_event 12, 0, 3, RADIO_TOWER_4F
db 2 ; coord events
coord_event 0, 3, SCENE_RADIOTOWER5F_0, FakeDirectorScript
coord_event 16, 5, SCENE_RADIOTOWER5F_1, RadioTower5FRocketBossScene
coord_event 0, 3, SCENE_DEFAULT, FakeDirectorScript
coord_event 16, 5, SCENE_RADIOTOWER5F_ROCKET_BOSS, RadioTower5FRocketBossScene
db 5 ; bg events
bg_event 3, 0, BGEVENT_READ, MapRadioTower5FSignpost0Script

View File

@ -3,7 +3,7 @@
Route16Gate_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_ROUTE16GATE_0
scene_script .DummyScene ; SCENE_DEFAULT
db 0 ; callbacks
@ -68,8 +68,8 @@ Route16Gate_MapEvents:
warp_event 9, 5, 3, ROUTE_16
db 2 ; coord events
coord_event 5, 4, SCENE_ROUTE16GATE_0, UnknownScript_0x733ed
coord_event 5, 5, SCENE_ROUTE16GATE_0, UnknownScript_0x733ed
coord_event 5, 4, SCENE_DEFAULT, UnknownScript_0x733ed
coord_event 5, 5, SCENE_DEFAULT, UnknownScript_0x733ed
db 0 ; bg events

View File

@ -3,7 +3,7 @@
Route17Route18Gate_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_ROUTE17ROUTE18GATE_0
scene_script .DummyScene ; SCENE_DEFAULT
db 0 ; callbacks
@ -59,8 +59,8 @@ Route17Route18Gate_MapEvents:
warp_event 9, 5, 2, ROUTE_18
db 2 ; coord events
coord_event 5, 4, SCENE_ROUTE17ROUTE18GATE_0, UnknownScript_0x73611
coord_event 5, 5, SCENE_ROUTE17ROUTE18GATE_0, UnknownScript_0x73611
coord_event 5, 4, SCENE_DEFAULT, UnknownScript_0x73611
coord_event 5, 5, SCENE_DEFAULT, UnknownScript_0x73611
db 0 ; bg events

View File

@ -13,8 +13,8 @@
Route25_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE25_0
scene_script .DummyScene1 ; SCENE_ROUTE25_1
scene_script .DummyScene0 ; SCENE_ROUTE25_NOTHING
scene_script .DummyScene1 ; SCENE_ROUTE25_MISTYS_DATE
db 0 ; callbacks
@ -46,7 +46,7 @@ Route25MistyDate1Script:
applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
setscene SCENE_ROUTE25_0
setscene SCENE_ROUTE25_NOTHING
special RestartMapMusic
end
@ -72,7 +72,7 @@ Route25MistyDate2Script:
applymovement ROUTE25_MISTY, MovementData_0x19f000
disappear ROUTE25_MISTY
clearevent EVENT_TRAINERS_IN_CERULEAN_GYM
setscene SCENE_ROUTE25_0
setscene SCENE_ROUTE25_NOTHING
special RestartMapMusic
end
@ -434,8 +434,8 @@ Route25_MapEvents:
warp_event 47, 5, 1, BILLS_HOUSE
db 2 ; coord events
coord_event 42, 6, SCENE_ROUTE25_1, Route25MistyDate1Script
coord_event 42, 7, SCENE_ROUTE25_1, Route25MistyDate2Script
coord_event 42, 6, SCENE_ROUTE25_MISTYS_DATE, Route25MistyDate1Script
coord_event 42, 7, SCENE_ROUTE25_MISTYS_DATE, Route25MistyDate2Script
db 2 ; bg events
bg_event 45, 5, BGEVENT_READ, BillsHouseSign

View File

@ -11,8 +11,8 @@
Route27_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE27_0
scene_script .DummyScene1 ; SCENE_ROUTE27_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_ROUTE27_NOTHING
db 0 ; callbacks
@ -40,7 +40,7 @@ UnknownScript_0x1a088c:
writetext Route27FisherText
waitbutton
closetext
setscene SCENE_ROUTE27_1
setscene SCENE_ROUTE27_NOTHING
end
Route27FisherScript:
@ -474,8 +474,8 @@ Route27_MapEvents:
warp_event 36, 5, 2, TOHJO_FALLS
db 2 ; coord events
coord_event 18, 10, SCENE_ROUTE27_0, UnknownScript_0x1a0873
coord_event 19, 10, SCENE_ROUTE27_0, UnknownScript_0x1a0881
coord_event 18, 10, SCENE_DEFAULT, UnknownScript_0x1a0873
coord_event 19, 10, SCENE_DEFAULT, UnknownScript_0x1a0881
db 1 ; bg events
bg_event 25, 7, BGEVENT_READ, TohjoFallsSign

View File

@ -10,8 +10,8 @@
Route29_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE29_0
scene_script .DummyScene1 ; SCENE_ROUTE29_1
scene_script .DummyScene0 ; SCENE_ROUTE29_NOTHING
scene_script .DummyScene1 ; SCENE_ROUTE29_CATCH_TUTORIAL
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .Tuscany
@ -57,7 +57,7 @@ Route29Tutorial1:
writetext CatchingTutorialDebriefText
waitbutton
closetext
setscene SCENE_ROUTE29_0
setscene SCENE_ROUTE29_NOTHING
setevent EVENT_LEARNED_TO_CATCH_POKEMON
end
@ -82,7 +82,7 @@ Route29Tutorial2:
writetext CatchingTutorialDebriefText
waitbutton
closetext
setscene SCENE_ROUTE29_0
setscene SCENE_ROUTE29_NOTHING
setevent EVENT_LEARNED_TO_CATCH_POKEMON
end
@ -91,7 +91,7 @@ Script_RefusedTutorial1:
waitbutton
closetext
applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData1b
setscene SCENE_ROUTE29_0
setscene SCENE_ROUTE29_NOTHING
end
Script_RefusedTutorial2:
@ -99,7 +99,7 @@ Script_RefusedTutorial2:
waitbutton
closetext
applymovement ROUTE29_COOLTRAINER_M1, DudeMovementData2b
setscene SCENE_ROUTE29_0
setscene SCENE_ROUTE29_NOTHING
end
CatchingTutorialDudeScript:
@ -420,8 +420,8 @@ Route29_MapEvents:
warp_event 27, 1, 3, ROUTE_29_ROUTE_46_GATE
db 2 ; coord events
coord_event 53, 8, SCENE_ROUTE29_1, Route29Tutorial1
coord_event 53, 9, SCENE_ROUTE29_1, Route29Tutorial2
coord_event 53, 8, SCENE_ROUTE29_CATCH_TUTORIAL, Route29Tutorial1
coord_event 53, 9, SCENE_ROUTE29_CATCH_TUTORIAL, Route29Tutorial2
db 2 ; bg events
bg_event 51, 7, BGEVENT_READ, Route29Sign1

View File

@ -16,9 +16,9 @@
Route32_MapScripts:
db 3 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE32_0
scene_script .DummyScene1 ; SCENE_ROUTE32_1
scene_script .DummyScene2 ; SCENE_ROUTE32_2
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_ROUTE32_OFFER_SLOWPOKETAIL
scene_script .DummyScene2 ; SCENE_ROUTE32_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .Frieda
@ -125,7 +125,7 @@ Route32WannaBuyASlowpokeTailScript:
SlowpokeTailSalesmanScript:
faceplayer
_OfferToSellSlowpokeTail:
setscene SCENE_ROUTE32_2
setscene SCENE_ROUTE32_NOTHING
opentext
writetext Text_MillionDollarSlowpokeTail
yesorno
@ -936,8 +936,8 @@ Route32_MapEvents:
warp_event 6, 79, 4, UNION_CAVE_1F
db 2 ; coord events
coord_event 18, 8, SCENE_ROUTE32_0, Route32CooltrainerMStopsYouScene
coord_event 7, 71, SCENE_ROUTE32_1, Route32WannaBuyASlowpokeTailScript
coord_event 18, 8, SCENE_DEFAULT, Route32CooltrainerMStopsYouScene
coord_event 7, 71, SCENE_ROUTE32_OFFER_SLOWPOKETAIL, Route32WannaBuyASlowpokeTailScript
db 6 ; bg events
bg_event 13, 5, BGEVENT_READ, Route32Sign

View File

@ -5,9 +5,9 @@
Route35NationalParkGate_MapScripts:
db 3 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE35NATIONALPARKGATE_0
scene_script .DummyScene1 ; SCENE_ROUTE35NATIONALPARKGATE_1
scene_script .LeaveContestEarly ; SCENE_ROUTE35NATIONALPARKGATE_2
scene_script .DummyScene0 ; SCENE_ROUTE35NATIONALPARKGATE_NOTHING
scene_script .DummyScene1 ; SCENE_ROUTE35NATIONALPARKGATE_UNUSED
scene_script .LeaveContestEarly ; SCENE_ROUTE35NATIONALPARKGATE_LEAVE_CONTEST_EARLY
db 2 ; callbacks
callback MAPCALLBACK_NEWMAP, .CheckIfContestRunning
@ -26,11 +26,11 @@ Route35NationalParkGate_MapScripts:
.CheckIfContestRunning:
checkflag ENGINE_BUG_CONTEST_TIMER
iftrue .BugContestIsRunning
setscene SCENE_ROUTE35NATIONALPARKGATE_0
setscene SCENE_ROUTE35NATIONALPARKGATE_NOTHING
return
.BugContestIsRunning:
setscene SCENE_ROUTE35NATIONALPARKGATE_2
setscene SCENE_ROUTE35NATIONALPARKGATE_LEAVE_CONTEST_EARLY
return
.CheckIfContestAvailable:

View File

@ -11,8 +11,8 @@
Route36_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE36_0
scene_script .DummyScene1 ; SCENE_ROUTE36_1
scene_script .DummyScene0 ; SCENE_ROUTE36_NOTHING
scene_script .DummyScene1 ; SCENE_ROUTE36_SUICUNE
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .ArthurCallback
@ -42,9 +42,9 @@ Route36SuicuneScript:
disappear ROUTE36_SUICUNE
spriteface PLAYER, DOWN
pause 10
setscene SCENE_ROUTE36_0
setscene SCENE_ROUTE36_NOTHING
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_1
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
end
SudowoodoScript:
@ -667,8 +667,8 @@ Route36_MapEvents:
warp_event 48, 13, 2, ROUTE_36_RUINS_OF_ALPH_GATE
db 2 ; coord events
coord_event 20, 7, SCENE_ROUTE36_1, Route36SuicuneScript
coord_event 22, 7, SCENE_ROUTE36_1, Route36SuicuneScript
coord_event 20, 7, SCENE_ROUTE36_SUICUNE, Route36SuicuneScript
coord_event 22, 7, SCENE_ROUTE36_SUICUNE, Route36SuicuneScript
db 4 ; bg events
bg_event 29, 1, BGEVENT_READ, Route36TrainerTips2

View File

@ -14,9 +14,9 @@
Route36NationalParkGate_MapScripts:
db 3 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE36NATIONALPARKGATE_0
scene_script .DummyScene1 ; SCENE_ROUTE36NATIONALPARKGATE_1
scene_script .LeaveContestEarly ; SCENE_ROUTE36NATIONALPARKGATE_2
scene_script .DummyScene0 ; SCENE_ROUTE36NATIONALPARKGATE_NOTHING
scene_script .DummyScene1 ; SCENE_ROUTE36NATIONALPARKGATE_UNUSED
scene_script .LeaveContestEarly ; SCENE_ROUTE36NATIONALPARKGATE_LEAVE_CONTEST_EARLY
db 2 ; callbacks
callback MAPCALLBACK_NEWMAP, .CheckIfContestRunning
@ -35,11 +35,11 @@ Route36NationalParkGate_MapScripts:
.CheckIfContestRunning:
checkflag ENGINE_BUG_CONTEST_TIMER
iftrue .BugContestIsRunning
setscene SCENE_ROUTE36NATIONALPARKGATE_0
setscene SCENE_ROUTE36NATIONALPARKGATE_NOTHING
return
.BugContestIsRunning:
setscene SCENE_ROUTE36NATIONALPARKGATE_2
setscene SCENE_ROUTE36NATIONALPARKGATE_LEAVE_CONTEST_EARLY
return
.CheckIfContestAvailable:

View File

@ -11,8 +11,8 @@
Route42_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_ROUTE42_0
scene_script .DummyScene1 ; SCENE_ROUTE42_1
scene_script .DummyScene0 ; SCENE_ROUTE42_NOTHING
scene_script .DummyScene1 ; SCENE_ROUTE42_SUICUNE
db 0 ; callbacks
@ -29,9 +29,9 @@ Route42SuicuneScript:
applymovement ROUTE42_SUICUNE, MovementData_0x1a9356
disappear ROUTE42_SUICUNE
pause 10
setscene SCENE_ROUTE42_0
setscene SCENE_ROUTE42_NOTHING
clearevent EVENT_SAW_SUICUNE_ON_ROUTE_36
setmapscene ROUTE_36, SCENE_ROUTE36_1
setmapscene ROUTE_36, SCENE_ROUTE36_SUICUNE
end
TrainerFisherTully:
@ -327,7 +327,7 @@ Route42_MapEvents:
warp_event 46, 7, 3, MOUNT_MORTAR_1F_OUTSIDE
db 1 ; coord events
coord_event 24, 14, SCENE_ROUTE42_1, Route42SuicuneScript
coord_event 24, 14, SCENE_ROUTE42_SUICUNE, Route42SuicuneScript
db 5 ; bg events
bg_event 4, 10, BGEVENT_READ, Route42Sign1

View File

@ -17,11 +17,11 @@ Route43_MapScripts:
.CheckIfRockets:
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue .NoRockets
setmapscene ROUTE_43_GATE, SCENE_ROUTE43GATE_0
setmapscene ROUTE_43_GATE, SCENE_DEFAULT
return
.NoRockets:
setmapscene ROUTE_43_GATE, SCENE_ROUTE43GATE_1
setmapscene ROUTE_43_GATE, SCENE_ROUTE43GATE_NOTHING
return
TrainerCamperSpencer:

View File

@ -7,8 +7,8 @@ ROUTE43GATE_TOLL EQU 1000
Route43Gate_MapScripts:
db 2 ; scene scripts
scene_script .RocketShakedown ; SCENE_ROUTE43GATE_0
scene_script .DummyScene ; SCENE_ROUTE43GATE_1
scene_script .RocketShakedown ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_ROUTE43GATE_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .CheckIfRockets
@ -35,7 +35,7 @@ Route43Gate_MapScripts:
checkcode VAR_FACING
if_equal DOWN, RocketScript_Southbound
if_equal UP, RocketScript_Northbound
setscene SCENE_ROUTE43GATE_1
setscene SCENE_ROUTE43GATE_NOTHING
end
RocketScript_Southbound:
@ -67,7 +67,7 @@ RocketScript_ShakeDownSouth:
closetext
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassSouth
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassSouth
setscene SCENE_ROUTE43GATE_1
setscene SCENE_ROUTE43GATE_NOTHING
special RestartMapMusic
end
@ -99,7 +99,7 @@ RocketScript_ShakeDownNorth:
closetext
applymovement ROUTE43GATE_ROCKET2, Rocket2Script_LetsYouPassNorth
applymovement ROUTE43GATE_ROCKET1, Rocket1Script_LetsYouPassNorth
setscene SCENE_ROUTE43GATE_1
setscene SCENE_ROUTE43GATE_NOTHING
special RestartMapMusic
end

View File

@ -1,7 +1,7 @@
RuinsOfAlphAerodactylChamber_MapScripts:
db 2 ; scene scripts
scene_script .CheckWall ; SCENE_RUINSOFALPHAERODACTYLCHAMBER_0
scene_script .DummyScene ; SCENE_RUINSOFALPHAERODACTYLCHAMBER_1
scene_script .CheckWall ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_RUINSOFALPHAERODACTYLCHAMBER_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .HiddenDoors
@ -41,7 +41,7 @@ RuinsOfAlphAerodactylChamber_MapScripts:
changeblock 4, 0, $30 ; open wall
reloadmappart
earthquake 50
setscene SCENE_RUINSOFALPHAERODACTYLCHAMBER_1
setscene SCENE_RUINSOFALPHAERODACTYLCHAMBER_NOTHING
closetext
end
@ -57,7 +57,7 @@ UnknownScript_0x58df7:
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
setevent EVENT_SOLVED_AERODACTYL_PUZZLE
setflag ENGINE_UNLOCKED_UNOWNS_S_TO_W
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, SCENE_RUINSOFALPHINNERCHAMBER_1
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, SCENE_RUINSOFALPHINNERCHAMBER_STRANGE_PRESENCE
earthquake 30
showemote EMOTE_SHOCK, PLAYER, 15
changeblock 2, 2, $18 ; left hole

View File

@ -1,7 +1,7 @@
RuinsOfAlphHoOhChamber_MapScripts:
db 2 ; scene scripts
scene_script .CheckWall ; SCENE_RUINSOFALPHHOOHCHAMBER_0
scene_script .DummyScene ; SCENE_RUINSOFALPHHOOHCHAMBER_1
scene_script .CheckWall ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_RUINSOFALPHHOOHCHAMBER_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .HiddenDoors
@ -42,7 +42,7 @@ RuinsOfAlphHoOhChamber_MapScripts:
changeblock 4, 0, $30 ; open wall
reloadmappart
earthquake 50
setscene SCENE_RUINSOFALPHHOOHCHAMBER_1
setscene SCENE_RUINSOFALPHHOOHCHAMBER_NOTHING
closetext
end
@ -58,7 +58,7 @@ UnknownScript_0x585ba:
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
setevent EVENT_SOLVED_HO_OH_PUZZLE
setflag ENGINE_UNLOCKED_UNOWNS_X_TO_Z
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, SCENE_RUINSOFALPHINNERCHAMBER_1
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, SCENE_RUINSOFALPHINNERCHAMBER_STRANGE_PRESENCE
earthquake 30
showemote EMOTE_SHOCK, PLAYER, 15
changeblock 2, 2, $18 ; left hole

View File

@ -5,8 +5,8 @@
RuinsOfAlphInnerChamber_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_RUINSOFALPHINNERCHAMBER_0
scene_script .UnownAppear ; SCENE_RUINSOFALPHINNERCHAMBER_1
scene_script .DummyScene0 ; SCENE_RUINSOFALPHINNERCHAMBER_NOTHING
scene_script .UnownAppear ; SCENE_RUINSOFALPHINNERCHAMBER_STRANGE_PRESENCE
db 0 ; callbacks
@ -22,7 +22,7 @@ RuinsOfAlphInnerChamber_MapScripts:
writetext RuinsOfAlphStrangePresenceText
waitbutton
closetext
setscene SCENE_RUINSOFALPHINNERCHAMBER_0
setscene SCENE_RUINSOFALPHINNERCHAMBER_NOTHING
setevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
clearevent EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER
end

View File

@ -4,8 +4,8 @@
RuinsOfAlphKabutoChamber_MapScripts:
db 2 ; scene scripts
scene_script .CheckWall ; SCENE_RUINSOFALPHKABUTOCHAMBER_0
scene_script .DummyScene ; SCENE_RUINSOFALPHKABUTOCHAMBER_1
scene_script .CheckWall ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_RUINSOFALPHKABUTOCHAMBER_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .HiddenDoors
@ -45,7 +45,7 @@ RuinsOfAlphKabutoChamber_MapScripts:
changeblock 4, 0, $30 ; open wall
reloadmappart
earthquake 50
setscene SCENE_RUINSOFALPHKABUTOCHAMBER_1
setscene SCENE_RUINSOFALPHKABUTOCHAMBER_NOTHING
closetext
end
@ -65,7 +65,7 @@ UnknownScript_0x58778:
setevent EVENT_SOLVED_KABUTO_PUZZLE
setflag ENGINE_UNLOCKED_UNOWNS_A_TO_K
setevent EVENT_RUINS_OF_ALPH_KABUTO_CHAMBER_RECEPTIONIST
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, SCENE_RUINSOFALPHINNERCHAMBER_1
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, SCENE_RUINSOFALPHINNERCHAMBER_STRANGE_PRESENCE
earthquake 30
showemote EMOTE_SHOCK, PLAYER, 15
changeblock 2, 2, $18 ; left hole

View File

@ -1,7 +1,7 @@
RuinsOfAlphOmanyteChamber_MapScripts:
db 2 ; scene scripts
scene_script .CheckWall ; SCENE_RUINSOFALPHOMANYTECHAMBER_0
scene_script .DummyScene ; SCENE_RUINSOFALPHOMANYTECHAMBER_1
scene_script .CheckWall ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_RUINSOFALPHOMANYTECHAMBER_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .HiddenDoors
@ -42,7 +42,7 @@ RuinsOfAlphOmanyteChamber_MapScripts:
changeblock 4, 0, $30 ; open wall
reloadmappart
earthquake 50
setscene SCENE_RUINSOFALPHOMANYTECHAMBER_1
setscene SCENE_RUINSOFALPHOMANYTECHAMBER_NOTHING
closetext
end
@ -58,7 +58,7 @@ UnknownScript_0x58c36:
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
setevent EVENT_SOLVED_OMANYTE_PUZZLE
setflag ENGINE_UNLOCKED_UNOWNS_L_TO_R
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, SCENE_RUINSOFALPHINNERCHAMBER_1
setmapscene RUINS_OF_ALPH_INNER_CHAMBER, SCENE_RUINSOFALPHINNERCHAMBER_STRANGE_PRESENCE
earthquake 30
showemote EMOTE_SHOCK, PLAYER, 15
changeblock 2, 2, $18 ; left hole

View File

@ -7,8 +7,8 @@
RuinsOfAlphOutside_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_RUINSOFALPHOUTSIDE_0
scene_script .DummyScene1 ; SCENE_RUINSOFALPHOUTSIDE_1
scene_script .DummyScene0 ; SCENE_RUINSOFALPHOUTSIDE_NOTHING
scene_script .DummyScene1 ; SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .ScientistCallback
@ -33,12 +33,12 @@ RuinsOfAlphOutside_MapScripts:
.YesScientist:
appear RUINSOFALPHOUTSIDE_SCIENTIST
setscene SCENE_RUINSOFALPHOUTSIDE_1
setscene SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX
return
.NoScientist:
disappear RUINSOFALPHOUTSIDE_SCIENTIST
setscene SCENE_RUINSOFALPHOUTSIDE_0
setscene SCENE_RUINSOFALPHOUTSIDE_NOTHING
return
RuinsOfAlphOutsideScientistScene1:
@ -64,7 +64,7 @@ UnknownScript_0x58044:
disappear RUINSOFALPHOUTSIDE_SCIENTIST
stopfollow
applymovement PLAYER, MovementData_0x580c5
setmapscene RUINS_OF_ALPH_RESEARCH_CENTER, SCENE_RUINSOFALPHRESEARCHCENTER_1
setmapscene RUINS_OF_ALPH_RESEARCH_CENTER, SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX
warpcheck
end
@ -295,8 +295,8 @@ RuinsOfAlphOutside_MapEvents:
warp_event 13, 21, 2, ROUTE_32_RUINS_OF_ALPH_GATE
db 2 ; coord events
coord_event 11, 14, SCENE_RUINSOFALPHOUTSIDE_1, RuinsOfAlphOutsideScientistScene1
coord_event 10, 15, SCENE_RUINSOFALPHOUTSIDE_1, RuinsOfAlphOutsideScientistScene2
coord_event 11, 14, SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX, RuinsOfAlphOutsideScientistScene1
coord_event 10, 15, SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX, RuinsOfAlphOutsideScientistScene2
db 3 ; bg events
bg_event 16, 8, BGEVENT_READ, RuinsOfAlphOutsideSignpost0Script

View File

@ -5,8 +5,8 @@
RuinsOfAlphResearchCenter_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_RUINSOFALPHRESEARCHCENTER_0
scene_script .GetUnownDex ; SCENE_RUINSOFALPHRESEARCHCENTER_1
scene_script .DummyScene0 ; SCENE_RUINSOFALPHRESEARCHCENTER_NOTHING
scene_script .GetUnownDex ; SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .ScientistCallback
@ -20,7 +20,7 @@ RuinsOfAlphResearchCenter_MapScripts:
.ScientistCallback:
checkscene
if_equal SCENE_RUINSOFALPHRESEARCHCENTER_1, .ShowScientist
if_equal SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX, .ShowScientist
return
.ShowScientist:
@ -53,7 +53,7 @@ RuinsOfAlphResearchCenter_MapScripts:
waitbutton
closetext
applymovement RUINSOFALPHRESEARCHCENTER_SCIENTIST3, MovementData_0x59276
setscene SCENE_RUINSOFALPHRESEARCHCENTER_0
setscene SCENE_RUINSOFALPHRESEARCHCENTER_NOTHING
special RestartMapMusic
end

View File

@ -6,7 +6,7 @@
SaffronMagnetTrainStation_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_SAFFRONMAGNETTRAINSTATION_0
scene_script .DummyScene ; SCENE_DEFAULT
db 0 ; callbacks
@ -223,7 +223,7 @@ SaffronMagnetTrainStation_MapEvents:
warp_event 11, 5, 3, GOLDENROD_MAGNET_TRAIN_STATION
db 1 ; coord events
coord_event 11, 6, SCENE_SAFFRONMAGNETTRAINSTATION_0, Script_ArriveFromGoldenrod
coord_event 11, 6, SCENE_DEFAULT, Script_ArriveFromGoldenrod
db 0 ; bg events

View File

@ -55,7 +55,7 @@ TrainerGruntM1:
closetext
setevent EVENT_CLEARED_SLOWPOKE_WELL
variablesprite SPRITE_AZALEA_ROCKET, SPRITE_SILVER
setmapscene AZALEA_TOWN, SCENE_AZALEATOWN_1
setmapscene AZALEA_TOWN, SCENE_AZALEATOWN_RIVAL_BATTLE
clearevent EVENT_ILEX_FOREST_APPRENTICE
clearevent EVENT_ILEX_FOREST_FARFETCHD
setevent EVENT_CHARCOAL_KILN_FARFETCH_D

View File

@ -9,8 +9,8 @@
SproutTower3F_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_SPROUTTOWER3F_0
scene_script .DummyScene1 ; SCENE_SPROUTTOWER3F_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_SPROUTTOWER3F_NOTHING
db 0 ; callbacks
@ -57,7 +57,7 @@ UnknownScript_0x184947:
disappear SPROUTTOWER3F_SILVER
waitsfx
special FadeInQuickly
setscene SCENE_SPROUTTOWER3F_1
setscene SCENE_SPROUTTOWER3F_NOTHING
special RestartMapMusic
end
@ -334,7 +334,7 @@ SproutTower3F_MapEvents:
warp_event 10, 14, 4, SPROUT_TOWER_2F
db 1 ; coord events
coord_event 11, 9, SCENE_SPROUTTOWER3F_0, UnknownScript_0x184947
coord_event 11, 9, SCENE_DEFAULT, UnknownScript_0x184947
db 6 ; bg events
bg_event 8, 1, BGEVENT_READ, MapSproutTower3FSignpost5Script

View File

@ -8,7 +8,7 @@
TeamRocketBaseB1F_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_TEAMROCKETBASEB1F_0
scene_script .DummyScene ; SCENE_DEFAULT
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .HideSecurityGrunt
@ -746,28 +746,28 @@ TeamRocketBaseB1F_MapEvents:
coord_event 8, 16, 0, SecurityCamera5
; There are spots on the floor that trigger a Pokémon battle.
; Each Pokémon (Voltorb, Koffing, Geodude) knows Selfdestruct.
coord_event 2, 7, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap1
coord_event 3, 7, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap2
coord_event 4, 7, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap3
coord_event 1, 8, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap4
coord_event 3, 8, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap5
coord_event 5, 8, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap6
coord_event 3, 9, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap7
coord_event 4, 9, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap8
coord_event 1, 10, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap9
coord_event 2, 10, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap10
coord_event 3, 10, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap11
coord_event 5, 10, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap12
coord_event 2, 11, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap13
coord_event 4, 11, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap14
coord_event 1, 12, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap15
coord_event 2, 12, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap16
coord_event 4, 12, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap17
coord_event 5, 12, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap18
coord_event 1, 13, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap19
coord_event 3, 13, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap20
coord_event 4, 13, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap21
coord_event 5, 13, SCENE_TEAMROCKETBASEB1F_0, ExplodingTrap22
coord_event 2, 7, SCENE_DEFAULT, ExplodingTrap1
coord_event 3, 7, SCENE_DEFAULT, ExplodingTrap2
coord_event 4, 7, SCENE_DEFAULT, ExplodingTrap3
coord_event 1, 8, SCENE_DEFAULT, ExplodingTrap4
coord_event 3, 8, SCENE_DEFAULT, ExplodingTrap5
coord_event 5, 8, SCENE_DEFAULT, ExplodingTrap6
coord_event 3, 9, SCENE_DEFAULT, ExplodingTrap7
coord_event 4, 9, SCENE_DEFAULT, ExplodingTrap8
coord_event 1, 10, SCENE_DEFAULT, ExplodingTrap9
coord_event 2, 10, SCENE_DEFAULT, ExplodingTrap10
coord_event 3, 10, SCENE_DEFAULT, ExplodingTrap11
coord_event 5, 10, SCENE_DEFAULT, ExplodingTrap12
coord_event 2, 11, SCENE_DEFAULT, ExplodingTrap13
coord_event 4, 11, SCENE_DEFAULT, ExplodingTrap14
coord_event 1, 12, SCENE_DEFAULT, ExplodingTrap15
coord_event 2, 12, SCENE_DEFAULT, ExplodingTrap16
coord_event 4, 12, SCENE_DEFAULT, ExplodingTrap17
coord_event 5, 12, SCENE_DEFAULT, ExplodingTrap18
coord_event 1, 13, SCENE_DEFAULT, ExplodingTrap19
coord_event 3, 13, SCENE_DEFAULT, ExplodingTrap20
coord_event 4, 13, SCENE_DEFAULT, ExplodingTrap21
coord_event 5, 13, SCENE_DEFAULT, ExplodingTrap22
db 9 ; bg events
bg_event 19, 11, BGEVENT_READ, MapTeamRocketBaseB1FSignpost0Script

View File

@ -16,10 +16,10 @@
TeamRocketBaseB2F_MapScripts:
db 4 ; scene scripts
scene_script .DummyScene0 ; SCENE_TEAMROCKETBASEB2F_0
scene_script .DummyScene1 ; SCENE_TEAMROCKETBASEB2F_1
scene_script .DummyScene2 ; SCENE_TEAMROCKETBASEB2F_2
scene_script .DummyScene3 ; SCENE_TEAMROCKETBASEB2F_3
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS
scene_script .DummyScene2 ; SCENE_TEAMROCKETBASEB2F_ELECTRODES
scene_script .DummyScene3 ; SCENE_TEAMROCKETBASEB2F_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .TransmitterDoorCallback
@ -116,7 +116,7 @@ UnknownScript_0x6cfac:
disappear TEAMROCKETBASEB2F_ROCKET4
pause 15
special FadeInQuickly
setscene SCENE_TEAMROCKETBASEB2F_2
setscene SCENE_TEAMROCKETBASEB2F_ELECTRODES
clearevent EVENT_TEAM_ROCKET_BASE_B2F_LANCE
spriteface TEAMROCKETBASEB2F_LANCE, DOWN
opentext
@ -173,7 +173,7 @@ LanceHealsCommon:
writetext LanceHealsText2
waitbutton
closetext
setscene SCENE_TEAMROCKETBASEB2F_1
setscene SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS
setevent EVENT_LANCE_HEALED_YOU_IN_TEAM_ROCKET_BASE
checkcode VAR_FACING
if_equal RIGHT, .FacingRight
@ -302,7 +302,7 @@ UnknownScript_0x6d184:
clearflag ENGINE_ROCKET_SIGNAL_ON_CH20
setevent EVENT_ROUTE_43_GATE_ROCKETS
setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_GYM
setscene SCENE_TEAMROCKETBASEB2F_3
setscene SCENE_TEAMROCKETBASEB2F_NOTHING
clearevent EVENT_LAKE_OF_RAGE_CIVILIANS
setevent EVENT_TURNED_OFF_SECURITY_CAMERAS
setevent EVENT_SECURITY_CAMERA_1
@ -917,15 +917,15 @@ TeamRocketBaseB2F_MapEvents:
warp_event 27, 14, 4, TEAM_ROCKET_BASE_B3F
db 9 ; coord events
coord_event 5, 14, SCENE_TEAMROCKETBASEB2F_0, LanceHealsScript1
coord_event 4, 13, SCENE_TEAMROCKETBASEB2F_0, LanceHealsScript2
coord_event 14, 11, SCENE_TEAMROCKETBASEB2F_1, UnknownScript_0x6cf95
coord_event 15, 11, SCENE_TEAMROCKETBASEB2F_1, UnknownScript_0x6cf9c
coord_event 14, 12, SCENE_TEAMROCKETBASEB2F_2, UnknownScript_0x6d075
coord_event 15, 12, SCENE_TEAMROCKETBASEB2F_2, UnknownScript_0x6d075
coord_event 12, 3, SCENE_TEAMROCKETBASEB2F_2, UnknownScript_0x6d07a
coord_event 12, 10, SCENE_TEAMROCKETBASEB2F_2, UnknownScript_0x6d07a
coord_event 12, 11, SCENE_TEAMROCKETBASEB2F_2, UnknownScript_0x6d07a
coord_event 5, 14, SCENE_DEFAULT, LanceHealsScript1
coord_event 4, 13, SCENE_DEFAULT, LanceHealsScript2
coord_event 14, 11, SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS, UnknownScript_0x6cf95
coord_event 15, 11, SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS, UnknownScript_0x6cf9c
coord_event 14, 12, SCENE_TEAMROCKETBASEB2F_ELECTRODES, UnknownScript_0x6d075
coord_event 15, 12, SCENE_TEAMROCKETBASEB2F_ELECTRODES, UnknownScript_0x6d075
coord_event 12, 3, SCENE_TEAMROCKETBASEB2F_ELECTRODES, UnknownScript_0x6d07a
coord_event 12, 10, SCENE_TEAMROCKETBASEB2F_ELECTRODES, UnknownScript_0x6d07a
coord_event 12, 11, SCENE_TEAMROCKETBASEB2F_ELECTRODES, UnknownScript_0x6d07a
db 23 ; bg events
bg_event 14, 12, BGEVENT_IFNOTSET, TeamRocketBaseB2FLockedDoor

View File

@ -16,10 +16,10 @@
TeamRocketBaseB3F_MapScripts:
db 4 ; scene scripts
scene_script .LanceGetsPassword ; SCENE_TEAMROCKETBASEB3F_0
scene_script .DummyScene1 ; SCENE_TEAMROCKETBASEB3F_1
scene_script .DummyScene2 ; SCENE_TEAMROCKETBASEB3F_2
scene_script .DummyScene3 ; SCENE_TEAMROCKETBASEB3F_3
scene_script .LanceGetsPassword ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER
scene_script .DummyScene2 ; SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS
scene_script .DummyScene3 ; SCENE_TEAMROCKETBASEB3F_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .CheckGiovanniDoor
@ -58,7 +58,7 @@ LanceGetPasswordScript:
closetext
applymovement TEAMROCKETBASEB3F_LANCE, MovementData_0x6e12c
disappear TEAMROCKETBASEB3F_LANCE
setscene SCENE_TEAMROCKETBASEB3F_1
setscene SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER
end
RocketBaseRival:
@ -77,7 +77,7 @@ RocketBaseRival:
applymovement PLAYER, RocketBaseRivalShovesPlayerMovement
applymovement TEAMROCKETBASEB3F_SILVER, RocketBaseRivalLeaveMovement
disappear TEAMROCKETBASEB3F_SILVER
setscene SCENE_TEAMROCKETBASEB3F_2
setscene SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS
special RestartMapMusic
end
@ -114,7 +114,7 @@ UnknownScript_0x6e056:
playsound SFX_TACKLE
applymovement TEAMROCKETBASEB3F_ROCKET1, MovementData_0x6e147
disappear TEAMROCKETBASEB3F_ROCKET1
setscene SCENE_TEAMROCKETBASEB3F_3
setscene SCENE_TEAMROCKETBASEB3F_NOTHING
end
RocketBaseMurkrow:
@ -573,9 +573,9 @@ TeamRocketBaseB3F_MapEvents:
warp_event 27, 14, 5, TEAM_ROCKET_BASE_B2F
db 3 ; coord events
coord_event 10, 8, SCENE_TEAMROCKETBASEB3F_2, UnknownScript_0x6e04b
coord_event 11, 8, SCENE_TEAMROCKETBASEB3F_2, UnknownScript_0x6e052
coord_event 8, 10, SCENE_TEAMROCKETBASEB3F_1, RocketBaseRival
coord_event 10, 8, SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS, UnknownScript_0x6e04b
coord_event 11, 8, SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS, UnknownScript_0x6e052
coord_event 8, 10, SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER, RocketBaseRival
db 10 ; bg events
bg_event 10, 9, BGEVENT_IFNOTSET, TeamRocketBaseB3FLockedDoor

View File

@ -4,8 +4,8 @@
TimeCapsule_MapScripts:
db 2 ; scene scripts
scene_script .InitializeTimeCapsule ; SCENE_TIMECAPSULE_0
scene_script .DummyScene ; SCENE_TIMECAPSULE_1
scene_script .InitializeTimeCapsule ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_TIMECAPSULE_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .SetWhichChris
@ -30,8 +30,8 @@ TimeCapsule_MapScripts:
return
.InitializeAndPreparePokecenter2F:
setscene SCENE_TIMECAPSULE_1
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_3
setscene SCENE_TIMECAPSULE_NOTHING
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_TIME_CAPSULE
end
MapTimeCapsuleSignpost1Script:

View File

@ -12,8 +12,8 @@
TinTower1F_MapScripts:
db 2 ; scene scripts
scene_script .FaceSuicune ; SCENE_TINTOWER1F_0
scene_script .DummyScene ; SCENE_TINTOWER1F_1
scene_script .FaceSuicune ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_TINTOWER1F_NOTHING
db 2 ; callbacks
callback MAPCALLBACK_OBJECTS, .NPCsCallback
@ -123,12 +123,12 @@ TinTower1F_MapScripts:
disappear TINTOWER1F_SUICUNE
setevent EVENT_FOUGHT_SUICUNE
setevent EVENT_SAW_SUICUNE_ON_ROUTE_42
setmapscene ROUTE_42, SCENE_ROUTE42_0
setmapscene ROUTE_42, SCENE_ROUTE42_NOTHING
setevent EVENT_SAW_SUICUNE_ON_ROUTE_36
setmapscene ROUTE_36, SCENE_ROUTE36_0
setmapscene ROUTE_36, SCENE_ROUTE36_NOTHING
setevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_0
setscene SCENE_TINTOWER1F_1
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_NOTHING
setscene SCENE_TINTOWER1F_NOTHING
clearevent EVENT_SET_WHEN_FOUGHT_HO_OH
reloadmapafterbattle
pause 20

View File

@ -4,8 +4,8 @@
TradeCenter_MapScripts:
db 2 ; scene scripts
scene_script .InitializeTradeCenter ; SCENE_TRADECENTER_0
scene_script .DummyScene ; SCENE_TRADECENTER_1
scene_script .InitializeTradeCenter ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_TRADECENTER_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .SetWhichChris
@ -30,8 +30,8 @@ TradeCenter_MapScripts:
return
.InitializeAndPreparePokecenter2F:
setscene SCENE_TRADECENTER_1
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_1
setscene SCENE_TRADECENTER_NOTHING
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_TRADE_CENTER
end
MapTradeCenterSignpost1Script:

View File

@ -4,7 +4,7 @@
TrainerHouseB1F_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_TRAINERHOUSEB1F_0
scene_script .DummyScene ; SCENE_DEFAULT
db 0 ; callbacks
@ -174,7 +174,7 @@ TrainerHouseB1F_MapEvents:
warp_event 9, 4, 3, TRAINER_HOUSE_1F
db 1 ; coord events
coord_event 7, 3, SCENE_TRAINERHOUSEB1F_0, TrainerHouseReceptionistScript
coord_event 7, 3, SCENE_DEFAULT, TrainerHouseReceptionistScript
db 0 ; bg events

View File

@ -5,8 +5,8 @@
VermilionPort_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_VERMILIONPORT_0
scene_script .LeaveFastShip ; SCENE_VERMILIONPORT_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .LeaveFastShip ; SCENE_VERMILIONPORT_LEAVE_SHIP
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
@ -25,7 +25,7 @@ VermilionPort_MapScripts:
.LeaveFastShipScript:
applymovement PLAYER, MovementData_0x74ef3
appear VERMILIONPORT_SAILOR1
setscene SCENE_VERMILIONPORT_0
setscene SCENE_DEFAULT
setevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1
setevent EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN
setevent EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
@ -66,7 +66,7 @@ SailorScript_0x74dc4:
clearevent EVENT_BEAT_SCHOOLBOY_RICKY
setevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
appear VERMILIONPORT_SAILOR1
setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_1
setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_ENTER_SHIP
warp FAST_SHIP_1F, 25, 1
end
@ -304,7 +304,7 @@ VermilionPort_MapEvents:
warp_event 7, 17, 1, FAST_SHIP_1F
db 1 ; coord events
coord_event 7, 11, SCENE_VERMILIONPORT_0, UnknownScript_0x74e20
coord_event 7, 11, SCENE_DEFAULT, UnknownScript_0x74e20
db 1 ; bg events
bg_event 16, 13, BGEVENT_ITEM, VermilionPortHiddenIron

View File

@ -8,8 +8,8 @@
VictoryRoad_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_VICTORYROAD_0
scene_script .DummyScene1 ; SCENE_VICTORYROAD_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_VICTORYROAD_NOTHING
db 0 ; callbacks
@ -30,7 +30,7 @@ UnknownScript_0x74492:
scall UnknownScript_0x744d4
applymovement VICTORYROAD_SILVER, MovementData_0x7454c
disappear VICTORYROAD_SILVER
setscene SCENE_VICTORYROAD_1
setscene SCENE_VICTORYROAD_NOTHING
playmapmusic
end
@ -44,7 +44,7 @@ UnknownScript_0x744b5:
scall UnknownScript_0x744d4
applymovement VICTORYROAD_SILVER, MovementData_0x74555
disappear VICTORYROAD_SILVER
setscene SCENE_VICTORYROAD_1
setscene SCENE_VICTORYROAD_NOTHING
playmapmusic
end
@ -252,8 +252,8 @@ VictoryRoad_MapEvents:
warp_event 13, 5, 3, ROUTE_23
db 2 ; coord events
coord_event 12, 8, SCENE_VICTORYROAD_0, UnknownScript_0x74492
coord_event 13, 8, SCENE_VICTORYROAD_0, UnknownScript_0x744b5
coord_event 12, 8, SCENE_DEFAULT, UnknownScript_0x74492
coord_event 13, 8, SCENE_DEFAULT, UnknownScript_0x744b5
db 2 ; bg events
bg_event 3, 29, BGEVENT_ITEM, VictoryRoadHiddenMaxPotion

View File

@ -5,8 +5,8 @@
VictoryRoadGate_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_VICTORYROADGATE_0
scene_script .DummyScene1 ; SCENE_VICTORYROADGATE_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_VICTORYROADGATE_NOTHING
db 0 ; callbacks
@ -38,7 +38,7 @@ VictoryRoadGateBadgeCheckScript:
writetext VictoryRoadGateEightBadgesText
waitbutton
closetext
setscene SCENE_VICTORYROADGATE_1
setscene SCENE_VICTORYROADGATE_NOTHING
end
VictoryRoadGateLeftBlackBeltScript:
@ -109,7 +109,7 @@ VictoryRoadGate_MapEvents:
warp_event 2, 7, 2, ROUTE_28
db 1 ; coord events
coord_event 10, 11, SCENE_VICTORYROADGATE_0, VictoryRoadGateBadgeCheckScene
coord_event 10, 11, SCENE_DEFAULT, VictoryRoadGateBadgeCheckScene
db 0 ; bg events

View File

@ -34,7 +34,7 @@ FalknerScript_0x683c2:
iftrue .SpeechAfterTM
setevent EVENT_BEAT_BIRD_KEEPER_ROD
setevent EVENT_BEAT_BIRD_KEEPER_ABE
setmapscene ELMS_LAB, SCENE_ELMSLAB_2
setmapscene ELMS_LAB, SCENE_ELMSLAB_NOTHING
specialphonecall SPECIALCALL_ASSISTANT
writetext UnknownText_0x685c8
buttonsound

View File

@ -30,7 +30,7 @@ VioletPokecenter1F_ElmsAideScript:
setevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
clearevent EVENT_ELMS_AIDE_IN_LAB
clearevent EVENT_TOGEPI_HATCHED
setmapscene ROUTE_32, SCENE_ROUTE32_1
setmapscene ROUTE_32, SCENE_ROUTE32_OFFER_SLOWPOKETAIL
writetext UnknownText_0x695c5
waitbutton
closetext

View File

@ -3,8 +3,8 @@
WillsRoom_MapScripts:
db 2 ; scene scripts
scene_script .LockDoor ; SCENE_WILLSROOM_0
scene_script .DummyScene ; SCENE_WILLSROOM_1
scene_script .LockDoor ; SCENE_DEFAULT
scene_script .DummyScene ; SCENE_WILLSROOM_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .WillsRoomDoors
@ -35,7 +35,7 @@ WillsRoom_MapScripts:
changeblock 4, 14, $2a ; wall
reloadmappart
closetext
setscene SCENE_WILLSROOM_1
setscene SCENE_WILLSROOM_NOTHING
setevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
waitsfx
end

View File

@ -8,8 +8,8 @@
WiseTriosRoom_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_WISETRIOSROOM_0
scene_script .DummyScene1 ; SCENE_WISETRIOSROOM_1
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_WISETRIOSROOM_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_OBJECTS, .WiseTrioCallback
@ -103,7 +103,7 @@ TrainerSageKoji:
applymovement WISETRIOSROOM_SAGE6, MovementData_0x98628
spriteface WISETRIOSROOM_SAGE6, UP
setevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
setscene SCENE_WISETRIOSROOM_1
setscene SCENE_WISETRIOSROOM_NOTHING
end
UnknownScript_0x9861b:
@ -351,7 +351,7 @@ WiseTriosRoom_MapEvents:
warp_event 1, 4, 5, ECRUTEAK_TIN_TOWER_ENTRANCE
db 1 ; coord events
coord_event 7, 4, SCENE_WISETRIOSROOM_0, UnknownScript_0x985a3
coord_event 7, 4, SCENE_DEFAULT, UnknownScript_0x985a3
db 0 ; bg events