Banner
Views: 943,429,240
Time:
16 users online: Blizzard Buffalo,  Carld923, Domokun007, Green Jerry, GrenudoGames, KoS, LucasRCD, MarioIsTheBest1234, morisot, NikSik1, Olhi, Paithus, Saela, Sariel,  TickTockClock, WhiteYoshiEgg - Guests: 71 - Bots: 62 Users: 52,458 (1,988 active)
Latest: mariner
Tip: Palettes 0-3 do not work correctly on the overworld unless you use LM's option to disable the event reveal animation.
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 » Link
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 » Link
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 - 2021 - 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
  • sm64romhacks