# Conflicts:
#	macros/scripts/maps.asm
This commit is contained in:
Remy Oukaour
2017-12-28 20:56:21 -05:00
156 changed files with 2060 additions and 1926 deletions

View File

@@ -4,10 +4,10 @@ UNDERGROUND_DOOR_CLOSED3 EQU $3f
UNDERGROUND_DOOR_OPEN1 EQU $2d
UNDERGROUND_DOOR_OPEN2 EQU $3d
ugdoor: macro
ugdoor: MACRO
\1_YCOORD EQU \2
\1_XCOORD EQU \3
endm
ENDM
ugdoor UGDOOR_1, $10, $06
ugdoor UGDOOR_2, $0a, $06
@@ -26,9 +26,9 @@ endm
ugdoor UGDOOR_15, $12, $0a
ugdoor UGDOOR_16, $12, $0c
doorstate: macro
doorstate: MACRO
changeblock UGDOOR_\1_YCOORD, UGDOOR_\1_XCOORD, UNDERGROUND_DOOR_\2
endm
ENDM
const_value set 2
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_PHARMACIST1

View File

@@ -1,4 +1,4 @@
map_header: macro
map_header: MACRO
;\1: map label
;\2: tileset: a TILESET_* constant
;\3: environment: TOWN, ROUTE, INDOOR, CAVE, ENVIRONMENT_5, GATE, or DUNGEON
@@ -13,7 +13,7 @@ map_header: macro
db \4, \5
dn \6, \7
db \8
endm
ENDM
MapGroupPointers::
; pointers to the first map header of each map group

View File

@@ -1,4 +1,4 @@
map_header_2: macro
map_header_2: MACRO
;\1: map label
;\2: map id
;\3: border block
@@ -12,9 +12,9 @@ map_header_2: macro
dw \1_MapScriptHeader
dw \1_MapEventHeader
db \4
endm
ENDM
connection: macro
connection: MACRO
if "\1" == "north"
;\2: map id
;\3: map label (eventually will be rolled into map id)
@@ -82,7 +82,7 @@ if "\1" == "east"
db 0
dw OverworldMap + \2_WIDTH + 7
endc
endm
ENDM
map_header_2 NewBarkTown, NEW_BARK_TOWN, $5, WEST | EAST