Sonic and Sega Retro Message Board: Wall Jump in Sonic 1 - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Loading News Feed...
 

Wall Jump in Sonic 1 Hasty Proof of Concept

#16 User is offline Mercury 

Posted 03 February 2011 - 02:27 PM

  • His Name Is Sonic
  • Posts: 1605
  • Joined: 13-November 08
  • Gender:Not Telling
  • Location:Location Location
  • Project:AeStHete (Sonic Time Twisted engine)
  • Wiki edits:130
QUOTE
The crash happens because you are writing a word to an odd address; and it is the wrong address too, in fact. In sonic.asm, find Sonic_Control routine, local label @chkLR:

Syntax Highlighted Code: ASM
	@chkLR:
move.b (v_jpadhold2).w,d0 ; get jpad
and.b $2D(a0),d0 ; compare jpad to stored L,R button states
bne.s @skip ; if still held, branch
move.w #0,$2D(a0) ; clear wall jump flag and button states
move.b #id_Roll,obAnim(a0) ; use "jumping" animation
 
@skip:

and replace it with this:

Syntax Highlighted Code: ASM
	@chkLR:
move.b (v_jpadhold2).w,d0 ; get jpad
and.b $2D(a0),d0 ; compare jpad to stored L,R button states
bne.s @skip ; if still held, branch
move.w #0,$2C(a0) ; clear wall jump flag and button states
move.b #id_Roll,obAnim(a0) ; use "jumping" animation
 
@skip:

It will no longer crash (edit: and it will clear the flag as intended).


Goddamn typos! argh.gif Thanks for catching that.


QUOTE
This is pretty damn nice, except it interferes when you jump over a rock, or a large step, sorta makes you drift off of it. That's the only thing I don't like about it, other than that, it's very good.


Odd. I purposely check if Sonic's moving upward and don't activate the move if that's true. I just tested it with a RAM watcher and it doesn't trigger when I push up against a block or rock or wall and jump past it.

Could you make a savestate/movie of it happening if you can? Thanks. smile.png


#17 User is online Sonica 

Posted 03 February 2011 - 02:39 PM

  • A walking personification of the negative.
  • Posts: 1117
  • Joined: 15-June 08
  • Gender:Male
  • Location:England.
  • Project:Meh. This and that.
  • Wiki edits:111
QUOTE (Mercury @ Feb 3 2011, 07:27 PM)
QUOTE
This is pretty damn nice, except it interferes when you jump over a rock, or a large step, sorta makes you drift off of it. That's the only thing I don't like about it, other than that, it's very good.


Odd. I purposely check if Sonic's moving upward and don't activate the move if that's true. I just tested it with a RAM watcher and it doesn't trigger when I push up against a block or rock or wall and jump past it.

Could you make a savestate/movie of it happening if you can? Thanks. smile.png

I just played the actual Sonic 1, and it happens there too. Sorry for misleading you, but it seems that there is a slight slope before a few of the rocks and steps, which make you drift backwards.

I'll suggest an improvement,instead of jumping on a wall, becoming the wall state for a short time, how abouts you make it more like in Damizean's GM engine, where you press jump while against a wall to engage the sliding, then again to jump, including while you are travelling up.

The way you've done it, you have to press against the wall and be falling to do it, making it annoying to walljump form a standstill.

#18 User is offline MathUser 

Posted 03 February 2011 - 02:50 PM

  • 3rd top wiki contributor
  • Posts: 1691
  • Joined: 09-November 05
  • Gender:Male
  • Wiki edits:14,865
I played the hack finally, while it's cool to have a new move, Mighty must be pretty boring if this is his only new move. Besides the sprite this is basically Mighty in Sonic 1 as I haven't heard of him having any other differences from Sonic.
This post has been edited by MathUser: 03 February 2011 - 02:50 PM

#19 User is offline Bgvanbur 

Posted 03 February 2011 - 04:43 PM

  • Posts: 128
  • Joined: 02-November 10
  • Gender:Male
  • Location:USA
  • Project:a disassembly, some small Sega CD projects
QUOTE (Mercury @ Feb 3 2011, 08:27 PM)
QUOTE
The crash happens because you are writing a word to an odd address; and it is the wrong address too, in fact. In sonic.asm, find Sonic_Control routine, local label @chkLR:

Syntax Highlighted Code: ASM
	@chkLR:
move.b (v_jpadhold2).w,d0 ; get jpad
and.b $2D(a0),d0 ; compare jpad to stored L,R button states
bne.s @skip ; if still held, branch
move.w #0,$2D(a0) ; clear wall jump flag and button states
move.b #id_Roll,obAnim(a0) ; use "jumping" animation
 
@skip:

and replace it with this:

Syntax Highlighted Code: ASM
	@chkLR:
move.b (v_jpadhold2).w,d0 ; get jpad
and.b $2D(a0),d0 ; compare jpad to stored L,R button states
bne.s @skip ; if still held, branch
move.w #0,$2C(a0) ; clear wall jump flag and button states
move.b #id_Roll,obAnim(a0) ; use "jumping" animation
 
@skip:

It will no longer crash (edit: and it will clear the flag as intended).


Goddamn typos! argh.gif Thanks for catching that.

I wish there was an emulator that could warn you about these type of errors. Right now I have a huge headache why my new game works perfect in the Gens/GS and Kega Fusion, but resets itself on real hardware.

#20 User is offline Aquaslash 

Posted 03 February 2011 - 05:46 PM

  • Time to walk the dinosaur!
  • Posts: 2760
  • Joined: 17-November 04
  • Gender:Male
  • Location:Hampton, VA
  • Project:The S Factor: Sonia and Silver
  • Wiki edits:1,144
QUOTE (MathUser @ Feb 3 2011, 02:50 PM)
I played the hack finally, while it's cool to have a new move, Mighty must be pretty boring if this is his only new move. Besides the sprite this is basically Mighty in Sonic 1 as I haven't heard of him having any other differences from Sonic.

Mighty is a power type, so you could make him break walls by running into them like Knuckles.

Incidentally, you could do that to Vector too.

#21 User is offline E-122-Psi 

Posted 03 February 2011 - 09:47 PM

  • Posts: 1164
  • Joined: 29-December 09
  • Gender:Male
  • Wiki edits:41
Okay I tried converting this to the Hivebrain dissassembly. I've now managed to give Sally walljump in her respective hack. I suppose I'm also halfway with Vector's climb. :D

Works fine outside the aforementioned slope like problem (also I made a branch since the jump seemed kinda super charged underwater). If you want I can make a Hivebrain upload of this hack and upload it for extra resource.

One alteration would be needed for Mighty though, since all wall moves in Chaotix are also activated by holding the jump button while clinging (you let go to jump off the wall). This would also make the move more intricate to use which may be for the best (I could see it getting annoying with just the directional hold due to it activating whenever you jump into a wall).

QUOTE (SMTP @ Feb 3 2011, 06:54 PM)
Mighty is just a character that was slapped together because they were removing Sonic and Tails from the game. Hence why he isnt in any other Sonic game.

I have no idea why people think he is a good character in the slightest...


Novelty, pure and simple. People like a breath of fresh air from the usual, even if it's with mere cosmetics. Take Tails in Sonic 2 for example. Mighty isn't all that original but he's something slightly new to play.

QUOTE (Aquaslash @ Feb 3 2011, 06:46 PM)
QUOTE (MathUser @ Feb 3 2011, 02:50 PM)
I played the hack finally, while it's cool to have a new move, Mighty must be pretty boring if this is his only new move. Besides the sprite this is basically Mighty in Sonic 1 as I haven't heard of him having any other differences from Sonic.

Mighty is a power type, so you could make him break walls by running into them like Knuckles.

Incidentally, you could do that to Vector too.


Perhaps worth adding, not sure about giving the ability to a wide range of characters though.

Is there much proof Mighty is meant to be a power type outside his name?

He does have spin dash though, which is unique for Sonic 1. v.png
This post has been edited by E-122-Psi: 03 February 2011 - 09:57 PM

#22 User is offline Aquaslash 

Posted 03 February 2011 - 11:59 PM

  • Time to walk the dinosaur!
  • Posts: 2760
  • Joined: 17-November 04
  • Gender:Male
  • Location:Hampton, VA
  • Project:The S Factor: Sonia and Silver
  • Wiki edits:1,144
QUOTE (E-122-Psi @ Feb 3 2011, 09:47 PM)
Perhaps worth adding, not sure about giving the ability to a wide range of characters though.

Is there much proof Mighty is meant to be a power type outside his name?

He does have spin dash though, which is unique for Sonic 1. v.png

In Sonic, names are everything. If he wasn't supposed to be a strong fella, they wouldn't have named him "Mighty".

Also, those sprites are a go. I'm gonna have to talk to you again at some point.

#23 User is offline FeliciaVal 

Posted 04 February 2011 - 03:51 AM

  • Posts: 689
  • Joined: 04-March 10
  • Gender:Female
  • Location:Spain
please please share the Hivebrain convertion! Stella is in much needed of it XD and maybe I can make Shadow walljump too :P im not sure of it yet but I think it would be cool

#24 User is offline E-122-Psi 

Posted 04 February 2011 - 01:41 PM

  • Posts: 1164
  • Joined: 29-December 09
  • Gender:Male
  • Wiki edits:41
Here you go:

http://www.sendspace.com/file/zcfcuc

The coding conversion might be a bit sloppy due to limited knowledge on my part but from what I see, it works the same.

#25 User is offline FeliciaVal 

Posted 04 February 2011 - 02:03 PM

  • Posts: 689
  • Joined: 04-March 10
  • Gender:Female
  • Location:Spain
thanks for this, do you mind uploading this elsewhere? Im getting a virus alert everytime I try to download sad.png

#26 User is offline E-122-Psi 

Posted 04 February 2011 - 02:16 PM

  • Posts: 1164
  • Joined: 29-December 09
  • Gender:Male
  • Wiki edits:41
QUOTE (FeliciaVal @ Feb 4 2011, 03:03 PM)
thanks for this, do you mind uploading this elsewhere? Im getting a virus alert everytime I try to download sad.png


Any better?:

http://www.mediafire.com/?cj3423fb3cdx278

#27 User is offline Mercury 

Posted 04 February 2011 - 02:17 PM

  • His Name Is Sonic
  • Posts: 1605
  • Joined: 13-November 08
  • Gender:Not Telling
  • Location:Location Location
  • Project:AeStHete (Sonic Time Twisted engine)
  • Wiki edits:130
Mighty was portrayed as tough and strong in the issues of the comic I read years ago (back when I liked it).

I always thought that he should be able to pick up and throw things, like monitors, springs, blocks, and enemies.

You know, I might have a go at coding that sometime.

#28 User is offline E-122-Psi 

Posted 04 February 2011 - 02:21 PM

  • Posts: 1164
  • Joined: 29-December 09
  • Gender:Male
  • Wiki edits:41
It might have helped figuring unique abilities if Knuckles Chaotix had more level obstacles and scenery to interact with. Seriously, the level design in that game was so bland.

#29 User is offline FeliciaVal 

Posted 04 February 2011 - 03:24 PM

  • Posts: 689
  • Joined: 04-March 10
  • Gender:Female
  • Location:Spain
QUOTE (E-122-Psi @ Feb 4 2011, 02:16 PM)
QUOTE (FeliciaVal @ Feb 4 2011, 03:03 PM)
thanks for this, do you mind uploading this elsewhere? Im getting a virus alert everytime I try to download sad.png


Any better?:

http://www.mediafire.com/?cj3423fb3cdx278

yeah, thank you very much

#30 User is offline Emerald Master 

Posted 04 February 2011 - 06:27 PM

  • The Enjoyment of Creativity!
  • Posts: 13
  • Joined: 01-January 11
  • Gender:Male
  • Location:Tennessee
  • Project:I have no idea...
I made this video. I felt like doing something nice for you Mercury, I hope you're okay with this.


This post has been edited by Emerald Master: 04 February 2011 - 06:28 PM

  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users