From 2b0a7ef13efe71142cbc45b892e73e8f7ca5fd3c Mon Sep 17 00:00:00 2001 From: csaldiasdev Date: Sun, 5 Jul 2026 20:27:08 -0400 Subject: [PATCH] =?UTF-8?q?rename:=20D=5F80079070=20=E2=86=92=20gSpeciesBa?= =?UTF-8?q?ttleAnimConfig[]=20in=204F410.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The per-species battle animation / effect configuration table. Indexed by species ID (decremented to 0-based) in the func_80048060- area dispatcher. Fields unk_03/unk_04 are sound/animation parameters returned via var_a3 / sp24. The struct typedef (unk_D_80079070) and its fields (unk_00..unk_04) are left untouched per the rename plan — table-level only. Still matching: md5 ed1378bc… (verified by `make`) --- src/4F410.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/4F410.c b/src/4F410.c index d11730f..523554b 100644 --- a/src/4F410.c +++ b/src/4F410.c @@ -15,7 +15,7 @@ typedef struct unk_D_80079070 { /* 0x04 */ u8 unk_04; } unk_D_80079070; // size = 0x5 -static unk_D_80079070 D_80079070[151] = { +static unk_D_80079070 gSpeciesBattleAnimConfig[151] = { { 0x01, 0x01, @@ -1126,7 +1126,7 @@ void func_8004E810(u32 arg0, u32 arg1) { arg0 = 0x9D; var_a3 = 0x3C; } else { - var_a3 = D_80079070[arg0 - 1].unk_03; + var_a3 = gSpeciesBattleAnimConfig[arg0 - 1].unk_03; } sp24 = 0x30; break; @@ -1136,7 +1136,7 @@ void func_8004E810(u32 arg0, u32 arg1) { arg0 = 0x9D; var_a3 = 0x3C; } else { - var_a3 = D_80079070[arg0 - 1].unk_03; + var_a3 = gSpeciesBattleAnimConfig[arg0 - 1].unk_03; } sp24 = 0x60; func_800367A0(0x15, D_80078400, 0); @@ -1147,7 +1147,7 @@ void func_8004E810(u32 arg0, u32 arg1) { arg0 = 0x9C; var_a3 = 0x32; } else { - var_a3 = D_80079070[arg0 - 1].unk_03; + var_a3 = gSpeciesBattleAnimConfig[arg0 - 1].unk_03; } sp24 = 0x70; func_800367A0(0x15, D_80078400, 0); @@ -1181,7 +1181,7 @@ void func_8004E810(u32 arg0, u32 arg1) { sp24 = 0x70; } else { sp24 = 0x60; - var_a3 = D_80079070[arg0 - 1].unk_04; + var_a3 = gSpeciesBattleAnimConfig[arg0 - 1].unk_04; } break;