Banner
Views: 844,773,467
Time:
18 users online: ArtieLiu, chickaDEE Magazine, Dan Drigues, Eminus,  JamesD28, kaigem, KiloMinimo, Kusrry, MarioFan22,  MarioFanGamer, Maruhai, MassPunishment, Mogu94, Rilla Roo, SAMYR DUTRA ARAUJO, Super Maks 64, Superyoshimitsu044,  Teows - Guests: 63 - Bots: 83 Users: 46,453 (2,751 active)
Latest: niandra
Tip: Make sure you can beat your own levels without savestates, slowdown, or rewinding.Not logged in.
Disabling the status bar.
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Disabling the status bar.
Pages: « 1 »
If you set 0x493 to zero the game will think the status bar has zero scanlines, and so simply won't make it appear. It's a neat little trick if you need the status bar temporarily gone, and need the hack quick. Now, the problem with this is if Mario should hit, say, a message block, Layer 3 is altered, and suddenly everything shows up.

I've hacked it so that I can choose whether or not a status bar shows up at the start of the level, but the whole poofing out of nowhere bit is pretty annoying. There's got to be a better way then pretending there's no scanlines to write, but I don't really know enough about the rest of the process to disable the status bar any other way.

Here's that hack I made, just in case anyone's interested. I cut out some stuff I didn't think was necessary for the post and haven't tested it since, but it should still work.
Code
; Disappearing status bar hack
org $808294
jsr StatusBarNoScanlines

org SUBROUTINE_SPACE
StatusBarNoScanlines:
lda VALUE_TO_BRANCH_ON
bne StatusBarHasScanlines
ldy #$00
StatusBarHasScanlines:
lda $4211
rts
212C is only written during level load, so try pulling BG3 off main screen in the NMI handler and setting it back in the IRQ handler. I can't think of any simpler if that doesn't work.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Disabling the status bar.

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy