Banner
Views: 992,550,916
Time:
12 users online: ageVerrly, ASMagician Maks,  Ayami, Darolac,  Fernap, Gamet2004, gui, h.carrell, monkey03297, myuuuga, Pancake001, snoruntpyro - Guests: 84 - Bots: 138 Users: 54,439 (2,079 active)
Latest: ExelD
Tip: You can draw more event tiles under the default Layer 2 Event tiles on the overworld for custom use!
Not logged in.
Walk in the direction you faced when you completed the level
Forum Index - SMW Hacking - Requests - Archived Requests - Walk in the direction you faced when you completed the level
Tags:
Pages: « 1 » Link
Name
Walk in the direction you faced when you completed the level

Type
UberASM

Description
When you finish a level at the goal post or the orb, you move/walk in the direction you were facing when you touched it.

Ive seen some ASM posts where you have the player always go left or always go right but i want it based on the direction you're facing instead of always one or the other.

References
N/A
I'll claim this.
I'm Japanese, so if I'm not speaking well, sorry!
This was fairly easy.
First, insert this patch into the ROM.
Next, patch the following code with Asar.
Code
if read1($00FFD5) == $23
	sa1rom
	!addr = $6000
else
	lorom
	!addr = $0000
endif

org $00FA80
autoclean JSL Main : NOP #$02

freedata

Main:
LDA $76 : BNE .return
INC $1908|!addr
.return
STZ.w $13F3|!addr : STZ.w $1891|!addr
RTL

That should be all you need, and it should work as you want!

P.S.
Note that we found it quite difficult to create this code with UberASM, so it became an Asar patch.
If you need to use UberASM, please let me know. I'll do my best.
I'm Japanese, so if I'm not speaking well, sorry!
Thank you, Francium! This will be very fun to play around with in my hack!
Pages: « 1 » Link
Forum Index - SMW Hacking - Requests - Archived Requests - Walk in the direction you faced when you completed the level

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2022 - 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