46 users online: Alex No, AmperSam,  Anorakun, av_mayo, Ayami, BreadEater,  BTD6_maker, chickaDEE Magazine, codfish1002, CosmicTiff, crm0622, Darolac, Dispace, Enuteo, Fermín Acosta Jr., Green Jerry,  idol, Insanit, Irondill,  KevinM, kyasarintsu,  Lazy, LOLRyan2006 the Goombud, Luigi_master1, MANGOMILK, Mariotag1, Matheus2653,  Maxodex, Neeberz,  Noivern, OrangeBronzeDaisy, Ralshi02, RedEagleFive, rvx, Sancles, Santi,  Scrydan, SF - The Dark Warrior, slakkmichael, slopcore, Steven, SubconsciousEye, TheMorganah, TruffledToad, Wooden Chair, yogui - Guests: 64 - Bots: 81 Users: 45,766 (3,372 active)
Latest user: Enuteo
Not logged in.
Details for P-Balloon Timer Fix
SMW Patches - P-Balloon Timer Fix Show random
File Name: P-Balloon Timer Fix
Added:
Version History: View
Authors: HammerBrother
Tool: Asar
Requires Free Space: Yes
Bug Fix: Yes
Featured: No
Description: Fixes a bug where the p-balloon timer does not freeze when $9D is set (such as L and R scrolling).

EDIT:
-You can now cancel balloon at any time by pressing a button (A by default)
-Fixes a bug that only exist via ASM methods that clears the timer (to #$00); the countdown decrements the timer BEFORE checking if its zero, making it possible to decrement it to #$FF and refilling the timer.
-Fixes additional bug (can be turned off if you want to) that Mario retains his state (spinjump, air flag, etc) prior grabbing it.

See patch's comments for more fixes.
Tags: frozen, lorom, p-balloon, sa-1, super fx, timer
Download: Download - 27.72 KiB
172 downloads
Screenshots
Image
Major Flare
Tested with: Asar 1.71, ZMZ 1.08, SA-1 1.32 and LM 3.04.

This patch is already up to the standards and requires no remoderation.
Posted by:  Major Flare - | Link
HammerBrother
@telinc1

Thanks. The only drawback is when other patches have conflicts with the hijack address, should other patches modify the "remove-able hijack", you'll lose that address to remove the freespace code. I'm pretty sure no one would ever repatch when there is an org conflict after experienced crashes from it. As you see in "DontLosePBalloon.asm"'s comment.
Posted by: HammerBrother - | Link
Telinc1
The additional patch now correctly cleans its freespace when being unpatched, for which I'm approving this update. There are no other changes to the patches, so I trust that the previous version has been rightfully approved.
Posted by:  Telinc1 - | Link
HammerBrother
Now fixed the wrong opcode number check when autocleaning to remove the freespace code.
Posted by: HammerBrother - | Link