Decompile entity init functions

This commit is contained in:
octorock
2021-11-14 14:50:45 +01:00
parent 9396484df6
commit 3a523cb74b
55 changed files with 2569 additions and 1689 deletions
+2 -2
View File
@@ -8,7 +8,7 @@
#include "functions.h"
#include "effects.h"
extern void sub_0801D040(Entity*, u32);
extern void LoadObjPalette(Entity*, u32);
extern Entity* sub_08049DF4(u32);
extern bool32 sub_08056338(void);
extern void UnloadOBJPalette(Entity*);
@@ -438,7 +438,7 @@ void sub_08029078(Entity* this) {
if (LoadFixedGFX(this, 0x72) == 0) {
DeleteEntity(this);
} else {
sub_0801D040(this, 0x6e);
LoadObjPalette(this, 0x6e);
this->spriteIndex = 0xd0;
sub_08028FDC(this);
sub_080290E0(this, 1);