Rename scene and callback labels (#981)

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
This commit is contained in:
vulcandth 2022-08-09 17:04:18 -05:00 committed by GitHub
parent 134f45b71d
commit c3331eb7b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
137 changed files with 650 additions and 647 deletions

View File

@ -1455,7 +1455,7 @@
const EVENT_MOUNT_MORTAR_B1F_PP_UP
const EVENT_RADIO_TOWER_5F_ULTRA_BALL
const EVENT_DARK_CAVE_VIOLET_ENTRANCE_DIRE_HIT
const EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
const EVENT_BATTLE_TOWER_OPEN_CIVILIANS
; Unused: next 48 events
const_next 2048

View File

@ -41,7 +41,7 @@
<pre>
def_scene_scripts
scene_script <i>script</i>
scene_script <i>script</i>, SCENE_<i>MAPNAME</i>_<i>SCENE_NAME</i>
</pre>
@ -65,9 +65,9 @@
- `MAPCALLBACK_CMDQUEUE`
<pre>
callback MAPCALLBACK_CMDQUEUE, .Boulders
callback MAPCALLBACK_CMDQUEUE, <i>MapName</i>BouldersCallback
.Boulders:
<i>MapName</i>BouldersCallback:
writecmdqueue .BoulderCmdQueue
endcallback
@ -214,7 +214,7 @@
<i>MapName</i>_MapScripts:
def_scene_scripts
; scene_script <i>script</i>
; scene_script <i>script</i>, SCENE_<i>MAPNAME</i>_<i>SCENE_NAME</i>
def_callbacks
; callback <i>type</i>, <i>script</i>

View File

@ -590,7 +590,7 @@ InitializeEventsScript:
setevent EVENT_SAW_SUICUNE_ON_ROUTE_36
setevent EVENT_SAW_SUICUNE_ON_ROUTE_42
setevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setevent EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
setevent EVENT_BATTLE_TOWER_OPEN_CIVILIANS
setflag ENGINE_ROCKET_SIGNAL_ON_CH20
setflag ENGINE_ROCKETS_IN_MAHOGANY
variablesprite SPRITE_WEIRD_TREE, SPRITE_SUDOWOODO

View File

@ -6,11 +6,11 @@
AzaleaPokecenter1F_MapScripts:
def_scene_scripts
scene_script .DummyScene ; unusable
scene_script AzaleaPokecenter1FNoopScene ; unusable
def_callbacks
.DummyScene:
AzaleaPokecenter1FNoopScene:
end
AzaleaPokecenter1FNurseScript:

View File

@ -14,23 +14,23 @@
AzaleaTown_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_AZALEATOWN_NOOP
scene_script .DummyScene1, SCENE_AZALEATOWN_RIVAL_BATTLE
scene_script .DummyScene2, SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL
scene_script AzaleaTownNoop1Scene, SCENE_AZALEATOWN_NOOP
scene_script AzaleaTownNoop2Scene, SCENE_AZALEATOWN_RIVAL_BATTLE
scene_script AzaleaTownNoop3Scene, SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL
def_callbacks
callback MAPCALLBACK_NEWMAP, .Flypoint
callback MAPCALLBACK_NEWMAP, AzaleaTownFlypointCallback
.DummyScene0:
AzaleaTownNoop1Scene:
end
.DummyScene1:
AzaleaTownNoop2Scene:
end
.DummyScene2:
AzaleaTownNoop3Scene:
end
.Flypoint:
AzaleaTownFlypointCallback:
setflag ENGINE_FLYPOINT_AZALEA
endcallback

View File

@ -7,12 +7,12 @@
BattleTower1F_MapScripts:
def_scene_scripts
scene_script .Scene0, SCENE_BATTLETOWER1F_CHECKSTATE
scene_script .Scene1, SCENE_BATTLETOWER1F_NOOP
scene_script BattleTower1FCheckStateScene, SCENE_BATTLETOWER1F_CHECKSTATE
scene_script BattleTower1FNoopScene, SCENE_BATTLETOWER1F_NOOP
def_callbacks
.Scene0:
BattleTower1FCheckStateScene:
setval BATTLETOWERACTION_CHECKSAVEFILEISYOURS
special BattleTowerAction
iffalse .SkipEverything
@ -37,7 +37,8 @@ BattleTower1F_MapScripts:
special BattleTowerAction
.SkipEverything:
setscene SCENE_BATTLETOWER1F_NOOP
.Scene1:
; fallthrough
BattleTower1FNoopScene:
end
BattleTower1FRulesSign:

View File

@ -4,16 +4,17 @@
BattleTowerBattleRoom_MapScripts:
def_scene_scripts
scene_script .EnterBattleRoom, SCENE_BATTLETOWERBATTLEROOM_ENTER
scene_script .DummyScene, SCENE_BATTLETOWERBATTLEROOM_NOOP
scene_script BattleTowerBattleRoomEnterScene, SCENE_BATTLETOWERBATTLEROOM_ENTER
scene_script BattleTowerBattleRoomNoopScene, SCENE_BATTLETOWERBATTLEROOM_NOOP
def_callbacks
.EnterBattleRoom:
BattleTowerBattleRoomEnterScene:
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
sdefer Script_BattleRoom
setscene SCENE_BATTLETOWERBATTLEROOM_NOOP
.DummyScene:
; fallthrough
BattleTowerBattleRoomNoopScene:
end
Script_BattleRoom:

View File

@ -3,18 +3,19 @@
BattleTowerElevator_MapScripts:
def_scene_scripts
scene_script .Scene0, SCENE_BATTLETOWERELEVATOR_ENTER
scene_script .Scene1, SCENE_BATTLETOWERELEVATOR_NOOP
scene_script BattleTowerElevatorEnterScene, SCENE_BATTLETOWERELEVATOR_ENTER
scene_script BattleTowerElevatorNoopScene, SCENE_BATTLETOWERELEVATOR_NOOP
def_callbacks
.Scene0:
sdefer .RideElevator
BattleTowerElevatorEnterScene:
sdefer BattleTowerElevatorRideElevatorScript
setscene SCENE_BATTLETOWERELEVATOR_NOOP
.Scene1:
; fallthrough
BattleTowerElevatorNoopScene:
end
.RideElevator:
BattleTowerElevatorRideElevatorScript:
follow BATTLETOWERELEVATOR_RECEPTIONIST, PLAYER
applymovement BATTLETOWERELEVATOR_RECEPTIONIST, MovementData_BattleTowerElevatorReceptionistWalksIn
applymovement PLAYER, MovementData_BattleTowerElevatorPlayerWalksIn

View File

@ -3,18 +3,19 @@
BattleTowerHallway_MapScripts:
def_scene_scripts
scene_script .Scene0, SCENE_BATTLETOWERHALLWAY_ENTER
scene_script .Scene1, SCENE_BATTLETOWERHALLWAY_NOOP
scene_script BattleTowerHallwayEnterScene, SCENE_BATTLETOWERHALLWAY_ENTER
scene_script BattleTowerHallwayNoopScene, SCENE_BATTLETOWERHALLWAY_NOOP
def_callbacks
.Scene0:
sdefer .ChooseBattleRoom
BattleTowerHallwayEnterScene:
sdefer BattleTowerHallwayChooseBattleRoomScript
setscene SCENE_BATTLETOWERHALLWAY_NOOP
.Scene1:
; fallthrough
BattleTowerHallwayNoopScene:
end
.ChooseBattleRoom:
BattleTowerHallwayChooseBattleRoomScript:
follow BATTLETOWERHALLWAY_RECEPTIONIST, PLAYER
callasm .asm_load_battle_room
sjump .WalkToChosenBattleRoom

View File

@ -8,14 +8,14 @@ BattleTowerOutside_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_TILES, .Callback1
callback MAPCALLBACK_OBJECTS, .Callback2
callback MAPCALLBACK_TILES, BattleTowerOutsideNoopCallback
callback MAPCALLBACK_OBJECTS, BattleTowerOutsideShowCiviliansCallback
.Callback1:
BattleTowerOutsideNoopCallback:
endcallback
.Callback2:
clearevent EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
BattleTowerOutsideShowCiviliansCallback:
clearevent EVENT_BATTLE_TOWER_OPEN_CIVILIANS
endcallback
BattleTowerOutsideYoungsterScript:
@ -144,5 +144,5 @@ BattleTowerOutside_MapEvents:
def_object_events
object_event 6, 12, SPRITE_STANDING_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideYoungsterScript, -1
object_event 13, 11, SPRITE_BEAUTY, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideBeautyScript, -1
object_event 12, 18, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideSailorScript, EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
object_event 12, 18, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideSailorScript, EVENT_BATTLE_TOWER_OPEN_CIVILIANS
object_event 12, 24, SPRITE_LASS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ObjectEvent, -1

View File

@ -13,14 +13,14 @@ BlackthornCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_OBJECTS, .Santos
callback MAPCALLBACK_NEWMAP, BlackthornCityFlypointCallback
callback MAPCALLBACK_OBJECTS, BlackthornCitySantosCallback
.FlyPoint:
BlackthornCityFlypointCallback:
setflag ENGINE_FLYPOINT_BLACKTHORN
endcallback
.Santos:
BlackthornCitySantosCallback:
readvar VAR_WEEKDAY
ifequal SATURDAY, .SantosAppears
disappear BLACKTHORNCITY_SANTOS

View File

@ -9,9 +9,9 @@ BlackthornGym1F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_TILES, .Boulders
callback MAPCALLBACK_TILES, BlackthornGym1FBouldersCallback
.Boulders:
BlackthornGym1FBouldersCallback:
checkevent EVENT_BOULDER_IN_BLACKTHORN_GYM_1
iffalse .skip1
changeblock 8, 2, $3b ; fallen boulder 2

View File

@ -12,9 +12,9 @@ BlackthornGym2F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_CMDQUEUE, .SetUpStoneTable
callback MAPCALLBACK_CMDQUEUE, BlackthornGym2FSetUpStoneTableCallback
.SetUpStoneTable:
BlackthornGym2FSetUpStoneTableCallback:
writecmdqueue .CommandQueue
endcallback

View File

@ -3,20 +3,20 @@
BrunosRoom_MapScripts:
def_scene_scripts
scene_script .LockDoor, SCENE_BRUNOSROOM_LOCK_DOOR
scene_script .DummyScene, SCENE_BRUNOSROOM_NOOP
scene_script BrunosRoomLockDoorScene, SCENE_BRUNOSROOM_LOCK_DOOR
scene_script BrunosRoomNoopScene, SCENE_BRUNOSROOM_NOOP
def_callbacks
callback MAPCALLBACK_TILES, .BrunosRoomDoors
callback MAPCALLBACK_TILES, BrunosRoomDoorsCallback
.LockDoor:
sdefer .BrunosDoorLocksBehindYou
BrunosRoomLockDoorScene:
sdefer BrunosRoomDoorLocksBehindYouScript
end
.DummyScene:
BrunosRoomNoopScene:
end
.BrunosRoomDoors:
BrunosRoomDoorsCallback:
checkevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
iffalse .KeepEntranceOpen
changeblock 4, 14, $2a ; wall
@ -27,7 +27,7 @@ BrunosRoom_MapScripts:
.KeepExitClosed:
endcallback
.BrunosDoorLocksBehindYou:
BrunosRoomDoorLocksBehindYouScript:
applymovement PLAYER, BrunosRoom_EnterMovement
refreshscreen $86
playsound SFX_STRENGTH

View File

@ -7,24 +7,24 @@
BurnedTower1F_MapScripts:
def_scene_scripts
scene_script .EusineScene, SCENE_BURNEDTOWER1F_MEET_EUSINE
scene_script .DummyScene1, SCENE_BURNEDTOWER1F_RIVAL_BATTLE
scene_script .DummyScene2, SCENE_BURNEDTOWER1F_NOOP
scene_script BurnedTower1FMeetEusineScene, SCENE_BURNEDTOWER1F_MEET_EUSINE
scene_script BurnedTower1FNoop1Scene, SCENE_BURNEDTOWER1F_RIVAL_BATTLE
scene_script BurnedTower1FNoop2Scene, SCENE_BURNEDTOWER1F_NOOP
def_callbacks
callback MAPCALLBACK_TILES, .HoleAndLadder
callback MAPCALLBACK_TILES, BurnedTower1FHoleAndLadderCallback
.EusineScene:
sdefer .MeetEusine
BurnedTower1FMeetEusineScene:
sdefer BurnedTower1FMeetEusineScript
end
.DummyScene1:
BurnedTower1FNoop1Scene:
end
.DummyScene2:
BurnedTower1FNoop2Scene:
end
.HoleAndLadder:
BurnedTower1FHoleAndLadderCallback:
checkevent EVENT_HOLE_IN_BURNED_TOWER
iftrue .KeepHoleOpen
changeblock 10, 8, $32 ; floor
@ -35,7 +35,7 @@ BurnedTower1F_MapScripts:
.HideBasement:
endcallback
.MeetEusine:
BurnedTower1FMeetEusineScript:
turnobject BURNEDTOWER1F_EUSINE, DOWN
showemote EMOTE_SHOCK, BURNEDTOWER1F_EUSINE, 15
applymovement BURNEDTOWER1F_EUSINE, BurnedTower1FEusineMovement

View File

@ -11,19 +11,19 @@
BurnedTowerB1F_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_BURNEDTOWERB1F_RELEASE_THE_BEASTS
scene_script .DummyScene1, SCENE_BURNEDTOWERB1F_NOOP
scene_script BurnedTowerB1FNoop1Scene, SCENE_BURNEDTOWERB1F_RELEASE_THE_BEASTS
scene_script BurnedTowerB1FNoop2Scene, SCENE_BURNEDTOWERB1F_NOOP
def_callbacks
callback MAPCALLBACK_TILES, .LadderCallback
callback MAPCALLBACK_TILES, BurnedTowerB1FLadderCallback
.DummyScene0:
BurnedTowerB1FNoop1Scene:
end
.DummyScene1:
BurnedTowerB1FNoop2Scene:
end
.LadderCallback:
BurnedTowerB1FLadderCallback:
checkevent EVENT_RELEASED_THE_BEASTS
iftrue .HideLadder
changeblock 6, 14, $02 ; floor

View File

@ -13,9 +13,9 @@ CeladonCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, CeladonCityFlypointCallback
.FlyPoint:
CeladonCityFlypointCallback:
setflag ENGINE_FLYPOINT_CELADON
endcallback

View File

@ -10,9 +10,9 @@ CeladonDeptStore6F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_TILES, .HideRooftopStairs
callback MAPCALLBACK_TILES, CeladonDeptStore6FHideRooftopStairsCallback
.HideRooftopStairs:
CeladonDeptStore6FHideRooftopStairsCallback:
changeblock 12, 0, $03 ; wall
endcallback

View File

@ -10,9 +10,9 @@ CeruleanCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, CeruleanCityFlypointCallback
.FlyPoint:
CeruleanCityFlypointCallback:
setflag ENGINE_FLYPOINT_CERULEAN
endcallback

View File

@ -8,19 +8,19 @@
CeruleanGym_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_CERULEANGYM_NOOP
scene_script .GruntRunsOut, SCENE_CERULEANGYM_GRUNT_RUNS_OUT
scene_script CeruleanGymNoopScene, SCENE_CERULEANGYM_NOOP
scene_script CeruleanGymGruntRunsOutScene, SCENE_CERULEANGYM_GRUNT_RUNS_OUT
def_callbacks
.DummyScene0:
CeruleanGymNoopScene:
end
.GruntRunsOut:
sdefer .GruntRunsOutScript
CeruleanGymGruntRunsOutScene:
sdefer CeruleanGymGruntRunsOutScript
end
.GruntRunsOutScript:
CeruleanGymGruntRunsOutScript:
applymovement CERULEANGYM_ROCKET, CeruleanGymGruntRunsDownMovement
playsound SFX_TACKLE
applymovement CERULEANGYM_ROCKET, CeruleanGymGruntRunsIntoYouMovement

View File

@ -7,19 +7,19 @@
CherrygroveCity_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_CHERRYGROVECITY_NOOP
scene_script .DummyScene1, SCENE_CHERRYGROVECITY_MEET_RIVAL
scene_script CherrygroveCityNoop1Scene, SCENE_CHERRYGROVECITY_NOOP
scene_script CherrygroveCityNoop2Scene, SCENE_CHERRYGROVECITY_MEET_RIVAL
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, CherrygroveCityFlypointCallback
.DummyScene0:
CherrygroveCityNoop1Scene:
end
.DummyScene1:
CherrygroveCityNoop2Scene:
end
.FlyPoint:
CherrygroveCityFlypointCallback:
setflag ENGINE_FLYPOINT_CHERRYGROVE
endcallback

View File

@ -14,19 +14,19 @@
CianwoodCity_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_CIANWOODCITY_NOOP
scene_script .DummyScene1, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
scene_script CianwoodCityNoop1Scene, SCENE_CIANWOODCITY_NOOP
scene_script CianwoodCityNoop2Scene, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPointAndSuicune
callback MAPCALLBACK_NEWMAP, CianwoodCityFlypointAndSuicuneCallback
.DummyScene0:
CianwoodCityNoop1Scene:
end
.DummyScene1:
CianwoodCityNoop2Scene:
end
.FlyPointAndSuicune:
CianwoodCityFlypointAndSuicuneCallback:
setflag ENGINE_FLYPOINT_CIANWOOD
setevent EVENT_EUSINE_IN_BURNED_TOWER
checkevent EVENT_FOUGHT_EUSINE

View File

@ -3,11 +3,11 @@
CianwoodPharmacy_MapScripts:
def_scene_scripts
scene_script .DummyScene
scene_script CianwoodPharmacyNoopScene ; unusable
def_callbacks
.DummyScene:
CianwoodPharmacyNoopScene:
end
CianwoodPharmacist:

View File

@ -5,9 +5,9 @@ CinnabarIsland_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, CinnabarIslandFlypointCallback
.FlyPoint:
CinnabarIslandFlypointCallback:
setflag ENGINE_FLYPOINT_CINNABAR
endcallback

View File

@ -4,25 +4,25 @@
Colosseum_MapScripts:
def_scene_scripts
scene_script .InitializeColosseum, SCENE_COLOSSEUM_INITIALIZE
scene_script .DummyScene1, SCENE_COLOSSEUM_NOOP
scene_script .DummyScene2 ; unused
scene_script ColosseumInitializeScene, SCENE_COLOSSEUM_INITIALIZE
scene_script ColosseumNoop1Scene, SCENE_COLOSSEUM_NOOP
scene_script ColosseumNoop2Scene ; unused
def_callbacks
callback MAPCALLBACK_OBJECTS, .SetWhichChris
callback MAPCALLBACK_NEWMAP, .PreparePokecenter2F
callback MAPCALLBACK_OBJECTS, ColosseumSetWhichChrisCallback
callback MAPCALLBACK_NEWMAP, ColosseumPreparePokecenter2FCallback
.InitializeColosseum:
sdefer .InitializeAndPreparePokecenter2F
ColosseumInitializeScene:
sdefer ColosseumInitializeAndPreparePokecenter2FScript
end
.DummyScene1:
ColosseumNoop1Scene:
end
.DummyScene2:
ColosseumNoop2Scene:
end
.SetWhichChris:
ColosseumSetWhichChrisCallback:
special CableClubCheckWhichChris
iffalse .Chris2
disappear COLOSSEUM_CHRIS2
@ -34,11 +34,11 @@ Colosseum_MapScripts:
appear COLOSSEUM_CHRIS2
endcallback
.PreparePokecenter2F:
ColosseumPreparePokecenter2FCallback:
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
endcallback
.InitializeAndPreparePokecenter2F:
ColosseumInitializeAndPreparePokecenter2FScript:
setscene SCENE_COLOSSEUM_NOOP
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
end

View File

@ -10,9 +10,9 @@ CopycatsHouse2F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_OBJECTS, .Callback
callback MAPCALLBACK_OBJECTS, CopycatsHouse2FWhichGenderCallback
.Callback:
CopycatsHouse2FWhichGenderCallback:
checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Female
disappear COPYCATSHOUSE2F_COPYCAT2

View File

@ -6,9 +6,9 @@ DayCare_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_OBJECTS, .EggCheckCallback
callback MAPCALLBACK_OBJECTS, DayCareEggCheckCallback
.EggCheckCallback:
DayCareEggCheckCallback:
checkflag ENGINE_DAY_CARE_MAN_HAS_EGG
iftrue .PutDayCareManOutside
clearevent EVENT_DAY_CARE_MAN_IN_DAY_CARE

View File

@ -6,19 +6,19 @@
DragonShrine_MapScripts:
def_scene_scripts
scene_script .DragonShrineTest, SCENE_DRAGONSHRINE_TAKE_TEST
scene_script .DummyScene, SCENE_DRAGONSHRINE_NOOP
scene_script DragonShrineTakeTestScene, SCENE_DRAGONSHRINE_TAKE_TEST
scene_script DragonShrineNoopScene, SCENE_DRAGONSHRINE_NOOP
def_callbacks
.DragonShrineTest:
sdefer .DragonShrineTestScript
DragonShrineTakeTestScene:
sdefer DragonShrineTakeTestScript
end
.DummyScene:
DragonShrineNoopScene:
end
.DragonShrineTestScript:
DragonShrineTakeTestScript:
applymovement PLAYER, DragonShrinePlayerWalkInMovement
applymovement DRAGONSHRINE_ELDER1, DragonShrineElderStepDownMovement
opentext

View File

@ -11,19 +11,19 @@
DragonsDenB1F_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_DRAGONSDENB1F_NOOP
scene_script .DummyScene1, SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM
scene_script DragonsDenB1FNoop1Scene, SCENE_DRAGONSDENB1F_NOOP
scene_script DragonsDenB1FNoop2Scene, SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM
def_callbacks
callback MAPCALLBACK_NEWMAP, .CheckSilver
callback MAPCALLBACK_NEWMAP, DragonsDenB1FCheckSilverCallback
.DummyScene0:
DragonsDenB1FNoop1Scene:
end
.DummyScene1:
DragonsDenB1FNoop2Scene:
end
.CheckSilver:
DragonsDenB1FCheckSilverCallback:
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
iftrue .CheckDay
disappear DRAGONSDENB1F_SILVER

View File

@ -11,9 +11,9 @@ EcruteakCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, EcruteakCityFlypointCallback
.FlyPoint:
EcruteakCityFlypointCallback:
setflag ENGINE_FLYPOINT_ECRUTEAK
endcallback

View File

@ -9,16 +9,16 @@
EcruteakGym_MapScripts:
def_scene_scripts
scene_script .ForcedToLeave, SCENE_ECRUTEAKGYM_FORCED_TO_LEAVE
scene_script .DummyScene, SCENE_ECRUTEAKGYM_NOOP
scene_script EcruteakGymForcedToLeaveScene, SCENE_ECRUTEAKGYM_FORCED_TO_LEAVE
scene_script EcruteakGymNoopScene, SCENE_ECRUTEAKGYM_NOOP
def_callbacks
.ForcedToLeave:
EcruteakGymForcedToLeaveScene:
sdefer EcruteakGymClosed
end
.DummyScene:
EcruteakGymNoopScene:
end
EcruteakGymMortyScript:

View File

@ -7,19 +7,19 @@
EcruteakPokecenter1F_MapScripts:
def_scene_scripts
scene_script .MeetBill, SCENE_ECRUTEAKPOKECENTER1F_MEET_BILL
scene_script .DummyScene, SCENE_ECRUTEAKPOKECENTER1F_NOOP
scene_script EcruteakPokecenter1FMeetBillScene, SCENE_ECRUTEAKPOKECENTER1F_MEET_BILL
scene_script EcruteakPokecenter1FNoopScene, SCENE_ECRUTEAKPOKECENTER1F_NOOP
def_callbacks
.MeetBill:
sdefer .BillActivatesTimeCapsule
EcruteakPokecenter1FMeetBillScene:
sdefer EcruteakPokcenter1FBillActivatesTimeCapsuleScript
end
.DummyScene:
EcruteakPokecenter1FNoopScene:
end
.BillActivatesTimeCapsule:
EcruteakPokcenter1FBillActivatesTimeCapsuleScript:
pause 30
playsound SFX_EXIT_BUILDING
appear ECRUTEAKPOKECENTER1F_BILL

View File

@ -6,19 +6,19 @@
EcruteakTinTowerEntrance_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_ECRUTEAKTINTOWERENTRANCE_SAGE_BLOCKS
scene_script .DummyScene1, SCENE_ECRUTEAKTINTOWERENTRANCE_NOOP
scene_script EcruteakTinTowerEntranceNoop1Scene, SCENE_ECRUTEAKTINTOWERENTRANCE_SAGE_BLOCKS
scene_script EcruteakTinTowerEntranceNoop2Scene, SCENE_ECRUTEAKTINTOWERENTRANCE_NOOP
def_callbacks
callback MAPCALLBACK_OBJECTS, .InitializeSages
callback MAPCALLBACK_OBJECTS, EcruteakTinTowerEntranceInitializeSagesCallback
.DummyScene0:
EcruteakTinTowerEntranceNoop1Scene:
end
.DummyScene1:
EcruteakTinTowerEntranceNoop2Scene:
end
.InitializeSages:
EcruteakTinTowerEntranceInitializeSagesCallback:
checkevent EVENT_FOUGHT_SUICUNE
iftrue .DontBlockTower
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER

View File

@ -8,44 +8,44 @@
ElmsLab_MapScripts:
def_scene_scripts
scene_script .MeetElm, SCENE_ELMSLAB_MEET_ELM
scene_script .DummyScene1, SCENE_ELMSLAB_CANT_LEAVE
scene_script .DummyScene2, SCENE_ELMSLAB_NOOP
scene_script .DummyScene3, SCENE_ELMSLAB_MEET_OFFICER
scene_script .DummyScene4, SCENE_ELMSLAB_UNUSED
scene_script .DummyScene5, SCENE_ELMSLAB_AIDE_GIVES_POTION
scene_script ElmsLabMeetElmScene, SCENE_ELMSLAB_MEET_ELM
scene_script ElmsLabNoop1Scene, SCENE_ELMSLAB_CANT_LEAVE
scene_script ElmsLabNoop2Scene, SCENE_ELMSLAB_NOOP
scene_script ElmsLabNoop3Scene, SCENE_ELMSLAB_MEET_OFFICER
scene_script ElmsLabNoop4Scene, SCENE_ELMSLAB_UNUSED
scene_script ElmsLabNoop5Scene, SCENE_ELMSLAB_AIDE_GIVES_POTION
scene_const SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS
def_callbacks
callback MAPCALLBACK_OBJECTS, .MoveElmCallback
callback MAPCALLBACK_OBJECTS, ElmsLabMoveElmCallback
.MeetElm:
sdefer .WalkUpToElm
ElmsLabMeetElmScene:
sdefer ElmsLabWalkUpToElmScript
end
.DummyScene1:
ElmsLabNoop1Scene:
end
.DummyScene2:
ElmsLabNoop2Scene:
end
.DummyScene3:
ElmsLabNoop3Scene:
end
.DummyScene4:
ElmsLabNoop4Scene:
end
.DummyScene5:
ElmsLabNoop5Scene:
end
.MoveElmCallback:
ElmsLabMoveElmCallback:
checkscene
iftrue .Skip ; not SCENE_ELMSLAB_MEET_ELM
moveobject ELMSLAB_ELM, 3, 4
.Skip:
endcallback
.WalkUpToElm:
ElmsLabWalkUpToElmScript:
applymovement PLAYER, ElmsLab_WalkUpToElmMovement
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
turnobject ELMSLAB_ELM, RIGHT

View File

@ -6,23 +6,23 @@
FastShip1F_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_FASTSHIP1F_NOOP
scene_script .EnterFastShip, SCENE_FASTSHIP1F_ENTER_SHIP
scene_script .DummyScene2, SCENE_FASTSHIP1F_MEET_GRANDPA
scene_script FastShip1FNoop1Scene, SCENE_FASTSHIP1F_NOOP
scene_script FastShip1FEnterShipScene, SCENE_FASTSHIP1F_ENTER_SHIP
scene_script FastShip1FNoop2Scene, SCENE_FASTSHIP1F_MEET_GRANDPA
def_callbacks
.DummyScene0:
FastShip1FNoop1Scene:
end
.EnterFastShip:
sdefer .EnterFastShipScript
FastShip1FEnterShipScene:
sdefer FastShip1FEnterShipScript
end
.DummyScene2:
FastShip1FNoop2Scene:
end
.EnterFastShipScript:
FastShip1FEnterShipScript:
applymovement FASTSHIP1F_SAILOR1, FastShip1F_SailorStepAsideMovement
applymovement PLAYER, FastShip1F_PlayerEntersShipMovement
applymovement FASTSHIP1F_SAILOR1, FastShip1F_SailorBlocksDoorMovement

View File

@ -14,15 +14,15 @@
FastShipB1F_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_FASTSHIPB1F_SAILOR_BLOCKS
scene_script .DummyScene1, SCENE_FASTSHIPB1F_NOOP
scene_script FastShipB1FNoop1Scene, SCENE_FASTSHIPB1F_SAILOR_BLOCKS
scene_script FastShipB1FNoop2Scene, SCENE_FASTSHIPB1F_NOOP
def_callbacks
.DummyScene0:
FastShipB1FNoop1Scene:
end
.DummyScene1:
FastShipB1FNoop2Scene:
end
FastShipB1FSailorBlocksLeft:

View File

@ -16,7 +16,7 @@ FastShipCabins_SE_SSE_CaptainsCabin_MapScripts:
def_callbacks
.DummyScene: ; unreferenced
FastShipCabins_SE_SSE_CaptainsCabinNoopScene: ; unreferenced
end
SSAquaCaptain:

View File

@ -8,9 +8,9 @@ FuchsiaCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, FuchsiaCityFlypointCallback
.FlyPoint:
FuchsiaCityFlypointCallback:
setflag ENGINE_FLYPOINT_FUCHSIA
endcallback

View File

@ -6,11 +6,11 @@
FuchsiaPokecenter1F_MapScripts:
def_scene_scripts
scene_script .DummyScene ; unusable
scene_script FuchsiaPokeCenter1FNoopScene ; unusable
def_callbacks
.DummyScene:
FuchsiaPokeCenter1FNoopScene:
end
FuchsiaPokecenter1FNurseScript:

View File

@ -6,7 +6,7 @@ GoldenrodBikeShop_MapScripts:
def_callbacks
.DummyScene: ; unreferenced
GoldenrodBikeShopNoopScene: ; unreferenced
end
GoldenrodBikeShopClerkScript:

View File

@ -19,10 +19,10 @@ GoldenrodCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPointAndFloria
callback MAPCALLBACK_OBJECTS, .MoveTutor
callback MAPCALLBACK_NEWMAP, GoldenrodCityFlypointAndFloriaCallback
callback MAPCALLBACK_OBJECTS, GoldenrodCityMoveTutorCallback
.FlyPointAndFloria:
GoldenrodCityFlypointAndFloriaCallback:
setflag ENGINE_FLYPOINT_GOLDENROD
setflag ENGINE_REACHED_GOLDENROD
checkevent EVENT_MET_FLORIA
@ -31,7 +31,7 @@ GoldenrodCity_MapScripts:
.FloriaDone:
endcallback
.MoveTutor:
GoldenrodCityMoveTutorCallback:
checkevent EVENT_BEAT_ELITE_FOUR
iffalse .MoveTutorDone
checkitem COIN_CASE

View File

@ -10,9 +10,9 @@ GoldenrodDeptStore5F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_OBJECTS, .CheckIfSunday
callback MAPCALLBACK_OBJECTS, GoldenrodDeptStore5FCheckIfSundayCallback
.CheckIfSunday:
GoldenrodDeptStore5FCheckIfSundayCallback:
readvar VAR_WEEKDAY
ifequal SUNDAY, .yes
disappear GOLDENRODDEPTSTORE5F_RECEPTIONIST

View File

@ -12,10 +12,10 @@ GoldenrodDeptStoreB1F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_TILES, .ClearBoxes
callback MAPCALLBACK_NEWMAP, .Unblock
callback MAPCALLBACK_TILES, GoldenRodDeptStoreB1FClearBoxesCallback
callback MAPCALLBACK_NEWMAP, GoldenRodDeptStoreUnblockCallback
.ClearBoxes:
GoldenRodDeptStoreB1FClearBoxesCallback:
checkevent EVENT_RECEIVED_CARD_KEY
iftrue .GotCardKey
sjump .Continue
@ -40,7 +40,7 @@ GoldenrodDeptStoreB1F_MapScripts:
changeblock 10, 12, $0d ; floor
endcallback
.Unblock:
GoldenRodDeptStoreUnblockCallback:
clearevent EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_BLOCKED_OFF
endcallback

View File

@ -12,10 +12,10 @@ GoldenrodDeptStoreRoof_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_TILES, .CheckSaleChangeBlock
callback MAPCALLBACK_OBJECTS, .CheckSaleChangeClerk
callback MAPCALLBACK_TILES, GoldenrodDeptStoreRoofCheckSaleChangeBlockCallback
callback MAPCALLBACK_OBJECTS, GoldenrodDeptStoreRoofCheckSaleChangeClerkCallback
.CheckSaleChangeBlock:
GoldenrodDeptStoreRoofCheckSaleChangeBlockCallback:
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue .SaleIsOn
endcallback
@ -25,7 +25,7 @@ GoldenrodDeptStoreRoof_MapScripts:
changeblock 0, 4, $0f ; vendor booth
endcallback
.CheckSaleChangeClerk:
GoldenrodDeptStoreRoofCheckSaleChangeClerkCallback:
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue .ChangeClerk
setevent EVENT_GOLDENROD_SALE_OFF

View File

@ -23,9 +23,9 @@ GoldenrodGameCorner_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_OBJECTS, .MoveTutor
callback MAPCALLBACK_OBJECTS, GoldenrodGameCornerMoveTutorCallback
.MoveTutor:
GoldenrodGameCornerMoveTutorCallback:
checkevent EVENT_BEAT_ELITE_FOUR
iffalse .finish
checkitem COIN_CASE

View File

@ -8,15 +8,15 @@
GoldenrodGym_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_GOLDENRODGYM_NOOP
scene_script .DummyScene1, SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING
scene_script GoldenrodGymNoop1Scene, SCENE_GOLDENRODGYM_NOOP
scene_script GoldenrodGymNoop2Scene, SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING
def_callbacks
.DummyScene0:
GoldenrodGymNoop1Scene:
end
.DummyScene1:
GoldenrodGymNoop2Scene:
end
GoldenrodGymWhitneyScript:

View File

@ -4,11 +4,11 @@
GoldenrodMagnetTrainStation_MapScripts:
def_scene_scripts
scene_script .DummyScene, SCENE_GOLDENRODMAGNETTRAINSTATION_ARRIVE_FROM_SAFFRON
scene_script GoldenrodMagnetTrainStationNoopScene, SCENE_GOLDENRODMAGNETTRAINSTATION_ARRIVE_FROM_SAFFRON
def_callbacks
.DummyScene:
GoldenrodMagnetTrainStationNoopScene:
end
GoldenrodMagnetTrainStationOfficerScript:

View File

@ -16,11 +16,11 @@ GoldenrodUnderground_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .ResetSwitches
callback MAPCALLBACK_TILES, .CheckBasementKey
callback MAPCALLBACK_OBJECTS, .CheckDayOfWeek
callback MAPCALLBACK_NEWMAP, GoldenrodUndergroundResetSwitchesCallback
callback MAPCALLBACK_TILES, GoldenrodUndergroundCheckBasementKeyCallback
callback MAPCALLBACK_OBJECTS, GoldenrodUndergroundCheckDayOfWeekCallback
.ResetSwitches:
GoldenrodUndergroundResetSwitchesCallback:
clearevent EVENT_SWITCH_1
clearevent EVENT_SWITCH_2
clearevent EVENT_SWITCH_3
@ -40,7 +40,7 @@ GoldenrodUnderground_MapScripts:
writemem wUndergroundSwitchPositions
endcallback
.CheckBasementKey:
GoldenrodUndergroundCheckBasementKeyCallback:
checkevent EVENT_USED_BASEMENT_KEY
iffalse .LockBasementDoor
endcallback
@ -49,7 +49,7 @@ GoldenrodUnderground_MapScripts:
changeblock 18, 6, $3d ; locked door
endcallback
.CheckDayOfWeek:
GoldenrodUndergroundCheckDayOfWeekCallback:
readvar VAR_WEEKDAY
ifequal MONDAY, .Monday
ifequal TUESDAY, .Tuesday

View File

@ -47,19 +47,19 @@ ENDM
GoldenrodUndergroundSwitchRoomEntrances_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_RIVAL_BATTLE
scene_script .DummyScene1, SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOOP
scene_script GoldenrodUndergroundSwitchRoomEntrancesNoop1Scene, SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_RIVAL_BATTLE
scene_script GoldenrodUndergroundSwitchRoomEntrancesNoop2Scene, SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOOP
def_callbacks
callback MAPCALLBACK_TILES, .UpdateDoorPositions
callback MAPCALLBACK_TILES, GoldenrodUndergroundSwitchRoomEntrancesUpdateDoorPositionsCallback
.DummyScene0:
GoldenrodUndergroundSwitchRoomEntrancesNoop1Scene:
end
.DummyScene1:
GoldenrodUndergroundSwitchRoomEntrancesNoop2Scene:
end
.UpdateDoorPositions:
GoldenrodUndergroundSwitchRoomEntrancesUpdateDoorPositionsCallback:
checkevent EVENT_SWITCH_4
iffalse .false4
doorstate 1, OPEN1

View File

@ -11,9 +11,9 @@ GoldenrodUndergroundWarehouse_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .ResetSwitches
callback MAPCALLBACK_NEWMAP, GoldenrodUndergroundWarehouseResetSwitchesCallback
.ResetSwitches:
GoldenrodUndergroundWarehouseResetSwitchesCallback:
clearevent EVENT_SWITCH_1
clearevent EVENT_SWITCH_2
clearevent EVENT_SWITCH_3

View File

@ -3,19 +3,19 @@
HallOfFame_MapScripts:
def_scene_scripts
scene_script .EnterHallOfFame, SCENE_HALLOFFAME_ENTER
scene_script .DummyScene, SCENE_HALLOFFAME_NOOP
scene_script HallOfFameEnterScene, SCENE_HALLOFFAME_ENTER
scene_script HallOfFameNoopScene, SCENE_HALLOFFAME_NOOP
def_callbacks
.EnterHallOfFame:
sdefer .EnterHallOfFameScript
HallOfFameEnterScene:
sdefer HallOfFameEnterScript
end
.DummyScene:
HallOfFameNoopScene:
end
.EnterHallOfFameScript:
HallOfFameEnterScript:
follow HALLOFFAME_LANCE, PLAYER
applymovement HALLOFFAME_LANCE, HallOfFame_WalkUpWithLance
stopfollow

View File

@ -9,9 +9,9 @@ IcePathB1F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_CMDQUEUE, .SetUpStoneTable
callback MAPCALLBACK_CMDQUEUE, IcePathB1FSetUpStoneTableCallback
.SetUpStoneTable:
IcePathB1FSetUpStoneTableCallback:
writecmdqueue .CommandQueue
endcallback

View File

@ -15,9 +15,9 @@ IlexForest_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_OBJECTS, .FarfetchdCallback
callback MAPCALLBACK_OBJECTS, IlexForestFarfetchdCallback
.FarfetchdCallback:
IlexForestFarfetchdCallback:
checkevent EVENT_GOT_HM01_CUT
iftrue .Static
readmem wFarfetchdPosition

View File

@ -8,15 +8,15 @@
IndigoPlateauPokecenter1F_MapScripts:
def_scene_scripts
scene_script .DummyScene, SCENE_INDIGOPLATEAUPOKECENTER1F_RIVAL_BATTLE
scene_script IndigoPlateauPokecenter1FNoopScene, SCENE_INDIGOPLATEAUPOKECENTER1F_RIVAL_BATTLE
def_callbacks
callback MAPCALLBACK_NEWMAP, .PrepareElite4
callback MAPCALLBACK_NEWMAP, IndigoPlateauPokecenter1FPrepareElite4Callback
.DummyScene:
IndigoPlateauPokecenter1FNoopScene:
end
.PrepareElite4:
IndigoPlateauPokecenter1FPrepareElite4Callback:
setmapscene WILLS_ROOM, SCENE_WILLSROOM_LOCK_DOOR
setmapscene KOGAS_ROOM, SCENE_KOGASROOM_LOCK_DOOR
setmapscene BRUNOS_ROOM, SCENE_BRUNOSROOM_LOCK_DOOR

View File

@ -3,20 +3,20 @@
KarensRoom_MapScripts:
def_scene_scripts
scene_script .LockDoor, SCENE_KARENSROOM_LOCK_DOOR
scene_script .DummyScene, SCENE_KARENSROOM_NOOP
scene_script KarensRoomLockDoorScene, SCENE_KARENSROOM_LOCK_DOOR
scene_script KarensRoomNoopScene, SCENE_KARENSROOM_NOOP
def_callbacks
callback MAPCALLBACK_TILES, .KarensRoomDoors
callback MAPCALLBACK_TILES, KarensRoomDoorsCallback
.LockDoor:
sdefer .KarensDoorLocksBehindYou
KarensRoomLockDoorScene:
sdefer KarensRoomDoorLocksBehindYouScript
end
.DummyScene:
KarensRoomNoopScene:
end
.KarensRoomDoors:
KarensRoomDoorsCallback:
checkevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
iffalse .KeepEntranceOpen
changeblock 4, 14, $2a ; wall
@ -27,7 +27,7 @@ KarensRoom_MapScripts:
.KeepExitClosed:
endcallback
.KarensDoorLocksBehindYou:
KarensRoomDoorLocksBehindYouScript:
applymovement PLAYER, KarensRoom_EnterMovement
refreshscreen $86
playsound SFX_STRENGTH

View File

@ -3,20 +3,20 @@
KogasRoom_MapScripts:
def_scene_scripts
scene_script .LockDoor, SCENE_KOGASROOM_LOCK_DOOR
scene_script .DummyScene, SCENE_KOGASROOM_NOOP
scene_script KogasRoomLockDoorScene, SCENE_KOGASROOM_LOCK_DOOR
scene_script KogasRoomNoopScene, SCENE_KOGASROOM_NOOP
def_callbacks
callback MAPCALLBACK_TILES, .KogasRoomDoors
callback MAPCALLBACK_TILES, KogasRoomDoorsCallback
.LockDoor:
sdefer .KogasDoorLocksBehindYou
KogasRoomLockDoorScene:
sdefer KogasRoomDoorLocksBehindYouScript
end
.DummyScene:
KogasRoomNoopScene:
end
.KogasRoomDoors:
KogasRoomDoorsCallback:
checkevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
iffalse .KeepEntranceOpen
changeblock 4, 14, $2a ; wall
@ -27,7 +27,7 @@ KogasRoom_MapScripts:
.KeepExitClosed:
endcallback
.KogasDoorLocksBehindYou:
KogasRoomDoorLocksBehindYouScript:
applymovement PLAYER, KogasRoom_EnterMovement
refreshscreen $86
playsound SFX_STRENGTH

View File

@ -9,9 +9,9 @@ KurtsHouse_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_OBJECTS, .KurtCallback
callback MAPCALLBACK_OBJECTS, KurtsHouseKurtCallback
.KurtCallback:
KurtsHouseKurtCallback:
checkevent EVENT_CLEARED_SLOWPOKE_WELL
iffalse .Done
checkevent EVENT_FOREST_IS_RESTLESS

View File

@ -14,24 +14,24 @@
LakeOfRage_MapScripts:
def_scene_scripts
scene_script .DummyScene0 ; unusable
scene_script .DummyScene1 ; unusable
scene_script LakeOfRageNoop1Scene ; unusable
scene_script LakeOfRageNoop2Scene ; unusable
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_OBJECTS, .Wesley
callback MAPCALLBACK_NEWMAP, LakeOfRageFlypointCallback
callback MAPCALLBACK_OBJECTS, LakeOfRageWesleyCallback
.DummyScene0:
LakeOfRageNoop1Scene:
end
.DummyScene1:
LakeOfRageNoop2Scene:
end
.FlyPoint:
LakeOfRageFlypointCallback:
setflag ENGINE_FLYPOINT_LAKE_OF_RAGE
endcallback
.Wesley:
LakeOfRageWesleyCallback:
readvar VAR_WEEKDAY
ifequal WEDNESDAY, .WesleyAppears
disappear LAKEOFRAGE_WESLEY

View File

@ -5,20 +5,20 @@
LancesRoom_MapScripts:
def_scene_scripts
scene_script .LockDoor, SCENE_LANCESROOM_LOCK_DOOR
scene_script .DummyScene, SCENE_LANCESROOM_APPROACH_LANCE
scene_script LancesRoomLockDoorScene, SCENE_LANCESROOM_LOCK_DOOR
scene_script LancesRoomNoopScene, SCENE_LANCESROOM_APPROACH_LANCE
def_callbacks
callback MAPCALLBACK_TILES, .LancesRoomDoors
callback MAPCALLBACK_TILES, LancesRoomDoorsCallback
.LockDoor:
sdefer .LancesDoorLocksBehindYou
LancesRoomLockDoorScene:
sdefer LancesRoomDoorLocksBehindYouScript
end
.DummyScene:
LancesRoomNoopScene:
end
.LancesRoomDoors:
LancesRoomDoorsCallback:
checkevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
iffalse .KeepEntranceOpen
changeblock 4, 22, $34 ; wall
@ -29,7 +29,7 @@ LancesRoom_MapScripts:
.KeepExitClosed:
endcallback
.LancesDoorLocksBehindYou:
LancesRoomDoorLocksBehindYouScript:
applymovement PLAYER, LancesRoom_EnterMovement
refreshscreen $86
playsound SFX_STRENGTH

View File

@ -3,11 +3,11 @@
LavenderNameRater_MapScripts:
def_scene_scripts
scene_script .DummyScene ; unusable
scene_script LavenderNameRaterNoopScene ; unusable
def_callbacks
.DummyScene:
LavenderNameRaterNoopScene:
end
LavenderNameRater:

View File

@ -8,9 +8,9 @@ LavenderTown_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, LavenderTownFlypointCallback
.FlyPoint:
LavenderTownFlypointCallback:
setflag ENGINE_FLYPOINT_LAVENDER
endcallback

View File

@ -7,20 +7,20 @@
MahoganyMart1F_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_MAHOGANYMART1F_NOOP
scene_script .LanceUncoversStaircase, SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS
scene_script MahoganyMart1FNoopScene, SCENE_MAHOGANYMART1F_NOOP
scene_script MahoganyMart1FLanceUncoversStairsScene, SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS
def_callbacks
callback MAPCALLBACK_TILES, .MahoganyMart1FStaircase
callback MAPCALLBACK_TILES, MahoganyMart1FStaircaseCallback
.DummyScene0:
MahoganyMart1FNoopScene:
end
.LanceUncoversStaircase:
MahoganyMart1FLanceUncoversStairsScene:
sdefer MahoganyMart1FLanceUncoversStaircaseScript
end
.MahoganyMart1FStaircase:
MahoganyMart1FStaircaseCallback:
checkevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
iftrue .ShowStairs
endcallback

View File

@ -8,19 +8,19 @@ DEF MAHOGANYTOWN_RAGECANDYBAR_PRICE EQU 300
MahoganyTown_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_MAHOGANYTOWN_TRY_RAGECANDYBAR
scene_script .DummyScene1, SCENE_MAHOGANYTOWN_NOOP
scene_script MahoganyTownNoop1Scene, SCENE_MAHOGANYTOWN_TRY_RAGECANDYBAR
scene_script MahoganyTownNoop2Scene, SCENE_MAHOGANYTOWN_NOOP
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, MahoganyTownFlypointCallback
.DummyScene0:
MahoganyTownNoop1Scene:
end
.DummyScene1:
MahoganyTownNoop2Scene:
end
.FlyPoint:
MahoganyTownFlypointCallback:
setflag ENGINE_FLYPOINT_MAHOGANY
endcallback

View File

@ -1,18 +1,18 @@
MobileBattleRoom_MapScripts:
def_scene_scripts
scene_script .InitializeMobileBattleRoom, SCENE_MOBILEBATTLEROOM_INITIALIZE
scene_script .DummyScene, SCENE_MOBILEBATTLEROOM_NOOP
scene_script MobileBattleRoomInitializeScene, SCENE_MOBILEBATTLEROOM_INITIALIZE
scene_script MobileBattleRoomNoopScene, SCENE_MOBILEBATTLEROOM_NOOP
def_callbacks
.InitializeMobileBattleRoom:
sdefer .InitializeAndPreparePokecenter2F
MobileBattleRoomInitializeScene:
sdefer MobileBattleRoomInitializeAndPreparePokecenter2FScript
end
.DummyScene:
MobileBattleRoomNoopScene:
end
.InitializeAndPreparePokecenter2F:
MobileBattleRoomInitializeAndPreparePokecenter2FScript:
setscene SCENE_MOBILEBATTLEROOM_NOOP
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM
end

View File

@ -1,18 +1,18 @@
MobileTradeRoom_MapScripts:
def_scene_scripts
scene_script .InitializeMobileTradeRoom, SCENE_MOBILETRADEROOM_INITIALIZE
scene_script .DummyScene, SCENE_MOBILETRADEROOM_NOOP
scene_script MobileTradeRoomInitializeScene, SCENE_MOBILETRADEROOM_INITIALIZE
scene_script MobileTradeRoomNoopScene, SCENE_MOBILETRADEROOM_NOOP
def_callbacks
.InitializeMobileTradeRoom:
sdefer .InitializeAndPreparePokecenter2F
MobileTradeRoomInitializeScene:
sdefer MobileTradeRoomInitializeAndPreparePokecenter2FScript
end
.DummyScene:
MobileTradeRoomNoopScene:
end
.InitializeAndPreparePokecenter2F:
MobileTradeRoomInitializeAndPreparePokecenter2FScript:
setscene SCENE_MOBILETRADEROOM_NOOP
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM
end

View File

@ -3,19 +3,19 @@
MountMoon_MapScripts:
def_scene_scripts
scene_script .RivalEncounter, SCENE_MOUNTMOON_RIVAL_BATTLE
scene_script .DummyScene, SCENE_MOUNTMOON_NOOP
scene_script MountMoonRivalEncounterScene, SCENE_MOUNTMOON_RIVAL_BATTLE
scene_script MountMoonNoopScene, SCENE_MOUNTMOON_NOOP
def_callbacks
.RivalEncounter:
sdefer .RivalBattle
MountMoonRivalEncounterScene:
sdefer MountMoonRivalBattleScript
end
.DummyScene:
MountMoonNoopScene:
end
.RivalBattle:
MountMoonRivalBattleScript:
turnobject PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic

View File

@ -5,20 +5,20 @@
MountMoonSquare_MapScripts:
def_scene_scripts
scene_script .DummyScene, SCENE_MOUNTMOONSQUARE_CLEFAIRY_DANCE
scene_script MountMoonSquareNoopScene, SCENE_MOUNTMOONSQUARE_CLEFAIRY_DANCE
def_callbacks
callback MAPCALLBACK_NEWMAP, .DisappearMoonStone
callback MAPCALLBACK_OBJECTS, .DisappearRock
callback MAPCALLBACK_NEWMAP, MountMoonSquareDisappearMoonStoneCallback
callback MAPCALLBACK_OBJECTS, MountMoonSquareDisappearRockCallback
.DummyScene:
MountMoonSquareNoopScene:
end
.DisappearMoonStone:
MountMoonSquareDisappearMoonStoneCallback:
setevent EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE
endcallback
.DisappearRock:
MountMoonSquareDisappearRockCallback:
disappear MOUNTMOONSQUARE_ROCK
endcallback

View File

@ -4,19 +4,19 @@
MrPokemonsHouse_MapScripts:
def_scene_scripts
scene_script .MeetMrPokemon, SCENE_MRPOKEMONSHOUSE_MEET_MR_POKEMON
scene_script .DummyScene, SCENE_MRPOKEMONSHOUSE_NOOP
scene_script MrPokemonsHouseMeetMrPokemonScene, SCENE_MRPOKEMONSHOUSE_MEET_MR_POKEMON
scene_script MrPokemonsHouseNoopScene, SCENE_MRPOKEMONSHOUSE_NOOP
def_callbacks
.MeetMrPokemon:
sdefer .MrPokemonEvent
MrPokemonsHouseMeetMrPokemonScene:
sdefer MrPokemonsHouseMrPokemonEventScript
end
.DummyScene:
MrPokemonsHouseNoopScene:
end
.MrPokemonEvent:
MrPokemonsHouseMrPokemonEventScript:
showemote EMOTE_SHOCK, MRPOKEMONSHOUSE_GENTLEMAN, 15
turnobject MRPOKEMONSHOUSE_GENTLEMAN, DOWN
opentext

View File

@ -5,19 +5,19 @@
NewBarkTown_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_NEWBARKTOWN_TEACHER_STOPS_YOU
scene_script .DummyScene1, SCENE_NEWBARKTOWN_NOOP
scene_script NewBarkTownNoop1Scene, SCENE_NEWBARKTOWN_TEACHER_STOPS_YOU
scene_script NewBarkTownNoop2Scene, SCENE_NEWBARKTOWN_NOOP
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, NewBarkTownFlypointCallback
.DummyScene0:
NewBarkTownNoop1Scene:
end
.DummyScene1:
NewBarkTownNoop2Scene:
end
.FlyPoint:
NewBarkTownFlypointCallback:
setflag ENGINE_FLYPOINT_NEW_BARK
clearevent EVENT_FIRST_TIME_BANKING_WITH_MOM
endcallback

View File

@ -9,7 +9,7 @@ OaksLab_MapScripts:
def_callbacks
.DummyScene: ; unreferenced
OaksLabNoopScene: ; unreferenced
end
Oak:

View File

@ -6,19 +6,19 @@
OlivineCity_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_OLIVINECITY_RIVAL_ENCOUNTER
scene_script .DummyScene1, SCENE_OLIVINECITY_NOOP
scene_script OlivineCityNoop1Scene, SCENE_OLIVINECITY_RIVAL_ENCOUNTER
scene_script OlivineCityNoop2Scene, SCENE_OLIVINECITY_NOOP
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, OlivineCityFlypointCallback
.DummyScene0:
OlivineCityNoop1Scene:
end
.DummyScene1:
OlivineCityNoop2Scene:
end
.FlyPoint:
OlivineCityFlypointCallback:
setflag ENGINE_FLYPOINT_OLIVINE
endcallback

View File

@ -9,19 +9,19 @@
OlivinePort_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_OLIVINEPORT_ASK_ENTER_SHIP
scene_script .LeaveFastShip, SCENE_OLIVINEPORT_LEAVE_SHIP
scene_script OlivinePortNoopScene, SCENE_OLIVINEPORT_ASK_ENTER_SHIP
scene_script OlivinePortLeaveShipScene, SCENE_OLIVINEPORT_LEAVE_SHIP
def_callbacks
.DummyScene0:
OlivinePortNoopScene:
end
.LeaveFastShip:
sdefer .LeaveFastShipScript
OlivinePortLeaveShipScene:
sdefer OlivinePortLeaveShipScript
end
.LeaveFastShipScript:
OlivinePortLeaveShipScript:
applymovement PLAYER, OlivinePortLeaveFastShipMovement
appear OLIVINEPORT_SAILOR1
setscene SCENE_OLIVINEPORT_ASK_ENTER_SHIP

View File

@ -6,9 +6,9 @@ PalletTown_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, PalletTownFlypointCallback
.FlyPoint:
PalletTownFlypointCallback:
setflag ENGINE_FLYPOINT_PALLET
endcallback

View File

@ -9,9 +9,9 @@ PewterCity_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, PewterCityFlypointCallback
.FlyPoint:
PewterCityFlypointCallback:
setflag ENGINE_FLYPOINT_PEWTER
endcallback

View File

@ -7,15 +7,15 @@
PlayersHouse1F_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_PLAYERSHOUSE1F_MEET_MOM
scene_script .DummyScene1, SCENE_PLAYERSHOUSE1F_NOOP
scene_script PlayersHouse1FNoop1Scene, SCENE_PLAYERSHOUSE1F_MEET_MOM
scene_script PlayersHouse1FNoop2Scene, SCENE_PLAYERSHOUSE1F_NOOP
def_callbacks
.DummyScene0:
PlayersHouse1FNoop1Scene:
end
.DummyScene1:
PlayersHouse1FNoop2Scene:
end
MeetMomLeftScript:

View File

@ -8,13 +8,13 @@ PlayersHouse2F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .InitializeRoom
callback MAPCALLBACK_TILES, .SetUpTileDecorations
callback MAPCALLBACK_NEWMAP, PlayersHouse2FInitializeRoomCallback
callback MAPCALLBACK_TILES, PlayersHouse2FSetUpTileDecorationsCallback
.DummyScene: ; unreferenced
PlayersHouse2FNoopScene: ; unreferenced
end
.InitializeRoom:
PlayersHouse2FInitializeRoomCallback:
special ToggleDecorationsVisibility
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_8
checkevent EVENT_INITIALIZED_EVENTS
@ -25,7 +25,7 @@ PlayersHouse2F_MapScripts:
.SkipInitialization:
endcallback
.SetUpTileDecorations:
PlayersHouse2FSetUpTileDecorationsCallback:
special ToggleMaptileDecorations
endcallback

View File

@ -6,43 +6,42 @@
Pokecenter2F_MapScripts:
def_scene_scripts
scene_script .Scene0, SCENE_POKECENTER2F_NOOP
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
scene_script Pokecenter2FCheckMysteryGiftScene, SCENE_POKECENTER2F_CHECK_MYSTERY_GIFT
scene_script Pokecenter2FLeaveTradeCenterScene, SCENE_POKECENTER2F_LEAVE_TRADE_CENTER
scene_script Pokecenter2FLeaveColosseumScene, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
scene_script Pokecenter2FLeaveTimeCapsuleScene, SCENE_POKECENTER2F_LEAVE_TIME_CAPSULE
scene_script Pokecenter2FLeaveMobileTradeRoomScene, SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM
scene_script Pokecenter2FLeaveMobileBattleRoomScene, SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM
def_callbacks
.Scene0:
Pokecenter2FCheckMysteryGiftScene:
special CheckMysteryGift
ifequal $0, .Scene0Done
ifequal $0, .done
clearevent EVENT_MYSTERY_GIFT_DELIVERY_GUY
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
iftrue .Scene0Done
iftrue .done
sdefer Pokecenter2F_AppearMysteryGiftDeliveryGuy
.Scene0Done:
.done
end
.Scene1:
Pokecenter2FLeaveTradeCenterScene:
sdefer Script_LeftCableTradeCenter
end
.Scene2:
Pokecenter2FLeaveColosseumScene:
sdefer Script_LeftCableColosseum
end
.Scene3:
Pokecenter2FLeaveTimeCapsuleScene:
sdefer Script_LeftTimeCapsule
end
.Scene4:
Pokecenter2FLeaveMobileTradeRoomScene:
sdefer Script_LeftMobileTradeRoom
end
.Scene5:
Pokecenter2FLeaveMobileBattleRoomScene:
sdefer Script_LeftMobileBattleRoom
end
@ -374,14 +373,14 @@ LinkReceptionistScript_TimeCapsule:
Script_LeftCableTradeCenter:
special WaitForOtherPlayerToExit
scall Script_WalkOutOfLinkTradeRoom
setscene SCENE_POKECENTER2F_NOOP
setscene SCENE_POKECENTER2F_CHECK_MYSTERY_GIFT
setmapscene TRADE_CENTER, SCENE_TRADECENTER_INITIALIZE
end
Script_LeftMobileTradeRoom:
special Function101220
scall Script_WalkOutOfMobileTradeRoom
setscene SCENE_POKECENTER2F_NOOP
setscene SCENE_POKECENTER2F_CHECK_MYSTERY_GIFT
setmapscene MOBILE_TRADE_ROOM, SCENE_MOBILETRADEROOM_INITIALIZE
end
@ -394,14 +393,14 @@ Script_WalkOutOfMobileTradeRoom:
Script_LeftCableColosseum:
special WaitForOtherPlayerToExit
scall Script_WalkOutOfLinkBattleRoom
setscene SCENE_POKECENTER2F_NOOP
setscene SCENE_POKECENTER2F_CHECK_MYSTERY_GIFT
setmapscene COLOSSEUM, SCENE_COLOSSEUM_INITIALIZE
end
Script_LeftMobileBattleRoom:
special Function101220
scall Script_WalkOutOfMobileBattleRoom
setscene SCENE_POKECENTER2F_NOOP
setscene SCENE_POKECENTER2F_CHECK_MYSTERY_GIFT
setmapscene MOBILE_BATTLE_ROOM, SCENE_MOBILEBATTLEROOM_INITIALIZE
end
@ -577,7 +576,7 @@ Script_LeftTimeCapsule:
applymovement PLAYER, Pokecenter2FMovementData_PlayerTakesOneStepDown
applymovement POKECENTER2F_TIME_CAPSULE_RECEPTIONIST, Pokecenter2FMovementData_ReceptionistStepsRightLooksDown_2
.Done:
setscene SCENE_POKECENTER2F_NOOP
setscene SCENE_POKECENTER2F_CHECK_MYSTERY_GIFT
setmapscene TIME_CAPSULE, SCENE_TIMECAPSULE_INITIALIZE
end

View File

@ -9,15 +9,15 @@
PowerPlant_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_POWERPLANT_NOOP
scene_script .DummyScene1, SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL
scene_script PowerPlantNoop1Scene, SCENE_POWERPLANT_NOOP
scene_script PowerPlantNoop2Scene, SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL
def_callbacks
.DummyScene0:
PowerPlantNoop1Scene:
end
.DummyScene1:
PowerPlantNoop2Scene:
end
PowerPlantGuardPhoneScript:

View File

@ -18,7 +18,7 @@ RadioTower2F_MapScripts:
def_callbacks
RadioTower2FUnusedDummyScene: ; unreferenced
RadioTower2FNoopScene: ; unreferenced
end
RadioTower2FSuperNerdScript:

View File

@ -11,9 +11,9 @@ RadioTower3F_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_TILES, .CardKeyShutterCallback
callback MAPCALLBACK_TILES, RadioTower3FCardKeyShutterCallback
.CardKeyShutterCallback:
RadioTower3FCardKeyShutterCallback:
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
iftrue .Change
endcallback

View File

@ -7,19 +7,19 @@
RadioTower5F_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_RADIOTOWER5F_FAKE_DIRECTOR
scene_script .DummyScene1, SCENE_RADIOTOWER5F_ROCKET_BOSS
scene_script .DummyScene2, SCENE_RADIOTOWER5F_NOOP
scene_script RadioTower5FNoop1Scene, SCENE_RADIOTOWER5F_FAKE_DIRECTOR
scene_script RadioTower5FNoop2Scene, SCENE_RADIOTOWER5F_ROCKET_BOSS
scene_script RadioTower5FNoop3Scene, SCENE_RADIOTOWER5F_NOOP
def_callbacks
.DummyScene0:
RadioTower5FNoop1Scene:
end
.DummyScene1:
RadioTower5FNoop2Scene:
end
.DummyScene2:
RadioTower5FNoop3Scene:
end
FakeDirectorScript:
@ -76,7 +76,7 @@ TrainerExecutivef1:
closetext
end
RadioTower5FRocketBossScene:
RadioTower5FRocketBossScript:
applymovement PLAYER, RadioTower5FPlayerTwoStepsLeftMovement
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject RADIOTOWER5F_ROCKET, RIGHT
@ -427,7 +427,7 @@ RadioTower5F_MapEvents:
def_coord_events
coord_event 0, 3, SCENE_RADIOTOWER5F_FAKE_DIRECTOR, FakeDirectorScript
coord_event 16, 5, SCENE_RADIOTOWER5F_ROCKET_BOSS, RadioTower5FRocketBossScene
coord_event 16, 5, SCENE_RADIOTOWER5F_ROCKET_BOSS, RadioTower5FRocketBossScript
def_bg_events
bg_event 3, 0, BGEVENT_READ, RadioTower5FDirectorsOfficeSign

View File

@ -3,11 +3,11 @@
RedsHouse1F_MapScripts:
def_scene_scripts
scene_script .DummyScene ; unusable
scene_script RedHouse1FNoopScene ; unusable
def_callbacks
.DummyScene:
RedHouse1FNoopScene:
end
RedsMom:

View File

@ -2,9 +2,9 @@ Route16_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .AlwaysOnBike
callback MAPCALLBACK_NEWMAP, Route16AlwaysOnBikeCallback
.AlwaysOnBike:
Route16AlwaysOnBikeCallback:
readvar VAR_YCOORD
ifless 5, .CanWalk
readvar VAR_XCOORD

View File

@ -3,11 +3,11 @@
Route16Gate_MapScripts:
def_scene_scripts
scene_script .DummyScene, SCENE_ROUTE16GATE_BICYCLE_CHECK
scene_script Route16GateNoopScene, SCENE_ROUTE16GATE_BICYCLE_CHECK
def_callbacks
.DummyScene:
Route16GateNoopScene:
end
Route16GateOfficerScript:

View File

@ -8,9 +8,9 @@ Route17_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .AlwaysOnBike
callback MAPCALLBACK_NEWMAP, Route17AlwaysOnBikeCallback
.AlwaysOnBike:
Route17AlwaysOnBikeCallback:
setflag ENGINE_ALWAYS_ON_BIKE
setflag ENGINE_DOWNHILL
endcallback

View File

@ -3,11 +3,11 @@
Route17Route18Gate_MapScripts:
def_scene_scripts
scene_script .DummyScene, SCENE_ROUTE17ROUTE18GATE_BICYCLE_CHECK
scene_script Route17Route18GateNoopScene, SCENE_ROUTE17ROUTE18GATE_BICYCLE_CHECK
def_callbacks
.DummyScene:
Route17Route18GateNoopScene:
end
Route17Route18GateOfficerScript:

View File

@ -10,9 +10,9 @@ Route19_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_TILES, .ClearRocks
callback MAPCALLBACK_TILES, Route19ClearRocksCallback
.ClearRocks:
Route19ClearRocksCallback:
checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue .Done
changeblock 6, 6, $7a ; rock

View File

@ -7,9 +7,9 @@ Route20_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .ClearRocks
callback MAPCALLBACK_NEWMAP, Route20ClearRocksCallback
.ClearRocks:
Route20ClearRocksCallback:
setevent EVENT_CINNABAR_ROCKS_CLEARED
endcallback

View File

@ -2,9 +2,9 @@ Route23_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
callback MAPCALLBACK_NEWMAP, Route23FlypointCallback
.FlyPoint:
Route23FlypointCallback:
setflag ENGINE_FLYPOINT_INDIGO_PLATEAU
endcallback

View File

@ -13,15 +13,15 @@
Route25_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_ROUTE25_NOOP
scene_script .DummyScene1, SCENE_ROUTE25_MISTYS_DATE
scene_script Route25Noop1Scene, SCENE_ROUTE25_NOOP
scene_script Route25Noop2Scene, SCENE_ROUTE25_MISTYS_DATE
def_callbacks
.DummyScene0:
Route25Noop1Scene:
end
.DummyScene1:
Route25Noop2Scene:
end
Route25MistyDate1Script:

View File

@ -11,15 +11,15 @@
Route27_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_ROUTE27_FIRST_STEP_INTO_KANTO
scene_script .DummyScene1, SCENE_ROUTE27_NOOP
scene_script Route27Noop1Scene, SCENE_ROUTE27_FIRST_STEP_INTO_KANTO
scene_script Route27Noop2Scene, SCENE_ROUTE27_NOOP
def_callbacks
.DummyScene0:
Route27Noop1Scene:
end
.DummyScene1:
Route27Noop2Scene:
end
FirstStepIntoKantoLeftScene:

View File

@ -4,11 +4,11 @@
Route28SteelWingHouse_MapScripts:
def_scene_scripts
scene_script .DummyScene ; unusable
scene_script Route28SteelWingHouseNoopScene ; unusable
def_callbacks
.DummyScene:
Route28SteelWingHouseNoopScene:
end
Celebrity:

View File

@ -10,19 +10,19 @@
Route29_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_ROUTE29_NOOP
scene_script .DummyScene1, SCENE_ROUTE29_CATCH_TUTORIAL
scene_script Route29Noop1Scene, SCENE_ROUTE29_NOOP
scene_script Route29Noop2Scene, SCENE_ROUTE29_CATCH_TUTORIAL
def_callbacks
callback MAPCALLBACK_OBJECTS, .Tuscany
callback MAPCALLBACK_OBJECTS, Route29TuscanyCallback
.DummyScene0:
Route29Noop1Scene:
end
.DummyScene1:
Route29Noop2Scene:
end
.Tuscany:
Route29TuscanyCallback:
checkflag ENGINE_ZEPHYRBADGE
iftrue .DoesTuscanyAppear

View File

@ -11,9 +11,9 @@ Route31_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_NEWMAP, .CheckMomCall
callback MAPCALLBACK_NEWMAP, Route31CheckMomCallCallback
.CheckMomCall:
Route31CheckMomCallCallback:
checkevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
iffalse .DoMomCall
endcallback

View File

@ -16,23 +16,23 @@
Route32_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_ROUTE32_COOLTRAINER_M_BLOCKS
scene_script .DummyScene1, SCENE_ROUTE32_OFFER_SLOWPOKETAIL
scene_script .DummyScene2, SCENE_ROUTE32_NOOP
scene_script Route32Noop1Scene, SCENE_ROUTE32_COOLTRAINER_M_BLOCKS
scene_script Route32Noop2Scene, SCENE_ROUTE32_OFFER_SLOWPOKETAIL
scene_script Route32Noop3Scene, SCENE_ROUTE32_NOOP
def_callbacks
callback MAPCALLBACK_OBJECTS, .Frieda
callback MAPCALLBACK_OBJECTS, Route32FriedaCallback
.DummyScene0:
Route32Noop1Scene:
end
.DummyScene1:
Route32Noop2Scene:
end
.DummyScene2:
Route32Noop3Scene:
end
.Frieda:
Route32FriedaCallback:
readvar VAR_WEEKDAY
ifequal FRIDAY, .FriedaAppears
disappear ROUTE32_FRIEDA

View File

@ -17,9 +17,9 @@ Route34_MapScripts:
def_scene_scripts
def_callbacks
callback MAPCALLBACK_OBJECTS, .EggCheckCallback
callback MAPCALLBACK_OBJECTS, Route34EggCheckCallback
.EggCheckCallback:
Route34EggCheckCallback:
checkflag ENGINE_DAY_CARE_MAN_HAS_EGG
iftrue .PutDayCareManOutside
clearevent EVENT_DAY_CARE_MAN_IN_DAY_CARE

View File

@ -9,9 +9,9 @@ Route34IlexForestGate_MapScripts:
scene_const SCENE_ROUTE34ILEXFORESTGATE_TEACHER_BLOCKS_IF_FOREST_IS_RESTLESS
def_callbacks
callback MAPCALLBACK_OBJECTS, .IsForestRestless
callback MAPCALLBACK_OBJECTS, Route34IsForestRestlessCallback
.IsForestRestless:
Route34IsForestRestlessCallback:
checkevent EVENT_FOREST_IS_RESTLESS
iffalse .Normal
disappear ROUTE34ILEXFORESTGATE_TEACHER1

View File

@ -5,41 +5,41 @@
Route35NationalParkGate_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_ROUTE35NATIONALPARKGATE_NOOP
scene_script .DummyScene1, SCENE_ROUTE35NATIONALPARKGATE_UNUSED
scene_script .LeaveContestEarly, SCENE_ROUTE35NATIONALPARKGATE_LEAVE_CONTEST_EARLY
scene_script Route35NationalParkGateNoop1Scene, SCENE_ROUTE35NATIONALPARKGATE_NOOP
scene_script Route35NationalParkGateNoop2Scene, SCENE_ROUTE35NATIONALPARKGATE_UNUSED
scene_script Route35NationalParkGateLeaveContestEarlyScene, SCENE_ROUTE35NATIONALPARKGATE_LEAVE_CONTEST_EARLY
def_callbacks
callback MAPCALLBACK_NEWMAP, .CheckIfContestRunning
callback MAPCALLBACK_OBJECTS, .CheckIfContestAvailable
callback MAPCALLBACK_NEWMAP, Route35NationalParkGateCheckIfContestRunningCallback
callback MAPCALLBACK_OBJECTS, Route35NationalParkGateCheckIfContestAvailableCallback
.DummyScene0:
Route35NationalParkGateNoop1Scene:
end
.DummyScene1:
Route35NationalParkGateNoop2Scene:
end
.LeaveContestEarly:
sdefer .LeavingContestEarly
Route35NationalParkGateLeaveContestEarlyScene:
sdefer Route35NationalParkGateLeavingContestEarlyScript
end
.CheckIfContestRunning:
Route35NationalParkGateCheckIfContestRunningCallback:
checkflag ENGINE_BUG_CONTEST_TIMER
iftrue .BugContestIsRunning
iftrue Route35NationalParkBugContestIsRunningScript
setscene SCENE_ROUTE35NATIONALPARKGATE_NOOP
endcallback
.BugContestIsRunning:
Route35NationalParkBugContestIsRunningScript:
setscene SCENE_ROUTE35NATIONALPARKGATE_LEAVE_CONTEST_EARLY
endcallback
.CheckIfContestAvailable:
Route35NationalParkGateCheckIfContestAvailableCallback:
readvar VAR_WEEKDAY
ifequal TUESDAY, .SetContestOfficer
ifequal THURSDAY, .SetContestOfficer
ifequal SATURDAY, .SetContestOfficer
checkflag ENGINE_BUG_CONTEST_TIMER
iftrue .BugContestIsRunning
iftrue Route35NationalParkBugContestIsRunningScript
disappear ROUTE35NATIONALPARKGATE_OFFICER1
appear ROUTE35NATIONALPARKGATE_YOUNGSTER
appear ROUTE35NATIONALPARKGATE_OFFICER2
@ -51,7 +51,7 @@ Route35NationalParkGate_MapScripts:
disappear ROUTE35NATIONALPARKGATE_OFFICER2
endcallback
.LeavingContestEarly:
Route35NationalParkGateLeavingContestEarlyScript:
applymovement PLAYER, Route35NationalParkGatePlayerApproachOfficer1Movement
turnobject ROUTE35NATIONALPARKGATE_OFFICER1, RIGHT
opentext

View File

@ -11,19 +11,19 @@
Route36_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_ROUTE36_NOOP
scene_script .DummyScene1, SCENE_ROUTE36_SUICUNE
scene_script Route36Noop1Scene, SCENE_ROUTE36_NOOP
scene_script Route36Noop2Scene, SCENE_ROUTE36_SUICUNE
def_callbacks
callback MAPCALLBACK_OBJECTS, .ArthurCallback
callback MAPCALLBACK_OBJECTS, Route36ArthurCallback
.DummyScene0:
Route36Noop1Scene:
end
.DummyScene1:
Route36Noop2Scene:
end
.ArthurCallback:
Route36ArthurCallback:
readvar VAR_WEEKDAY
ifequal THURSDAY, .ArthurAppears
disappear ROUTE36_ARTHUR

View File

@ -14,25 +14,25 @@
Route36NationalParkGate_MapScripts:
def_scene_scripts
scene_script .DummyScene0, SCENE_ROUTE36NATIONALPARKGATE_NOOP
scene_script .DummyScene1, SCENE_ROUTE36NATIONALPARKGATE_UNUSED
scene_script .LeaveContestEarly, SCENE_ROUTE36NATIONALPARKGATE_LEAVE_CONTEST_EARLY
scene_script Route36NationalParkGateNoop1Scene, SCENE_ROUTE36NATIONALPARKGATE_NOOP
scene_script Route36NationalParkGateNoop2Scene, SCENE_ROUTE36NATIONALPARKGATE_UNUSED
scene_script Route36NationalParkGateLeaveContestEarlyScene, SCENE_ROUTE36NATIONALPARKGATE_LEAVE_CONTEST_EARLY
def_callbacks
callback MAPCALLBACK_NEWMAP, .CheckIfContestRunning
callback MAPCALLBACK_OBJECTS, .CheckIfContestAvailable
callback MAPCALLBACK_NEWMAP, Route36NationalParkGateCheckIfContestRunningCallback
callback MAPCALLBACK_OBJECTS, Route36NationalParkGateCheckIfContestAvailableCallback
.DummyScene0:
Route36NationalParkGateNoop1Scene:
end
.DummyScene1:
Route36NationalParkGateNoop2Scene:
end
.LeaveContestEarly:
sdefer .LeavingContestEarly
Route36NationalParkGateLeaveContestEarlyScene:
sdefer Route36NationalParkGateLeavingContestEarlyScript
end
.CheckIfContestRunning:
Route36NationalParkGateCheckIfContestRunningCallback:
checkflag ENGINE_BUG_CONTEST_TIMER
iftrue .BugContestIsRunning
setscene SCENE_ROUTE36NATIONALPARKGATE_NOOP
@ -42,7 +42,7 @@ Route36NationalParkGate_MapScripts:
setscene SCENE_ROUTE36NATIONALPARKGATE_LEAVE_CONTEST_EARLY
endcallback
.CheckIfContestAvailable:
Route36NationalParkGateCheckIfContestAvailableCallback:
checkevent EVENT_WARPED_FROM_ROUTE_35_NATIONAL_PARK_GATE
iftrue .Return
readvar VAR_WEEKDAY
@ -61,7 +61,7 @@ Route36NationalParkGate_MapScripts:
.Return:
endcallback
.LeavingContestEarly:
Route36NationalParkGateLeavingContestEarlyScript:
turnobject PLAYER, UP
opentext
readvar VAR_CONTESTMINUTES

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