Prev: 33546 Up: Map Next: 33569
33558: If character's happiness is lower than B then show "[CHARACTER] DOES NOT WANT TO BE COMMANDED..." and jump to main game loop
Used by the routines at 30810, 30842 and 30874.
Input
IX Pointer to start of a character's current stats
B Happiness threshold
33558 LD A,(IX+1) If character's current happiness is at or above the threshold value...
33561 AND 127 ...
33563 CP B ...
33564 RET NC ...then return
33565 POP AF Remove return value from top of stack as we are not returning
33566 JP 55237 Display "[CHARACTER] DOES NOT WANT TO BE COMMANDED BY YOU" window (29) and return to game
Prev: 33546 Up: Map Next: 33569