Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - Need help on screens and scrolling
  
User name:
Password:
Reply:
 

UserPost
Glyph Phoenix
Posts: 413/745
7E005E is very similar to the "XX screens" option in Lunar Magic. I've made two blocks to deal with this you can download.

If you increase this address beyond the regular screen limit, the game will glitch. That's why I use an invisible block at the start of the level to check if the starting number of screens is equal to the current number of screens and, if that's true, set the number of screens to 3. Because of the way that block is designed, you should never change 7E005E to the maximum screen limit. Feel free to change the block below so it doesn't have that dumb limitation.

Screen Reset Block

Here's a block with code that increases screens by 2... but it's got two major problems. The first is that because I can't find the damn blocktool information, I can't turn the block into a black space once you touch it. So it increases your screens by 2 every frame. For the time being I just set it to a coin block so after you hit it it does its thing and then turns into a brown block and gives you a coin, but it has some major problems...

The second is that you cannot increase your screens when on the final screen or else your graphics will glitch. Use at your own risk.

Increase Screens by 2 Block

If somebody could help me with turning blocks into 25 (permanently and completely, not just what they act like in addition to their usual effect) that would be great.
HyperLamer
Posts: 6152/8210
(Let's just ignore the banned moron...) I don't think you can push it to the stack, unless the boss fight is one small routine within that.

Will that stop it from scrolling left, though?
beneficii
Posts: 374/567
Seriously, though, who thinks that Red_Oxygen was a joke account? I do; someone who was a complete, narrow-minded idiot who was unable to understand anything we said who suddenly turned into a raging attack dog just strikes me as an unrealistic person. Either way, we'll see what he does come 08/01.

EDIT: Ah ha! He's banned till 08/05 now!

Sukasa,

Uh, just a guess. If it's the number of screens to be scrolled before everything stops, then just have it load the value, store it in an address you know is unused for now (and that the next access to it will definitely be a write) or push it on the stack and then set the address to zero. When the fight's over, just restore the value then.
Sukasa
Posts: 1475/1981
...Coming from a guy who wants to code the SNES in C. So, could a mid-level boss perhaps use this by setting it to $00 until you beat him, or is this simply the number of screens to be scrolled before everything stops?
MathOnNapkins
Posts: 2086/2189
Yeah, I read those. Asshole deserves a ban if you ask me. Anybody else who acted that way would usually already have one by now. "IF YOU CODE IN ASM YOUR A MORON"

ok geniusboy.
Smallhacker
Posts: 1910/2273
Can't remember exactly what he said, but it was of the same quality as the threads he made that I trashed.
dan
Posts: 671/782
Originally posted by Red_Oxygen
[Removed]


Even though this guy makes Ricky Retardo look like a complete genius, I must ask why his post was removed. Last I checked, posts on Acmlm's are very rarely removed by moderators. They just get trashed.
Red_Oxygen
Posts: 53/53
[Removed]
Glyph Phoenix
Posts: 411/745
XD

XD

XD

That is the greatest problem I have ever had.
Smallhacker
Posts: 1907/2273
I made a quick test and found that the byte following it, 7E005E, controls where to stop scrolling.

Edit: Hmm... This could actually come in handy... *Coughminibosscough*
Glyph Phoenix
Posts: 410/745
Well, so I was making this hack, and I thought to myself: wouldn't it be just awesome if there was a custom block that increased the number of screens in the level?

So I got to making this block, changing the address 7E005D. But if you've ever messed with that address you'll know that it won't work during levels, only when the level is loaded. A real disappointment.

But then, I got to thinking again... There has to be some address that tells the level when to stop and not let Mario pass. I really need that address, or something like that for my hack.
Acmlm's Board - I2 Archive - Super Mario World hacking - Need help on screens and scrolling


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.