View changes for revision:                                                               
P Switch (66, rev. 19)
By  Shellbarbecue63 on 07-07-20, 12:02 am
Category 'Event controllers', known
Activates various sprites and shows Blue Coins for a small time.
Data files:
• /obj/I_switch_ncg.bin
• /obj/I_enemy_ncl.bin
• /obj/I_enemy_B_ncl.bin
• /obj/I_enemy_W_ncl.bin
• /obj/I_enemy_R_ncl.bin
Sprite fields:
Triggering event ID: value at nybble 0-1. If not set, the switch will always show. If set, the switch will only show while this event ID is activated. Slightly buggy if used with multiple use as the switch will pop back up immediately, which looks a bit strange and also causes Mario to be pushed into the air. No "real" glitch.
Target event ID: value at nybble 2-3. By default, this switch will activate blue coins and turn coins into brick blocks and vice versa. Don't use this switch in combination with a tile god which creates blue coins; said blue coins' graphics will be glitched, so use blue coins objects instead.
Settings: list at nybble 4: 0=None,1=Falls,4=Loads at midway. If 1, the switch will be movable by environment stuff, such as dropping down when bricks below it are destroyed, or riding along a conveyor belt. If 4, the switch will only show if the level has been started from a midway point.
Delay on multiple use: list at nybble 5: 0=Instantaneous (no delay),2=Short delay,3=Long delay,1=Very long delay. This will set how long the switch takes to pop up after the timer expires on a multiple-use switch.
Non-timed event: checkbox at nybble 6 with mask 1
Switch mode: list at nybble 8: 0=Activates target (switches event state),1=Deactivates target (switches event state)
Usage mode: list at nybble 9: 0=Single use,1=Multiple use,2=Unknown. 2 is unused.
Shift ½ block right: checkbox at nybble 10 with mask 1
Upside down: checkbox at nybble 11 with mask 1
P Switch (66, rev. 20)
By  Bluey on 11-15-20, 08:17 pm
Category 'Event controllers', known
Activates various sprites and also makes Blue Coins appear.
Data files:
• /obj/I_switch_ncg.bin
• /obj/I_enemy_ncl.bin
• /obj/I_enemy_B_ncl.bin
• /obj/I_enemy_W_ncl.bin
• /obj/I_enemy_R_ncl.bin
Sprite fields:
Triggering event ID: value at nybble 0-1. If not set, the switch will always show. If set, the switch will only show while this event ID is activated. Slightly buggy if used with multiple use as the switch will pop back up immediately, which looks a bit strange and also causes Mario to be pushed into the air. No "real" glitch.
Target event ID: value at nybble 2-3. By default, this switch will activate blue coins and turn coins into brick blocks and vice versa. Don't use this switch in combination with a tile god which creates blue coins; said blue coins' graphics will be glitched, so use blue coins objects instead.
Settings: list at nybble 4: 0=None,1=Falls,4=Loads at midway. If 1, the switch will be movable by environment stuff, such as dropping down when bricks below it are destroyed, or riding along a conveyor belt. If 4, the switch will only show if the level has been started from a midway point.
Delay on multiple use: list at nybble 5: 0=Instantaneous (no delay),2=Short delay,3=Long delay,1=Very long delay. This will set how long the switch takes to pop up after the timer expires on a multiple-use switch.
Non-timed event: checkbox at nybble 6 with mask 1
Switch mode: list at nybble 8: 0=Activates target (switches event state),1=Deactivates target (switches event state)
Usage mode: list at nybble 9: 0=Single use,1=Multiple use,2=Unknown. 2 is unused.
Shift ½ block right: checkbox at nybble 10 with mask 1
Upside down: checkbox at nybble 11 with mask 1