Sync trainer_card.c
This commit is contained in:
@@ -133,10 +133,10 @@
|
||||
#define FACILITY_CLASS_CRUSH_KIN 0x81
|
||||
#define FACILITY_CLASS_SIS_AND_BRO_2 0x82
|
||||
#define FACILITY_CLASS_PKMN_PROF 0x83
|
||||
#define FACILITY_CLASS_PLAYER 0x84
|
||||
#define FACILITY_CLASS_PLAYER_2 0x85
|
||||
#define FACILITY_CLASS_PLAYER_3 0x86
|
||||
#define FACILITY_CLASS_PLAYER_4 0x87
|
||||
#define FACILITY_CLASS_BRENDAN 0x84
|
||||
#define FACILITY_CLASS_MAY 0x85
|
||||
#define FACILITY_CLASS_RED 0x86
|
||||
#define FACILITY_CLASS_LEAF 0x87
|
||||
#define FACILITY_CLASS_TEAM_ROCKET_2 0x88
|
||||
#define FACILITY_CLASS_PSYCHIC_4 0x89
|
||||
#define FACILITY_CLASS_CRUSH_GIRL 0x8A
|
||||
|
||||
@@ -1327,6 +1327,7 @@
|
||||
#define FLAG_0x808 (SYS_FLAGS + 0x8)
|
||||
|
||||
#define PERMA_SYS_FLAGS_START 0x820
|
||||
|
||||
#define FLAG_BADGE01_GET (SYS_FLAGS + 0x20)
|
||||
#define FLAG_BADGE02_GET (SYS_FLAGS + 0x21)
|
||||
#define FLAG_BADGE03_GET (SYS_FLAGS + 0x22)
|
||||
@@ -1335,6 +1336,8 @@
|
||||
#define FLAG_BADGE06_GET (SYS_FLAGS + 0x25)
|
||||
#define FLAG_BADGE07_GET (SYS_FLAGS + 0x26)
|
||||
#define FLAG_BADGE08_GET (SYS_FLAGS + 0x27)
|
||||
#define NUM_BADGES (1 + FLAG_BADGE08_GET - FLAG_BADGE01_GET)
|
||||
|
||||
#define FLAG_SYS_POKEMON_GET (SYS_FLAGS + 0x28)
|
||||
#define FLAG_SYS_POKEDEX_GET (SYS_FLAGS + 0x29)
|
||||
#define FLAG_0x82A (SYS_FLAGS + 0x2A)
|
||||
|
||||
@@ -12,4 +12,6 @@
|
||||
#define MON_ICON_TINT_PINK 2
|
||||
#define MON_ICON_TINT_SEPIA 3
|
||||
|
||||
#define NUM_LINK_TRAINER_CARD_CLASSES 8
|
||||
|
||||
#endif // GUARD_CONSTANTS_TRAINER_CARD_H
|
||||
|
||||
+4
-4
@@ -4845,10 +4845,10 @@ extern const u32 gBuyMenuFrame_Pal[];
|
||||
extern const u16 gUnknown_8D2FBB4[];
|
||||
|
||||
// trainer card
|
||||
extern const u16 gFireRedTrainerCard_Pal[];
|
||||
extern const u32 gFireRedTrainerCard_Gfx[];
|
||||
extern const u16 gEmeraldTrainerCard_Pal[];
|
||||
extern const u32 gEmeraldTrainerCard_Gfx[];
|
||||
extern const u16 gKantoTrainerCard_Pal[];
|
||||
extern const u32 gKantoTrainerCard_Gfx[];
|
||||
extern const u16 gHoennTrainerCard_Pal[];
|
||||
extern const u32 gHoennTrainerCard_Gfx[];
|
||||
|
||||
// battle_interface
|
||||
extern const u32 gFile_graphics_battle_interface_ball_status_bar_sheet[];
|
||||
|
||||
@@ -25,19 +25,19 @@ struct TrainerCard
|
||||
/*0x1E*/ u16 pokeblocksWithFriends;
|
||||
/*0x20*/ u16 pokemonTrades;
|
||||
/*0x24*/ u32 money;
|
||||
/*0x28*/ u16 var_28[4];
|
||||
/*0x28*/ u16 easyChatProfile[TRAINER_CARD_PROFILE_LENGTH];
|
||||
/*0x30*/ u8 playerName[PLAYER_NAME_LENGTH + 1];
|
||||
/*0x38*/ u8 version;
|
||||
/*0x3A*/ u16 var_3A;
|
||||
/*0x3A*/ bool16 hasAllFrontierSymbols;
|
||||
/*0x3C*/ u32 berryCrushPoints;
|
||||
/*0x40*/ u32 unionRoomNum;
|
||||
/*0x44*/ u32 berriesPicked;
|
||||
/*0x48*/ u32 jumpsInRow;
|
||||
/*0x4C*/ bool8 var_4C;
|
||||
/*0x4C*/ bool8 shouldDrawStickers;
|
||||
/*0x4D*/ bool8 hasAllMons;
|
||||
/*0x4E*/ u8 var_4E;
|
||||
/*0x4F*/ u8 var_4F;
|
||||
/*0x50*/ u8 var_50[4];
|
||||
/*0x4E*/ u8 monIconTint;
|
||||
/*0x4F*/ u8 facilityClass;
|
||||
/*0x50*/ u8 stickers[TRAINER_CARD_STICKER_TYPES];
|
||||
/*0x54*/ u16 monSpecies[PARTY_SIZE];
|
||||
};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "global.h"
|
||||
|
||||
u16 sub_810C330(u16 species, bool8 isFrontPic, u16 destX, u16 destY, u8 paletteSlot, u8 windowId);
|
||||
u16 CreateTrainerCardTrainerPicSprite(u16 species, bool8 isFrontPic, u16 destX, u16 destY, u8 paletteSlot, u8 windowId);
|
||||
bool16 ResetAllPicSprites(void);
|
||||
u16 sub_818D3E4(u16 species, u32 otId, u32 personality, u8 flags, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||
u16 sub_818D7D8(u16 species, u32 otId, u32 personality, bool8 isFrontPic, s16 x, s16 y, u8 paletteSlot, u16 paletteTag);
|
||||
|
||||
Reference in New Issue
Block a user