Banner
Views: 240,631,875
Time: 2013-06-19 10:56:13 PM
16 users online: Adam, Akireyano, BBS750, Buried Alive, Donaldthescotishtwin, Fireblast124, GroovyYoshi, Icebox, Jayfeather, luigiman09, LX5, o Richard Nixon, o Snowshoe, Sokobansolver, thenextdoor, UED - Guests: 23 - Bots: 26Users: 23,085 (1,324 active)
Latest: Walfgammer
Tip: Don't put levels in overworlds that don't match (like a snowy level in a desert).
Air Meter Problem
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Air Meter Problem
Pages: « 1 »
I am using MikeyK's Air Meter sprite and Jimmy52905's Yoshi Player Patch. The air meter works fine until it comes up to the death. Because Yoshi has a different death routine, the air meter causes him to be thrown up in the air and fall down through the ground, just like Mario. However, it doesn't return you to the overworld, the level just freezes, with only the layer 3 water moving. The death routine in the air meter's asm file is:
Code
KillMario:
	LDA #$90
	STA $7D
	LDA #$09		; Set death animation
	STA $71
	STA $1DFB		; Set death music
	LDA #$FF
	STA $0DDA
	LDA #$30		; Set time until we return to the OW
	STA $1496
	STA $9D
	STZ $140D
	STZ $1407
	STZ $188A
	RTS

Does anyone know what code I should replace it with to make it work? I would be grateful for any help and will add you to my credits if you find a solution.
I'd simply try this code:
Code
KillMario:
JSL $00F606
RTS
It worked! Thanks a lot! I'll add you to my list of credits!#w{=D}

Edit: There's not really any point in this thread being open any more, so someone can close it now.
Last edited on 2012-08-01 05:57:00 AM by Legoguy2761.
Pages: « 1 »
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Air Meter Problem

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

Copyright © 2005 - 2013 - SMW Central
Legal Information - Link To Us


Total queries: 27

Menu