Banner
Views: 828,686,169
Time:
21 users online:  Aja, Amine Retro, Anthony888888, BrownBuddy, chickaDEE Magazine,  E-man38, FYRE150, HamOfJustice, Henry James Segura, koine, Koopster, MarioriaM, Moichumoi, MrDeePay,  Nameless,  Ninja Boy, Samantha, shdwdrgnix, Teows, tjb0607, WigglersReincarnation - Guests: 64 - Bots: 62 Users: 44,395 (2,538 active)
Latest: anape
Tip: Don't place Yoshi coins near a goal post because they keep glowing when a level fades out.Not logged in.
NSMBWII Secret Passages Error
Forum Index - SMW Hacking - SMW Hacking Help - NSMBWII Secret Passages Error
Pages: « 1 »
So I was trying to insert the NSMBWII secret passages included with these patches, but the .txt says to put the ''level.asm'' and ''Secretpassages.asm'' files in Uberasm's hijacks folder. Except there’s not even a hijacks folder! So I assumed that I had to put the files in ''work'' and ''base'' folders in the ''asm'' folder (since they also have a ''level.asm'' file) but even after that I had this error:
Code
(E5088): Define 'Base2' wasn't found.

What could be the problem?

Here is what the .txt says:
...
2.- Replace level.asm in the hijacks folder with the one included. Add SecretPassages.asm to the same folder.
3.- Go to level_code.asm and add this piece of code to the level where you want this effect:
LDA #$XX
STA $0F3A+!Base2
RTS
Where XX is the circle radius, with a maximum of 40. Anything bigger will crash.
4.- Insert uberASM as usual. The included code will, by default, make a circle of a radius of 20 in level 105 whenever you step on layer 2.
...
ASMWRH Progress: 7 / 50 Levels
C3 Winter 2020 Thread
Youtube Channel
Other Youtube Channel
CLDC 2020 Entry
Some of the defines are being “renamed” when supporting sa-1 hybrids. In this case:
Code
Base1 -> dp
Base2 -> addr


Many tools moved to the modern sa-1 stuff.
Try replacing !Base2 with !addr

--------------------
Give thanks to RPG hacker for working on Asar.
It worked, but now I have this error:
Code
Missing load/init/main/nmi label.
And even if I try to add them in ''level_code.asm'' Uberasm just crashes.
ASMWRH Progress: 7 / 50 Levels
C3 Winter 2020 Thread
Youtube Channel
Other Youtube Channel
CLDC 2020 Entry
Perhaps you should add main: below the LDA command.

--------------------
Putting my YI hack on hold.
You mean here?
Code
level105:
	LDA #$20
	main:
	STA $0F3A+!addr
	RTS

It's not working.
ASMWRH Progress: 7 / 50 Levels
C3 Winter 2020 Thread
Youtube Channel
Other Youtube Channel
CLDC 2020 Entry
I meant before the LDA command and I wanted to say above before.

--------------------
Putting my YI hack on hold.
It's still saying that the label can't be find:
Code
...
Unhandled Exception: System.Exception: can't find label
...


EDIT: Ok it works, but only when I remove the ''level.asm'' file in the ''asm'' folder. So the problem is this file and not ''level_code.asm''.
ASMWRH Progress: 7 / 50 Levels
C3 Winter 2020 Thread
Youtube Channel
Other Youtube Channel
CLDC 2020 Entry


The problem is that this code was written for an older version of UberASM (the old patch version), not the tool.

Here's what you should do instead to fix it:
1) Put SecretPassages.asm into uberasm tool's "library" folder. Open it and replace all instances of "!Base2" with "!addr". Then add this code at the top:

Code
SecretPassages:
	PHB : PHK : PLB
	JSR RunsEachFrame
	PLB
	RTL

2) Create a new, blank ASM file, put it in UberASM's level folder, and put this inside it:

Code
init:
main:
	LDA #$20
	STA $0F3A|!addr
	JSL SecretPassages
	RTL

3) Set that new ASM file to run in your level in your list.txt.

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
It finally worked! thanks!
ASMWRH Progress: 7 / 50 Levels
C3 Winter 2020 Thread
Youtube Channel
Other Youtube Channel
CLDC 2020 Entry
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - NSMBWII Secret Passages Error

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