diff options
| author | theo3 <arisstephenson2@gmail.com> | 2021-10-26 20:33:33 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2021-10-26 20:33:33 -0700 |
| commit | d29468c30bcf5d786e4d97446d8d3512063c71bc (patch) | |
| tree | c2b34a84ba0a7e9ccbabf03eaf66092d8695b604 /src/object/book.c | |
| parent | 3f5449c1a1aed612e5b2c1190699bafef2603241 (diff) | |
add effects.h
Diffstat (limited to 'src/object/book.c')
| -rw-r--r-- | src/object/book.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object/book.c b/src/object/book.c index b51c4716..356b85d9 100644 --- a/src/object/book.c +++ b/src/object/book.c @@ -5,6 +5,7 @@ #include "flags.h" #include "room.h" #include "textbox.h" +#include "effects.h" extern void (*const BookActionFuncs[])(Entity*); extern s8 const gUnk_08123D94[]; @@ -135,7 +136,7 @@ void sub_0809B56C(Entity* this) { SetFlag(this->field_0x86.HWORD); - fx = CreateFx(this, 2, 0); + fx = CreateFx(this, FX_DEATH, 0); if (fx) { ResolveEntityOnTop(this, fx); } |
