diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-02-01 12:40:58 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-02-01 13:03:21 -0500 |
commit | fcfe77bc3db73afd2001c21ec9cc1cfb1beca20e (patch) | |
tree | 2fe20a614851089b0e22cc2dc0164ee40447ebb6 /maps/RuinsOfAlphResearchCenter.asm | |
parent | 936a170e0da19cb5bb2ccc325a43a28690230098 (diff) |
Meaningful scene constant names
(Two common patterns: 0=default event and 1=nothing; and 0=nothing and 1=some event)
Diffstat (limited to 'maps/RuinsOfAlphResearchCenter.asm')
-rw-r--r-- | maps/RuinsOfAlphResearchCenter.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/maps/RuinsOfAlphResearchCenter.asm b/maps/RuinsOfAlphResearchCenter.asm index b30fb41af..b9d722275 100644 --- a/maps/RuinsOfAlphResearchCenter.asm +++ b/maps/RuinsOfAlphResearchCenter.asm @@ -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 |