pokeemerald/include/map_object_constants.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

240 lines
6.5 KiB
C

#ifndef GUARD_MAP_OBJECT_CONSTANTS_H
#define GUARD_MAP_OBJECT_CONSTANTS_H
enum
{
MAP_OBJ_GFX_BRENDAN_NORMAL,
MAP_OBJ_GFX_BRENDAN_MACH_BIKE,
MAP_OBJ_GFX_BRENDAN_SURFING,
MAP_OBJ_GFX_BRENDAN_FIELD_MOVE,
MAP_OBJ_GFX_QUINTY_PLUMP,
MAP_OBJ_GFX_LITTLE_BOY_1,
MAP_OBJ_GFX_LITTLE_GIRL_1,
MAP_OBJ_GFX_BOY_1,
MAP_OBJ_GFX_GIRL_1,
MAP_OBJ_GFX_BOY_2,
MAP_OBJ_GFX_GIRL_2,
MAP_OBJ_GFX_LITTLE_BOY_2,
MAP_OBJ_GFX_LITTLE_GIRL_2,
MAP_OBJ_GFX_BOY_3,
MAP_OBJ_GFX_GIRL_3,
MAP_OBJ_GFX_BOY_4,
MAP_OBJ_GFX_WOMAN_1,
MAP_OBJ_GFX_FAT_MAN,
MAP_OBJ_GFX_WOMAN_2,
MAP_OBJ_GFX_MAN_1,
MAP_OBJ_GFX_WOMAN_3,
MAP_OBJ_GFX_OLD_MAN_1,
MAP_OBJ_GFX_OLD_WOMAN_1,
MAP_OBJ_GFX_MAN_2,
MAP_OBJ_GFX_WOMAN_4,
MAP_OBJ_GFX_MAN_3,
MAP_OBJ_GFX_WOMAN_5,
MAP_OBJ_GFX_COOK,
MAP_OBJ_GFX_WOMAN_6,
MAP_OBJ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