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,11 +1,11 @@
object_const_def ; object_event constants
object_const_def
const SLOWPOKEWELLB2F_GYM_GUIDE
const SLOWPOKEWELLB2F_POKE_BALL
SlowpokeWellB2F_MapScripts:
db 0 ; scene scripts
def_scene_scripts
db 0 ; callbacks
def_callbacks
SlowpokeWellB2FGymGuideScript:
faceplayer
@@ -62,13 +62,13 @@ SlowpokeWellB2FGymGuideText_GotKingsRock:
SlowpokeWellB2F_MapEvents:
db 0, 0 ; filler
db 1 ; warp events
def_warp_events
warp_event 9, 11, SLOWPOKE_WELL_B1F, 2
db 0 ; coord events
def_coord_events
db 0 ; bg events
def_bg_events
db 2 ; object events
def_object_events
object_event 5, 4, SPRITE_GYM_GUIDE, SPRITEMOVEDATA_WANDER, 1, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 1, SlowpokeWellB2FGymGuideScript, -1
object_event 15, 5, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, SlowpokeWellB2FTMRainDance, EVENT_SLOWPOKE_WELL_B2F_TM_RAIN_DANCE