Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script by Link and Biggestsonicfan
- require("model2"); -- Import model2 machine globals
- function Init()
- easy_debug()
- end
- function easy_debug()
- --Disables DIP7 and makes debug enabled by Service Coin + P1 Punch
- local disable_dip_7 = 0x22DC
- Romset_PatchByte(0, disable_dip_7, BE)
- local easy_display = 0x2410
- Romset_PatchByte(0, easy_display, 0x08)
- Romset_PatchByte(0, easy_display+1, 0x20)
- end
- function Frame()
- end
- function timecheatfunc(value)
- I960_WriteWord(0x500028,50*64); --50 seconds always
- end
- function selectcheatfunc(value)
- I960_WriteWord(0x500024,50*64); --50 seconds always
- end
- function p1healthcheat(value)
- I960_WriteByte(0x510EAC,139*64);
- end
- function numrounds(value)
- I960_WriteByte(0x500052,value);
- end
- Options =
- {
- timecheat={name="Infinite Time (In Battle)",values={"Off","On"},runfunc=timecheatfunc},
- timeselect={name="Infinite Time (Select Screen)",values={"Off","On"},runfunc=selectheatfunc},
- p1health={name="P1 Infinite Health",values={"Off","On"},runfunc=p1healthcheat},
- }
- function PostDraw()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement