View changes for revision:                                                                                                                                                
Event controller - "If" (uses zones) (168, rev. 28)
By  Arceus on 09-07-14, 12:55 pm
Category 'Event controllers', known, fully documented
(no description)
Data files: none
Sprite fields:
Output ID: value at nybble 2-3
Switch mode: list at nybble 11: 0=Activates target,1=Deactivates target
Usage mode: list at nybble 10: 0=Activate or deactivate?,1=Activate or deactivate?,2=Deactivates target when leaving the zone. 2=Does not work with enemies, only works with Mario.
Mario power-up: list at nybble 8: 0=Any Mario,1=Small Mario,2=Super Mario,3=Fire Mario,4=Mega Mario,5=Mini Mario,6=Blue Shell Mario,7=Invincible/star Mario
Mario status: list at nybble 9: 0=In zone,1=Touching ground in zone,2=In air in zone
Enemy zone ID: value at nybble 6-7. Set to 255 to ignore the status of this zone
Mario zone ID: value at nybble 4-5. Set to 255 to ignore the status of this zone
Event controller - "If" (uses zones) (168, rev. 29)
By  Hiccup on 09-22-14, 02:47 pm
Category 'Event controllers', known, fully documented
This Event Controller can activate a Target Event ID, if either a player or an Enemy touches a predefined Location. There are many additional settings for this Controller that can tweak its behavior, for example requiring Mario to have a specific Power-Up status, or requiring him to be inside a Location instead of just touching it. <br><br>Setting up the Controller to deactivate the Event ID instead of activating it, will also swap the effect of the Controller, requiring Mario to leave a predefined Location or to clear a predefined Location from all Enemies to trigger the Event.

Note: Some Sprites are not counted as Enemies, for example the Spike Ball.
Data files: none
Sprite fields:
Output ID: value at nybble 2-3
Switch mode: list at nybble 11: 0=Activates target,1=Deactivates target
Usage mode: list at nybble 10: 0=Activate or deactivate?,1=Activate or deactivate?,2=Deactivates target when leaving the zone. 2=Does not work with enemies, only works with Mario.
Mario power-up: list at nybble 8: 0=Any Mario,1=Small Mario,2=Super Mario,3=Fire Mario,4=Mega Mario,5=Mini Mario,6=Blue Shell Mario,7=Invincible/star Mario
Mario status: list at nybble 9: 0=In zone,1=Touching ground in zone,2=In air in zone
Enemy zone ID: value at nybble 6-7. Set to 255 to ignore the status of this zone
Mario zone ID: value at nybble 4-5. Set to 255 to ignore the status of this zone