diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-26 16:29:43 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-26 16:29:43 -0400 |
commit | d24f1c71149b59c50dba57e500f30b223a54a25f (patch) | |
tree | 140ad8c04b396af2e0d55f3218bfb3e428391f42 /maps/SilverCaveRoom2.asm | |
parent | 6ca1857732502a60251e3738cbccc6d0067eaed2 (diff) |
Use def_* macros for automatic map event counts
Diffstat (limited to 'maps/SilverCaveRoom2.asm')
-rw-r--r-- | maps/SilverCaveRoom2.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/maps/SilverCaveRoom2.asm b/maps/SilverCaveRoom2.asm index db93c32a..b5e461f2 100644 --- a/maps/SilverCaveRoom2.asm +++ b/maps/SilverCaveRoom2.asm @@ -1,7 +1,7 @@ SilverCaveRoom2_MapScripts: - db 0 ; scene scripts + def_scene_scripts - db 0 ; callbacks + def_callbacks SilverCaveRoom2HiddenMaxPotion: hiddenitem MAX_POTION, EVENT_SILVER_CAVE_ROOM_2_HIDDEN_MAX_POTION @@ -9,15 +9,15 @@ SilverCaveRoom2HiddenMaxPotion: SilverCaveRoom2_MapEvents: db 0, 0 ; filler - db 4 ; warp events + def_warp_events warp_event 17, 31, SILVER_CAVE_ROOM_1, 2 warp_event 11, 5, SILVER_CAVE_ROOM_3, 1 warp_event 13, 21, SILVER_CAVE_ITEM_ROOMS, 1 warp_event 23, 3, SILVER_CAVE_ITEM_ROOMS, 2 - db 0 ; coord events + def_coord_events - db 1 ; bg events + def_bg_events bg_event 14, 31, BGEVENT_ITEM, SilverCaveRoom2HiddenMaxPotion - db 0 ; object events + def_object_events |