Language…
18 users online: Buzbee, currykarl, Daizo Dee Von, dezoito18, Domokun007, E-man38, Faro, Gattocqt89, GrenCarret, Heitor Porfirio, jhonz22, Nayfal, neidoodle, PalaceSwitcher, Ringo, slakkmichael, ThePiPiper, Valentine - Guests: 133 - Bots: 159
Users: 57,967 (2,498 active)
Latest user: ThePiPiper

Player-Damaging Fireball Flag v1.1

SMW Patches → Player-Damaging Fireball Flag v1.1

Submission Details

Name: Player-Damaging Fireball Flag v1.1
Author: TheBiob
Added:
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch adds a flag which changes if fireballs interact with sprites or hurt the player.
Affects Yoshi and player fireballs.

If you spawn fireballs via asm make sure you set the flag to interact with the player or with sprites. If you don't set this flag it might still be set or not set from the previous sprite.

Requested by Erik557


v1.1 - Corrected an oversight that gave garbage clipping data to fireballs set to damage the player
Tags: fireball lorom sa-1
Comments: 5 (jump to comments)
Download 1.23 KiB | 101 downloads

Screenshots

Comments (5)

Klug Link
Now you can make Fire Bros with this patch.
 Maarfy Link
Remoderated. Corrected a rather glaring oversight that causes fireballs set to damage the player to use the generic extended sprite clipping routine at $02A519. This routine pulls garbage data for Yoshi fireballs and gives them an ultra-tall clipping height, damaging the player when not remotely near the sprite.

Note that the hitbox on a Mario fireball isn't a particularly great match with its graphics. Ordinarily the mismatch is biased in favor of the player, but a fireball set to damage the player may cause some janky hits.

Tested with Asar 1.71, Lunar Magic 3.04, SA-1 1.32, Snes9x 1.59.2.
TheBiob Author From older version: Fireball flag Link
Some limitations I forgot to mention in the discription:

1) Sprites with custom fireball checks most likely don't care if the flag is set or not. Though making the check taking the flag into account shouldn't be that difficult.

2) The fireball X speed is in pixel per frame and not using the update x position routine like most other sprites.
lx5 From older version: Fireball flag Link
Now this is a pretty good patch, this one should work fine for Fire Bros. and other sprites, you only need to get clever to use this patch.

Approved and added SA-1 support.
 Erik From older version: Fireball flag Link
Thanks fam. At first I thought I'd done something wrong with the spawn, but it's nice to see that it was actually a bug in the game.
If anyone wants the routine I used, link.