Use def_* macros for automatic map event counts

This commit is contained in:
Rangi 2020-08-17 16:54:59 -04:00
parent 2fe1505bab
commit e2c99f1910
224 changed files with 699 additions and 669 deletions

View file

@ -1,7 +1,7 @@
PokemonMansion1F_Object:
db $2e ; border block
db 8 ; warps
def_warps
warp 4, 27, 0, LAST_MAP
warp 5, 27, 0, LAST_MAP
warp 6, 27, 0, LAST_MAP
@ -11,9 +11,9 @@ PokemonMansion1F_Object:
warp 26, 27, 0, LAST_MAP
warp 27, 27, 0, LAST_MAP
db 0 ; signs
def_signs
db 3 ; objects
def_objects
object SPRITE_SCIENTIST, 17, 17, STAY, LEFT, 1, OPP_SCIENTIST, 4
object SPRITE_POKE_BALL, 14, 3, STAY, NONE, 2, ESCAPE_ROPE
object SPRITE_POKE_BALL, 18, 21, STAY, NONE, 3, CARBOS