toontown-just-works/toontown/tutorial/DistributedBattleTutorial.py
2024-07-07 18:08:39 -05:00

11 lines
449 B
Python

from toontown.battle import DistributedBattle
from direct.directnotify import DirectNotifyGlobal
class DistributedBattleTutorial(DistributedBattle.DistributedBattle):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedBattleTutorial')
def startTimer(self, ts = 0):
self.townBattle.timer.hide()
def playReward(self, ts):
self.movie.playTutorialReward(ts, self.uniqueName('reward'), self.handleRewardDone)