FANDOM


Supported In:
C D/S/W W-CD
? ? ?

The scripting command AlterMap has the opcode (0x13).

Arguments

  • X-Coordinate (byte)
  • Y-Coordinate (byte)
  • Byte - Wall
  • Byte - Value


Description

Sets the wall value of the given X/Y coordinate of the current map. See MAZExxx.DAT File Format for further details on the map structure.

Notes

This is only ever seen on indoor maps, which use wall values. It should behave in a similar way on outdoor maps, using the 4 layers instead of 4 walls, but it's hard to be certain without an example. In some single maze maps, the X and/or Y values are incremented by 16 as if they were the second half of a multi maze map. See MAZE0054 (Witch Tower Level 4) for example. This seems superfluous and easily ignorable. Tests which set it back to the expected sub 16 value made no difference in the result.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.