mirror of
https://github.com/pret/pmd-red.git
synced 2026-06-16 05:30:20 -05:00
21 lines
587 B
C
21 lines
587 B
C
#include "global.h"
|
|
#include "globaldata.h"
|
|
|
|
IWRAM_DATA u32 gUnknown_3001198[0x270] = {0};
|
|
EWRAM_INIT s32 gUnknown_203B470 = 0x271;
|
|
EWRAM_INIT s32 gUnknown_203B474 = 0;
|
|
UNUSED static EWRAM_INIT s32 sUnusedEwramVar = 0x9908b0df; // Hm...
|
|
|
|
void sub_8094D28(s32 r0) {
|
|
|
|
gUnknown_3001198[0] = r0;
|
|
gUnknown_203B470 = 1;
|
|
|
|
for(; gUnknown_203B470 < 0x270; gUnknown_203B470++)
|
|
{
|
|
gUnknown_3001198[gUnknown_203B470] =
|
|
(gUnknown_3001198[gUnknown_203B470 - 1] ^
|
|
(gUnknown_3001198[gUnknown_203B470 - 1] >> 0x1e)) * 0x6c078965 + gUnknown_203B470;
|
|
}
|
|
}
|