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 @@
SilphCo5F_Object:
db $2e ; border block
db 7 ; warps
def_warps
warp 24, 0, 1, SILPH_CO_6F
warp 26, 0, 1, SILPH_CO_4F
warp 20, 0, 0, SILPH_CO_ELEVATOR
@ -10,9 +10,9 @@ SilphCo5F_Object:
warp 11, 5, 4, SILPH_CO_3F
warp 3, 15, 5, SILPH_CO_3F
db 0 ; signs
def_signs
db 11 ; objects
def_objects
object SPRITE_SILPH_WORKER, 13, 9, STAY, NONE, 1 ; person
object SPRITE_ROCKET, 8, 16, STAY, RIGHT, 2, OPP_ROCKET, 28
object SPRITE_SCIENTIST, 8, 3, STAY, RIGHT, 3, OPP_SCIENTIST, 6