Traps
Traps are a broader umbrella for a changeable part of the map. Walls, snags, and tile changes all fall under this section. A good number of them are made automatically though, so you'll only need to keep track of the following:
[x,y]
type indicates whether the ballista is normal (0x34), iron (0x35), or killer (0x36). repeatTimer is how many turns it takes for a trap to trigger again. level is the level of a hatched Gorgon from the trap.
The macros used for these are:
Something to note is that TrapData ends with ENDTRAP instead of END_MAIN like the other categories.
Last updated