- 5
- Posts
- 4
- Years
- Seen Jul 21, 2024
Hi,
I pulled the "battle_engine"-branch of RHH for my Pokeemerald and ended up with the new file "unknown_table.h" that now contains the entries of the "sUnused"-array in src/data.c. The problem is, that i can´t compile anymore without getting the errors
"duplicate array index in initializer for `sUnused'" and "duplicate initializer for `sUnused'"
I´m not an expert in C, but i guess it would be fixable by changing the indexes of the entries, but is that really the solution? The change wouldn´t have been made without checking if everything stills works right? Can someome give me a hint how to handle this without changing the files which will be changed/added with the next pull again?
Thanks in advance
I pulled the "battle_engine"-branch of RHH for my Pokeemerald and ended up with the new file "unknown_table.h" that now contains the entries of the "sUnused"-array in src/data.c. The problem is, that i can´t compile anymore without getting the errors
"duplicate array index in initializer for `sUnused'" and "duplicate initializer for `sUnused'"
I´m not an expert in C, but i guess it would be fixable by changing the indexes of the entries, but is that really the solution? The change wouldn´t have been made without checking if everything stills works right? Can someome give me a hint how to handle this without changing the files which will be changed/added with the next pull again?
Thanks in advance