Banner
The Overworld Design Contest ends in
8 DAYS, 16 HOURS, 31 MINUTES AND 28 SECONDS
Views: 905,113,308
Time:
10 users online:  Anorakun, Boosius, Daffster, GrumpyWalrus, Hayashi Neru, IronFoxGaming,  K.T.B., KlonoA13Phill, Minish Yoshi, UFrozenO - Guests: 60 - Bots: 131 Users: 50,744 (2,083 active)
Latest: Albertossssssss
Tip: Using the retry system in your Kaizo: Light hack is recommended.
Not logged in.
Details for POW/P-Switch
SMW Sprites - POW/P-Switch Link - Show random
File Name: POW/P-Switch
Added:
Version History: View
Authors: Mellonpizza
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: Yes
Includes GFX: No
Description: This is a disassembly of sprite 3E, the POW/P-Switch.

Extra bit is used to determine whether the switch will be blue, or silver.

This includes the full routines for handling the sprite while it is not being carried and susceptible to physics, and while the sprite is being carried by the player. For ASM hackers you should be able to tweak the sprite to a fair degree and use as a base for custom objects.

Keep in mind that unless you have a patch to allow custom sprites to be carried across sublevel transitions, this sprite will become a vanilla p-switch upon one.
Tags: carryable, item, lorom, p-switch, pow, sa-1
Rating: No rating
Download: Download - 6.46 KiB
389 downloads
Screenshots
Previous 
 Next
Samuel Zuccati
Originally posted by Romano338
Is there anything I can change in the file to make it non-carryable?
Maybe deleting "jsr Carried_Sprite_Main"?
And also to not play the PSwitch music, just let the level music play? (although I'd assume this is more in the pswitch is pressed routine than in the sprite itself)


On line 192 of the code replace this
Code
lda $1470|!Base2 : ora !PlayerRideYoshi : bne .No_Carry

with this
Code
lda $1470|!Base2 : ora !PlayerRideYoshi : bra .No_Carry


If you want to remove the music you have to edit the "tweaks" file in addmusick
Posted by: Samuel Zuccati - | Link
Nicoke42
Is it known to crash in snes mini?
Posted by: Nicoke42 - | Link
Romano338
Is there anything I can change in the file to make it non-carryable?
Maybe deleting "jsr Carried_Sprite_Main"?
And also to not play the PSwitch music, just let the level music play? (although I'd assume this is more in the pswitch is pressed routine than in the sprite itself)
Posted by: Romano338 - | 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