News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

Functioning the xray scope

Started by Mettyk25jigsaw, January 14, 2018, 07:24:06 PM

Previous topic - Next topic

Mettyk25jigsaw

Hi, wondering if someone can make an asm (if it is a simple one) or if it's just a hex edit as I have no idea how to do this.

What I am wanting to do is make the xray scope only reveal blocks like missile, s. missile, power/bomb tiles, speed booster tiles etc but not show any hidden passages.

Don't worry, I have another way in my hack of revealing hidden passages and doing what I am asking here should make my hack more polished in a way.

Don't feel stressed if the piece of asm is too time consuming or too difficult, just say no. It's fine, I am hoping it's simple...

Any help would be greatly appreciated...

Jordan5

This seems far too obvious, but the 'air-fool xray' blocks will achieve this with no custom code at all.

Do you want it so that when you get an upgrade to the visor it reveals the hidden blocks?

PHOSPHOTiDYL

#2
Maybe a mockball item to hold you over??
I'll send you my acid suit when it's 100%.

I have zero data on xray...

ORG $90A638 : JSR MockBall

ORG $90xxxx
MockBall:
LDA $09A2 : BIT #$0008 : BEQ + : JSR $92C7 : RTS
+ SEC : RTS


$91CDBE?

PHOSPHOTiDYL

#3
NOPing the four bytes @ 08E23D keeps the fx glows during xray.
Heat glow still plays the damage sound til low health though...

Got to $91C54B. JSL from bank $88. Draw beam?

Mettyk25jigsaw

I can't seem to do much by redrawing the beam as i am not skilled enough in that field, I tried a few ideas but to no avail, the hex tweak with the fx glows works nicely but I am more worried about the revealing of hidden passages in my hack since the way I am designing it would make the game more polished, it's no game breaker by any means having it the way I have now, but it would make it look nicer when the xray scope is activated.
    Thankyou for your input PHOSPHOTiDYL, it is nice that you are trying to help me, i appreciate it...hopefully someone out there knows a little trick or two to get this done, maybe something else could pop into your head PHOSPHOTiDYL, idk. But no pressure.

Also thanks for the mockball item, however I already have 37 items/upgrades in my hack and there is literally no more room in bank $84 to make another PLM amongst other used free space for other things. And the suit for acid, already accomplished anyway, but of course you should still do that for other people. I am sure some people could make use of the mockball item anyway so it would be to some avail.

Thank you...