Prev: 45423 Up: Map Next: 45450
45434: Increase current character's happiness by amount A
Used by the routines at 41924, 42257, 42638, 43043 and 43199.
Input
A Value by which to change character's happiness
45434 PUSH AF Store AF (A = increment value)
45435 CALL 45411 Point IX at Current Character's current stats
45438 POP AF Restore AF (A = increment value)
45439 LD C,A Load increment value into C
45440 LD A,(IX+1) Add increment value to Current Character's happiness...
45443 CALL 62594 ...
45446 LD (IX+1),A ...and store
45449 RET Return
Prev: 45423 Up: Map Next: 45450