Prev: 45411 Up: Map Next: 45434
45423: 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 43117, 43158, 43199 and 43250.
Input
IX Pointer to start of a character's current stats
B Happiness threshold
45423 LD A,(IX+1) If character's current happiness is at or above the threshold value...
45426 AND 127 ...
45428 CP B ...
45429 RET NC ...then return
45430 POP AF Remove return value from top of stack as we are not returning
45431 JP 64280 Display "[Character] DOES NOT WANT TO BE COMMANDED BY YOU" window (29) and return to game
Prev: 45411 Up: Map Next: 45434