pokeemerald/include/data/decoration/tiles.h
PikalaxALT c042e5148b Decoration + decoration_inventory (#89)
* SetDecorationInventoriesPointers

* ClearDecorationInventories

* CheckHasDecoration

* DecorationAdd

* DecorationCheckSpace

* DecorationRemove

* sub_8161A38

* CountDecorations; Funcion renaming

* Disassemble decoration data structs, tilemaps, and descriptions

* sub_8126968

* sub_81269D4

* through sub_8126A88

* through sub_8126B2C

* sub_8126B80

* sub_8126C08

* sub_8126C48

* sub_8126CA4

* sub_8126D10

* sub_8126E44

* sub_8126E8C

* sub_8126F68

* sub_8127058

* sub_8127088

* sub_81270E8

* through sub_8127208

* through sub_8127268

* sub_8127284

* through sub_81272F8

* sub_8127330

* through sub_8127480

* sub_81274A0

* sub_8127500; makefile now tells scaninc to scan headers

* Actual real fix to mapfile being in build/emerald instead of wd

* through sub_812759C

* through sub_812764C

* through sub_8127744

* through sub_81277BC

* sub_81277E8

* sub_8127814

* through sub_81279C4

* through sub_8127ACC

* sub_8127B04

* sub_8127B54

* sub_8127B90

* sub_8127D38

* sub_8127E18

* sub_8127F68

* sub_8128060

* ConfigureCameraObjectForPlacingDecoration

* SetUpPlacingDecorationPlayerAvatar

* sub_812826C

* through sub_8128414

* through sub_81284F4

* sub_812853C

* sub_8128950

* through sub_8128AAC

* through sub_8128BBC

* c1_overworld_prev_quest

* sub_8128C64

* sub_8128CD4

* sub_8128D10

* sub_8128DB4

* through sub_8128E18

* through sub_8129068

* sub_8129088

* through sub_81291E8

* sub_812925C

* sub_81292D0

* sub_81292E8

* gpu_pal_decompress_alloc_tag_and_upload

* AddDecorationIconObjectFromIconTable

* GetDecorationIconPicOrPalette

* AddDecorationIconObjectFromFieldObject

* AddDecorationIconObject

* through sub_8129708

* sub_81297F8

* sub_81298EC

* SetUpPuttingAwayDecorationPlayerAvatar

* sub_8129ABC

* sub_8129B34

* sub_8129BCC

* through sub_8129C74

* through sub_8129D8C

* sub_8129E0C

* sub_8129E74

* sub_8129F20

* sub_8129FC8

* sub_812A040

* nonmatching sub_812A0E8

* through sub_812A22C

* sub_812A25C

* sub_812A2C4

* through sub_812A39C

* Remaining fns in decoration.s

* Decompile decoration headers

* Decompile all remaining decoration data that had already been disassembled

* Disassemble two data objects

* Suggest structure of list menu template

* decompile through decoration list menu template

* Disassemble decoration icon graphics table

* Rip icon gfx

* Decompile deco icon table

* Decompile more data related to drawing decorations

* Decompile gUnknown_085A7250 structs

* Decompile two sprite templates

* Decompile remaining data in decoration.s

* Decompile decoration ewram

* deco -> decor
2017-10-22 17:55:07 -05:00

647 lines
8.6 KiB
C

#ifndef GUARD_DATA_DECORATION_TILES
#define GUARD_DATA_DECORATION_TILES
const u16 DecorGfx_SMALL_DESK[] = {
0x87
};
const u16 DecorGfx_POKEMON_DESK[] = {
0x8F
};
const u16 DecorGfx_HEAVY_DESK[] = {
0x90,
0x91,
0x92,
0x98,
0x99,
0x9A
};
const u16 DecorGfx_RAGGED_DESK[] = {
0x93,
0x94,
0x95,
0x9B,
0x9C,
0x9D
};
const u16 DecorGfx_COMFORT_DESK[] = {
0x96,
0x97,
0xA3,
0x9E,
0x9F,
0xAB
};
const u16 DecorGfx_PRETTY_DESK[] = {
0xBD,
0xBE,
0xBF,
0xC5,
0xC6,
0xC7,
0xCD,
0xCE,
0xCF
};
const u16 DecorGfx_BRICK_DESK[] = {
0xA0,
0xA1,
0xA2,
0xA8,
0xA9,
0xAA,
0xB0,
0xB1,
0xB2
};
const u16 DecorGfx_CAMP_DESK[] = {
0xA4,
0xA5,
0xA6,
0xAC,
0xAD,
0xAE,
0xB4,
0xB5,
0xB6
};
const u16 DecorGfx_HARD_DESK[] = {
0xA7,
0xBB,
0xBC,
0xAF,
0xC3,
0xC4,
0xB7,
0xCB,
0xCC
};
const u16 DecorGfx_SMALL_CHAIR[] = {
0xB8
};
const u16 DecorGfx_POKEMON_CHAIR[] = {
0xB9
};
const u16 DecorGfx_HEAVY_CHAIR[] = {
0xBA
};
const u16 DecorGfx_PRETTY_CHAIR[] = {
0xC0
};
const u16 DecorGfx_COMFORT_CHAIR[] = {
0xC1
};
const u16 DecorGfx_RAGGED_CHAIR[] = {
0xC2
};
const u16 DecorGfx_BRICK_CHAIR[] = {
0xC8
};
const u16 DecorGfx_CAMP_CHAIR[] = {
0xC9
};
const u16 DecorGfx_HARD_CHAIR[] = {
0xCA
};
const u16 DecorGfx_RED_PLANT[] = {
0xD0,
0xD8
};
const u16 DecorGfx_TROPICAL_PLANT[] = {
0xD2,
0xDA
};
const u16 DecorGfx_PRETTY_FLOWERS[] = {
0xD4,
0xDC
};
const u16 DecorGfx_COLORFUL_PLANT[] = {
0xE0,
0xE2,
0xE8,
0xE9
};
const u16 DecorGfx_BIG_PLANT[] = {
0xE4,
0xE6,
0xEC,
0xED
};
const u16 DecorGfx_GORGEOUS_PLANT[] = {
0xF0,
0xF2,
0xF8,
0xF9
};
const u16 DecorGfx_RED_BRICK[] = {
0x25,
0x2D
};
const u16 DecorGfx_YELLOW_BRICK[] = {
0x26,
0x2E
};
const u16 DecorGfx_BLUE_BRICK[] = {
0x27,
0x2F
};
const u16 DecorGfx_RED_BALLOON[] = {
0x138
};
const u16 DecorGfx_BLUE_BALLOON[] = {
0x13C
};
const u16 DecorGfx_YELLOW_BALLOON[] = {
0x140
};
const u16 DecorGfx_RED_TENT[] = {
0x30,
0x31,
0x32,
0x38,
0x39,
0x3A,
0x40,
0x41,
0x3B
};
const u16 DecorGfx_BLUE_TENT[] = {
0x48,
0x49,
0x68,
0x50,
0x51,
0x70,
0x58,
0x59,
0x69
};
const u16 DecorGfx_SOLID_BOARD[] = {
0x34,
0x3C
};
const u16 DecorGfx_SLIDE[] = {
0x35,
0x36,
0x3D,
0x3E,
0x63,
0x64,
0x6F,
0x77
};
const u16 DecorGfx_FENCE_LENGTH[] = {
0x33
};
const u16 DecorGfx_FENCE_WIDTH[] = {
0x2C
};
const u16 DecorGfx_TIRE[] = {
0x80,
0x81,
0x88,
0x89
};
const u16 DecorGfx_STAND[] = {
0x6A,
0x6B,
0x6C,
0x6D,
0x72,
0x73,
0x74,
0x75
};
const u16 DecorGfx_MUD_BALL[] = {
0x28
};
const u16 DecorGfx_BREAKABLE_DOOR[] = {
0x37,
0x3F
};
const u16 DecorGfx_SAND_ORNAMENT[] = {
0x85,
0x8D
};
const u16 DecorGfx_SILVER_SHIELD[] = {
0xD6,
0xDE
};
const u16 DecorGfx_GOLD_SHIELD[] = {
0x12E,
0x136
};
const u16 DecorGfx_GLASS_ORNAMENT[] = {
0x82,
0x8A
};
const u16 DecorGfx_TV[] = {
0xF4
};
const u16 DecorGfx_ROUND_TV[] = {
0xF5
};
const u16 DecorGfx_CUTE_TV[] = {
0xF6
};
const u16 DecorGfx_GLITTER_MAT[] = {
0x60
};
const u16 DecorGfx_JUMP_MAT[] = {
0x61
};
const u16 DecorGfx_SPIN_MAT[] = {
0x62
};
const u16 DecorGfx_C_LOW_NOTE_MAT[] = {
0x78
};
const u16 DecorGfx_D_NOTE_MAT[] = {
0x79
};
const u16 DecorGfx_E_NOTE_MAT[] = {
0x7A
};
const u16 DecorGfx_F_NOTE_MAT[] = {
0x7B
};
const u16 DecorGfx_G_NOTE_MAT[] = {
0x7C
};
const u16 DecorGfx_A_NOTE_MAT[] = {
0x7D
};
const u16 DecorGfx_B_NOTE_MAT[] = {
0x7E
};
const u16 DecorGfx_C_HIGH_NOTE_MAT[] = {
0xB3
};
const u16 DecorGfx_SURF_MAT[] = {
0x42,
0x43,
0x44,
0x4A,
0x4B,
0x4C,
0x52,
0x53,
0x54
};
const u16 DecorGfx_THUNDER_MAT[] = {
0x45,
0x46,
0x47,
0x4D,
0x4E,
0x4F,
0x55,
0x56,
0x57
};
const u16 DecorGfx_FIRE_BLAST_MAT[] = {
0x5A,
0x5B,
0x5C,
0x5D,
0x5E,
0x5F,
0x65,
0x66,
0x67
};
const u16 DecorGfx_POWDER_SNOW_MAT[] = {
0x100,
0x101,
0x102,
0x108,
0x109,
0x10A,
0x110,
0x111,
0x112
};
const u16 DecorGfx_ATTRACT_MAT[] = {
0x103,
0x104,
0x105,
0x10B,
0x10C,
0x10D,
0x113,
0x114,
0x115
};
const u16 DecorGfx_FISSURE_MAT[] = {
0x106,
0x107,
0x118,
0x10E,
0x10F,
0x120,
0x116,
0x117,
0x128
};
const u16 DecorGfx_SPIKES_MAT[] = {
0x119,
0x11A,
0x11B,
0x121,
0x122,
0x123,
0x129,
0x12A,
0x12B
};
const u16 DecorGfx_BALL_POSTER[] = {
0x130
};
const u16 DecorGfx_GREEN_POSTER[] = {
0x131
};
const u16 DecorGfx_RED_POSTER[] = {
0x132
};
const u16 DecorGfx_BLUE_POSTER[] = {
0x133
};
const u16 DecorGfx_CUTE_POSTER[] = {
0x134
};
const u16 DecorGfx_PIKA_POSTER[] = {
0x11C,
0x11D
};
const u16 DecorGfx_LONG_POSTER[] = {
0x11E,
0x11F
};
const u16 DecorGfx_SEA_POSTER[] = {
0x124,
0x125
};
const u16 DecorGfx_SKY_POSTER[] = {
0x126,
0x127
};
const u16 DecorGfx_KISS_POSTER[] = {
0x12C,
0x12D
};
const u16 DecorGfx_PICHU_DOLL[] = {
MAP_OBJ_GFX_PICHU_DOLL
};
const u16 DecorGfx_PIKACHU_DOLL[] = {
MAP_OBJ_GFX_PIKACHU_DOLL
};
const u16 DecorGfx_MARILL_DOLL[] = {
MAP_OBJ_GFX_MARILL_DOLL
};
const u16 DecorGfx_TOGEPI_DOLL[] = {
MAP_OBJ_GFX_TOGEPI_DOLL
};
const u16 DecorGfx_CYNDAQUIL_DOLL[] = {
MAP_OBJ_GFX_CYNDAQUIL_DOLL
};
const u16 DecorGfx_CHIKORITA_DOLL[] = {
MAP_OBJ_GFX_CHIKORITA_DOLL
};
const u16 DecorGfx_TOTODILE_DOLL[] = {
MAP_OBJ_GFX_TOTODILE_DOLL
};
const u16 DecorGfx_JIGGLYPUFF_DOLL[] = {
MAP_OBJ_GFX_JIGGLYPUFF_DOLL
};
const u16 DecorGfx_MEOWTH_DOLL[] = {
MAP_OBJ_GFX_MEOWTH_DOLL
};
const u16 DecorGfx_CLEFAIRY_DOLL[] = {
MAP_OBJ_GFX_CLEFAIRY_DOLL
};
const u16 DecorGfx_DITTO_DOLL[] = {
MAP_OBJ_GFX_DITTO_DOLL
};
const u16 DecorGfx_SMOOCHUM_DOLL[] = {
MAP_OBJ_GFX_SMOOCHUM_DOLL
};
const u16 DecorGfx_TREECKO_DOLL[] = {
MAP_OBJ_GFX_TREECKO_DOLL
};
const u16 DecorGfx_TORCHIC_DOLL[] = {
MAP_OBJ_GFX_TORCHIC_DOLL
};
const u16 DecorGfx_MUDKIP_DOLL[] = {
MAP_OBJ_GFX_MUDKIP_DOLL
};
const u16 DecorGfx_DUSKULL_DOLL[] = {
MAP_OBJ_GFX_DUSKULL_DOLL
};
const u16 DecorGfx_WYNAUT_DOLL[] = {
MAP_OBJ_GFX_WYNAUT_DOLL
};
const u16 DecorGfx_BALTOY_DOLL[] = {
MAP_OBJ_GFX_BALTOY_DOLL
};
const u16 DecorGfx_KECLEON_DOLL[] = {
MAP_OBJ_GFX_KECLEON_DOLL
};
const u16 DecorGfx_AZURILL_DOLL[] = {
MAP_OBJ_GFX_AZURILL_DOLL
};
const u16 DecorGfx_SKITTY_DOLL[] = {
MAP_OBJ_GFX_SKITTY_DOLL
};
const u16 DecorGfx_SWABLU_DOLL[] = {
MAP_OBJ_GFX_SWABLU_DOLL
};
const u16 DecorGfx_GULPIN_DOLL[] = {
MAP_OBJ_GFX_GULPIN_DOLL
};
const u16 DecorGfx_LOTAD_DOLL[] = {
MAP_OBJ_GFX_LOTAD_DOLL
};
const u16 DecorGfx_SEEDOT_DOLL[] = {
MAP_OBJ_GFX_SEEDOT_DOLL
};
const u16 DecorGfx_PIKA_CUSHION[] = {
MAP_OBJ_GFX_PIKA_CUSHION
};
const u16 DecorGfx_ROUND_CUSHION[] = {
MAP_OBJ_GFX_ROUND_CUSHION
};
const u16 DecorGfx_KISS_CUSHION[] = {
MAP_OBJ_GFX_KISS_CUSHION
};
const u16 DecorGfx_ZIGZAG_CUSHION[] = {
MAP_OBJ_GFX_ZIGZAG_CUSHION
};
const u16 DecorGfx_SPIN_CUSHION[] = {
MAP_OBJ_GFX_SPIN_CUSHION
};
const u16 DecorGfx_DIAMOND_CUSHION[] = {
MAP_OBJ_GFX_DIAMOND_CUSHION
};
const u16 DecorGfx_BALL_CUSHION[] = {
MAP_OBJ_GFX_BALL_CUSHION
};
const u16 DecorGfx_GRASS_CUSHION[] = {
MAP_OBJ_GFX_GRASS_CUSHION
};
const u16 DecorGfx_FIRE_CUSHION[] = {
MAP_OBJ_GFX_FIRE_CUSHION
};
const u16 DecorGfx_WATER_CUSHION[] = {
MAP_OBJ_GFX_WATER_CUSHION
};
const u16 DecorGfx_SNORLAX_DOLL[] = {
MAP_OBJ_GFX_BIG_SNORLAX_DOLL
};
const u16 DecorGfx_RHYDON_DOLL[] = {
MAP_OBJ_GFX_BIG_RHYDON_DOLL
};
const u16 DecorGfx_LAPRAS_DOLL[] = {
MAP_OBJ_GFX_BIG_LAPRAS_DOLL
};
const u16 DecorGfx_VENUSAUR_DOLL[] = {
MAP_OBJ_GFX_BIG_VENUSAUR_DOLL
};
const u16 DecorGfx_CHARIZARD_DOLL[] = {
MAP_OBJ_GFX_BIG_CHARIZARD_DOLL
};
const u16 DecorGfx_BLASTOISE_DOLL[] = {
MAP_OBJ_GFX_BIG_BLASTOISE_DOLL
};
const u16 DecorGfx_WAILMER_DOLL[] = {
MAP_OBJ_GFX_BIG_WAILMER_DOLL
};
const u16 DecorGfx_REGIROCK_DOLL[] = {
MAP_OBJ_GFX_BIG_REGIROCK_DOLL
};
const u16 DecorGfx_REGICE_DOLL[] = {
MAP_OBJ_GFX_BIG_REGICE_DOLL
};
const u16 DecorGfx_REGISTEEL_DOLL[] = {
MAP_OBJ_GFX_BIG_REGISTEEL_DOLL
};
#endif // GUARD_DATA_DECORATION_TILES