![]() |
Routines |
| Prev: D288 | Up: Map | Next: D2A4 |
|
Used by the routines at RecordResultCharacterScript, RejectLowCharacterAttribute, ProcessCharacterAttribute and ProcessCharacterAttribute_Indexed.
Reads the character's last attribute and returns one more than its signed value.
|
||||
| GetCharacterAttribute | D29D | LD A,$63 | Leave 63 as the result. | |
| D29F | CALL GetRandomNumber | Read the character attribute. | ||
| D2A2 | INC A | Count up one. | ||
| D2A3 | RET | Return. | ||
| Prev: D288 | Up: Map | Next: D2A4 |