Search found 26 matches

by SMB2J-2Q
Tue Sep 27, 2022 4:23 pm
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Re: SMB1 - Starman Music vs. Flagpole Music Fix

@frantik, I tried the first one and it didn't quite work, going straight to the current area music upon getting on the pole. What I want to do is for it to not switch back to the area music when the Starman wears off, meaning once Mario reached the flagpole. ... I saw your code where you included i...
by SMB2J-2Q
Mon Sep 26, 2022 2:10 am
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Re: SMB1 Hacking

I just fixed the HandleAxeMetatile routine to behave more like Super Mario All-Stars. Credit to ShaneM for the two instructions which correct the Small & Fiery and Thank You Dead Mario! glitches. I also changed the scroll stops in all castle levels from $5d to $4d per the area object data tables...
by SMB2J-2Q
Sat Sep 24, 2022 7:03 pm
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Re: SMB1 - Starman Music vs. Flagpole Music Fix

@frantik, I tried the first one and it didn't quite work, going straight to the current area music upon getting on the pole. What I want to do is for it to not switch back to the area music when the Starman wears off, meaning once Mario reached the flagpole. ... I saw your code where you included i...
by SMB2J-2Q
Sat Sep 24, 2022 8:36 am
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Re: SMB1 Hacking

Fiskbit wrote: Sat Sep 24, 2022 8:33 am I've merged them, except for Change to Winter Graphics? because the posts wouldn't be contiguous in this thread. That topic looks finished, though, so I think there's no harm in leaving it separate.
I appreciate that.

~Ben
by SMB2J-2Q
Sat Sep 24, 2022 7:53 am
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Re: SMB1 Hacking

At @frantik's suggestion, could a moderator please merge the following topics I'd created into this particular thread? SMB1 - Starman Music vs. Flagpole Music Fix: https://forums.nesdev.org/viewtopic.php?t=24158 SMB1 - Add Time Bonus for Castle?: https://forums.nesdev.org/viewtopic.php?t=24154 Super...
by SMB2J-2Q
Sat Sep 24, 2022 7:34 am
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Re: SMB1 - Starman Music vs. Flagpole Music Fix

you can probably get away with just adding this to the top of FlagpoleCollision: lda #$04 sta StarInvincibleTimer when the star timer reaches 4 it disables the color cycling and turns off the starman music In Super Mario Special I added this near the top of FlagpoleSlide: but I don't even think you...
by SMB2J-2Q
Fri Sep 23, 2022 10:54 pm
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

SMB1 - Starman Music vs. Flagpole Music Fix

https://www.youtube.com/watch?v=SJ7Or3MfgRI How would I be able to correct this particular glitch, please? The above video details this glitch, and how I wish to get it fixed (a la Super Mario All-Stars). I am going to paste some relevant code here in order to determine where this check should go. P...
by SMB2J-2Q
Fri Sep 23, 2022 4:16 pm
Forum: NESdev
Topic: SMB1 -- 5-3, 7-3 Change to Winter Graphics?
Replies: 7
Views: 675

Re: SMB1 -- 5-3, 7-3 Change to Winter Graphics?

i think this would work lda (AreaData),y pha ;save it to the stack for now and #%00000111 ;save 3 LSB for foreground scenery or bg color control ;--- ldx LevelNumber ;load Level number into x to not disturb A cpx #$02 ;#$02 is World x-3 bne StoreBGColor: ;if not World x-3, write existing color code...
by SMB2J-2Q
Fri Sep 23, 2022 3:05 am
Forum: NESdev
Topic: SMB1 -- 5-3, 7-3 Change to Winter Graphics?
Replies: 7
Views: 675

Re: SMB1 -- 5-3, 7-3 Change to Winter Graphics?

easiest way would be to add a check in the level load routine (GetAreaDataAddrs) and modify the header when you're on 5-3 and 7-3. Look where BackgroundColorCtrl is set The data 4 bytes after the header that set the background in the level do not set the background color, they just enable the cloud...
by SMB2J-2Q
Thu Sep 22, 2022 3:07 pm
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

SMB1 - Add Time Bonus for Castle?

I wonder if the designers of Super Mario Bros. had intended for each of the x-4 (castle) levels to have a time bonus award as well, but that due to the program's 32K ROM size, it was cut out? Here's the specific data I found for the x-4 time bonus award for Super Mario Bros. 2 (FDS), which comes aft...
by SMB2J-2Q
Wed Sep 21, 2022 10:55 pm
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Re: Super Mario Bros. (NES) -- 1-Up Mushroom Sound Fix

Just change the code? You have everything in front of you there. Right before the "lda #Sfx_PowerUpGrab" line, you add another "lda PowerUpType", then move "cmp #$03", "beq SetFor1Up" immediately after that. Some of the comments in "Shroom_Flower_PUp&quo...
by SMB2J-2Q
Wed Sep 21, 2022 9:45 pm
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Super Mario Bros. (NES) -- 1-Up Mushroom Sound Fix

Does anyone know how I can fix the 1-Up get sound so that it does not play the first few notes of the power-up get sound, which in this case is whenever you collect a 1-UP Mushroom? This was fixed in Super Mario All-Stars. HandlePowerUpCollision: jsr EraseEnemyObject ;erase the power-up object lda #...
by SMB2J-2Q
Tue Sep 20, 2022 11:00 pm
Forum: NESdev
Topic: SMB1 -- 5-3, 7-3 Change to Winter Graphics?
Replies: 7
Views: 675

Re: SMB1 -- 5-3, 7-3 Change to Winter Graphics?

Haven't looked at the source recently, but it might be possible to make another entry that points to all the old stuff, just with different properties? Here's doppelganger's SMB1 disassembly page: https://gist.github.com/1wErt3r/4048722 What you suggest would be to make a new L_GroundArea23 ($36) a...
by SMB2J-2Q
Tue Sep 20, 2022 7:28 pm
Forum: NESdev
Topic: SMB1 -- 5-3, 7-3 Change to Winter Graphics?
Replies: 7
Views: 675

SMB1 -- 5-3, 7-3 Change to Winter Graphics?

May I ask how you guys would fix up Worlds 5-3 and 7-3 so that they use winter graphics, since the other outside stages are set in winter, too? Since these two stages I mention are repeats of Worlds 1-3 and 2-3, respectively, what I would like to do is to do this in a way so as to have their regular...
by SMB2J-2Q
Sun Sep 18, 2022 7:17 pm
Forum: NESdev
Topic: SMB1 Hacking
Replies: 18
Views: 1832

Code Cleanups/Optimizations for SMB1/SMB2J

I have been fascinated with ShaneM's work on his hybrid SMB1/2J hack, and therefore I thus ask: may I please find out what the latest build/download is for this hack, so that I can try to find all the cleanups/optimizations to date that he'd found and used for it, that he took from both the PAL vers...