diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/field_map_obj.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/field_map_obj.c b/src/field_map_obj.c new file mode 100644 index 000000000..9451863b4 --- /dev/null +++ b/src/field_map_obj.c @@ -0,0 +1,23 @@ +// Includes + +#include "global.h" +#include "field_map_obj.h" + +// Static struct declarations + +// Static RAM declarations + +// Static ROM declarations + +// ROM data + +// Code + +void npc_clear_ids_and_state(struct MapObject *mapObject) +{ + memset(mapObject, 0, sizeof(struct MapObject)); + mapObject->localId = 0xFF; + mapObject->mapNum = -1; + mapObject->mapGroup = -1; + mapObject->mapobj_unk_1C = -1; +} |