View changes for revision:                                                                                                                                                                                          
Event Controller - "?" Switch (Orange) (107, rev. 29)
By  Hiccup on 03-31-15, 01:00 pm
Category 'Event controllers', known
Boss Notes
- When sprite set 16 is set to any of the boss sets, the switch timer plays over the BG music, like in the mega goomba boss battle and with red coin rings. P switches and ! switches are silent with the boss set though.
- If you try to delete the ?-Switch on Mega Goomba boss battle, the game freezes upon taking the key on a real NDS (not on DeSmuME though). Results are the same everytime, if no ?-Switch is present, the game will freeze upon generation of the key (not even a Block ?-Switch will work). If there are more than 1 ?-Switch, the game will check for the leftmost Switch first, then the bottommost if there are 2 or more Switches on the same X coordinate, the one to fulfil this condition is the one to pop. [source: Sharks]
Data files:
• /obj/I_switch_ncg.bin
Sprite fields:
Triggering Event ID: value at nybble 0-1. Off= removed. On= created.
Target Event ID: value at nybble 2-3
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 Multi Use: value at nybble 5
Non-Timed Event: list at nybble 6: 0=Timed,1=Non Timed
Switch Mode: Deactivates Target: checkbox at nybble 8 with mask 1. Switch press-status can be ended by hitting the opposite sw.?
Usage Mode: list at nybble 9: 0=(0) Single Use,1=(1) Multi Use,2=(2) Broken on/off function (Unused). When set to timer; Switch-pressed-status can be changed by another sprite switching the ID off.
Shift ½ right: checkbox at nybble 10 with mask 1
Upside Down: checkbox at nybble 11 with mask 1. If this is checked, the Switch will be facing down. Upside down Switches cannot fall.
Event Controller - "?" Switch (Orange) (107, rev. 30)
By  Hiccup on 03-31-15, 01:00 pm
Category 'Event controllers', known
Boss Notes
- When sprite set 16 is set to any of the boss sets, the switch timer plays over the BG music, like in the mega goomba boss battle and with red coin rings. P switches and ! switches are silent with the boss set though.
- If you try to delete the ?-Switch on Mega Goomba boss battle, the game freezes upon taking the key on a real NDS (not on DeSmuME though). Results are the same everytime, if no ?-Switch is present, the game will freeze upon generation of the key (not even a Block ?-Switch will work). If there are more than 1 ?-Switch, the game will check for the leftmost Switch first, then the bottommost if there are 2 or more Switches on the same X coordinate, the one to fulfil this condition is the one to pop. [source: Sharks]
Data files:
• /obj/I_switch_ncg.bin
Sprite fields:
Triggering Event ID: value at nybble 0-1. Off= removed. On= created.
Target Event ID: value at nybble 2-3
Falls, Loads at Midway: 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 Multi Use: value at nybble 5
Non-Timed Event: list at nybble 6: 0=Timed,1=Non Timed
Switch Mode: Deactivates Target: checkbox at nybble 8 with mask 1. Switch press-status can be ended by hitting the opposite sw.?
Usage Mode: list at nybble 9: 0=(0) Single Use,1=(1) Multi Use,2=(2) Broken on/off function (Unused). When set to timer; Switch-pressed-status can be changed by another sprite switching the ID off.
Shift ½ right: checkbox at nybble 10 with mask 1
Upside Down: checkbox at nybble 11 with mask 1. If this is checked, the Switch will be facing down. Upside down Switches cannot fall.