Originally posted by MasterSkodwarde
e: Why make it incompatible with ZSNES?
The technics on that status bar is complicated. Enough for the SNES but too much for ZSNES and support on said emulator is low priority.
;by default, the top 3 pixels of the status bar tilemap are not visible, as they ;are blocked by IRQ's F-blank. changing this define to 1 will make the top 3 ;pixels visible, though the IRQ will be moved up by 3 scanlines as a result ;note that the IRQ itself lasts 2 scanlines (aka 2px thick black line) !status_3px = 0 ;SMB3 and SMW differ in which counters keep leading zeros and which replace them ;with spaces. the below defines are defaulted to SMB3 behavior ;0 = keep the leading zeroes ;anything else = replace leading zeroes with this tile # in GFX28/29 !ZERO_coins = $3F !ZERO_lives = $3F !ZERO_score = 0 !ZERO_time = 0 !ZERO_bonus = $3F ;by default, Yoshi coins are displayed as a numeric value. changing this ;define to anything but 0 will let you display Yoshi coins as they were in SMW, ;with this value being the maximum displayed. this is meant for a custom ;status bar, as it will glitch with the default SMB3 status bar !yicoins_max = 0 ;(for above) if you want Yoshi coins on the status bar to disappear when you ;collect them all, change this from 0 to the tile you want them replaced with ;note that the maximum # of yoshi coins displayed before they disappear will be ;the above value - 1 !ZERO_yicoins = $3F ;(for above) regular Yoshi coin icon !TILE_yicoins = $1F ;# of tiles the current player icon occupies, minus 1 !SIZE_player = 1 ;tile/properties for the current player. if the above define is > 1, then ;the additional tiles will be adjacent to this one (tilemap & GFX) !player_1_TILE = $19 !player_1_PROP = $20 !player_2_TILE = $1B !player_2_PROP = $24 ;location of counters in status bar. only change the added value. ;the bottom row is +$20 ;if you want the counter disabled, set it equal to 0 instead of !statusloc+whatever ;note that disabling a counter ONLY affects the display, NOT the functionality ;(and if you want it fully removed from the status bar, edit the tilemap file) !statusloc = !status_tile+$22 !world = !statusloc+$04 ;1 tile !pmeter = !statusloc+$06 ;8 tiles !coins = !statusloc+$10 ;2 tiles !bonus = !statusloc+$17 ;4 tiles, 2 at !bonus and 2 at !bonus+$20 !player = !statusloc+$20+$00 ;2 tiles !lives = !statusloc+$20+$03 ;2 tiles !score = !statusloc+$20+$06 ;6 tiles (final zero is not included) !time = !statusloc+$20+$0F ;3 tiles !yicoins = !statusloc+$20+$15 ;1 tile (depends on !yicoins_max) !itembox = $C7E0 ;$YX ;disabling the item box allows for it to be ;used as a 5th custom OAM tile ;below defines are for the P-Meter !Sound = $01 ;Sound effect to play when you are at full speed !SoundBank = $1DFC|!addr ;Sound bank for above sound effect !EmptyTri = $0F ;Empty tile of triangle !EmptyPal = $28 !FillTri = $0E ;Filled tile of triangle !FillPal = $20 !EmptyLP = $0A ;Empty tile of P, left side !EmptyRP = $0B ;Empty tile of P, right side !FillLP = $0C ;Filled tile of P, left side !FillRP = $0D ;Filled tile of P, right side !CustomCode = "smb3_status_counters.asm" !Worlds = "smb3_status_worlds.asm" !StatusBarMAP = "smb3_status_map.bin" !StatusBarGFX = "smb3_status_gfx.bin" !StatusBarPAL = "smb3_status_pal.bin"