object6A ok

This commit is contained in:
theo3
2021-12-22 22:13:30 -08:00
parent a8f7b42ee2
commit 1218a8b691
21 changed files with 1417 additions and 3419 deletions
-10
View File
@@ -1,10 +0,0 @@
#ifndef CREATEOBJECT_H
#define CREATEOBJECT_H
#include "entity.h"
// maybe a dedicated (create)Effect.h/c
void CreateDust(Entity* parent);
void CreateDustSmall(Entity* parent);
#endif // CREATEOBJECT_H
+3
View File
@@ -21,6 +21,9 @@ extern void sub_0808C650(Entity*, u32);
extern u32 sub_0808C67C(void);
extern void sub_0808C688(void);
void CreateDust(Entity* parent);
void CreateDustSmall(Entity* parent);
typedef enum {
GROUND_ITEM,
DEATH_FX,
+9
View File
@@ -19,6 +19,15 @@ typedef struct ScriptExecutionContext {
union SplitWord y;
} ScriptExecutionContext;
typedef struct {
u32 unk_00;
u16 commandIndex;
u8 commandSize;
u8 flags;
u8 unk_08;
} struct_02033280;
extern struct_02033280 gActiveScriptInfo;
void ExecuteScript(Entity* entity, ScriptExecutionContext* context);
extern u32 GetNextScriptCommandHalfword(u16*);
-9
View File
@@ -94,15 +94,6 @@ typedef struct {
} struct_02024490;
extern struct_02024490 gGFXSlots;
typedef struct {
u32 unk_00;
u16 commandIndex;
u8 commandSize;
u8 flags;
u8 unk_08;
} struct_02033280;
extern struct_02033280 gActiveScriptInfo;
typedef struct {
u16 unk_00;
u8 unk_02[0xE];