mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
Random OK (#4)
This commit is contained in:
parent
095ebbe09c
commit
8499351acf
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user