Random OK (#4)

This commit is contained in:
Alejandro Asenjo 2022-10-15 19:18:05 -03:00 committed by GitHub
parent 095ebbe09c
commit 8499351acf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,10 @@ INCLUDE_ASM("asm/st/no3/nonmatchings/377D4", func_801C13F8);
INCLUDE_ASM("asm/st/no3/nonmatchings/377D4", func_801C14B8);
INCLUDE_ASM("asm/st/no3/nonmatchings/377D4", Random);
s32 Random(void) {
g_randomNext = (g_randomNext * 0x01010101) + 1;
return g_randomNext >> 0x18;
}
INCLUDE_ASM("asm/st/no3/nonmatchings/377D4", UpdateStageEntities);