MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zGameOkToPause

Function zGameOkToPause

src/SB/Game/zGame.cpp:478–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478static S32 zGameOkToPause()
479{
480 S32 uVar1 = 0;
481
482 if (globals.cmgr)
483 {
484 return 0;
485 }
486 if (zGameIsPaused())
487 {
488 return 0;
489 }
490 if ((globals.sceneCur)->sceneID == 'PG12')
491 {
492 return 0;
493 }
494 if ((globals.player.ControlOff & 0xffff92ff))
495 {
496 return 0;
497 }
498 else
499 {
500 uVar1 = 1;
501 if (gTrcPad[0].state == 1)
502 {
503 uVar1 = 2;
504 }
505 }
506 return uVar1;
507}
508
509void zGamePause()
510{

Callers 1

zGameUpdateModeFunction · 0.85

Calls 1

zGameIsPausedFunction · 0.85

Tested by

no test coverage detected