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

@@ -2780,7 +2780,7 @@ Function5629: ; 5629
ld hl, MAPOBJECT_OBJECT_STRUCT_ID
add hl, bc
ld a, [hl]
cp MAPOBJECT_NOT_VISIBLE
cp -1
ret z
cp $d
ret nc

View File

@@ -91,7 +91,7 @@ SpecialsPointers:: ; c029
add_special Function17440
add_special Special_SelectRandomBugContestContestants
add_special Functionc3fc
add_special Function26feb
add_special ToggleMaptileDecorations
add_special ToggleDecorationsVisibility
add_special SpecialGiveShuckle
add_special SpecialReturnShuckle
@@ -265,7 +265,7 @@ Functionc298: ; c298
SpecialNameRival: ; 0xc29d
ld b, $2 ; rival
ld de, RivalName
callba Function116b7
callba _NamingScreen
; default to "SILVER"
ld hl, RivalName
ld de, DefaultRivalName

View File

@@ -542,8 +542,8 @@ InitializeEventsScript:
setevent EVENT_KRISS_HOUSE_2F_DOLL_1
setevent EVENT_KRISS_HOUSE_2F_DOLL_2
setevent EVENT_KRISS_HOUSE_2F_BIG_DOLL
setevent EVENT_2A4
setevent EVENT_2AF
setevent EVENT_DECO_BED_1
setevent EVENT_DECO_PLANT_4
setevent EVENT_GOLDENROD_TRAIN_STATION_GENTLEMAN
setevent EVENT_OLIVINE_GYM_JASMINE
setevent EVENT_BLACKTHORN_CITY_GRAMPS_NOT_BLOCKING_DRAGONS_DEN
@@ -617,7 +617,7 @@ InitializeEventsScript:
setevent EVENT_MT_MOON_SQUARE_CLEFAIRY
setevent EVENT_SAFFRON_TRAIN_STATION_POPULATION
setevent EVENT_INDIGO_PLATEAU_POKECENTER_RIVAL
setevent EVENT_036
setevent EVENT_INITIALIZED_EVENTS
return
AskNumber1MScript: