Conditions: Difference between revisions

From ZeldaMods (Link's Awakening)
Jump to navigation Jump to search
(Added conditions documentation)
 
m (→‎Event Conditions: Added description for condition type 14)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Event Conditions ==
This article provides a list of all the different conditions used in game and what they check.
 
==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.
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.
{| class="wikitable"
{| class="wikitable"
Line 10: Line 12:
|-
|-
|1
|1
|B press
|Player touch while diving
|-
|-
|2
|2
Line 49: Line 51:
|-
|-
|14
|14
|?
|Local flag changed
|}
|}


== Categories ==
==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.
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.
{| class="wikitable"
{| class="wikitable"
Line 60: Line 62:
|-
|-
|0
|0
|?
|Always True
|-
|-
|1
|1
Line 72: Line 74:
|-
|-
|4
|4
|Room Flag?
|Actor Parameter 1
|-
|-
|5
|5
|Actor Parameter 1
|Actor Parameter 2
|-
|-
|6
|6
|?
|Actor Parameter 3?
|-
|-
|7
|7
|?
|Actor Parameter 4?
|-
|-
|8
|8
Line 90: Line 92:
|-
|-
|10
|10
|?
|Shop Global Flag?
|-
|-
|11
|11
|Shop Item?
|Shop Inventory Item?
|}
|}

Latest revision as of 06:25, 6 July 2023

This article provides a list of all the different conditions used in game and what they check.

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 Player touch while diving
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 Local flag changed

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 Always True
1 Global Flag
2 Inventory Item
3 Companion
4 Actor Parameter 1
5 Actor Parameter 2
6 Actor Parameter 3?
7 Actor Parameter 4?
8 Actor Switch
9 Global Condition
10 Shop Global Flag?
11 Shop Inventory Item?