summaryrefslogtreecommitdiff
path: root/maps/RockTunnel1F.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-26 16:29:43 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-26 16:29:43 -0400
commitd24f1c71149b59c50dba57e500f30b223a54a25f (patch)
tree140ad8c04b396af2e0d55f3218bfb3e428391f42 /maps/RockTunnel1F.asm
parent6ca1857732502a60251e3738cbccc6d0067eaed2 (diff)
Use def_* macros for automatic map event counts
Diffstat (limited to 'maps/RockTunnel1F.asm')
-rw-r--r--maps/RockTunnel1F.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/maps/RockTunnel1F.asm b/maps/RockTunnel1F.asm
index aa5d8147..3dbcf926 100644
--- a/maps/RockTunnel1F.asm
+++ b/maps/RockTunnel1F.asm
@@ -1,11 +1,11 @@
- object_const_def ; object_event constants
+ object_const_def
const ROCKTUNNEL1F_POKE_BALL1
const ROCKTUNNEL1F_POKE_BALL2
RockTunnel1F_MapScripts:
- db 0 ; scene scripts
+ def_scene_scripts
- db 0 ; callbacks
+ def_callbacks
RockTunnel1FElixer:
itemball ELIXER
@@ -22,7 +22,7 @@ RockTunnel1FHiddenXDefend:
RockTunnel1F_MapEvents:
db 0, 0 ; filler
- db 6 ; warp events
+ def_warp_events
warp_event 15, 3, ROUTE_9, 1
warp_event 11, 25, ROUTE_10_SOUTH, 1
warp_event 5, 3, ROCK_TUNNEL_B1F, 3
@@ -30,12 +30,12 @@ RockTunnel1F_MapEvents:
warp_event 27, 3, ROCK_TUNNEL_B1F, 4
warp_event 27, 13, ROCK_TUNNEL_B1F, 1
- db 0 ; coord events
+ def_coord_events
- db 2 ; bg events
+ def_bg_events
bg_event 24, 4, BGEVENT_ITEM, RockTunnel1FHiddenXAccuracy
bg_event 21, 15, BGEVENT_ITEM, RockTunnel1FHiddenXDefend
- db 2 ; object events
+ def_object_events
object_event 4, 18, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, RockTunnel1FElixer, EVENT_ROCK_TUNNEL_1F_ELIXER
object_event 10, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, RockTunnel1FTMSteelWing, EVENT_ROCK_TUNNEL_1F_TM_STEEL_WING