- subCopyImageToScreen(*si, aniMurphySleepLeft, YawnSleepCounter - time1);
-
- return subAnimateMurphy;
-
- // end of YAWN-SLEEP-Sequence
-
-#else
-
- ax = (TimerVar & 3);
- if (ax != 0)
- return subAnimateMurphy;
-
- // ------------------------------------------------------------------
- // Murphy's YAWN & SLEEP sequence, counted down by YawnSleepCounter:
- YawnSleepCounter = YawnSleepCounter + 1;
- if (YawnSleepCounter == 4)
- {
- subCopyFieldToScreen(*si, fiMurphy); // normal grin
- return subAnimateMurphy;
- } // loc_g_5ECE:
-
- if (YawnSleepCounter <= 500) // loc_g_5ED7:
- return subAnimateMurphy;
-
- if (YawnSleepCounter <= 522)
- {
- bx = (YawnSleepCounter - 500) / 2;
- subCopyFieldToScreen(*si, aniMurphyYawn + bx); // yawn! and look depressed afterwards...
- return subAnimateMurphy;
- } // loc_g_5F00:
-
- if (YawnSleepCounter <= 1000)
- return subAnimateMurphy;
-
- if (YawnSleepCounter <= 1022)
- {
- bx = (YawnSleepCounter - 1000) / 2;
- subCopyFieldToScreen(*si, aniMurphyYawn + bx); // yawn again!
- return subAnimateMurphy;
- } // loc_g_5F32:
-
- if (YawnSleepCounter <= 1600) // loc_g_5F3B:
- return subAnimateMurphy;
-
- if (YawnSleepCounter <= 1622)
- {
- bx = (YawnSleepCounter - 1600) / 2;
- subCopyFieldToScreen(*si, aniMurphyYawn + bx); // yawn again! - third time
- return subAnimateMurphy;
- } // loc_g_5F64:
-
- if (YawnSleepCounter > 1654)
- return subAnimateMurphy;
-
- if (PlayField16[*si - 1] == 0)
- {
- if (PlayField16[*si + 1] == 0)
- {
- YawnSleepCounter = 36;
- return subAnimateMurphy;