SMW ASM - custom boss health meter

Subscribers:
557
Published on ● Video Link: https://www.youtube.com/watch?v=LFfkaM7zgkQ



Game:
Duration: 0:40
1,921 views
8


I should probably be working on homework or going to bed at this time, but whatever. This is a demonstration of some sprite code that I recently finished. It is used for bosses, and it makes a boss meter show up on the screen. The meter fills up at the start of the battle, and once it is full, the boss starts attacking. Each pixel of health is 0x10 units, so you can take various subpixel units at a time...or not. The SMB3 Lakitu boss has 0x300 units of health, and it gets subtracted 0xC0 units at a time, so that translates into 4 hits in this case. The meter is on the sprite layer, and it uses OAM addresses in the $02xx block (so you MUST use the Extended No More Sprite Tile Limits patch or else just not let any kinds of sprites that use those OAM indexes show up during the boss battle). Each 8x8 tile, each 0x80 units of health, takes one OAM slot. This routine can be used for any boss that has a set amount of HP. Oh, and by the way, the meter isn't supposed to go down abruptly like that; the part that's about to disappear flashes between existent and nonexistent at 30 FPS, and apparently Camtasia didn't quite pick up on it properly.







Tags:
TheMartianGeek
imamelia
Super
Nintendo
SNES
Mario
World
SMW
hacking
ROM
Lunar
Magic
65816
65c816
ASM
assembly
hack
boss
health
HP
meter
showoff
demonstration



Other Statistics

Super Mario Bros. 3 Statistics For TheMartianGeek

There are 4,262 views in 11 videos for Super Mario Bros. 3. His channel currently has around 1 hour worth of content for Super Mario Bros. 3, less than 0.58% of the total video content that TheMartianGeek has uploaded to YouTube.