Views: 932,796,345
22 users online: Azula16, bravetoaster, CruelKaizo42,  FPzero, FrozenQuills, Ghost YT, Giftshaven, GrandMasterLynx, gui, Jazzman287, Kimota, Koopster,  Lazy, Leozoppi, mike_bianchi, Nipitah, RecklessLink, RollingRigatonis, slakkmichael, tcdw,  xHF01x, YouFailMe - Guests: 96 - Bots: 283 Users: 52,066 (2,105 active)
Latest: Steffi4689
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 NPCs v4
SMW Sprites - NPCs v4 Link - Show random
File Name: NPCs v4
Authors: WhiteYoshiEgg
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: Yes
Description: This is a sprite that doesn't hurt the player and doesn't interact with any other sprites. It can stay still, walk around, or jump, and also display a message if the player presses a button while touching it.

It's compatible with SMW's regular message boxes (can use any message in any level and show up to two at once), the Message Box Expansion patch, and also the VWF Dialogues patch.

The movement, graphics and message behavior are highly customizable. All the options are in the extra bytes (of which it uses all 12). This means you only need to have one entry in your sprite list and can fully customize it as you place it in your level!

All the customization options are explained in HOW_TO_USE.html, so please refer to that. It also has a user-friendly configuration tool.
Tags: customizable, lorom, message, npc, npcs, pacifist, sa-1, vwf, vwf dialogues
Rating: 5.0 (Votes: 3)
Download: Download - 60.01 KiB
Is there a way to edit the dimensions of the sprite and the palette it uses? I’d like to make it slightly larger and give it a Yoshi palette. (I’m not sure the size exactly, I just know it’s larger than I previously stated, which was the dimensions of the sprite normally)
Posted by: solgaleo35 - | Link
One of the issues with having a sprite be 100% customizable is also limitations how you can use the sprite, which is ironic. For one, you have to make sure all the graphics are square (32x32), there is no choice in this regard meaning you have to really plan out how to use it in levels if you plan on using Tileset Specific Sprites. Also I've run into some bugs:
- The tool will not always output what you want. I generated a stationary sprite, instead it gives me an erratic walking sprite. The remedy is either to reset the tool and hope it works correctly or actually learn the extra bits; the latter of which being the favorable option because then you have total control.
Speaking of, the tool isn't completely friendly; for one it won't allow you to set the tile map unless you actually decide for it to walk.
- Random Palette Changes; so it could just be me, but testing on a clean rom, I have noticed that once the sprite moves one pixel off screen, it will change its palette from F to E. Actually from any other palette to E. Don't really know the conditions, but this is my Bytes for anybody wanting to troubleshoot: "40 00 00 00 80 00 08 F7 08 04 50 20"

There might be other bugs, but so far this is all I've run into. Over all a well done sprite. A small nitpick, but I really do not like how the sprite bops "downwards" instead of upwards when it walks. Though I've been trained on how to walk level (no bopping), most people when they walk tend to move upwards a bit, not downwards. It's worse given if you have a graphics file that actually has the bopping in design, but the sprite moves it downwards one pixel anyway, making the sprite move eerily level or "still animated" which just looks very lazy and off to me.
Posted by: Skewer - | Link
Originally posted by WhiteYoshiEgg
In case the tool ever breaks, the extra bytes are explained at the very bottom of the npc.asm file.

I have read that but i don't understand very well EXTRABYTES and which numbers to put in the extension lunar magic if there wasn't any HOW TO USE html i would have no idea what to put.
Posted by: Amomario123w - | Link
What? I was going to request (or create myself. I’d probably need to make new palettes and stuff anyway) some new GFX files, so I checked the GFX files for 4.0, and for some reason the ability to change the sprites was removed, and the GFX file now contains a copy of the Chargin’ Chuck graphics. What’s up with this?
Posted by: solgaleo35 - | Link
The graphics file only contains Toad's graphics; otherwise, it keeps the layout of SMW's graphics files, which is less invasive.
You can change the graphics and add more graphics whenever you want. You can use HOW_TO_USE.html to select which of the graphics the sprite uses.
Posted by: WhiteYoshiEgg - | Link
it is super user friendly with the how to use.html so perfect than any sprite that i had dowloaded even than some bosses. in anyway I will try to study about how to use it without the user firendly "HOW TO USE" to release one .txt archive to explain to anyone that don't know very well what the extra bytes are and if this html someday would shut down. because this sprite is so amazing that i don't want that anyone lose the chance to use this master piece.
Posted by: Amomario123w - | Link
In case the tool ever breaks, the extra bytes are explained at the very bottom of the npc.asm file.
Posted by: WhiteYoshiEgg - | Link
This is really great. I was hoping to use different NPC sprites in the same level. Is there an easy way of changing the tilemap the Sprite uses, or alternatively what would I have to alter on the ASM file? Thank you.
Posted by: HodgerMccodger - | Link
There seems to be a problem. If Mario was on Yoshi and you want to talk to the NPC, Yoshi would take a hit and run away from Mario.
Posted by: WaffleLord - | Link
I found a small bug.

If you use any palette the sprite always changes to palette E temporarily while showing messages, and just return to your normal palette when the message ends.

But this only occurs when using VWF Dialogues.
Posted by: Thanos - | Link
Tested with:

• Lunar Magic 3.21
• SA-1 Pack v1.32
• PIXI v1.32
• Snes9x v1.60
• bsnes plus v05

Also tested with:

• Message Box Expansion
• VWF Dialogues Patch v1.2 (LoROM only)
• Asar v1.71

A marvelous sprite! The NPCs have been long overdue an overhaul, and this is the one. The ability to have any combination of behaviours per sprite makes them very flexible, and the inclusion of a tool to handle the extra byte settings makes them very easy to set up. It's also much nicer not having to modify or check the X position or palette(!) to determine the messages displayed. I can definitely see this sprite's usage becoming more common now the insertion process is far more user-friendly.

Unfortunately I was not able to test it with VWF Dialogues on SA-1, as the two patches have been incompatible since SA-1 v1.31.

There were a few minor bugs, which I went ahead and fixed:
- The message sound would not play regardless of the setting if the Message Box Expansion or VWF Dialogues were installed.
- The "give once" setting did not work for powerup option 2. The !PowerupGivenFlag was set to 2, which got ANDed with #$01, tricking the code into believing it was never set. As a hacky fix, I just set the !PowerupGivenFlag to #$01 for all 3 powerup types when the "give once" setting is set.
- The Flower and Feather were swapped for the "give powerup" setting. I was inclined to believe the error was actually swapped text in the tool rather than swapped values in the .asm (since Mushroom/Feather/Flower is the order in SMW), so I fixed this for the HTML rather than the .asm.

I also converted the .cfg to .json and added LM graphic display icons for the extra bit clear/set, as well as putting them in a .json list. The .cfg is included too if users wish to use that.
Posted by:  JamesD28 - | Link
This sprite is the best npc sprite I have ever seen!

5 stars for you my good sir
Posted by: ninj - | Link
This is great! Mods, please accept this fella!
Posted by: AppleBoy54321 - | Link
Waiting long time for something like this!
Thank you very much!!!
sometimes it seems that the values from the tool aren't correct or not updated when copied in LMs extention field...
Posted by: simon.caio - | Link
This is going to be very useful.
Posted by: TheOrangeToad - | 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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


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