Function maplayers
#include <macaw.h>int maplayers(void);
Tells you how many layers your map has.
Parameters
It takes nothing.
Returns int
How many layers there are.
In Sprites and the map, with spr, sprex, sspr, fget, fset, map, mget, mset, mapwidth, mapheight, maplayername.