summaryrefslogtreecommitdiff
path: root/include/fldeff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fldeff.h')
-rw-r--r--include/fldeff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fldeff.h b/include/fldeff.h
index 3d4d96e44..38a2b2a5e 100644
--- a/include/fldeff.h
+++ b/include/fldeff.h
@@ -1,6 +1,10 @@
#ifndef GUARD_FLDEFF_H
#define GUARD_FLDEFF_H
+#define FLDEFF_SET_FUNC_TO_DATA(func) \
+gTasks[taskId].data[8] = (u32)func >> 16; \
+gTasks[taskId].data[9] = (u32)func;
+
extern struct MapPosition gPlayerFacingPosition;
bool8 CheckObjectGraphicsInFrontOfPlayer(u8 graphicsId);