From fcfe77bc3db73afd2001c21ec9cc1cfb1beca20e Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 1 Feb 2018 12:40:58 -0500 Subject: Meaningful scene constant names (Two common patterns: 0=default event and 1=nothing; and 0=nothing and 1=some event) --- maps/LancesRoom.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'maps/LancesRoom.asm') 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 -- cgit v1.2.3