Banner
Views: 828,460,960
Time:
25 users online: Aguni_,  Aja, autisticsceptile1993, Bernardo, Cheolpeoduck, chickaDEE Magazine, crm0622, Darkwoon, ExONightZ, fet_nugley, HammerBrother, Heraga, Knight of Time, Lunming Gaming,  Pinci, SamuM6pdt, Sancles, Slash Chen, Sokobansolver, SquidBoy20, StackDino, Super Maks 64, The Yak Smoker, thejhonny-ador, Worl - Guests: 64 - Bots: 189 Users: 44,373 (2,549 active)
Latest: fet_nugley
Tip: Add decorations to the overworld. Don't leave large empty grass or sea regions.Not logged in.
Vertical wrap suddenly crashing the game
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Vertical wrap suddenly crashing the game
Pages: « 1 »
I have been working on a hack for a while now and i also been learning a lot about asm. That being said i ended up breaking my hack (Probably not a surprise for anybody).

Anyway i used the vertical wrap code made by kaizoman666 / Thomas, based on the patch by Noobish Noobsicle. And it worked like a charm, until recently...

I wanted to go back and modify some stuff in the level as i tend to never be satisfied with what i do. But as the level started the screen turned in a bunch of gibberish before completely crashing the game.

Take note here that i have added several patches since then so i am not sure which one caused this. The one that i think might have messed it all up is the Single screen v1.1 by TheBiob.

However i have been able to pin point which line of code cause the game to crash.
Code
SEC : ROR $1B96 |!addr


This line allow Mario to go trough the side of the screen (At least that is what i think it does).

I have tried some stuff to try to go around this issue with no result other then making it worst or cause Uberasm to cry at me. I am now out of idea. Does anyone know what could have caused that or if there would be a way around?


It is indeed because of the Single Screen code, as both Biob and I hijack around the same area in order to open up the sides of the screen. It looks like Biob's patch should be sufficient, so a potential solution would be to just apply his for the hijack and not the "VertWrapPrep.asm" file included with mine. Then, open up the VertWrap.asm file and change this line:

Code
SEC : ROR $1B96|!addr

to:

Code
LDA #$AC : STA $1B96



If you've already patched mine, you can unpatch it with this:

Code
org $00E991
	REP #$20
	LDA $7E


Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
Thank you for the fast reply it is now working like a charm. Thank you for taking the time to answer a noob like me. Your work is greatly appreciated.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Vertical wrap suddenly crashing the game

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


Total queries: 16

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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