Skip to content
Thomas Thurman edited this page Jun 4, 2013 · 2 revisions

Magic is a small set of opcodes which can trigger when you touch a magic line, or trigger a portal, in the Also subsystem. There was a plan to unify these with the opcodes of the scrolldrivers, but this never happened.

Each opcode has an optional two-byte parameter.

  • 0, N, "nix": nothing happens.
  • 1, B, "bounce": the step which led to touching this line is undone.
  • 2, E, "exclaim": FIXME. See Sez.
  • 3, T, "transport": flip the player to another room. The high byte of the parameter gives the room number; the low byte gives the ped number.
  • 4, U, "unfinished": used to mark exits which led to rooms which hadn't been implemented; should never occur in production.
  • 5, S, "special": escape out to a hard-coded routine identified by the parameter (FIXME).
  • 6, O, "opendoor": animate a particular door opening, then continue as for "transport" above. (FIXME: how does it know what animation to run?)

Clone this wiki locally