[superwng] Keep ball in Play

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
HazeWIP
Posts: 8
Joined: Wed Mar 11, 2015 7:50 pm

[superwng] Keep ball in Play

Post by HazeWIP »

was looking into a bug report with this one that it crashed after the bonus round, unfortunately it seems to be a missing banking, and the banked rom looks like a bad dump, but there's plenty of cheat potential. For testing I just used this simply little hack to keep the ball in play. 7883/7885 are the co-ordinates of the ball, this simply resets it to a position near the top of the screen if it drops below a certain height. You could probably do this other ways, and maybe tweak it a bit (right now if you pull down the left spring all the way with the ball on it falls below the trigger position and resets)

Code: Select all

  <cheat desc="Keep Ball In Play">
    <script state="run">
     <action>temp0=maincpu.ppb@7883</action>    
     <action condition="temp0 GT f0">:maincpu.ppb@7883=10</action> 
     <action condition="temp0 GT f0">:maincpu.ppb@7885=21</action> 
   </script>
  </cheat>
User avatar
Pugsy
Posts: 3675
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 15 times
Contact:

Re: [superwng] Keep ball in Play

Post by Pugsy »

Thanks, added. Tweaked it a bit as suggested to get the plungers working right.

Code: Select all

  <cheat desc="Always Keep Ball in Play">
    <script state="run"> 
     <action condition="(maincpu.pb@7883 GT F0) AND (maincpu.pb@7885 != 0C) AND (maincpu.pb@7885 LT C8)">maincpu.pb@7883=10, maincpu.pb@7885=21</action>
   </script>	
  </cheat>
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
Post Reply