![]() |
Routines |
| Prev: 53917 | Up: Map | Next: 53933 |
|
Used by the routines at ProcessCharacterActionParameter, AdvanceGardenerAfterMove, PrintRandomAlternative, GetCharacterAttribute and StoreResultHighByte.
Calls ScaleTheRoll to scale the roll, and makes the result negative when bit 7 is set.
|
||||
| GetRandomNumber | 53924 | CALL ScaleTheRoll | Call ScaleTheRoll to scale the roll, and return if bit 7 is clear. | |
| 53927 | BIT 7,A | |||
| 53929 | RET Z | |||
| 53930 | NEG | Make the result negative. | ||
| 53932 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: 53917 | Up: Map | Next: 53933 |