Merge pull request #1544 from GriffinRichards/romheadergf

Split headers from crt0.s
This commit is contained in:
GriffinR
2021-11-09 23:54:57 -05:00
committed by GitHub
10 changed files with 238 additions and 140 deletions
-5
View File
@@ -1,11 +1,6 @@
#ifndef GUARD_CRT0_H
#define GUARD_CRT0_H
// Exported type declarations
// Exported RAM declarations
// Exported ROM declarations
extern u32 IntrMain[];
#endif //GUARD_CRT0_H
+1
View File
@@ -29,6 +29,7 @@ struct BagPocket
u8 capacity;
};
extern const struct Item gItems[];
extern struct BagPocket gBagPockets[];
void ApplyNewEncryptionKeyToBagItems(u32 newKey);
+2
View File
@@ -26,6 +26,8 @@ enum {
BALL_AFFINE_ANIM_4
};
extern const struct CompressedSpriteSheet gBallSpriteSheets[];
extern const struct CompressedSpritePalette gBallSpritePalettes[];
extern const struct SpriteTemplate gBallSpriteTemplates[];
#define POKEBALL_PLAYER_SENDOUT 0xFF
+2
View File
@@ -2,6 +2,8 @@
#define GUARD_POKEMON_ICON_H
extern const u8 gMonIconPaletteIndices[];
extern const u8 *const gMonIconTable[];
extern const struct SpritePalette gMonIconPaletteTable[];
const u8 *GetMonIconTiles(u16 species, bool32);
void TryLoadAllMonIconPalettesAtOffset(u16 offset);