Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,527,227
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-04-24 12:02 AM
Guest: Register | Login

0 users currently in SMW Hacking | 2 guests

Main - SMW Hacking - Bug in Level Ender sprite (Bugfix inside!) New thread | New reply


Smallhacker
Posted on 06-09-07 10:16 PM Link | Quote | ID: 44015


Panser
Swedish weirdo times eleven

Level: 42

Posts: 119/339
EXP: 494773
Next: 26589

Since: 02-19-07
From: Stockholm, Sweden

Last post: 5192 days
Last view: 5191 days
The Level Ender sprite that comes with Sprite Tool has got a bug in it:

If you use it in a boss room which should be followed by a cutscene, it will play the wrong one; it'll play the one before the correct one. If this happens in the first castle, it will try to play the cutscene before the first one, which doesn't exist (causing a crash).

To fix this problem, open level_ender.asm and find these two lines:
LDA $1493
BNE RETURN

Right after those, add these two:
LDA $13C6
BNE RETURN

That will fix the problem.



____________________
SMW Central

icegoom
Posted on 06-09-07 11:53 PM Link | Quote | ID: 44039


Cheep-cheep
Level: 33

Posts: 125/195
EXP: 215753
Next: 13426

Since: 02-25-07
From: United States

Last post: 6055 days
Last view: 6056 days
Nice! I'd just stopped using the castle destruction sequences since the game froze up if I tried to use one after the first castle, but now I can re-implement them. Thanks a lot.

Main - SMW Hacking - Bug in Level Ender sprite (Bugfix inside!) New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.018 seconds. (339KB of memory used)
MySQL - queries: 42, rows: 63/64, time: 0.015 seconds.