Banner
Views: 853,318,538
Time:
20 users online: Abdu, ageVerrly, callmedoor, Cheolpeoduck, dogemaster, ideka13, Infinity,  KevinM, kivylama,  Lazy, LOLRyan2006 the Goombud,  MarioFanGamer, Misterfan2000, Para_0, Rilla Roo, Sancles,  SimFan96, TheNightmareKing, Vash the fairytail, Vawlpe - Guests: 52 - Bots: 92 Users: 47,066 (2,510 active)
Latest: fabkastn
Tip: Create a fair "difficulty curve" - that is, start off easy and then get gradually more difficult as the hack progresses.Not logged in.
help!
Forum Index - SMW Hacking - SMW Hacking Help - help!
Pages: « 1 »
Because the airmeter looks like the part of the HUD (Heads Up Display or status bar), sprites goes on top (or on front) of this makes this looks weird


Its also weird when the ovelap glitch with the pirhana plant inside the pipe too, because the airmeter goes behind most sprites and on front of layer 1. The airmeter is on front of the pipe and behind the pirhana plant at the same time.

most HUD on screen in games always be on front of everything in perspective, otherwise sprites can "block" the viewing on on it

--------------------
Give thanks to RPG hacker for working on Asar.
No way?No way!
Originally posted by Supermario2003
No way?No way!

There's no need to say that...

And... I think that happens when you go through a pipe and a sprite is in front of it. I don't know any way to fix that. You may want to move the pipe to avoid that.

--------------------
'Sup!
My YouTube Channel:
Th3Flam3BoY's YouTube Channel

My YouTube Channel (SMW Hacking):
New Hacker's SMW Hacking Channel
That's actually caused by the air meter not having OAM priority...and the only way to fix it would be to make the graphics routine hardcode it to use slots before all the other sprites. You could try adding something like this to the init routine:

Code
LDA #$30
STA $15EA,x


But that is risky.
were to add that?
here is the asm file

--------------------
Give thanks to RPG hacker for working on Asar.
Originally posted by dixey
were to add that?

Originally posted by imamelia
You could try adding something like this to the init routine

In case that instruction is too tricky for you, the init routine is after the dcb "INIT" (DCB "INIT" in this case for some reason I'm not going to question).

--------------------
<blm> zsnes users are the flatearthers of emulation
the INIT? it doesn't say that in the graphics routine

--------------------
Give thanks to RPG hacker for working on Asar.
INIT routines aren't supposed to be inside graphics routines at all. Look outside it, it should be near the top.

--------------------
<blm> zsnes users are the flatearthers of emulation
here?
Code
;; INIT and MAIN routines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    DCB "INIT"
    LDA #$FF
    STA RAM_AirMeter
    RTL

i want it to have the highest priority that mario also go behind
still doesn't work

--------------------
Give thanks to RPG hacker for working on Asar.
Yeah, just between STA RAM_AirMeter and the RTS.

--------------------
'Sup!
My YouTube Channel:
Th3Flam3BoY's YouTube Channel

My YouTube Channel (SMW Hacking):
New Hacker's SMW Hacking Channel
RTL you mean

--------------------
Give thanks to RPG hacker for working on Asar.
Oh, yeah, sorry 'bout that. Anyways, did it work?

--------------------
'Sup!
My YouTube Channel:
Th3Flam3BoY's YouTube Channel

My YouTube Channel (SMW Hacking):
New Hacker's SMW Hacking Channel
Code
;; INIT and MAIN routines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    DCB "INIT"
	LDA #$30
    STA $15EA,x 
    RTL

        DCB "MAIN"
        PHB
        PHK
        PLB
        JSR MainSub
        PLB
        RTL


--------------------
Give thanks to RPG hacker for working on Asar.
Yeah, just like that, but... I think you removed something there...

EDIT:

Code
dcb "INIT"
LDA #$FF
STA RAM_AirMeter
LDA #$30
STA $15EA,x
RTL


--------------------
'Sup!
My YouTube Channel:
Th3Flam3BoY's YouTube Channel

My YouTube Channel (SMW Hacking):
New Hacker's SMW Hacking Channel
yeah i did something wrong, after school i will re download (because i was messing around trying to fix the priority om my own and then tell everyone on this site)then edit the asm file.

--------------------
Give thanks to RPG hacker for working on Asar.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - help!

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