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

@@ -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