Powerbomb Reveal Tiles
Release Date: Jan 17, 2011
Author: Black Falcon
Type: Patches
Rating: Star Star Star Star Star
Links:
[download] IPS patch (1287 downloads)
Game: SM
Description
This makes Powerbombs reveal hidden blocks, such as Super Missile blocks, Fusion-esque.
This patch does use some free space, but I forgot where exactly, sorry for that.
I assume it's somewhere at the end of bank $90 though iirc.
Media
No Screenshots Provided
Ratings and Reviews
By Oi27 on Apr 24, 2021 (Star Star Star Star Star )
Works as expected, but could use some more documentation. Here's what I learned:
It works by making a new routine that lives at the end of bank $84 (uses freespace $FFD7 through $FFF4). It JSR's to this where vanilla checks for the bomb reaction in the PLM setup for each block type. For example, ($84:CF70 CMP #$0500) is the hijack point for super blocks. If you want this patch to work with custom block types, all you need to do is replace your CMP for bombs with the JSR to the custom routine. Here's the disassembly:

lorom
org $84CF70 ;hijack super blocks
JSR $FFD7
org $84CFA9 ;hijack crumble blocks (speed are a type of crumble block)
JSR $FFDF

org $84FFD7 ;Returns 0 or 1, which is processed by the BEQ after the hijack point.
PHA
BEQ NO_SHOW
CMP #$0200 : BEQ QUIT ;works fine with this line commented out
CMP #$0500 : BEQ SHOW_TILE
CMP #$0300 : BEQ SHOW_TILE

QUIT:
PLA : RTS

SHOW_TILE:
PLA
LDA #$0000
RTS

NO_SHOW:
PLA
LDA #$0001
RTS
By nodever2 on Jan 19, 2023 (Star Star Star Star Star )
Big props to Oi for the disassembly. Awesome patch which makes powerbombs much more useful.
By Tundain on Jan 28, 2023 (Star Star Star Star Star )
Thx to Oi for disassembling, it's a great patch, but it's ips...

You must login to rate this resource