| Level Ender block glitch |
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Level Ender block glitch |
|
Pages: 1  |
|
|
|
| Posted on 2012-03-06 04:36:35 PM |
Link | Quote |
|
I don't know if this will count as removal reason but still, it's pretty bad.
When Mario touch the block it indeed ends the level but with an odd color fade.

Obviously it doesn't looks like that normally.
How can I fix that? Here is the code BTW:
Code;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;end level block 2
;by Iceguy
;act like tile 25
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
JMP Main : JMP Main : JMP Main : JMP return : JMP return : JMP return : JMP return
Main:
LDA #$FF ;freeze
STA $9D ;all sprites on screen....
LDA #$FF ;course clear
STA $1493 ;mode
LDA #$0B ;type 0C for other music
STA $1DFB ;
DEC $13C6 ;prevent mario from walking
return:
RTL ;do nothing on sprite/fireball/cape contact
|
|
| Posted on 2012-03-06 04:50:24 PM |
Link | Quote |
|
|
Try adding an LDA $1493 BNE return at the start of the main code; that way, the level ending routine won't run multiple times, as it does with your current code. I imagine that is what is causing the odd fading.
|
|
| Posted on 2012-03-06 05:09:20 PM |
Link | Quote |
|
Didn't work :/
Edit: I'm not sure but... is fade disable patch causing this?
|
| Last edited on 2012-03-06 05:12:10 PM by Masterlink. |
|
| Posted on 2012-03-06 05:54:03 PM |
Link | Quote |
|
If you have a fade disable patch installed and it's fading, well, something's messed up.
Wacky idea from looking at the RAM map: Change the LDA #$FF before STA $1493 to LDA #$08.
|
|
| Posted on 2012-03-06 06:10:30 PM |
Link | Quote |
|
Didn't work neither.
Also, the fade is not through black like the original. Here is a video.
Edit: As far I can remember, this glitch also appears in MGU2.
|
| Last edited on 2012-03-06 06:13:21 PM by Masterlink. |
|
| Posted on 2012-03-08 08:18:43 AM |
Link | Quote |
|
|
mind posting the fade patch you are using?
|
|
|
|
|
Pages: 1  |
|
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Level Ender block glitch |