comparison org/total-control.org @ 610:4dd5ebf224cd

fix formatting of lists.
author Robert McIntyre <rlm@mit.edu>
date Thu, 22 Nov 2012 11:21:05 -0600
parents 65b7c5b47de1
children d9f991cddad9
comparison
equal deleted inserted replaced
609:65b7c5b47de1 610:4dd5ebf224cd
73 73
74 How can we spell out such a program? Everything in the game is 74 How can we spell out such a program? Everything in the game is
75 ultimately nunbers, including all items, pokemon, levels, etc. In 75 ultimately nunbers, including all items, pokemon, levels, etc. In
76 particular, the item list looks like: 76 particular, the item list looks like:
77 77
78 #+begin_example
78 item-one-id (0-255) 79 item-one-id (0-255)
79 item-one-quantity (0-255) 80 item-one-quantity (0-255)
80 item-two-id (0-255) 81 item-two-id (0-255)
81 item-two-quantity (0-255) 82 item-two-quantity (0-255)
82 . 83 .
83 . 84 .
84 . 85 .
86 #+end_example
85 87
86 Let's consider the button measuring program [37 62 16 37 224 37 240 88 Let's consider the button measuring program [37 62 16 37 224 37 240
87 37 230 15 55] from before. Interpreted as items and item quantities, it is 89 37 230 15 55] from before. Interpreted as items and item quantities, it is
88 90
91 #+begin_example
89 lemonade x16 92 lemonade x16
90 guard spec. x224 93 guard spec. x224
91 leaf stone x240 94 leaf stone x240
92 guard spec. x230 95 guard spec. x230
93 parlyz heal x55 96 parlyz heal x55
97 #+end_example
94 98
95 So, if we can get the right items in the right quantities, we can 99 So, if we can get the right items in the right quantities, we can
96 spell out a bootstrapping program. Likewise, when writing the 100 spell out a bootstrapping program. Likewise, when writing the
97 bootstrapping program, we must be careful to only use numbers that are 101 bootstrapping program, we must be careful to only use numbers that are
98 also valid items and quantities. This is hard because there aren't 102 also valid items and quantities. This is hard because there aren't