Banner
Views: 844,250,796
Time:
34 users online: 7 up,  Aja, AlluCola, autisticsceptile1993, Big Taste, Blizzard Buffalo, brickblock369, chickaDEE Magazine, Eminus, fsvgm777, Green Jerry, Inertiaddict,  JamesD28, KiloMinimo, Lumy, MANGOMILK, Mario is the best,  MarioFanGamer, MilkyMooer, NeptuneNeon,  Ninja Boy, Redwykelz, Rykon-V73,  Scrydan, SF - The Dark Warrior, SiameseTwins, Sonck's entertainment, StackDino,  Stivi,  Tahixham,  Telinc1, Ultima, Vhack, ZombieWorker - Guests: 75 - Bots: 72 Users: 46,407 (2,769 active)
Latest: Sgra
Tip: Use PIXI to insert custom sprites into your hack.Not logged in.
How to use Uberasm to disable buttons for certain levels
Forum Index - SMW Hacking - SMW Hacking Help - How to use Uberasm to disable buttons for certain levels
Pages: « 1 »
I am trying to make a cutscene but for some reason even though the code disables marios movement sometimes depending on unknown reasons in my levels sometimes it will disable the pause button and sometimes it wont. Can someone help me with the uberasm code to disable button inputs especially the pause button cause everything I keep trying crashes my game.

--------------------
I used to put Mario figures in the pipes of my basement to send them on adventures. Plumber dug em out 27 years later. Mission complete I'd say.
To disable pressing buttons you can use the $0DAA-$0DAD addresses.
To disable pausing, you'd just do this:
Code
LDA #%00010000
TSB $0DAA|!addr
TSB $0DAB|!addr

(since the start button corresponds to the 4th bit in those addresses, and TSB sets the bits based on which bits in A are 1).
That worked great. Thanks for the help :-)

--------------------
I used to put Mario figures in the pipes of my basement to send them on adventures. Plumber dug em out 27 years later. Mission complete I'd say.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - How to use Uberasm to disable buttons for certain levels

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy