Data |
Prev: 6332 | Up: Map | Next: 634C |
Used by the routine at 634C. This animation table contains 5 entries of 5 bytes each, which are used to determine how far up, down or to the right the banknote should move next. The algorithm used is as follows:
The first entry is used when the banknote's height above the ground is -1. This can only happen when the banknote is below but adjacent to the sidewalk, having recently moved right from a spot at a height of 0 above the road. The probabilities with which the banknote's x- and y-coordinates will be adjusted are as follows:
|
||||||||||||||||||||||||||
6333 | DEFB $00,$C0,$C0,$C0,$FF | J will be 1 (with probability 3/4), 4 (63/256) or 5 (1/256) | ||||||||||||||||||||||||
The next entry is used when the banknote's height above the ground is 0 (i.e. it is on the road or sidewalk).
|
||||||||||||||||||||||||||
6338 | DEFB $00,$30,$D0,$D0,$D8 | J will be 1 (with probability 3/16), 2 (5/8), 4 (1/32) or 5 (5/32) | ||||||||||||||||||||||||
The next entry is used when the banknote's height above the ground is 1.
|
||||||||||||||||||||||||||
633D | DEFB $48,$58,$A0,$C0,$D0 | J will be 0 (with probability 9/32), 1 (1/16), 2 (9/32), 3 (1/8), 4 (1/16) or 5 (3/16) | ||||||||||||||||||||||||
The next entry is used when the banknote's height above the ground is 2.
|
||||||||||||||||||||||||||
6342 | DEFB $80,$80,$A0,$E0,$E0 | J will be 0 (with probability 1/2), 2 (1/8), 3 (1/4) or 5 (1/8) | ||||||||||||||||||||||||
The final entry is used when the banknote's height above the ground is 3. This can only happen when the banknote is above the road, having recently moved right from a spot at a height of 2 above the sidewalk.
|
||||||||||||||||||||||||||
6347 | DEFB $C0,$C0,$C0,$FF,$FF | J will be 0 (with probability 3/4), 3 (63/256) or 5 (1/256) |
Prev: 6332 | Up: Map | Next: 634C |