mirror of https://github.com/pret/pokeemerald.git
Merge pull request #1998 from Sneed69/define-POKE_ICON_BASE_PAL_TAG
Move POKE_ICON_BASE_PAL_TAG to a header
This commit is contained in:
commit
18f84b78f2
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef GUARD_CONSTANTS_POKEMON_ICON_H
|
||||||
|
#define GUARD_CONSTANTS_POKEMON_ICON_H
|
||||||
|
|
||||||
|
#define POKE_ICON_BASE_PAL_TAG 56000
|
||||||
|
|
||||||
|
#endif // GUARD_CONSTANTS_POKEMON_ICON_H
|
|
@ -4,8 +4,7 @@
|
||||||
#include "palette.h"
|
#include "palette.h"
|
||||||
#include "pokemon_icon.h"
|
#include "pokemon_icon.h"
|
||||||
#include "sprite.h"
|
#include "sprite.h"
|
||||||
|
#include "constants/pokemon_icon.h"
|
||||||
#define POKE_ICON_BASE_PAL_TAG 56000
|
|
||||||
|
|
||||||
#define INVALID_ICON_SPECIES SPECIES_OLD_UNOWN_J // Oddly specific, used when an icon should be a ?. Any of the 'old unown' would work
|
#define INVALID_ICON_SPECIES SPECIES_OLD_UNOWN_J // Oddly specific, used when an icon should be a ?. Any of the 'old unown' would work
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
#include "constants/moves.h"
|
#include "constants/moves.h"
|
||||||
#include "constants/rgb.h"
|
#include "constants/rgb.h"
|
||||||
#include "constants/songs.h"
|
#include "constants/songs.h"
|
||||||
|
#include "constants/pokemon_icon.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
NOTE: This file is large. Some general groups of functions have
|
NOTE: This file is large. Some general groups of functions have
|
||||||
|
@ -215,7 +216,7 @@ enum {
|
||||||
#define BOXID_CANCELED 201
|
#define BOXID_CANCELED 201
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
PALTAG_MON_ICON_0 = 56000,
|
PALTAG_MON_ICON_0 = POKE_ICON_BASE_PAL_TAG,
|
||||||
PALTAG_MON_ICON_1, // Used implicitly in CreateMonIconSprite
|
PALTAG_MON_ICON_1, // Used implicitly in CreateMonIconSprite
|
||||||
PALTAG_MON_ICON_2, // Used implicitly in CreateMonIconSprite
|
PALTAG_MON_ICON_2, // Used implicitly in CreateMonIconSprite
|
||||||
PALTAG_3, // Unused
|
PALTAG_3, // Unused
|
||||||
|
|
Loading…
Reference in New Issue