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 @@
SilphCo4F_Object:
db $2e ; border block
db 7 ; warps
def_warps
warp 24, 0, 1, SILPH_CO_3F
warp 26, 0, 1, SILPH_CO_5F
warp 20, 0, 0, SILPH_CO_ELEVATOR
@ -10,9 +10,9 @@ SilphCo4F_Object:
warp 3, 15, 4, SILPH_CO_10F
warp 17, 11, 5, SILPH_CO_10F
db 0 ; signs
def_signs
db 7 ; objects
def_objects
object SPRITE_SILPH_WORKER, 6, 2, STAY, NONE, 1 ; person
object SPRITE_ROCKET, 9, 14, STAY, RIGHT, 2, OPP_ROCKET, 26
object SPRITE_SCIENTIST, 14, 6, STAY, LEFT, 3, OPP_SCIENTIST, 5