This commit is contained in:
theo3
2020-06-16 15:04:52 -07:00
parent 8740036073
commit 0dbd3a87c6
5 changed files with 140 additions and 248 deletions
+2
View File
@@ -4,6 +4,8 @@
#include "global.h"
#include "entity.h"
extern u32 GetNextFunction(Entity*);
extern void Octorok(Entity*);
extern void Chuchu(Entity*);
extern void Leever(Entity*);
+3 -2
View File
@@ -80,7 +80,8 @@ typedef struct Entity {
u8 spriteAnimation[3];
struct {
u8 b0 : 3;
u8 b1 : 5;
u8 b1 : 3;
u8 b2 : 2;
} PACKED ticks;
u16 collisions;
union SplitWord x;
@@ -135,7 +136,7 @@ typedef struct Entity {
u8 field_0x6d;
u8 filler4[6];
u32* heldObjectPtr;
u8 filler3[2];
u16 field_0x78;
u16 itemCooldown;
u32 field_0x7c;
u16 field_0x80;