Replaced GROUP_, MAP_ references with the map macro
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme Added new macro elevfloor to simplify the definition of elevators under this new scheme
This commit is contained in:
@@ -61,8 +61,7 @@ warp_def: macro
|
||||
db \1 ; y
|
||||
db \2 ; x
|
||||
db \3 ; warp_to
|
||||
db \4 ; map group
|
||||
db \5 ; map number
|
||||
map \4 ; map
|
||||
endm
|
||||
|
||||
|
||||
@@ -177,3 +176,8 @@ newgroup: MACRO
|
||||
const_value = const_value + 1
|
||||
enum_start 1
|
||||
ENDM
|
||||
|
||||
elevfloor: MACRO
|
||||
db \1, \2
|
||||
map \3
|
||||
ENDM
|
||||
|
Reference in New Issue
Block a user