;Power/Bomb damage ASM for Super Metroid by Daltone ;Thanks to Flamestar666 and all of metroidconstruction.com lorom org $90E6B9 ;Hijack code jsr $F680 ;Jump to new codes org $90F680 ;Write new codes at free space sta $7FFF94 ;Store A lda $09A2 ;Check for Gravity suit and #$0020 ;Return if equipped cmp #$0020 beq Return ;lda $09C2 ;\Uncomment these 3 lines if you want ;cmp #$001E ; Samus to be invincible to the blast ;bcc Return ;/When health warning is on lda $0A56 ;Bomb jump dealy beq Reset lda $7FFF92 ;Using ram so damage stays constant inc sta $7FFF92 cmp #$5558 beq Damage cmp #$556F ;Reset ram if you happen to have a fast timer beq Reset bra Return Damage: lda $0CEE ;Power Bomb dealy cmp #$FFFF beq Powerdamage lda #$000A ;Change this value for bomb damage sta $0A50 ;Bomb jump damage 10hp halved by Varia bra Return Powerdamage: lda #$0032 ;Change this value for power bomb damage sta $0A50 ;Power bomb jump damage 50hp halved by Varia bra Return Reset: lda $5555 sta $7FFF92 ;Reset ram Return: lda $7FFF94 jsr $9C5B ;Go back to original codes rts