Added game files from TMP4

This commit is contained in:
2023-07-21 21:55:58 +03:00
parent bb44b31af9
commit eb47a22455
9325 changed files with 276198 additions and 69890 deletions

View File

@ -74,7 +74,7 @@ class PartyMemberInfoBoard(ui.ScriptWindow):
self.stateButtonDict = {}
self.affectValueDict = {}
self.state = -1
self.isShowStateButton = FALSE
self.isShowStateButton = False
self.__LoadBoard()
self.__CreateAffectToolTip()
@ -186,7 +186,7 @@ class PartyMemberInfoBoard(ui.ScriptWindow):
button.Show()
def __ShowStateButton(self):
self.isShowStateButton = TRUE
self.isShowStateButton = True
(x, y) = self.GetGlobalPosition()
xPos = x + 110
@ -239,7 +239,7 @@ class PartyMemberInfoBoard(ui.ScriptWindow):
xPos += 23
def __HideStateButton(self):
self.isShowStateButton = FALSE
self.isShowStateButton = False
for button in self.stateButtonDict.values():
button.Hide()
@ -314,16 +314,16 @@ class PartyMemberInfoBoard(ui.ScriptWindow):
self.__HideStateButton()
if state <= 0:
net.SendPartySetStatePacket(self.pid, self.state, FALSE)
net.SendPartySetStatePacket(self.pid, self.state, False)
else:
if self.state <= 0:
net.SendPartySetStatePacket(self.pid, state, TRUE)
net.SendPartySetStatePacket(self.pid, state, True)
else:
net.SendPartySetStatePacket(self.pid, self.state, FALSE)
net.SendPartySetStatePacket(self.pid, state, TRUE)
net.SendPartySetStatePacket(self.pid, self.state, False)
net.SendPartySetStatePacket(self.pid, state, True)
def OnWarp(self):
self.__HideStateButton()
@ -400,7 +400,7 @@ class PartyMenu(ui.ThinBoard):
ui.ThinBoard.__init__(self)
self.buttonDict = {}
self.distributionMode = 0
self.isLeader = FALSE
self.isLeader = False
self.showingButtonList = []
self.modeButtonList = {}
self.__CreateButtons()
@ -511,12 +511,12 @@ class PartyMenu(ui.ThinBoard):
self.__ArrangeButtons()
def ShowLeaderButton(self):
self.isLeader = TRUE
self.isLeader = True
self.__ClearShowingButtons()
self.__ShowButton(localeInfo.PARTY_BREAK_UP)
def ShowMemberButton(self):
self.isLeader = FALSE
self.isLeader = False
self.__ClearShowingButtons()
self.__ShowButton(localeInfo.PARTY_LEAVE)