Banner
The Questionable Level Design Contest ends in…
19 DAYS, 12 HOURS, 39 MINUTES AND 26 SECONDS
Views: 913,005,265
Time:
10 users online:  bebn legg, blaze800000,  brickblock369, Bumpty, ChrisTheAussie, Isikoro, JonnyManjiro,  MarioFanGamer, PokerFace, smwln - Guests: 38 - Bots: 92 Users: 51,132 (2,210 active)
Latest: JoeyDude
Tip: If you want to remove patches from your ROM, it is best to either use the restore function, or port everything to a clean ROM.
Not logged in.
Details for Conditional Sprite Spawner
SMW Sprites - Conditional Sprite Spawner Link - Show random
File Name: Conditional Sprite Spawner
Added:
Authors: JamesD28
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This sprite acts as a spawner, and will spawn 1 of 2 sprites when a certain condition is met. You can define the sprite numbers, whether they're vanilla or custom, the condition that is used to determine which sprite to spawn, the logic for meeting the condition if it takes a parameter ("Equal to" or "Greater than or equal to"), their spawn state, and XY offsets with the extra bytes. You can also optionally enable an additional 12 extra bytes (for a total of 24), and set extra bytes for the spawned sprites and set initial speeds by using the "extra bytes extender" sprite included.

There are a lot of configurable settings for this sprite, all of which are described in detail in the spawner's .asm file. I strongly recommend reading through it thoroughly first, to make using the spawner easier. 2 screenshots are also included in the zip to demonstrate how the extra bytes could be set up.
Tags: conditional, extra bytes, lorom, sa-1, spawner, sprite
Rating: 5.0 (Votes: 2)
Download: Download - 103.51 KiB
188 downloads
Screenshots
Previous 
 Next
Frank__
Note for anyone using the Fast Retry patch along with this.

If you are using the Midway Cleared condition you will probably need to change the code used to detect if the Midway has been cleared. I changed it to this and it seems to work fine:

Code
Midway:
;;start of added code
LDX $13BF|!addr
LDA $1EA2|!addr,x
AND #$40
;;end of added code
LDX $15E9|!addr
;;LDA $13CE|!addr - this is the original lda that no longer works when you use the retry patch
STA !ConditionTrue,x
Posted by: Frank__ - | Link
MarkAlarm
Moderated with:
Lunar Magic 3.21
Pixi 1.31
SA-1 Pack 1.32 (also tested without)
Snes9x 1.60

Had to submit an updated zip folder, since the .json files were incompatible with the latest version of pixi. Regardless of that, all of the options I tried out worked out well and it was fairly easy to use, once I got the hang of it. Definitely a ton of options to use and nothing I tried broke, so it's accepted. The added screenshots are also incredibly useful, so thanks for including that.
Posted by:  MarkAlarm - | Link
Final Theory
I could see like an NPC who says, you need 50 coins to pass and then you have to go and collect 50 coins and come back and when you do the NPC is gone and lets you pass.
Posted by: Final Theory - | Link
HammerBrother
Originally posted by bandicoot
This could very be used in my hacks in the place of mine clunky DDA blocks :D


DDA blocks?
Posted by: HammerBrother - | Link
bandicoot
This could very be used in my hacks in the place of mine clunky DDA blocks :D
Posted by: bandicoot - | Link
Bernardo
Originally posted by dogemaster
F in chat for whoever moderates this

F

I'm also dreading the troll levels that will inevitably be made with this.
Posted by: Bernardo - | Link
dogemaster
F in chat for whoever moderates this
Posted by: dogemaster - | Link
quietmason
Wow! This looks incredibly versatile. Awesome job!
Posted by: quietmason - | Link

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

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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