Poodletooth-iLand/toontown/town/TutorialStreet.py

23 lines
755 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
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)