Advertisement
gingerbeardman

Popils.tcl

Jun 18th, 2018
508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.94 KB | None | 0 0
  1. requires 120 "20313939 31205445 4E47454E 204C5444 2E20"
  2. hex 110 "Header"
  3. hex 52 "Copyright"
  4. hex 32606 "Dummy"
  5. for {set i 0} {$i < 101} {incr i} {
  6.     section "Level $i" {
  7.         section "Tiles" {
  8.             for {set t 0} {$t < 4} {incr t} {
  9.                 hex 10 "row"
  10.             }
  11.         }
  12.         section "Player" {
  13.             uint8 "pos_x"
  14.             uint8 "pos_y"
  15.         }
  16.         section "Princess" {
  17.             uint8 "pos_x"
  18.             uint8 "pos_y"
  19.         }
  20.         section "Monsters" {
  21.             uint8 "total"
  22.             for {set m 0} {$m < 8} {incr m} {
  23.                 uint8 "subtotal"
  24.             }
  25.             for {set mx 0} {$mx < 8} {incr mx} {
  26.                 uint8 "pos_x"
  27.             }
  28.             for {set my 0} {$my < 8} {incr my} {
  29.                 uint8 "pos_y"
  30.             }
  31.         }
  32.         section "Doors" {
  33.             uint8 "total"
  34.             for {set dx 0} {$dx < 8} {incr dx} {
  35.                 uint8 "pos_x"
  36.             }
  37.             for {set dy 0} {$dy < 8} {incr dy} {
  38.                 uint8 "pos_y"
  39.             }
  40.         }
  41.         ascii 20 "hint"
  42.         ascii 3 "mapper"
  43.         uint8 "steps"
  44.     }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement