Language…
7 users online: alef, B2De, Daniel_mi_bb_fiu_fiu, Joaololpvp, PermaBan, rafaelfutbal, The Cursed Goomba - Guests: 784 - Bots: 144
Users: 65,122 (2,298 active)
Latest user: A_randomaccount1233

Sprite Initial Facing Fix v1.01

UberASM Repository → Sprite Initial Facing Fix v1.01

Submission Details

Name: Sprite Initial Facing Fix v1.01
Author: JamesD28
Added:
Version History: View
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This is an UberASM version of the Sprite Initial Facing Fix patch, that fixes the issue where sprites spawning in on level load will face the position Mario was at before warping. Instead, sprites will always face Mario when spawning in on level load. It can be applied globally with Gamemode 14, or used on a per-level basis.

Requested by idol.

v1.01:
- Added the Info Box (sprite B9) to the list of excluded sprites.

v1: Initial release.
Tags: face fix init lorom sa-1 sprite
Comments: 4 (jump to comments)
Rating:
0.0 (0 ratings)
No rating
Download 1.00 KiB | 190 downloads

Screenshots

View all

Comments (4)

 Ringo Link
When using this make sure to add Yoshi to the ignore list as well, or you'll be facing left during and after vertical pipe exit transitions while riding him.
 MarkAlarm Link
Moderated with:
- Lunar Magic 3.31
- UberASMTool 1.4
- SA-1 Pack 1.40 (also tested without)
- Snes9x v1.60, bsnes-plus v05

Moderated the previous version, this update merely adds an extra sprite to the ignore list (only two lines were added). Fix works and it still inserts.
HammerBrother From older version: Sprite Initial Facing Fix Link
Uh, you forgot the message block sprite, that can clip if you modify $157C,x.

Code
LDA !9E,x		; Skip various sprites that shouldn't face Mario and/or don't use $157C to determine horizontal direction.
CMP #$29		; Skip Koopa Kids.
BEQ .next
CMP #$82		; Skip Bonus Game sprites.
BEQ .next
CMP #$A0		; Skip Bowser.
BEQ .next
CMP #$B1		; Skip creating/eating blocks.
BEQ .next
CMP #$C1		; Skip flying grey turnblocks.
BEQ .next
CMP #$B9		; skip message block
BEQ .next
 MarkAlarm From older version: Sprite Initial Facing Fix Link
Moderated with:
- Lunar Magic 3.31
- UberASMTool 1.4
- SA-1 Pack 1.40 (also tested without)
- Snes9x v1.60, bsnes-plus v05

Seems to work as intended. Options for the bullet bill and spike top are nice additions as well. Accepted.