Views: 808,234,622
17 users online: bandicoot, Brandon_Pitts, Brutapode89, chickaDEE Magazine, ChrizStylez, Darkguii,  Deeke, Disolv, edgar, Green Jerry, Insanit, katun24, Milon Luxy, SquidMan_Raps,  Tahixham,  Telinc1, Vhack - Guests: 105 - Bots: 221 Users: 42,442 (2,000 active)
Latest: 00_marvelouschester_00
Tip: Unique level names aren't necessary, but they're a plus.Not logged in.
Shoot Sprite Powerup by TheBiob, wiiqwertyuiop
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Shoot Sprite Powerup by TheBiob, wiiqwertyuiop
Pages: « 1 »
File Name: Shoot Sprite Powerup
Submitted: by TheBiob
Authors: TheBiob, wiiqwertyuiop
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This code allows you to shoot sprites by pressing the R button (Can be changed)

Also added an option to limit the amount of sprite onscreen at once before it stops shooting.
The main code works perfectly, but there's an issue in the FindSprites routine.

Setting the sprite you're spawning to custom makes it read $7FAB9E instead of $9E, but it still ignores $7FAB10, the extra bits. At least with PIXI, $7FAB9E is loaded with the sprite number even for vanilla sprites. This means that vanilla sprites which share their number with the custom sprite you're spawning count towards the limit, even though they shouldn't (since the whole point of FindSprites is to count how many instances of the target sprite already exist). For example, setting the code to spawn custom sprite $03 with a limit of 2 will let the player spawn only one if a yellow Beach Koopa is loaded.

Apart from this, a welcome addition would be adding user-friendly defines for the X speed and X offset, since changing them currently requires modifying the respective table. You should also (in the description) note down the purpose and intended position (alongside the code) of the button_address_single and the button_mask_single files since their names and lack of extension could be confusing. I also feel like the name of this is a bit of a misnomer because it's not an actual powerup and doesn't behave like one. Maybe try "Shoot Sprite with Button"?
Pages: « 1 »
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Shoot Sprite Powerup by TheBiob, wiiqwertyuiop

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

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

Total queries: 7


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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