Banner
Views: 790,333,706
Time:
18 users online: 7 up,  Atari2.0,  BeeKaaaay, Bernardo, chickaDEE Magazine, cosmo, Green Jerry,  MarioFanGamer, MarioThePipePlumber, MaxtheFox,  Ninja Boy, OEOTeam, PROMETHEUS, Sancles, SquidMan_Raps, Stiverson, Sweetdude, xfix - Guests: 53 - Bots: 119 Users: 41,256 (1,502 active)
Latest: Bloomz12
Tip: Don't put a coin over a question block. It will create an invisible solid block above the ? block if the block is hit first.Not logged in.
Details for Offscreen Indicator
UberASM Repository - Offscreen Indicator
File Name: Offscreen Indicator
Added:
Authors: Thomas
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This will display an 8x8 sprite tile at the top or bottom of the screen when Mario goes offscreen, at his X position. This way, the player can tell where he is even though they can't see him.

Note: due to the order of how sprite graphical data is handled, this code only works in level ASM, not game mode ASM. To do the latter, you will have to manually add a hijack to the game mode (following the OAM clear call at $00A295).
Tags: lorom, player, sprite
Rating: 5.0 (Votes: 3)
Download: Download - 871 bytes
254 downloads
Screenshots
Image
VoxelRoguery
Originally posted by ExONightZ
if i could make patches i would make a patch that is this UberAsm so i don't have to put UberAsm on every level.

I wholeheartedly support this
Posted by: VoxelRoguery - | Link
ExONightZ
if i could make patches i would make a patch that is this UberAsm so i don't have to put UberAsm on every level.
Posted by: ExONightZ - | Link
GreenHammerBro
Quote
Note: due to the order of how sprite graphical data is handled, this code only works in level ASM, not game mode ASM. To do the latter, you will have to manually add a hijack to the game mode (following the OAM clear call at $00A295).


This is because JSL $7F8000 is executed before processing the OAM to be displayed on the screen, check this code:

Originally posted by UberASMTool13\asm\base\level.asm
Code
;...
main:
	PHB
	LDA $13D4|!addr
	BNE +
	JSL $7F8000
+
	REP #$30
	LDA !level
	ASL
	ADC !level
	TAX
	;...
Posted by: GreenHammerBro - | Link
Mogu94
Tried inserting this with UberASM Tool, nothing appeared when Mario was off-screen. Then I converted any 4 digit addresses in the code to what they should be for SA-1 to see if that was the issue, still nothing appeared. Am I missing something?

Edit: Got it. Just didn't have to update the oamIndex address, convert all other 4 digit addresses to be SA-1 compatible. I know it says not to but it's in the same number range as other addresses that need to be converted to work with SA-1 so I just figured...

But yeah, works great now!
Posted by: Mogu94 - | Link
Erik
Works nice, however I tweaked the values for the tile that appears at the bottom since it acted kinds weird if part of Mario was still slightly visible.
Posted by:  Erik - | Link
NaroGugul
Thank you for making it. This will be really useful
Posted by: NaroGugul - | Link
chineesmw
Nice! Very useful UberASM. I'm surprised that no one has constructed this before.
Posted by: chineesmw - | Link
zacmario
Good bye useless coin trails.
Posted by: zacmario - | Link

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

Copyright © 2005 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • SMBX Community
  • ROMhacking.net
  • MFGG