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 @@
SilphCo8F_Object:
db $2e ; border block
db 7 ; warps
def_warps
warp 16, 0, 1, SILPH_CO_9F
warp 14, 0, 0, SILPH_CO_7F
warp 18, 0, 0, SILPH_CO_ELEVATOR
@ -10,9 +10,9 @@ SilphCo8F_Object:
warp 11, 5, 5, SILPH_CO_2F
warp 11, 9, 3, SILPH_CO_8F
db 0 ; signs
def_signs
db 4 ; objects
def_objects
object SPRITE_SILPH_WORKER, 4, 2, STAY, NONE, 1 ; person
object SPRITE_ROCKET, 19, 2, STAY, LEFT, 2, OPP_ROCKET, 35
object SPRITE_SCIENTIST, 10, 2, STAY, DOWN, 3, OPP_SCIENTIST, 9