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 @@
SilphCo2F_Object:
db $2e ; border block
db 7 ; warps
def_warps
warp 24, 0, 2, SILPH_CO_1F
warp 26, 0, 0, SILPH_CO_3F
warp 20, 0, 0, SILPH_CO_ELEVATOR
@ -10,9 +10,9 @@ SilphCo2F_Object:
warp 27, 15, 5, SILPH_CO_8F
warp 9, 15, 4, SILPH_CO_6F
db 0 ; signs
def_signs
db 5 ; objects
def_objects
object SPRITE_ERIKA, 10, 1, STAY, UP, 1 ; person
object SPRITE_SCIENTIST, 5, 12, STAY, DOWN, 2, OPP_SCIENTIST, 2
object SPRITE_SCIENTIST, 24, 13, STAY, LEFT, 3, OPP_SCIENTIST, 3