oldschool-toontown/toontown/town/TutorialStreet.py
2019-12-30 01:07:56 -05:00

22 lines
762 B
Python

from . import TTStreet
class TutorialStreet(TTStreet.TTStreet):
def enter(self, requestStatus):
TTStreet.TTStreet.enter(self, requestStatus, visibilityFlag=0, arrowsOn=0)
def exit(self):
TTStreet.TTStreet.exit(self, visibilityFlag=0)
def enterTeleportIn(self, requestStatus):
TTStreet.TTStreet.enterTeleportIn(self, requestStatus)
def enterTownBattle(self, event):
self.loader.townBattle.enter(event, self.fsm.getStateNamed('battle'), tutorialFlag=1)
def handleEnterTunnel(self, requestStatus, collEntry):
messenger.send('stopTutorial')
TTStreet.TTStreet.handleEnterTunnel(self, requestStatus, collEntry)
def exitDoorIn(self):
base.localAvatar.obscureMoveFurnitureButton(-1)