mirror of
https://github.com/pret/pokestadium.git
synced 2026-09-27 20:36:36 -05:00
rename: D_80079070 → gSpeciesBattleAnimConfig[] in 4F410.c
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`)
This commit is contained in:
10
src/4F410.c
10
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user