Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit 31aace4

Browse files
author
BurningInfern0
authored
kissing the homies goodnight
1 parent e173e92 commit 31aace4

1 file changed

Lines changed: 19 additions & 20 deletions

File tree

player.py

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@
55
from saveloader import editSystemSave, addSystemSave
66
from checkbadge import calculateBadge
77

8+
def startup(system, systemlevel, systempro, systembadge, systemlogo, systemunlock, systemunlocklevel):
9+
global unlock
10+
global unlocklevel
11+
12+
unlock = systemunlock
13+
unlocklevel = systemunlocklevel
14+
15+
clear()
16+
print('P r o g r e s s b a r ', systemlogo)
17+
print(systembadge)
18+
print('\n\n\nNow Loading...')
19+
sleep(5)
20+
beginMenu(system, systemlevel, systempro)
21+
822
# shutdown woohoo
923
def shutdown():
1024
clear()
@@ -276,33 +290,18 @@ def startGame(systemName, startLevel, proLevel):
276290
startLevel += 1
277291
editSystemSave(systemName, startLevel)
278292

293+
# system unlock check section
294+
if startLevel == unlocklevel:
295+
rprint('[i]A new system has unlocked...[/i]')
296+
addSystemSave(unlock)
297+
279298
# check pro
280299
if startLevel == proLevel:
281300
print('\nCongratulations! You are the Professional!')
282301
print('Pro Label acquired!')
283302
systemLevel = 1
284303
systemLabel = "Pro"
285304

286-
# system check section
287-
if startLevel == 15 and systemName == "95":
288-
print('Progressbar 95 plus unlocked...')
289-
addSystemSave("95plus")
290-
elif startLevel == 25 and systemName == "95plus":
291-
print('Progressbar 98 unlocked...')
292-
addSystemSave("98")
293-
elif startLevel == 30 and systemName == "98":
294-
print('Progressbar Meme unlocked...')
295-
addSystemSave("Meme")
296-
elif startLevel == 30 and systemName == "Meme":
297-
print('Progressbar 2000 unlocked...')
298-
addSystemSave("2000")
299-
elif startLevel == 40 and systemName == "2000":
300-
print('Progressbar XB unlocked...')
301-
addSystemSave("XB")
302-
elif startLevel == 50 and systemName == "XB":
303-
print('Progressbar Wista unlocked...')
304-
addSystemSave("Wista")
305-
306305
# label check section
307306
if startLevel == 100:
308307
print('\nExpert Label acquired!')

0 commit comments

Comments
 (0)