You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
SCENE_DEFAULT=0 and SCENE_FINISHED=1 (generic constants for a common scene pattern)
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
; See data/maps/scenes.asm for which maps have scene variables.
|
; See data/maps/scenes.asm for which maps have scene variables.
|
||||||
; Values default to 0 and can be changed with setscene or setmapscene.
|
; Each scene_script and coord_event is associated with a current scene ID.
|
||||||
; Each scene_script and coord_event goes with a single scene ID.
|
|
||||||
|
|
||||||
SCENE_DEFAULT EQU 0
|
; Scene variables default to 0.
|
||||||
|
SCENE_DEFAULT EQU 0
|
||||||
|
; Often a map will have a one-time default event for scene 0, and switch to a
|
||||||
|
; do-nothing scene 1 when the event finishes.
|
||||||
|
SCENE_FINISHED EQU 1
|
||||||
|
|
||||||
; wPokecenter2FSceneID
|
; wPokecenter2FSceneID
|
||||||
const_def 1
|
const_def 1
|
||||||
@@ -12,19 +15,6 @@ SCENE_DEFAULT EQU 0
|
|||||||
const SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM ; 4
|
const SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM ; 4
|
||||||
const SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM ; 5
|
const SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM ; 5
|
||||||
|
|
||||||
; wTradeCenterSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_TRADECENTER_NOTHING ; 1
|
|
||||||
|
|
||||||
; wColosseumSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_COLOSSEUM_NOTHING ; 1
|
|
||||||
const SCENE_COLOSSEUM_UNUSED ; 2
|
|
||||||
|
|
||||||
; wTimeCapsuleSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_TIMECAPSULE_NOTHING ; 1
|
|
||||||
|
|
||||||
; wPowerPlantSceneID
|
; wPowerPlantSceneID
|
||||||
const_def
|
const_def
|
||||||
const SCENE_POWERPLANT_NOTHING ; 0
|
const SCENE_POWERPLANT_NOTHING ; 0
|
||||||
@@ -40,42 +30,10 @@ SCENE_DEFAULT EQU 0
|
|||||||
const SCENE_ROUTE25_NOTHING ; 0
|
const SCENE_ROUTE25_NOTHING ; 0
|
||||||
const SCENE_ROUTE25_MISTYS_DATE ; 1
|
const SCENE_ROUTE25_MISTYS_DATE ; 1
|
||||||
|
|
||||||
; wVictoryRoadGateSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_VICTORYROADGATE_NOTHING ; 1
|
|
||||||
|
|
||||||
; wWillsRoomSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_WILLSROOM_NOTHING ; 1
|
|
||||||
|
|
||||||
; wKogasRoomSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_KOGASROOM_NOTHING ; 1
|
|
||||||
|
|
||||||
; wBrunosRoomSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_BRUNOSROOM_NOTHING ; 1
|
|
||||||
|
|
||||||
; wKarensRoomSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_KARENSROOM_NOTHING ; 1
|
|
||||||
|
|
||||||
; wLancesRoomSceneID
|
; wLancesRoomSceneID
|
||||||
const_def 1
|
const_def 1
|
||||||
const SCENE_LANCESROOM_APPROACH_LANCE ; 1
|
const SCENE_LANCESROOM_APPROACH_LANCE ; 1
|
||||||
|
|
||||||
; wHallOfFameSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_HALLOFFAME_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRoute27SceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_ROUTE27_NOTHING ; 1
|
|
||||||
|
|
||||||
; wNewBarkTownSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_NEWBARKTOWN_NOTHING ; 1
|
|
||||||
|
|
||||||
; wElmsLabSceneID
|
; wElmsLabSceneID
|
||||||
const_def 1
|
const_def 1
|
||||||
const SCENE_ELMSLAB_CANT_LEAVE ; 1
|
const SCENE_ELMSLAB_CANT_LEAVE ; 1
|
||||||
@@ -85,10 +43,6 @@ SCENE_DEFAULT EQU 0
|
|||||||
const SCENE_ELMSLAB_AIDE_GIVES_POTION ; 5
|
const SCENE_ELMSLAB_AIDE_GIVES_POTION ; 5
|
||||||
const SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS ; 6
|
const SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS ; 6
|
||||||
|
|
||||||
; wPlayersHouse1FSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_PLAYERSHOUSE1F_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRoute29SceneID
|
; wRoute29SceneID
|
||||||
const_def
|
const_def
|
||||||
const SCENE_ROUTE29_NOTHING ; 0
|
const SCENE_ROUTE29_NOTHING ; 0
|
||||||
@@ -99,10 +53,6 @@ SCENE_DEFAULT EQU 0
|
|||||||
const SCENE_CHERRYGROVECITY_NOTHING ; 0
|
const SCENE_CHERRYGROVECITY_NOTHING ; 0
|
||||||
const SCENE_CHERRYGROVECITY_MEET_RIVAL ; 1
|
const SCENE_CHERRYGROVECITY_MEET_RIVAL ; 1
|
||||||
|
|
||||||
; wMrPokemonsHouseSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_MRPOKEMONSHOUSE_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRoute32SceneID
|
; wRoute32SceneID
|
||||||
const_def 1
|
const_def 1
|
||||||
const SCENE_ROUTE32_OFFER_SLOWPOKETAIL ; 1
|
const SCENE_ROUTE32_OFFER_SLOWPOKETAIL ; 1
|
||||||
@@ -136,30 +86,6 @@ SCENE_DEFAULT EQU 0
|
|||||||
const SCENE_GOLDENRODGYM_NOTHING ; 0
|
const SCENE_GOLDENRODGYM_NOTHING ; 0
|
||||||
const SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING ; 1
|
const SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING ; 1
|
||||||
|
|
||||||
; wOlivineCitySceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_OLIVINECITY_NOTHING ; 1
|
|
||||||
|
|
||||||
; wEcruteakTinTowerEntranceSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_ECRUTEAKTINTOWERENTRANCE_NOTHING ; 1
|
|
||||||
|
|
||||||
; wWiseTriosRoomSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_WISETRIOSROOM_NOTHING ; 1
|
|
||||||
|
|
||||||
; wEcruteakPokecenter1FSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_ECRUTEAKPOKECENTER1F_NOTHING ; 1
|
|
||||||
|
|
||||||
; wEcruteakGymSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_ECRUTEAKGYM_NOTHING ; 1
|
|
||||||
|
|
||||||
; wMahoganyTownSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_MAHOGANYTOWN_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRoute42SceneID
|
; wRoute42SceneID
|
||||||
const_def
|
const_def
|
||||||
const SCENE_ROUTE42_NOTHING ; 0
|
const SCENE_ROUTE42_NOTHING ; 0
|
||||||
@@ -170,47 +96,11 @@ SCENE_DEFAULT EQU 0
|
|||||||
const SCENE_CIANWOODCITY_NOTHING ; 0
|
const SCENE_CIANWOODCITY_NOTHING ; 0
|
||||||
const SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE ; 1
|
const SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE ; 1
|
||||||
|
|
||||||
; wBattleTower1FSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_BATTLETOWER1F_NOTHING ; 1
|
|
||||||
|
|
||||||
; wBattleTowerBattleRoomSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_BATTLETOWERBATTLEROOM_NOTHING ; 1
|
|
||||||
|
|
||||||
; wBattleTowerElevatorSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_BATTLETOWERELEVATOR_NOTHING ; 1
|
|
||||||
|
|
||||||
; wBattleTowerHallwaySceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_BATTLETOWERHALLWAY_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRoute43GateSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_ROUTE43GATE_NOTHING ; 1
|
|
||||||
|
|
||||||
; wMountMoonSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_MOUNTMOON_NOTHING ; 1
|
|
||||||
|
|
||||||
; wSproutTower3FSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_SPROUTTOWER3F_NOTHING ; 1
|
|
||||||
|
|
||||||
; wTinTower1FSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_TINTOWER1F_NOTHING ; 1
|
|
||||||
|
|
||||||
; wBurnedTower1FSceneID
|
; wBurnedTower1FSceneID
|
||||||
const_def 1
|
const_def 1
|
||||||
const SCENE_BURNEDTOWER1F_RIVAL_BATTLE ; 1
|
const SCENE_BURNEDTOWER1F_RIVAL_BATTLE ; 1
|
||||||
const SCENE_BURNEDTOWER1F_NOTHING ; 2
|
const SCENE_BURNEDTOWER1F_NOTHING ; 2
|
||||||
|
|
||||||
; wBurnedTowerB1FSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_BURNEDTOWERB1F_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRadioTower5FSceneID
|
; wRadioTower5FSceneID
|
||||||
const_def 1
|
const_def 1
|
||||||
const SCENE_RADIOTOWER5F_ROCKET_BOSS ; 1
|
const SCENE_RADIOTOWER5F_ROCKET_BOSS ; 1
|
||||||
@@ -226,22 +116,6 @@ SCENE_DEFAULT EQU 0
|
|||||||
const SCENE_RUINSOFALPHRESEARCHCENTER_NOTHING ; 0
|
const SCENE_RUINSOFALPHRESEARCHCENTER_NOTHING ; 0
|
||||||
const SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX ; 1
|
const SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX ; 1
|
||||||
|
|
||||||
; wRuinsOfAlphHoOhChamberSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_RUINSOFALPHHOOHCHAMBER_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRuinsOfAlphKabutoChamberSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_RUINSOFALPHKABUTOCHAMBER_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRuinsOfAlphOmanyteChamberSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_RUINSOFALPHOMANYTECHAMBER_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRuinsOfAlphAerodactylChamberSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_RUINSOFALPHAERODACTYLCHAMBER_NOTHING ; 1
|
|
||||||
|
|
||||||
; wRuinsOfAlphInnerChamberSceneID
|
; wRuinsOfAlphInnerChamberSceneID
|
||||||
const_def
|
const_def
|
||||||
const SCENE_RUINSOFALPHINNERCHAMBER_NOTHING ; 0
|
const SCENE_RUINSOFALPHINNERCHAMBER_NOTHING ; 0
|
||||||
@@ -264,23 +138,11 @@ SCENE_DEFAULT EQU 0
|
|||||||
const SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS ; 2
|
const SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS ; 2
|
||||||
const SCENE_TEAMROCKETBASEB3F_NOTHING ; 3
|
const SCENE_TEAMROCKETBASEB3F_NOTHING ; 3
|
||||||
|
|
||||||
; wGoldenrodUndergroundSwitchRoomEntrancesSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOTHING ; 1
|
|
||||||
|
|
||||||
; wVictoryRoadSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_VICTORYROAD_NOTHING ; 1
|
|
||||||
|
|
||||||
; wDragonsDenB1FSceneID
|
; wDragonsDenB1FSceneID
|
||||||
const_def
|
const_def
|
||||||
const SCENE_DRAGONSDENB1F_NOTHING ; 0
|
const SCENE_DRAGONSDENB1F_NOTHING ; 0
|
||||||
const SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM ; 1
|
const SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM ; 1
|
||||||
|
|
||||||
; wDragonShrineSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_DRAGONSHRINE_NOTHING ; 1
|
|
||||||
|
|
||||||
; wOlivinePortSceneID
|
; wOlivinePortSceneID
|
||||||
const_def 1
|
const_def 1
|
||||||
const SCENE_OLIVINEPORT_LEAVE_SHIP ; 1
|
const SCENE_OLIVINEPORT_LEAVE_SHIP ; 1
|
||||||
@@ -293,19 +155,3 @@ SCENE_DEFAULT EQU 0
|
|||||||
const_def 1
|
const_def 1
|
||||||
const SCENE_FASTSHIP1F_ENTER_SHIP ; 1
|
const SCENE_FASTSHIP1F_ENTER_SHIP ; 1
|
||||||
const SCENE_FASTSHIP1F_MEET_GRANDPA ; 2
|
const SCENE_FASTSHIP1F_MEET_GRANDPA ; 2
|
||||||
|
|
||||||
; wFastShipB1FSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_FASTSHIPB1F_NOTHING ; 1
|
|
||||||
|
|
||||||
; wMountMoonSquareSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_MOUNTMOONSQUARE_UNUSED ; 1
|
|
||||||
|
|
||||||
; wMobileTradeRoomSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_MOBILETRADEROOM_NOTHING ; 1
|
|
||||||
|
|
||||||
; wMobileBattleRoomSceneID
|
|
||||||
const_def 1
|
|
||||||
const SCENE_MOBILEBATTLEROOM_NOTHING ; 1
|
|
||||||
|
@@ -298,7 +298,7 @@ RadioTowerRocketsScript:
|
|||||||
clearevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
|
clearevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
|
||||||
setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_EAST
|
setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_EAST
|
||||||
specialphonecall SPECIALCALL_WEIRDBROADCAST
|
specialphonecall SPECIALCALL_WEIRDBROADCAST
|
||||||
setmapscene MAHOGANY_TOWN, SCENE_MAHOGANYTOWN_NOTHING
|
setmapscene MAHOGANY_TOWN, SCENE_FINISHED
|
||||||
end
|
end
|
||||||
|
|
||||||
BugContestResultsWarpScript:
|
BugContestResultsWarpScript:
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
BattleTower1F_MapScripts:
|
BattleTower1F_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .Scene0 ; SCENE_DEFAULT
|
scene_script .Scene0 ; SCENE_DEFAULT
|
||||||
scene_script .Scene1 ; SCENE_BATTLETOWER1F_NOTHING
|
scene_script .Scene1 ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ BattleTower1F_MapScripts:
|
|||||||
writebyte BATTLETOWERACTION_06
|
writebyte BATTLETOWERACTION_06
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
.SkipEverything:
|
.SkipEverything:
|
||||||
setscene SCENE_BATTLETOWER1F_NOTHING
|
setscene SCENE_FINISHED
|
||||||
.Scene1:
|
.Scene1:
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ Script_ChooseChallenge: ; 0x9e40f
|
|||||||
setscene SCENE_DEFAULT
|
setscene SCENE_DEFAULT
|
||||||
special TryQuickSave
|
special TryQuickSave
|
||||||
iffalse Script_Menu_ChallengeExplanationCancel
|
iffalse Script_Menu_ChallengeExplanationCancel
|
||||||
setscene SCENE_BATTLETOWER1F_NOTHING
|
setscene SCENE_FINISHED
|
||||||
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags]
|
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ ; set 1, [sBattleTowerSaveFileFlags]
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
special BattleTowerRoomMenu
|
special BattleTowerRoomMenu
|
||||||
@@ -209,7 +209,7 @@ continue:
|
|||||||
setscene SCENE_DEFAULT
|
setscene SCENE_DEFAULT
|
||||||
special TryQuickSave
|
special TryQuickSave
|
||||||
iffalse Script_Menu_ChallengeExplanationCancel
|
iffalse Script_Menu_ChallengeExplanationCancel
|
||||||
setscene SCENE_BATTLETOWER1F_NOTHING
|
setscene SCENE_FINISHED
|
||||||
writebyte BATTLETOWERACTION_06
|
writebyte BATTLETOWERACTION_06
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
writebyte BATTLETOWERACTION_12
|
writebyte BATTLETOWERACTION_12
|
||||||
|
@@ -5,14 +5,14 @@
|
|||||||
BattleTowerBattleRoom_MapScripts:
|
BattleTowerBattleRoom_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .EnterBattleRoom ; SCENE_DEFAULT
|
scene_script .EnterBattleRoom ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene ; SCENE_BATTLETOWERBATTLEROOM_NOTHING
|
scene_script .DummyScene ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
.EnterBattleRoom: ; 0x9f419
|
.EnterBattleRoom: ; 0x9f419
|
||||||
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
|
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
|
||||||
priorityjump Script_BattleRoom
|
priorityjump Script_BattleRoom
|
||||||
setscene SCENE_BATTLETOWERBATTLEROOM_NOTHING
|
setscene SCENE_FINISHED
|
||||||
.DummyScene:
|
.DummyScene:
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
BattleTowerElevator_MapScripts:
|
BattleTowerElevator_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .Scene0 ; SCENE_DEFAULT
|
scene_script .Scene0 ; SCENE_DEFAULT
|
||||||
scene_script .Scene1 ; SCENE_BATTLETOWERELEVATOR_NOTHING
|
scene_script .Scene1 ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
.Scene0:
|
.Scene0:
|
||||||
priorityjump .RideElevator
|
priorityjump .RideElevator
|
||||||
setscene SCENE_BATTLETOWERELEVATOR_NOTHING
|
setscene SCENE_FINISHED
|
||||||
.Scene1:
|
.Scene1:
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
BattleTowerHallway_MapScripts:
|
BattleTowerHallway_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .Scene0 ; SCENE_DEFAULT
|
scene_script .Scene0 ; SCENE_DEFAULT
|
||||||
scene_script .Scene1 ; SCENE_BATTLETOWERHALLWAY_NOTHING
|
scene_script .Scene1 ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
.Scene0:
|
.Scene0:
|
||||||
priorityjump .ChooseBattleRoom
|
priorityjump .ChooseBattleRoom
|
||||||
setscene SCENE_BATTLETOWERHALLWAY_NOTHING
|
setscene SCENE_FINISHED
|
||||||
.Scene1:
|
.Scene1:
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
BrunosRoom_MapScripts:
|
BrunosRoom_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .LockDoor ; SCENE_DEFAULT
|
scene_script .LockDoor ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene ; SCENE_BRUNOSROOM_NOTHING
|
scene_script .DummyScene ; SCENE_FINISHED
|
||||||
|
|
||||||
db 1 ; callbacks
|
db 1 ; callbacks
|
||||||
callback MAPCALLBACK_TILES, .BrunosRoomDoors
|
callback MAPCALLBACK_TILES, .BrunosRoomDoors
|
||||||
@@ -35,7 +35,7 @@ BrunosRoom_MapScripts:
|
|||||||
changeblock 4, 14, $2a ; wall
|
changeblock 4, 14, $2a ; wall
|
||||||
reloadmappart
|
reloadmappart
|
||||||
closetext
|
closetext
|
||||||
setscene SCENE_BRUNOSROOM_NOTHING
|
setscene SCENE_FINISHED
|
||||||
setevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
|
setevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
|
||||||
waitsfx
|
waitsfx
|
||||||
end
|
end
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
BurnedTowerB1F_MapScripts:
|
BurnedTowerB1F_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .DummyScene0 ; SCENE_DEFAULT
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene1 ; SCENE_BURNEDTOWERB1F_NOTHING
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
||||||
|
|
||||||
db 1 ; callbacks
|
db 1 ; callbacks
|
||||||
callback MAPCALLBACK_TILES, .LadderCallback
|
callback MAPCALLBACK_TILES, .LadderCallback
|
||||||
@@ -79,10 +79,10 @@ ReleaseTheBeasts:
|
|||||||
disappear BURNEDTOWERB1F_SUICUNE1
|
disappear BURNEDTOWERB1F_SUICUNE1
|
||||||
waitsfx
|
waitsfx
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
setscene SCENE_BURNEDTOWERB1F_NOTHING
|
setscene SCENE_FINISHED
|
||||||
setevent EVENT_RELEASED_THE_BEASTS
|
setevent EVENT_RELEASED_THE_BEASTS
|
||||||
special InitRoamMons
|
special InitRoamMons
|
||||||
setmapscene ECRUTEAK_GYM, SCENE_ECRUTEAKGYM_NOTHING
|
setmapscene ECRUTEAK_GYM, SCENE_FINISHED
|
||||||
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
|
setmapscene CIANWOOD_CITY, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
|
||||||
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
|
clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
|
||||||
setevent EVENT_ECRUTEAK_GYM_GRAMPS
|
setevent EVENT_ECRUTEAK_GYM_GRAMPS
|
||||||
@@ -94,7 +94,7 @@ ReleaseTheBeasts:
|
|||||||
changeblock 6, 14, $1b ; ladder
|
changeblock 6, 14, $1b ; ladder
|
||||||
reloadmappart
|
reloadmappart
|
||||||
closetext
|
closetext
|
||||||
setscene SCENE_BURNEDTOWERB1F_NOTHING
|
setscene SCENE_FINISHED
|
||||||
end
|
end
|
||||||
|
|
||||||
BurnedTowerB1FEusine:
|
BurnedTowerB1FEusine:
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
Colosseum_MapScripts:
|
Colosseum_MapScripts:
|
||||||
db 3 ; scene scripts
|
db 3 ; scene scripts
|
||||||
scene_script .InitializeColosseum ; SCENE_DEFAULT
|
scene_script .InitializeColosseum ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene1 ; SCENE_COLOSSEUM_NOTHING
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
||||||
scene_script .DummyScene2 ; SCENE_COLOSSEUM_UNUSED
|
scene_script .DummyScene2 ; unused
|
||||||
|
|
||||||
db 2 ; callbacks
|
db 2 ; callbacks
|
||||||
callback MAPCALLBACK_OBJECTS, .SetWhichChris
|
callback MAPCALLBACK_OBJECTS, .SetWhichChris
|
||||||
@@ -39,7 +39,7 @@ Colosseum_MapScripts:
|
|||||||
return
|
return
|
||||||
|
|
||||||
.InitializeAndPreparePokecenter2F:
|
.InitializeAndPreparePokecenter2F:
|
||||||
setscene SCENE_COLOSSEUM_NOTHING
|
setscene SCENE_FINISHED
|
||||||
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
|
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
DragonShrine_MapScripts:
|
DragonShrine_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .DragonShrineTest ; SCENE_DEFAULT
|
scene_script .DragonShrineTest ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene ; SCENE_DRAGONSHRINE_NOTHING
|
scene_script .DummyScene ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
@@ -163,7 +163,7 @@ DragonShrine_MapScripts:
|
|||||||
waitsfx
|
waitsfx
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
specialphonecall SPECIALCALL_MASTERBALL
|
specialphonecall SPECIALCALL_MASTERBALL
|
||||||
setscene SCENE_DRAGONSHRINE_NOTHING
|
setscene SCENE_FINISHED
|
||||||
setmapscene DRAGONS_DEN_B1F, SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM
|
setmapscene DRAGONS_DEN_B1F, SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM
|
||||||
writetext DragonShrinePlayerReceivedRisingBadgeText
|
writetext DragonShrinePlayerReceivedRisingBadgeText
|
||||||
buttonsound
|
buttonsound
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
EcruteakGym_MapScripts:
|
EcruteakGym_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .ForcedToLeave ; SCENE_DEFAULT
|
scene_script .ForcedToLeave ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene ; SCENE_ECRUTEAKGYM_NOTHING
|
scene_script .DummyScene ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ MortyScript_0x99d58:
|
|||||||
setflag ENGINE_FOGBADGE
|
setflag ENGINE_FOGBADGE
|
||||||
checkcode VAR_BADGES
|
checkcode VAR_BADGES
|
||||||
scall EcruteakGymActivateRockets
|
scall EcruteakGymActivateRockets
|
||||||
setmapscene ECRUTEAK_TIN_TOWER_ENTRANCE, SCENE_ECRUTEAKTINTOWERENTRANCE_NOTHING
|
setmapscene ECRUTEAK_TIN_TOWER_ENTRANCE, SCENE_FINISHED
|
||||||
setevent EVENT_RANG_CLEAR_BELL_1
|
setevent EVENT_RANG_CLEAR_BELL_1
|
||||||
setevent EVENT_RANG_CLEAR_BELL_2
|
setevent EVENT_RANG_CLEAR_BELL_2
|
||||||
.FightDone:
|
.FightDone:
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
EcruteakPokecenter1F_MapScripts:
|
EcruteakPokecenter1F_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .MeetBill ; SCENE_DEFAULT
|
scene_script .MeetBill ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene ; SCENE_ECRUTEAKPOKECENTER1F_NOTHING
|
scene_script .DummyScene ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ EcruteakPokecenter1F_MapScripts:
|
|||||||
disappear ECRUTEAKPOKECENTER1F_BILL
|
disappear ECRUTEAKPOKECENTER1F_BILL
|
||||||
clearevent EVENT_MET_BILL
|
clearevent EVENT_MET_BILL
|
||||||
setflag ENGINE_TIME_CAPSULE
|
setflag ENGINE_TIME_CAPSULE
|
||||||
setscene SCENE_ECRUTEAKPOKECENTER1F_NOTHING
|
setscene SCENE_FINISHED
|
||||||
waitsfx
|
waitsfx
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
EcruteakTinTowerEntrance_MapScripts:
|
EcruteakTinTowerEntrance_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .DummyScene0 ; SCENE_DEFAULT
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene1 ; SCENE_ECRUTEAKTINTOWERENTRANCE_NOTHING
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
||||||
|
|
||||||
db 1 ; callbacks
|
db 1 ; callbacks
|
||||||
callback MAPCALLBACK_OBJECTS, .InitializeSages
|
callback MAPCALLBACK_OBJECTS, .InitializeSages
|
||||||
@@ -98,7 +98,7 @@ SageScript_0x98062:
|
|||||||
writetext UnknownText_0x98250
|
writetext UnknownText_0x98250
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setscene SCENE_ECRUTEAKTINTOWERENTRANCE_NOTHING
|
setscene SCENE_FINISHED
|
||||||
setevent EVENT_RANG_CLEAR_BELL_2
|
setevent EVENT_RANG_CLEAR_BELL_2
|
||||||
clearevent EVENT_RANG_CLEAR_BELL_1
|
clearevent EVENT_RANG_CLEAR_BELL_1
|
||||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
|
@@ -273,7 +273,7 @@ ElmDirectionsScript:
|
|||||||
setevent EVENT_GOT_A_POKEMON_FROM_ELM
|
setevent EVENT_GOT_A_POKEMON_FROM_ELM
|
||||||
setevent EVENT_RIVAL_CHERRYGROVE_CITY
|
setevent EVENT_RIVAL_CHERRYGROVE_CITY
|
||||||
setscene SCENE_ELMSLAB_AIDE_GIVES_POTION
|
setscene SCENE_ELMSLAB_AIDE_GIVES_POTION
|
||||||
setmapscene NEW_BARK_TOWN, SCENE_NEWBARKTOWN_NOTHING
|
setmapscene NEW_BARK_TOWN, SCENE_FINISHED
|
||||||
end
|
end
|
||||||
|
|
||||||
ElmDescribesMrPokemonScript:
|
ElmDescribesMrPokemonScript:
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
FastShipB1F_MapScripts:
|
FastShipB1F_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .DummyScene0 ; SCENE_DEFAULT
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene1 ; SCENE_FASTSHIPB1F_NOTHING
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
|
@@ -96,7 +96,7 @@ SailorScript_0x755f1:
|
|||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setevent EVENT_FAST_SHIP_LAZY_SAILOR
|
setevent EVENT_FAST_SHIP_LAZY_SAILOR
|
||||||
setmapscene FAST_SHIP_B1F, SCENE_FASTSHIPB1F_NOTHING
|
setmapscene FAST_SHIP_B1F, SCENE_FINISHED
|
||||||
checkcode VAR_FACING
|
checkcode VAR_FACING
|
||||||
if_equal RIGHT, UnknownScript_0x75629
|
if_equal RIGHT, UnknownScript_0x75629
|
||||||
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x75637
|
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x75637
|
||||||
|
@@ -47,7 +47,7 @@ ENDM
|
|||||||
GoldenrodUndergroundSwitchRoomEntrances_MapScripts:
|
GoldenrodUndergroundSwitchRoomEntrances_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .DummyScene0 ; SCENE_DEFAULT
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene1 ; SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOTHING
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
||||||
|
|
||||||
db 1 ; callbacks
|
db 1 ; callbacks
|
||||||
callback MAPCALLBACK_TILES, .UpdateDoorPositions
|
callback MAPCALLBACK_TILES, .UpdateDoorPositions
|
||||||
@@ -130,7 +130,7 @@ UndergroundSilverScene1:
|
|||||||
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement1
|
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement1
|
||||||
playsound SFX_EXIT_BUILDING
|
playsound SFX_EXIT_BUILDING
|
||||||
disappear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
disappear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
||||||
setscene SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOTHING
|
setscene SCENE_FINISHED
|
||||||
waitsfx
|
waitsfx
|
||||||
playmapmusic
|
playmapmusic
|
||||||
end
|
end
|
||||||
@@ -149,7 +149,7 @@ UndergroundSilverScene2:
|
|||||||
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement2
|
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement2
|
||||||
playsound SFX_EXIT_BUILDING
|
playsound SFX_EXIT_BUILDING
|
||||||
disappear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
disappear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
||||||
setscene SCENE_GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_NOTHING
|
setscene SCENE_FINISHED
|
||||||
waitsfx
|
waitsfx
|
||||||
playmapmusic
|
playmapmusic
|
||||||
end
|
end
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
HallOfFame_MapScripts:
|
HallOfFame_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .EnterHallOfFame ; SCENE_DEFAULT
|
scene_script .EnterHallOfFame ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene ; SCENE_HALLOFFAME_NOTHING
|
scene_script .DummyScene ; SCENE_FINISHED
|
||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ HallOfFame_MapScripts:
|
|||||||
closetext
|
closetext
|
||||||
spriteface HALLOFFAME_LANCE, UP
|
spriteface HALLOFFAME_LANCE, UP
|
||||||
applymovement PLAYER, HallOfFame_SlowlyApproachMachine
|
applymovement PLAYER, HallOfFame_SlowlyApproachMachine
|
||||||
setscene SCENE_HALLOFFAME_NOTHING
|
setscene SCENE_FINISHED
|
||||||
pause 15
|
pause 15
|
||||||
writebyte HEALMACHINE_HALL_OF_FAME
|
writebyte HEALMACHINE_HALL_OF_FAME
|
||||||
special HealMachineAnim
|
special HealMachineAnim
|
||||||
@@ -36,7 +36,7 @@ HallOfFame_MapScripts:
|
|||||||
clearevent EVENT_RED_IN_MT_SILVER
|
clearevent EVENT_RED_IN_MT_SILVER
|
||||||
setevent EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
|
setevent EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
|
||||||
clearevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
|
clearevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
|
||||||
setmapscene SPROUT_TOWER_3F, SCENE_SPROUTTOWER3F_NOTHING
|
setmapscene SPROUT_TOWER_3F, SCENE_FINISHED
|
||||||
special HealParty
|
special HealParty
|
||||||
checkevent EVENT_GOT_SS_TICKET_FROM_ELM
|
checkevent EVENT_GOT_SS_TICKET_FROM_ELM
|
||||||
iftrue .SkipPhoneCall
|
iftrue .SkipPhoneCall
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
KarensRoom_MapScripts:
|
KarensRoom_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .LockDoor ; SCENE_DEFAULT
|
scene_script .LockDoor ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene ; SCENE_KARENSROOM_NOTHING
|
scene_script .DummyScene ; SCENE_FINISHED
|
||||||
|
|
||||||
db 1 ; callbacks
|
db 1 ; callbacks
|
||||||
callback MAPCALLBACK_TILES, .KarensRoomDoors
|
callback MAPCALLBACK_TILES, .KarensRoomDoors
|
||||||
@@ -35,7 +35,7 @@ KarensRoom_MapScripts:
|
|||||||
changeblock 4, 14, $2a ; wall
|
changeblock 4, 14, $2a ; wall
|
||||||
reloadmappart
|
reloadmappart
|
||||||
closetext
|
closetext
|
||||||
setscene SCENE_KARENSROOM_NOTHING
|
setscene SCENE_FINISHED
|
||||||
setevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
|
setevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
|
||||||
waitsfx
|
waitsfx
|
||||||
end
|
end
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
KogasRoom_MapScripts:
|
KogasRoom_MapScripts:
|
||||||
db 2 ; scene scripts
|
db 2 ; scene scripts
|
||||||
scene_script .LockDoor ; SCENE_DEFAULT
|
scene_script .LockDoor ; SCENE_DEFAULT
|
||||||
scene_script .DummyScene ; SCENE_KOGASROOM_NOTHING
|
scene_script .DummyScene ; SCENE_FINISHED
|
||||||
|
|
||||||
db 1 ; callbacks
|
db 1 ; callbacks
|
||||||
callback MAPCALLBACK_TILES, .KogasRoomDoors
|
callback MAPCALLBACK_TILES, .KogasRoomDoors
|
||||||
@@ -35,7 +35,7 @@ KogasRoom_MapScripts:
|
|||||||
changeblock 4, 14, $2a ; wall
|
changeblock 4, 14, $2a ; wall
|
||||||
reloadmappart
|
reloadmappart
|
||||||
closetext
|
closetext
|
||||||
setscene SCENE_KOGASROOM_NOTHING
|
setscene SCENE_FINISHED
|
||||||
setevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
|
setevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
|
||||||
waitsfx
|
waitsfx
|
||||||
end
|
end
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user