2021-03-04 03:22:41 +00:00
|
|
|
; decoration attributes
|
2021-03-04 23:13:33 +00:00
|
|
|
rsreset
|
|
|
|
DECOATTR_TYPE rb
|
|
|
|
DECOATTR_NAME rb
|
|
|
|
DECOATTR_ACTION rb
|
|
|
|
DECOATTR_EVENT_FLAG rw
|
|
|
|
DECOATTR_SPRITE rb
|
|
|
|
DECOATTR_STRUCT_LENGTH EQU _RS
|
2021-03-04 03:22:41 +00:00
|
|
|
|
2017-12-09 05:50:59 +00:00
|
|
|
; decoration types
|
2020-07-08 20:20:15 +00:00
|
|
|
const_def 1
|
2015-07-23 16:59:19 +00:00
|
|
|
const DECO_PLANT
|
|
|
|
const DECO_BED
|
|
|
|
const DECO_CARPET
|
|
|
|
const DECO_POSTER
|
|
|
|
const DECO_DOLL
|
|
|
|
const DECO_BIGDOLL
|
2021-03-04 03:22:41 +00:00
|
|
|
NUM_DECO_TYPES EQU const_value - 1
|
2015-07-23 16:59:19 +00:00
|
|
|
|
2017-12-27 16:56:03 +00:00
|
|
|
; DecorationNames indexes (see data/decorations/names.asm)
|
2021-03-22 21:15:21 +00:00
|
|
|
const_def
|
|
|
|
const CANCEL_DECO
|
2015-07-23 16:59:19 +00:00
|
|
|
const PUT_IT_AWAY
|
|
|
|
const MAGNAPLANT
|
|
|
|
const TROPICPLANT
|
|
|
|
const JUMBOPLANT
|
2020-03-21 21:50:44 +00:00
|
|
|
const TOWN_MAP_POSTER
|
2015-07-23 16:59:19 +00:00
|
|
|
const FAMICOM
|
|
|
|
const SUPER_NES
|
|
|
|
const NINTENDO_64
|
|
|
|
const VIRTUAL_BOY
|
|
|
|
const GOLD_TROPHY
|
|
|
|
const SILVER_TROPHY
|
|
|
|
const SURF_PIKA_DOLL
|
|
|
|
const _BED
|
|
|
|
const _CARPET
|
|
|
|
const _POSTER
|
|
|
|
const _DOLL
|
|
|
|
const BIG_
|
|
|
|
const FEATHERY_BED
|
|
|
|
const PIKACHU_BED
|
|
|
|
const PINK_BED
|
|
|
|
const POLKADOT_BED
|
|
|
|
const RED_CARPET
|
|
|
|
const BLUE_CARPET
|
|
|
|
const YELLOW_CARPET
|
|
|
|
const GREEN_CARPET
|
2021-03-22 21:15:21 +00:00
|
|
|
NUM_DECO_NAMES EQU const_value
|
2015-07-23 16:59:19 +00:00
|
|
|
|
2018-04-01 15:01:51 +00:00
|
|
|
; DoDecorationAction2.DecoActions indexes (see engine/overworld/decorations.asm)
|
2020-07-08 20:20:15 +00:00
|
|
|
const_def 1
|
2015-07-23 16:59:19 +00:00
|
|
|
const SET_UP_BED
|
|
|
|
const PUT_AWAY_BED
|
|
|
|
const SET_UP_CARPET
|
|
|
|
const PUT_AWAY_CARPET
|
|
|
|
const SET_UP_PLANT
|
|
|
|
const PUT_AWAY_PLANT
|
|
|
|
const SET_UP_POSTER
|
|
|
|
const PUT_AWAY_POSTER
|
|
|
|
const SET_UP_CONSOLE
|
|
|
|
const PUT_AWAY_CONSOLE
|
|
|
|
const SET_UP_BIG_DOLL
|
|
|
|
const PUT_AWAY_BIG_DOLL
|
|
|
|
const SET_UP_DOLL
|
|
|
|
const PUT_AWAY_DOLL
|
2021-03-04 03:22:41 +00:00
|
|
|
NUM_DECO_ACTIONS EQU const_value - 1
|
2015-07-23 16:59:19 +00:00
|
|
|
|
2020-07-08 19:30:23 +00:00
|
|
|
__deco_value__ = 0
|
|
|
|
|
2015-12-29 21:44:37 +00:00
|
|
|
deco: MACRO
|
|
|
|
const DECO_\1
|
2020-07-08 19:30:23 +00:00
|
|
|
DECOFLAG_\1 EQU __deco_value__
|
|
|
|
__deco_value__ = __deco_value__ + 1
|
2017-12-28 21:31:16 +00:00
|
|
|
ENDM
|
2015-12-29 21:44:37 +00:00
|
|
|
|
2017-12-27 16:56:03 +00:00
|
|
|
; decorations:
|
|
|
|
; - DecorationAttributes (see data/decorations/attributes.asm)
|
|
|
|
; - DecorationIDs (see data/decorations/decorations.asm)
|
2019-05-12 14:46:40 +00:00
|
|
|
const_def 1
|
2018-04-01 15:01:51 +00:00
|
|
|
; FindOwnedBeds.beds values (see engine/overworld/decorations.asm)
|
2015-12-29 21:44:37 +00:00
|
|
|
const BEDS
|
2017-12-09 05:50:59 +00:00
|
|
|
deco FEATHERY_BED
|
|
|
|
deco PINK_BED
|
|
|
|
deco POLKADOT_BED
|
|
|
|
deco PIKACHU_BED
|
2018-04-01 15:01:51 +00:00
|
|
|
; FindOwnedCarpets.carpets values (see engine/overworld/decorations.asm)
|
2015-12-29 21:44:37 +00:00
|
|
|
const CARPETS
|
2017-12-09 05:50:59 +00:00
|
|
|
deco RED_CARPET
|
|
|
|
deco BLUE_CARPET
|
|
|
|
deco YELLOW_CARPET
|
|
|
|
deco GREEN_CARPET
|
2018-04-01 15:01:51 +00:00
|
|
|
; FindOwnedPlants.plants values (see engine/overworld/decorations.asm)
|
2015-12-29 21:44:37 +00:00
|
|
|
const PLANTS
|
2017-12-09 05:50:59 +00:00
|
|
|
deco MAGNAPLANT
|
|
|
|
deco TROPICPLANT
|
|
|
|
deco JUMBOPLANT
|
2018-04-01 15:01:51 +00:00
|
|
|
; FindOwnedPosters.posters values (see engine/overworld/decorations.asm)
|
2015-12-29 21:44:37 +00:00
|
|
|
const POSTERS
|
2017-12-09 05:50:59 +00:00
|
|
|
deco TOWN_MAP
|
|
|
|
deco PIKACHU_POSTER
|
|
|
|
deco CLEFAIRY_POSTER
|
|
|
|
deco JIGGLYPUFF_POSTER
|
2018-04-01 15:01:51 +00:00
|
|
|
; FindOwnedConsoles.consoles values (see engine/overworld/decorations.asm)
|
2015-12-29 21:44:37 +00:00
|
|
|
const CONSOLES
|
2017-12-09 05:50:59 +00:00
|
|
|
deco FAMICOM
|
|
|
|
deco SNES
|
|
|
|
deco N64
|
|
|
|
deco VIRTUAL_BOY
|
2018-04-01 15:01:51 +00:00
|
|
|
; FindOwnedBigDolls.big_dolls values (see engine/overworld/decorations.asm)
|
2015-12-29 21:44:37 +00:00
|
|
|
const BIG_DOLLS
|
2017-12-09 05:50:59 +00:00
|
|
|
deco BIG_SNORLAX_DOLL
|
|
|
|
deco BIG_ONIX_DOLL
|
|
|
|
deco BIG_LAPRAS_DOLL
|
2018-04-01 15:01:51 +00:00
|
|
|
; FindOwnedOrnaments.ornaments values (see engine/overworld/decorations.asm)
|
2015-12-29 21:44:37 +00:00
|
|
|
const DOLLS
|
2017-12-09 05:50:59 +00:00
|
|
|
deco PIKACHU_DOLL
|
|
|
|
deco SURF_PIKACHU_DOLL
|
|
|
|
deco CLEFAIRY_DOLL
|
|
|
|
deco JIGGLYPUFF_DOLL
|
|
|
|
deco BULBASAUR_DOLL
|
|
|
|
deco CHARMANDER_DOLL
|
|
|
|
deco SQUIRTLE_DOLL
|
|
|
|
deco POLIWAG_DOLL
|
|
|
|
deco DIGLETT_DOLL
|
|
|
|
deco STARMIE_DOLL
|
|
|
|
deco MAGIKARP_DOLL
|
|
|
|
deco ODDISH_DOLL
|
|
|
|
deco GENGAR_DOLL
|
|
|
|
deco SHELLDER_DOLL
|
|
|
|
deco GRIMER_DOLL
|
|
|
|
deco VOLTORB_DOLL
|
|
|
|
deco WEEDLE_DOLL
|
|
|
|
deco UNOWN_DOLL
|
|
|
|
deco GEODUDE_DOLL
|
|
|
|
deco MACHOP_DOLL
|
|
|
|
deco TENTACOOL_DOLL
|
2020-07-08 19:30:23 +00:00
|
|
|
NUM_NON_TROPHY_DECOS EQU __deco_value__
|
2017-12-09 05:50:59 +00:00
|
|
|
deco GOLD_TROPHY_DOLL
|
|
|
|
deco SILVER_TROPHY_DOLL
|
2020-07-08 19:30:23 +00:00
|
|
|
NUM_DECOS EQU __deco_value__
|
2021-03-04 03:22:41 +00:00
|
|
|
NUM_DECO_CATEGORIES EQU const_value - 1 - NUM_DECOS
|