Build with and for GMS 1.4. (But works with GMS2) Rotate the values on a grid Clockwise or Counterclockwise. Square or rectangle grids. Usefull to rotate room pattern or an entire dungeon when using data on a ds_grid.
ds_grid_rotate(Grid id, Clockwise, Rotation)
Please leave a review!
The number of rotation is now 'moded' to keep it between 1 and 3.