NOTE: we will change NPC's ID that throw player.
1.Make Custom gfx
2.find out npc's ID that player throw. (and will throw )( http://wohlsoft.ru/docs/_SMBX64/Objects/NPC List.pdf )
3. Make lunadll code.
Example
- Spoiler
- all player throw bombs
NPCMemSet,292,0xE2,291,0,0,w
NPCMemSet,171,0xE2,291,0,0,w
all player throw hammers
NPCMemSet,292,0xE2,171,0,0,w
NPCMemSet,291,0xE2,171,0,0,w
all player throw boomerangs
NPCMemSet,171,0xE2,291,0,0,w
NPCMemSet,291,0xE2,291,0,0,w
note - toad have some another structure - he throws longer. :!:
mario throw bombs (peach's bombs)
NPCMemSet,171,0xE2,291,0,0,w
171 - NPC's ID of hammer (hammer mario throw hammer)
291 - NPC's ID of peach's bomb . (bomb peach throw bombs)
171 - NPC's ID that we will replace at 291 - NPC's ID which we will replace the hammer .
Now Mario throw NPC 291 - peach's bomb! . You also can do this with any NPC. (It meaning enemy can throw another npc) You can make : Larry koopa throw other npc. search npc's ID that he throw and npc's ID that you want to he throw .
(This cose only replace NPC with another NPC)
Thanks for reading. I wish you good codes . ;)
- Veudekato
PS: Sorry for bad english. You can discuss and ask here.
