Views: 1,004,350,152
15 users online:  AmperSam, codfish1002, elegist, Elie Barnes, FrozenQuills, GrenCarret, Isikoro, jc5500, KAMESUTRA, Mastered UI - KooLexx, NikSik1, S.U, spooonsss, TheOrangeToad, VinylHeart - Guests: 66 - Bots: 136 Users: 54,877 (2,024 active)
Latest: Felsmann
Tip: When making your overworld, mix the terrain up! Add decorations to the overworld. Don't leave large empty grass or sea regions. As an example, angled land and multiple colors look much more interesting than square land and flat, plain colors.
Not logged in.
Water Jetpack AKA Boost by NerDose
Forum Index - Valley of Bowser - Moderation Questions - Sprites - Water Jetpack AKA Boost by NerDose
Pages: « 1 » Link
File Name: Water Jetpack AKA Boost
Submitted: by ChristmasDose
Authors: ChristmasDose
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: Yes
Description: This is an improved version of my first entry for the Mad Scientist ASM Contest hosted by MarioFanGamer. This sprite makes Mario sink in water at the press of a button, as soon as the button is released Mario will rise and jump out of the water. The lower you were in water, the higher your jump will be. This sprite uses SP1 and a UBERASM patch as level or game mode 14.
It works for the most part, but there's some issues with this that need to be fixed before it can be accepted.

- The graphics are bugged on SA-1, due to a missing table conversion ($15F6). There's also a missing conversion on $13EF, but as far as I could tell this didn't seem to have any effect.
- If you dive deep enough it's possible to accelerate upwards so fast that the speed underflows, sending Mario back down very quickly (usually under the bottom of the level to his death).
- The sprite self-destructs if you collect a powerup or take damage, due to the $71 check. I assume it's intended to be used with all Mario forms, since it doesn't check directly for his powerup status, and I couldn't find any issues with using it when big/cape/fire, so this check should be modified to not include the powerup/powerdown transitions.

Also, while looking at the code I noticed some optimization issues that I'd like to see addressed.
- The most significant one is that you're using ExecutePtr ($0086DF). Although used in the vanilla SMW, it's unnecessarily slow and shouldn't really be used in custom code. A much faster approach is to use JMP (Ptrs,x). For your code, it would look like this:

LDA !C2,x
JMP (Pointers,x)

You can then restore the sprite index at the start of each routine with LDX $15E9|!addr.

- There are a few instances where you've used JMP when you could use BRA, or you could invert the branching logic and let the code fall through without needing to JMP/BRA at all.

- The JSL calls to ROM are missing the |!BankB define, missing out on some extra speed for fastROM users.

- You could have prevented a PHY/PLY pair by putting the tile properties into scratch RAM before calling GetDrawInfo, instead of after. This is minor and doesn't count towards the rejection, but is something to keep in mind.

A few more small issues:
- The jetpack is offset from Mario quite high when riding Yoshi, especially if he's small, and is effectively detached from Mario when ducking. This is more of a nitpick, but it wouldn't be difficult to account for Yoshi when offsetting the sprite from Mario.
- The graphics are incorrectly labeled as using SP1, when they in fact use SP2.

Tested with:

• Lunar Magic 3.21
• SA-1 Pack v1.32
• PIXI v1.31
• UberASM Tool 1.4
• Snes9x v1.60
• bsnes plus v05
Pages: « 1 » Link
Forum Index - Valley of Bowser - Moderation Questions - Sprites - Water Jetpack AKA Boost by NerDose

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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy
  • sm64romhacks