Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const isGameOver = Patches.getBooleanValue('isGameOver');
- isGameOver.monitor({fireOnInitialValue: true}).subscribe(function (val) {
- if(val.newValue) {
- Patches.setBooleanValue('isCharacterVisible', false);
- } else {
- Patches.setBooleanValue('isCharacterVisible', true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement