Use def_* macros for automatic map event counts

Resolves #742
This commit is contained in:
Rangi
2020-07-24 09:49:26 -04:00
parent 89c47f2170
commit dcb24bc724
392 changed files with 2750 additions and 2695 deletions

View File

@@ -1,7 +1,7 @@
CeladonDeptStoreElevator_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
CeladonDeptStoreElevatorScript:
opentext
@@ -28,13 +28,13 @@ CeladonDeptStoreElevatorData:
CeladonDeptStoreElevator_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
def_warp_events
warp_event 1, 3, CELADON_DEPT_STORE_1F, -1
warp_event 2, 3, CELADON_DEPT_STORE_1F, -1
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 3, 0, BGEVENT_READ, CeladonDeptStoreElevatorScript
db 0 ; object events
def_object_events