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 @@
Route23_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 1 ; callbacks
def_callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
@@ -23,15 +23,15 @@ IndigoPlateauSignText:
Route23_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
def_warp_events
warp_event 9, 5, INDIGO_PLATEAU_POKECENTER_1F, 1
warp_event 10, 5, INDIGO_PLATEAU_POKECENTER_1F, 2
warp_event 9, 13, VICTORY_ROAD, 10
warp_event 10, 13, VICTORY_ROAD, 10
db 0 ; coord events
def_coord_events
db 1 ; bg events
def_bg_events
bg_event 11, 7, BGEVENT_READ, IndigoPlateauSign
db 0 ; object events
def_object_events