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 - More then one midway points
  
User name:
Password:
Reply:
 

UserPost
HyperLamer
Posts: 945/8210
You don't need that much free RAM. You can do it simple: Level #, Destination Level #, Screen #, Xpos, Ypos. When they hit one, it stores the number of the level from the OW (so even if it's in a level you came into from the OW, it'll still work) and the current level in the Destination. Then, you hack the level loader code. If it's loading the level Level# from the OW, load DestLevel# instead, then put Mario at those coords. If it's a different level, load as normal, and if the poor fools should hit another point there, the old one gets wiped.
blackhole89
Posts: 137/971
How about this one:
Most levels consist of more than one technical "level", don't they? I mean, a cave and an outsideous part or something like that. I use an extremely long level in SMW-ALTTP. It's realized that way: when you enter another "sublevel"/"submap" your overworld position is being changed so you land on an invisible level tile which you can only leave towards the first level tile belonging to the level (from which you won't be able to go back to the invisible level tile). It is in most points a clone of the first level tile, besides to the exit directions and its level number (it points on the "midway" submap). Right before you reach the exit you're being moved to the last tile of the complex, which marks the end of the level. When the final level-done-event is invoked, the path is opened up in both directions and the midway tiles are thrashed.
Understood so far? I'm not sure anymore whether I've expressed it correctly.

Have fun,
Blacky.
Smallhacker
Posts: 196/2273
How to an extra midway point:

1: Find some unused space in RAM that's at least X*4 bytes large. (X = number of levels that can be accessed from the overworld)
2: Locate the level loading ASM.
3: Make a block that sets four bytes in the free RAM to Mario's current X and Y position (if it's level 20h, it sets the 20h*4:th byte and the next 3) and then changes into the next MAP16 block
4: Edit the loading ASM so it puts the player on the stored X and Y if X+Y != 0
5: Edit the "end level" ASM to clear the 4 bytes.
6: Edit the save/load function to save/load the X*4 bytes to/from SRAM
7: Enjoy!
Kario
Posts: 355/2082
I don't see a point. If a level is that long, it shouldnt be allowed. Eghad. It would be easier to make it recognize which level you got the midway point in, that way it wouldnt only go the "origin" level, it would go to the midway start point wherever the point is you hit. That would require some OV asm as well. Don't know if that helped at all....
Juggling Joker
Posts: 178/1033
It is possible, just like most things you would want to do in a SMW hack. Getting the present game engine to do what you want is another story altogether.
Atma X
Posts: 331/801
I created the old thread about having more than 1 Midway point, but I never really got a definate answer about it. (yes, it is possible for sure, but I still don't know how hard it would be)
Aioria
Posts: 342/1567
Aw

i wish i knew asm

anyway, i remember that someone said it was kinda possible, at the old thread about this subject, so im pretty optimistic
Xkeeper
Posts: -4178/-863
As far as I can see, no, there are no ways to make more than one midpoint.
Aioria
Posts: 340/1567
In the board before the crash there was a discussion about the possibility of having more then one midway point. Can a custom block be made to act like as another mid point, it'd be useful for some of my levels in the future (they'll be a bit long)
Acmlm's Board - I2 Archive - Super Mario World hacking - More then one midway points


ABII


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



Page rendered in 0.003 seconds.