Conditions: Difference between revisions

From ZeldaMods (Link's Awakening)
Jump to navigation Jump to search
(Added conditions documentation)
(No difference)

Revision as of 04:41, 14 November 2022

Event Conditions

Event conditions are conditions that actors check to determine what event should play. Every actor in the NPC sheet has event info which points to an event flowchart as well as the actor's name in the flowchart.

Condition Type What It Checks
0 Player touch
1 B press
2 A press
3 ?
4 Powder used
5 ?
6 Ocarina no song
7 Ocarina Ballad
8 Ocarina Mambo
9 Ocarina Soul
10 Player touching loading zone
11 ?
12 Player touching event trigger?
13 Exiting trendy?
14 ?

Categories

Condition categories are used as either additional conditions for triggering events, or to determine the layout of an actor. For instance, Marin appears in several different areas throughout the game. Each instance of her has a number as the first actor parameter. The game uses these conditions to determine which instance of an actor should appear.

Category Type What It Checks
0 ?
1 Global Flag
2 Inventory Item
3 Companion
4 Room Flag?
5 Actor Parameter 1
6 ?
7 ?
8 Actor Switch
9 Global Condition
10 ?
11 Shop Item?