(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-17-24 11:33 AM
0 users currently in SMW Hacking.
Acmlm's Board - I3 Archive - SMW Hacking - [ASM Question] Is there a way to disable the select button New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
ghettoyouth

Panser








Since: 11-19-05
From: Germany

Last post: 6411 days
Last view: 6411 days
Posted on 09-15-06 12:12 PM Link | Quote
As it's said in the title, I need to disable the select button. I don't want to disable it in general, only in a few levels. Can anyone help?


(edited by ghettoyouth on 09-15-06 11:12 AM)
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6298 days
Last view: 6297 days
Posted on 09-15-06 12:30 PM Link | Quote
yes. use the controller override to do that. Oh yeah, you can download it from
override.rar


(edited by Sukasa + on 09-15-06 11:31 AM)
ghettoyouth

Panser








Since: 11-19-05
From: Germany

Last post: 6411 days
Last view: 6411 days
Posted on 09-15-06 01:10 PM Link | Quote
yes I could use that, but I already have a custom generator* for the levels in that I want to disable select. So I want to add some more intructions to that generator

(*disables the item box for the cape, if anyone wants to know)


(edited by ghettoyouth on 09-15-06 12:10 PM)
(edited by ghettoyouth on 09-15-06 12:11 PM)
Glyphodon



 





Since: 11-18-05

Last post: 6338 days
Last view: 6319 days
Posted on 09-15-06 03:29 PM Link | Quote
At x4776 or thereabouts there's some debug code that never, ever gets run. I hack that part out on lots of my random hacks. If you want to make it so capes don't drop on certain levels, you could check level and cape and jump the item box code.

It's pretty easy to read the code around there; it checks to see if up in addition to select is pressed and if so rotates your powerup. This information is all from memory, so I might have gotten some of it wrong.
spel werdz rite









Since: 11-19-05

Last post: 6298 days
Last view: 6297 days
Posted on 09-15-06 08:29 PM Link | Quote
I would suggest finding all opcodes that deal with the selct controller button data and delete them.

I don't think there exists a "delete Select button use" RAM Address.
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6298 days
Last view: 6297 days
Posted on 09-16-06 01:38 PM Link | Quote
What I meant was you could patch the override to your ROM, and then control it with your sprite.

Have a look at it's readme (or find my thread on the override with an HTML version of it) and see how your sprite cancontrol the override.
ghettoyouth

Panser








Since: 11-19-05
From: Germany

Last post: 6411 days
Last view: 6411 days
Posted on 09-17-06 04:24 AM Link | Quote
ok I'll give it a try. thanks


(edited by ghettoyouth on 09-17-06 03:25 AM)
Tweaker

Red Koopa








Since: 11-18-05
From: Rochester, NY

Last post: 6298 days
Last view: 6297 days
Skype
Posted on 09-17-06 03:10 PM Link | Quote
If you're trying to use an object to disable the select button at certain times, I think it may be as easy as simply continuously writing the "off" state to the address/register/whatever that holds the state of the select button. I'm able to do that on the Genesis, anyway... not sure if it works -entirely- the same in this case. Worth a try, anyway.
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6298 days
Last view: 6297 days
Posted on 09-17-06 03:11 PM Link | Quote
Most button presses are handled before custom block code.

I knwo, I tried it that way.

Plus, you only have to write the registers once!
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - SMW Hacking - [ASM Question] Is there a way to disable the select button |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.015 seconds; used 386.05 kB (max 476.50 kB)