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
Comments (5)
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.
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.
Approved and added SA-1 support.
If anyone wants the routine I used, link.