Finished the decoration attributes table

Interpretation of the Decoration Attributes table is complete.

Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
This commit is contained in:
PikalaxALT
2015-07-19 04:58:31 -04:00
parent 60cd04b023
commit 94129b6b45
364 changed files with 1961 additions and 1899 deletions

View File

@@ -238,7 +238,7 @@ Function18de:: ; 18de
ld hl, MAPOBJECT_OBJECT_STRUCT_ID
add hl, bc
ld a, [hl]
cp MAPOBJECT_NOT_VISIBLE
cp -1
jr z, .not_visible
ld [hConnectedMapWidth], a
call GetObjectStruct
@@ -348,9 +348,9 @@ Function1967:: ; 1967
ld hl, MAPOBJECT_OBJECT_STRUCT_ID
add hl, bc
ld a, [hl]
cp MAPOBJECT_NOT_VISIBLE
cp -1
ret z
ld [hl], MAPOBJECT_NOT_VISIBLE
ld [hl], -1
push af
call Function1985
pop af
@@ -386,7 +386,7 @@ Function19a6:: ; 19a6
call GetMapObject
ld d, b
ld e, c
ld a, MAPOBJECT_NOT_VISIBLE
ld a, -1
ld [de], a
inc de
pop hl
@@ -401,13 +401,13 @@ Function19b8:: ; 19b8
add hl, bc
ld a, [hl]
push af
ld [hl], MAPOBJECT_NOT_VISIBLE
ld [hl], -1
inc hl
ld bc, OBJECT_LENGTH - 1
xor a
call ByteFill
pop af
cp MAPOBJECT_NOT_VISIBLE
cp -1
ret z
cp $d
ret nc

View File

@@ -95,7 +95,7 @@ InterpretMenu2:: ; 0x1d81
ret
; 0x1dab
Function1dab:: ; 1dab
GetMenu2:: ; 1dab
call LoadMenuDataHeader
call InterpretMenu2
call WriteBackup