toontown-just-works/toontown/town/TutorialStreet.py

23 lines
754 B
Python
Raw Permalink Normal View History

2024-07-07 18:08:39 -05: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(0)