code_0805F9A0

This commit is contained in:
theo3
2020-11-23 22:18:05 -08:00
parent d2d35118bc
commit 0b52f80e4d
5 changed files with 99 additions and 381 deletions
+18
View File
@@ -0,0 +1,18 @@
#include "entity.h"
extern u8 gUnk_03000000;
bool32 sub_0805EC04(Entity* this) {
u32 i = 1;
u8* l = &gUnk_03000000;
u32 j = 1;
for (; i < 0x20; i++) {
if (l[(i * 8) + 0x426] == 0) {
l[(i * 8) + 0x426] = j;
this->spriteSet.b1 = i;
this->spriteSet.b0 |= j;
return TRUE;
}
}
return FALSE;
}