fix rom header and trainer back anims

This commit is contained in:
cawtds
2025-01-08 22:46:43 +01:00
parent f8266d257e
commit 54e48a2f68
2 changed files with 14 additions and 2 deletions

View File

@@ -660,14 +660,26 @@ static const union AnimCmd sAnimCmd_Point_HGSS[] =
ANIMCMD_END,
};
static const union AnimCmd sAnimCmd_Point_HGSS_Red_Leaf[] =
{
ANIMCMD_FRAME(0, 9),
ANIMCMD_FRAME(1, 9),
ANIMCMD_FRAME(3, 24),
ANIMCMD_FRAME(3, 24),
ANIMCMD_FRAME(0, 50),
ANIMCMD_END,
};
static const union AnimCmd *const sBackAnims_Kanto[] = {
sAnim_GeneralFrame0,
sAnimCmd_Kanto,
sAnimCmd_Point_HGSS_Red_Leaf,
};
const union AnimCmd *const sBackAnims_OldManPokedude[] = {
sAnim_GeneralFrame0,
sAnimCmd_OldManPokedude
sAnimCmd_OldManPokedude,
sAnim_GeneralFrame0,
};
static const union AnimCmd *const sBackAnims_Hoenn[] =

View File

@@ -99,7 +99,7 @@ struct GFRomHeader
// This seems to need to be in the text section for some reason.
// To avoid a changed section attributes warning it's put in a special .text.consts section.
__attribute__((section(".text.consts")))
static const struct GFRomHeader sGFRomHeader = {
const struct GFRomHeader sGFRomHeader = {
.version = GAME_VERSION,
.language = GAME_LANGUAGE,
#ifdef FIRERED