Skip to content

Commit

Permalink
Minor tweaks to v0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
10yard committed Jul 22, 2021
1 parent e6f7c6d commit 48fd70d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,8 @@ def launch_rom(info, override_emu=None):
scored = get_award(name, st3, st2, st1)
if scored > 0:
_g.awarded = scored
_g.ready = False
_g.facing = 1
_g.timer.reset()
_g.timer_adjust = 0
for i, coin in enumerate(range(0, scored, COIN_VALUES[-1])):
Expand Down Expand Up @@ -861,7 +863,7 @@ def animate_rolling_coins(out_of_time=False):
_g.awarded = 0
for i, coin in enumerate(_g.coins):
co_x, co_y, co_rot, co_dir, co_ladder, co_type, co_awarded = coin
if co_awarded and _g.timer.duration < 6:
if co_awarded:
place, place_text = get_prize_placing(co_awarded)
write_text(f"YOU WON {place_text} PRIZE!", x=108, y=37, fg=WHITE, bg=MAGENTA, bubble=True)
_g.awarded = co_awarded
Expand Down
4 changes: 2 additions & 2 deletions rpi4/settings.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Front End Features
FREE_PLAY = 1
UNLOCK_MODE = 0
FREE_PLAY = 0
UNLOCK_MODE = 1
BASIC_MODE = 0
INACTIVE_TIME = 20
SHOW_SPLASHSCREEN = 1
Expand Down
2 changes: 1 addition & 1 deletion rpi4/w_enter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Use this line in your settings.txt to enable it i.e.
# EMU_ENTER = <ROOT>/w_enter.sh

for i in {1..10}
for i in {1..20}
do
# Keep focus on DKAFE until MAME starts
wmctrl -Fa DKAFE
Expand Down

0 comments on commit 48fd70d

Please sign in to comment.