Banner
The Old-School Level Design Contest ends in
9 DAYS, 20 HOURS, 29 MINUTES AND 17 SECONDS
Views: 892,288,671
Time:
26 users online: Abstract, Anas, Batata Douce, CD Ramos, chickaDEE Magazine, cozyduck, Dark Prince, DasFueller, Dr.Moe,  E-man38, Fresh_GAYmer, kjitmno''.pqr,  Lazy, ModernKiwi, PastaNoSauce, qantuum, quietmason, Raoul, RollingRigatonis, simon.caio, SKKiro, Spyros 102, TheJank, TheTaze, Twiced_, YouFailMe - Guests: 84 - Bots: 138 Users: 50,063 (2,327 active)
Latest: Caiasaura
Tip: Make sure there is no stylistic clash between the graphics you choose.
Not logged in.
fence gate tricks
Forum Index - SMW Hacking - SMW Hacking Help - fence gate tricks
Pages: « 1 » Link
I have been using the invisible solid block to make it look like you go behind blocks when you flip to the other side of the fence gate. However this tends to make other spites not show up. Is there another way to get this same effect? Blocks in front of or behind the net only passable on the other side.

--------------------
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



$7E13F9: Player goes behind layers flag.

Check that in a custom block.

--------------------
<blm> zsnes users are the flatearthers of emulation
I tried basing it on a block I already had but I think I did it wrong, cause I get an error when I try to insert it.


JMP Check : JMP Check : JMP Check : JMP Return : JMP Return : JMP Return : JMP Return



Check:
LDX #$7E13F9

;allow passage
RTL

;disallow passage
LDY #$01
LDA #$30
STA $1693

Return:
RTL
Not sure what i'm doing so any help would be appreciated.

--------------------
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



Correct version:
Code
JMP Check : JMP Check : JMP Check : JMP Return : JMP Return : JMP Return : JMP Return

Check:
LDA $13F9 
BEQ Return

;disallow passage
LDY #$01 
LDA #$30
STA $1693

Return:
RTL


Edit: You can't load a 24-Bit value in a SNES btw.

--------------------
Okay, my layout looks ugly.
It has the opposite effect I was hoping for. I can go over it normally, but if I'm behind the net I can't.do I swap the two LDA values to fix this?

--------------------
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



Nope, Change "BEQ" to "BNE". Oh and next time, look at an ASM tutorial.

--------------------
Okay, my layout looks ugly.
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - fence gate tricks

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