summaryrefslogtreecommitdiff
path: root/maps/LancesRoom.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-02-01 12:40:58 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-02-01 13:03:21 -0500
commitfcfe77bc3db73afd2001c21ec9cc1cfb1beca20e (patch)
tree2fe20a614851089b0e22cc2dc0164ee40447ebb6 /maps/LancesRoom.asm
parent936a170e0da19cb5bb2ccc325a43a28690230098 (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/LancesRoom.asm')
-rw-r--r--maps/LancesRoom.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/maps/LancesRoom.asm b/maps/LancesRoom.asm
index f370538a9..294321ac8 100644
--- a/maps/LancesRoom.asm
+++ b/maps/LancesRoom.asm
@@ -5,8 +5,8 @@
LancesRoom_MapScripts:
db 2 ; scene scripts
- scene_script .LockDoor ; SCENE_LANCESROOM_0
- scene_script .DummyScene ; SCENE_LANCESROOM_1
+ scene_script .LockDoor ; SCENE_DEFAULT
+ scene_script .DummyScene ; SCENE_LANCESROOM_APPROACH_LANCE
db 1 ; callbacks
callback MAPCALLBACK_TILES, .LancesRoomDoors
@@ -37,7 +37,7 @@ LancesRoom_MapScripts:
changeblock 4, 22, $34 ; wall
reloadmappart
closetext
- setscene SCENE_LANCESROOM_1
+ setscene SCENE_LANCESROOM_APPROACH_LANCE
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
end
@@ -345,8 +345,8 @@ LancesRoom_MapEvents:
warp_event 5, 1, 2, HALL_OF_FAME
db 2 ; coord events
- coord_event 4, 5, SCENE_LANCESROOM_1, Script_ApproachLanceFromLeft
- coord_event 5, 5, SCENE_LANCESROOM_1, Script_ApproachLanceFromRight
+ coord_event 4, 5, SCENE_LANCESROOM_APPROACH_LANCE, Script_ApproachLanceFromLeft
+ coord_event 5, 5, SCENE_LANCESROOM_APPROACH_LANCE, Script_ApproachLanceFromRight
db 0 ; bg events