combotrigger#
Variables#
bool[] |
|
bool[] |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
bool[] |
|
bool[] |
|
bool[] |
|
bool[] |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
int |
|
bool[] |
|
int |
|
int |
|
int |
Functions#
Enumerations#
enum ComboTriggerFlag: ๐ Source
ComboTriggerFlag TRIGFLAG_SWORD = 0
Weapons->LWeapons->Sword - Triggered by Sword LWeapons
ComboTriggerFlag TRIGFLAG_SWORDBEAM = 1
Weapons->LWeapons->Sword Beam - Triggered by Sword Beam LWeapons
ComboTriggerFlag TRIGFLAG_BRANG = 2
Weapons->LWeapons->Boomerang - Triggered by Boomerang LWeapons
ComboTriggerFlag TRIGFLAG_BOMB = 3
Weapons->LWeapons->Bomb Boom - Triggered by Bomb (explosion) LWeapons
ComboTriggerFlag TRIGFLAG_SBOMB = 4
Weapons->LWeapons->Super Bomb Boom - Triggered by Super Bomb (explosion) LWeapons
ComboTriggerFlag TRIGFLAG_LITBOMB = 5
Weapons->LWeapons->Placed Bomb - Triggered by Bomb (placed) LWeapons
ComboTriggerFlag TRIGFLAG_LITSBOMB = 6
Weapons->LWeapons->Placed Super Bomb - Triggered by Super Bomb (placed) LWeapons
ComboTriggerFlag TRIGFLAG_ARROW = 7
Weapons->LWeapons->Arrow - Triggered by Arrow LWeapons
ComboTriggerFlag TRIGFLAG_FIRE = 8
Weapons->LWeapons->Fire - Triggered by Fire LWeapons
ComboTriggerFlag TRIGFLAG_WHISTLE = 9
Weapons->LWeapons->Whistle - Triggered by Whistle LWeapons (whistle played)
ComboTriggerFlag TRIGFLAG_BAIT = 10
Weapons->LWeapons->Bait - Triggered by Bait LWeapons
ComboTriggerFlag TRIGFLAG_WAND = 11
Weapons->LWeapons->Wand - Triggered by Wand Handle LWeapon
ComboTriggerFlag TRIGFLAG_MAGIC = 12
Weapons->LWeapons->Magic - Triggered by Magic LWeapons
ComboTriggerFlag TRIGFLAG_WIND = 13
Weapons->LWeapons->Wind - Triggered by Wind LWeapons
ComboTriggerFlag TRIGFLAG_REFMAGIC = 14
Weapons->LWeapons->Refl. Magic - Triggered by Reflected Magic LWeapons
ComboTriggerFlag TRIGFLAG_REFFIREBALL = 15
Weapons->LWeapons->Refl. Fireball - Triggered by Reflected Fireball LWeapons
ComboTriggerFlag TRIGFLAG_REFROCK = 16
Weapons->LWeapons->Refl. Rock - Triggered by Reflected Rock LWeapons
ComboTriggerFlag TRIGFLAG_HAMMER = 17
Weapons->LWeapons->Hammer - Triggered by Hammer LWeapon
ComboTriggerFlag TRIGFLAG_RESET_ANIM = 18
Effects->Reset Anim - On trigger, reset the animation of the combo.
ComboTriggerFlag TRIGFLAG_INVERT_PROXIMITY = 19
Conditions->Invert Proximity Req. - Proximity requirement is reversed
ComboTriggerFlag TRIGFLAG_BTN_TOP = 20
Other->Btn: Top - Triggered by button press from above
ComboTriggerFlag TRIGFLAG_BTN_BOTTOM = 21
Other->Btn: Bottom - Trigger by button press from below
ComboTriggerFlag TRIGFLAG_BTN_LEFT = 22
Other->Btn: Left - Trigger by button press from left
ComboTriggerFlag TRIGFLAG_BTN_RIGHT = 23
Other->Btn: Right - Trigger by button press from right
ComboTriggerFlag TRIGFLAG_INVERT_MIN_MAX = 24
Weapons->LWeapons->Max Level Instead - Treat the โTriggerLevelโ as a max instead of a min
ComboTriggerFlag TRIGFLAG_STEP = 25
Other->โStep->โ - Triggered by โStep->โ
ComboTriggerFlag TRIGFLAG_STEP_SENS = 26
Other->โStep-> (Sensitive)โ - Triggered by โStep->Sensitiveโ
ComboTriggerFlag TRIGFLAG_SHUTTER = 27
Other->โShutter->โ - Triggered by โShutter->โ
ComboTriggerFlag TRIGFLAG_CTYPE_EFFECTS = 28
Effects->โ->ComboType Effectsโ - On trigger, cause the comboโs type-related effects to occur. (ex: opening a chest)
ComboTriggerFlag TRIGFLAG_ONLY_GENTRIG = 29
Donโt allow the combo to trigger via itโs normal trigger methods (ex: bush via slashing) Changing this for any trigger changes it for the whole combo
Deprecated: Use combodata::OnlyGenTriggers instead!
ComboTriggerFlag TRIGFLAG_KILL_WEAPON = 30
Weapons->Effects->โKill Triggering Weaponโ - If triggered by a weapon, kill the weapon.
ComboTriggerFlag TRIGFLAG_EW_FIREBALL = 31
Weapons->EWeapons->Fireball - Triggered by Fireball EWeapons
ComboTriggerFlag TRIGFLAG_HOOKSHOT = 32
Weapons->LWeapons->Hookshot - Triggered by Hookshot LWeapons
ComboTriggerFlag TRIGFLAG_SPARKLE = 33
Weapons->LWeapons->Sparkle - Triggered by Sparkle LWeapons
ComboTriggerFlag TRIGFLAG_BYRNA = 34
Weapons->LWeapons->Byrna - Triggered by Byrna LWeapons
ComboTriggerFlag TRIGFLAG_REFBEAM = 35
Weapons->LWeapons->Refl. Beam - Triggered by Reflected Beam LWeapons
ComboTriggerFlag TRIGFLAG_STOMP = 36
Weapons->LWeapons->Stomp - Triggered by Stomp Boot LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT1 = 37
Weapons->LWeapons->Custom Weapon 1 - Triggered by โCustom Weapon 01โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT2 = 38
Weapons->LWeapons->Custom Weapon 2 - Triggered by โCustom Weapon 02โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT3 = 39
Weapons->LWeapons->Custom Weapon 3 - Triggered by โCustom Weapon 03โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT4 = 40
Weapons->LWeapons->Custom Weapon 4 - Triggered by โCustom Weapon 04โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT5 = 41
Weapons->LWeapons->Custom Weapon 5 - Triggered by โCustom Weapon 05โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT6 = 42
Weapons->LWeapons->Custom Weapon 6 - Triggered by โCustom Weapon 06โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT7 = 43
Weapons->LWeapons->Custom Weapon 7 - Triggered by โCustom Weapon 07โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT8 = 44
Weapons->LWeapons->Custom Weapon 8 - Triggered by โCustom Weapon 08โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT9 = 45
Weapons->LWeapons->Custom Weapon 9 - Triggered by โCustom Weapon 09โ LWeapons
ComboTriggerFlag TRIGFLAG_SCRIPT10 = 46
Weapons->LWeapons->Custom Weapon 10 - Triggered by โCustom Weapon 10โ LWeapons
ComboTriggerFlag TRIGFLAG_AUTO = 47
Other->Always Triggered - Triggered automatically, every frame.
ComboTriggerFlag TRIGFLAG_TRIG_SECRETS = 48
Effects->Triggers Secrets - Triggered by โSecrets->โ
ComboTriggerFlag TRIGFLAG_INVERT_ITEMREQ = 49
Counters/Items->Invert Item Req - Invert the item requirement (require NOT having the item)
ComboTriggerFlag TRIGFLAG_CONSUME_ITEMREQ = 50
Counters/Items->Consume Item Req - On trigger, consume the required item.
ComboTriggerFlag TRIGFLAG_COUNTER_GE = 51
Counters/Items->โRequire >=โ - Only trigger if the counter has >= the specified amount
ComboTriggerFlag TRIGFLAG_COUNTER_LT = 52
Counters/Items->โRequire <โ - Only trigger if the counter has < the specified amount
ComboTriggerFlag TRIGFLAG_COUNTER_EAT = 53
Counters/Items->Consume Amount - Consume the specified amount from the counter. Negative amounts add.
ComboTriggerFlag TRIGFLAG_COUNTER_NOT_ONLY_TRIG_EAT = 54
Counters/Items->Consume w/o trig - Consume the specified amount from the counter even if the combo failed to trigger.
ComboTriggerFlag TRIGFLAG_LIGHTON = 55
Other->โLight On->โ - Triggered by a lightbeam.
ComboTriggerFlag TRIGFLAG_LIGHTOFF = 56
Other->โLight Off->โ - Triggered by lack of a lightbeam.
ComboTriggerFlag TRIGFLAG_PUSH = 57
Other->โPush->โ - Triggered when the Hero pushes into the combo.
ComboTriggerFlag TRIGFLAG_LENS_ON = 58
Other->โLens On->โ - Triggered when the lens is revealing.
ComboTriggerFlag TRIGFLAG_LENS_OFF = 59
Other->โLens Off->โ - Triggered when the lens is not revealing.
ComboTriggerFlag TRIGFLAG_EW_ARROW = 60
Weapons->EWeapons->Arrow - Triggered by Arrow EWeapons
ComboTriggerFlag TRIGFLAG_EW_BRANG = 61
Weapons->EWeapons->Boomerang - Triggered by Boomerang EWeapons
ComboTriggerFlag TRIGFLAG_EW_SWORD = 62
Weapons->EWeapons->Sword - Triggered by Sword EWeapons
ComboTriggerFlag TRIGFLAG_EW_ROCK = 63
Weapons->EWeapons->Rock - Triggered by Rock EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT1 = 64
Weapons->EWeapons->Custom Weapon 1 - Triggered by โCustom Weapon 01โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT2 = 65
Weapons->EWeapons->Custom Weapon 2 - Triggered by โCustom Weapon 02โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT3 = 66
Weapons->EWeapons->Custom Weapon 3 - Triggered by โCustom Weapon 03โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT4 = 67
Weapons->EWeapons->Custom Weapon 4 - Triggered by โCustom Weapon 04โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT5 = 68
Weapons->EWeapons->Custom Weapon 5 - Triggered by โCustom Weapon 05โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT6 = 69
Weapons->EWeapons->Custom Weapon 6 - Triggered by โCustom Weapon 06โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT7 = 70
Weapons->EWeapons->Custom Weapon 7 - Triggered by โCustom Weapon 07โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT8 = 71
Weapons->EWeapons->Custom Weapon 8 - Triggered by โCustom Weapon 08โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT9 = 72
Weapons->EWeapons->Custom Weapon 9 - Triggered by โCustom Weapon 09โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_SCRIPT10 = 73
Weapons->EWeapons->Custom Weapon 10 - Triggered by โCustom Weapon 10โ EWeapons
ComboTriggerFlag TRIGFLAG_EW_MAGIC = 74
Weapons->EWeapons->Magic - Triggered by Magic EWeapons
ComboTriggerFlag TRIGFLAG_EW_BBLAST = 75
Weapons->EWeapons->Bomb Blast - Triggered by Bomb (explosion) EWeapons
ComboTriggerFlag TRIGFLAG_EW_SBBLAST = 76
Weapons->EWeapons->SBomb Blast - Triggered by Super Bomb (explosion) EWeapons
ComboTriggerFlag TRIGFLAG_EW_LITBOMB = 77
Weapons->EWeapons->Lit Bomb - Triggered by Bomb (unexploded) EWeapons
ComboTriggerFlag TRIGFLAG_EW_LITSBOMB = 78
Weapons->EWeapons->Lit SBomb - Triggered by Super Bomb (unexploded) EWeapons
ComboTriggerFlag TRIGFLAG_EW_FIRETRAIL = 79
Weapons->EWeapons->Fire Trail - Triggered by Fire Trail EWeapons
ComboTriggerFlag TRIGFLAG_EW_FLAME = 80
Weapons->EWeapons->Flame - Triggered by Flame EWeapons
ComboTriggerFlag TRIGFLAG_EW_WIND = 81
Weapons->EWeapons->Wind - Triggered by Wind EWeapons
ComboTriggerFlag TRIGFLAG_EW_FLAME2 = 82
Weapons->EWeapons->Flame 2 - Triggered by Flame 2 EWeapons
ComboTriggerFlag TRIGFLAG_SPECIAL_ITEM = 83
States/Spawning->Spawns Special Item - The spawned item will be the special item
ComboTriggerFlag TRIGFLAG_EXST_ITEM = 84
States/Spawning->Trigger ExState after item pickup - Trigger ExState after picking up the spawned item
ComboTriggerFlag TRIGFLAG_EXST_ENEMY = 85
States/Spawning->Trigger ExState after enemy kill - Trigger ExState after killing the spawned enemy
ComboTriggerFlag TRIGFLAG_AUTOGRAB_ITEM = 86
States/Spawning->Spawned Item auto-collects - Spawned item auto-collects
ComboTriggerFlag TRIGFLAG_KILL_ENEMIES = 87
Other->โEnemies->โ - Triggered when all enemies are killed
ComboTriggerFlag TRIGFLAG_SECRETSTR = 88
Other->โSecrets->โ - Triggered when screen secrets are triggered
ComboTriggerFlag TRIGFLAG_THROWN = 89
Weapons->LWeapons->Thrown - Triggered by Thrown Object weapons
ComboTriggerFlag TRIGFLAG_QUAKESTUN = 90
Weapons->LWeapons->Quake Hammer - Triggered by a Quake Stun
ComboTriggerFlag TRIGFLAG_SQUAKESTUN = 91
Weapons->LWeapons->S. Quake Hammer - Triggered by a Super Quake Stun
ComboTriggerFlag TRIGFLAG_ANYFIRE = 92
Weapons->Other->Any Fire - Triggered by Any Fire
ComboTriggerFlag TRIGFLAG_STRONGFIRE = 93
Weapons->Other->Strong Fire - Triggered by Strong Fire
ComboTriggerFlag TRIGFLAG_MAGICFIRE = 94
Weapons->Other->Magic Fire - Triggered by Magic Fire
ComboTriggerFlag TRIGFLAG_DIVINEFIRE = 95
Weapons->Other->Divine Fire - Triggered by Divine Fire
ComboTriggerFlag TRIGFLAG_TRIGLEVELSTATE = 96
States/Spawning->โLevelState->โ - Triggered by Level State
ComboTriggerFlag TRIGFLAG_LEVELSTATE = 97
States/Spawning->โ->LevelStateโ - Triggers Level State
ComboTriggerFlag TRIGFLAG_TRIGGLOBALSTATE = 98
States/Spawning->โGlobalState->โ - Triggered by Global State
ComboTriggerFlag TRIGFLAG_GLOBALSTATE = 99
States/Spawning->โ->GlobalStateโ - Triggers Global State
ComboTriggerFlag TRIGFLAG_DO_KILL_ENEMIES = 100
Effects->Kill Enemies - Kill all enemies
ComboTriggerFlag TRIGFLAG_DO_CLEAR_ENEMIES = 101
Effects->Clear Enemies - Delete all enemies
ComboTriggerFlag TRIGFLAG_DO_CLEAR_LWEAPONS = 102
Effects->Clear LWeapons - Delete all lweapons
ComboTriggerFlag TRIGFLAG_DO_CLEAR_EWEAPONS = 103
Effects->Clear EWeapons - Delete all eweapons
ComboTriggerFlag TRIGFLAG_IGNITE_WEAPONS_ANY = 104
Weapons->Effects->Ignite Weapon (Any) - Light the triggering weapon on normal fire.
ComboTriggerFlag TRIGFLAG_IGNITE_WEAPONS_STRONG = 105
Weapons->Effects->Ignite Weapon (Strong) - Light the triggering weapon on strong fire.
ComboTriggerFlag TRIGFLAG_IGNITE_WEAPONS_MAGIC = 106
Weapons->Effects->Ignite Weapon (Magic) - Light the triggering weapon on magic fire.
ComboTriggerFlag TRIGFLAG_IGNITE_WEAPONS_DIVINE = 107
Weapons->Effects->Ignite Weapon (Divine) - Light the triggering weapon on divine fire.
ComboTriggerFlag TRIGFLAG_SEPARATE_WEAPON_TRIGGERS = 108
Weapons->Effects->Weapon Separate Triggers - Triggering weapons only trigger weapon-related effects
ComboTriggerFlag TRIGFLAG_TGROUP_CONTRIB = 109
States/Spawning->Contributes To TrigGroup - This combo contributes to itsโ TrigGroup
ComboTriggerFlag TRIGFLAG_TGROUP_LESS = 110
States/Spawning->โTrigGroup Less->โ - When the number of combos that contribute to this comboโs Trigger Group is LESS than the Trigger Group Val, trigger this combo.
ComboTriggerFlag TRIGFLAG_TGROUP_GREATER = 111
States/Spawning->โTrigGroup Greater->โ - When the number of combos that contribute to this comboโs Trigger Group is GREATER than the Trigger Group Val, trigger this combo.
ComboTriggerFlag TRIGFLAG_TRIG_PUSHED = 112
Other->โPushed->โ - Triggers when this combo, as a pushblock, settles into a new positon.
ComboTriggerFlag TRIGFLAG_TRIG_DIVE = 113
Other->โDive->โ - Triggers when the Hero dives on this combo.
ComboTriggerFlag TRIGFLAG_TRIG_DIVE_SENS = 114
Other->โDive-> (Sensitive)โ - Triggers when the Hero dives on this combo. More sensitive hitbox than TRIGFLAG_TRIG_DIVE
ComboTriggerFlag TRIGFLAG_REFARROW = 115
Weapons->LWeapons->Refl. Arrow - Triggered by Reflected Arrow LWeapons
ComboTriggerFlag TRIGFLAG_REFFIRE = 116
Weapons->LWeapons->Refl. Fire - Triggered by Reflected Fire LWeapons
ComboTriggerFlag TRIGFLAG_REFFIRE2 = 117
Weapons->LWeapons->Refl. Fire 2 - Triggered by Reflected Fire 2 LWeapons
ComboTriggerFlag TRIGFLAG_TOGGLE_DARKNESS = 118
Effects->Toggle Darkness - Toggle the screen being a dark room
ComboTriggerFlag TRIGFLAG_REQ_DARKNESS = 119
Conditions->Req. Darkness - Can only trigger if the screen is a dark room
ComboTriggerFlag TRIGFLAG_REQ_NO_DARKNESS = 120
Conditions->Req. Darkness - Can only trigger if the screen is lit (not a dark room)
ComboTriggerFlag TRIGFLAG_LITEM_REQUIRE = 121
Counters/Items->Require All - Require all the specified LItems to trigger the combo
ComboTriggerFlag TRIGFLAG_LITEM_INV_REQUIRE = 122
Counters/Items->Require Not All - Require not all (some is ok) of the specified LItems to trigger the combo
ComboTriggerFlag TRIGFLAG_LITEM_SET = 123
Counters/Items->โ->Setโ - Grants the specified LItems. If TRIGFLAG_LITEM_UNSET is also on, toggles them instead.
ComboTriggerFlag TRIGFLAG_LITEM_UNSET = 124
Counters/Items->โ->Unsetโ - Removes the specified LItems. If TRIGFLAG_LITEM_SET is also on, toggles them instead.
ComboTriggerFlag TRIGFLAG_TINT_CLEAR = 125
Graphics->โ->Clear Tintโ - Clears the palette tint.
ComboTriggerFlag TRIGFLAG_ONLY_GROUNDED_WEAPONS = 126
Weapons->Other->โOnly Grounded Weaponsโ - weapons with Z > 0 wonโt trigger the combo
ComboTriggerFlag TRIGFLAG_COUNTER_WEALTH_MEDAL = 127
Counter/Items->โApply Discountโ - Wealth Medal items discount the counter cost
ComboTriggerFlag TRIGFLAG_SCREEN_LOAD = 128
Triggers when screen/region loads, after levelstates and exstates are applied
ComboTriggerFlag TRIGFLAG_UNSET_EXSTATE = 129
Unsets the ExState
when triggered.
ComboTriggerFlag TRIGFLAG_UNSET_EXDOOR = 130
Unsets the ExDoorDir
when triggered.
ComboTriggerFlag TRIGFLAG_REQ_HERO_STANDING = 131
Can only trigger if the Hero is standing on ground. (Counts standing in sideview as well)
ComboTriggerFlag TRIGFLAG_REQ_HERO_NOT_STANDING = 132
Can only trigger if the Hero is NOT standing on ground. (Counts standing in sideview as well)
ComboTriggerFlag TRIGFLAG_INVERT_HERO_Z = 133
Inverts the condition of ReqPlayerZ
ComboTriggerFlag TRIGFLAG_COUNTER_GRADUAL = 134
Makes TRIGFLAG_COUNTER_EAT drain/fill gradually instead of all at once.
ComboTriggerFlag TRIGFLAG_COUNTER_PERCENT = 135
Makes combotrigger->CounterAmount
a percentage instead of an amount.
ComboTriggerFlag TRIGFLAG_NO_COPYCAT_CAUSE = 136
Makes combotrigger->Copycat
not trigger this combo; it will only be used as an effect when another cause triggers this combo.
ComboTriggerFlag TRIGFLAG_HERO_LAND_HERE = 137
Triggers when the Hero lands on this combo (after the comboโs โLandingโ SFX plays)
ComboTriggerFlag TRIGFLAG_HERO_LAND_ANYWHERE = 138
Triggers when the Hero lands on the ground from the air, anywhere on the screen.
ComboTriggerFlag TRIGFLAG_SET_HERO_X_ABSOLUTE = 139
When triggered, sets Hero->X to combotrigger->DestHeroX
.
ComboTriggerFlag TRIGFLAG_SET_HERO_X_RELATIVE_CMB = 140
When triggered, sets Hero->X to combotrigger->DestHeroX
plus this comboโs X position.
ComboTriggerFlag TRIGFLAG_SET_HERO_Y_ABSOLUTE = 141
When triggered, sets Hero->X to combotrigger->DestHeroY
.
ComboTriggerFlag TRIGFLAG_SET_HERO_Y_RELATIVE_CMB = 142
When triggered, sets Hero->X to combotrigger->DestHeroY
plus this comboโs Y position.
ComboTriggerFlag TRIGFLAG_SET_HERO_Z_ABSOLUTE = 143
When triggered, sets Hero->X to combotrigger->DestHeroZ
.
ComboTriggerFlag TRIGFLAG_CTYPE_CAUSES = 144
Triggers based on combotype-specific causes (ex. player falls down a pit / drowns)
ComboTriggerFlag TRIGFLAG_HERO_JUMP_GE = 145
Requires that Hero->Jump is >= combotrigger->ReqHeroJump
to trigger.
ComboTriggerFlag TRIGFLAG_HERO_JUMP_LE = 146
Requires that Hero->Jump is <= combotrigger->ReqHeroJump
to trigger.
ComboTriggerFlag TRIGFLAG_HERO_X_GE = 147
Requires that Hero->X is >= combotrigger->ReqHeroX
to trigger.
ComboTriggerFlag TRIGFLAG_HERO_X_LE = 148
Requires that Hero->X is <= combotrigger->ReqHeroX
to trigger.
ComboTriggerFlag TRIGFLAG_HERO_X_RELATIVE = 149
TRIGFLAG_HERO_X_GE / TRIGFLAG_HERO_X_LE use โcombotrigger->ReqHeroX
โ relative to the comboโs position. For FFCs, uses a position based on the center of the hitbox.
ComboTriggerFlag TRIGFLAG_HERO_Y_GE = 150
Requires that Hero->Y is >= combotrigger->ReqHeroY
to trigger.
ComboTriggerFlag TRIGFLAG_HERO_Y_LE = 151
Requires that Hero->Y is <= combotrigger->ReqHeroY
to trigger.
ComboTriggerFlag TRIGFLAG_HERO_Y_RELATIVE = 152
TRIGFLAG_HERO_Y_GE / TRIGFLAG_HERO_Y_LE use โcombotrigger->ReqHeroY
โ relative to the comboโs position. For FFCs, uses a position based on the center of the hitbox.
ComboTriggerFlag TRIGFLAG_HERO_FORCE_VX = 153
When triggered, sets Hero->IceVx to combotrigger->ForceIceVx
.
ComboTriggerFlag TRIGFLAG_HERO_FORCE_VY = 154
When triggered, sets Hero->IceVy to combotrigger->ForceIceVy
.
ComboTriggerFlag TRIGFLAG_UNIGNITE_WEAPONS = 155
Changes TRIGFLAG_IGNITE_WEAPONS_ANY,:ref:TRIGFLAG_IGNITE_WEAPONS_STRONG<globals_enum_member_trigflag_ignite_weapons_strong>
,:ref:TRIGFLAG_IGNITE_WEAPONS_MAGIC<globals_enum_member_trigflag_ignite_weapons_magic>
,:ref:TRIGFLAG_IGNITE_WEAPONS_DIVINE<globals_enum_member_trigflag_ignite_weapons_divine>
to โUnigniteโ the weapon instead
ComboTriggerFlag TRIGFLAG_CANCEL_TRIGGER = 156
Makes triggers below this trigger on the same combo with the same cause NOT be triggered by this cause
ComboTriggerFlag TRIGFLAG_MAX = 157
Variable descriptions#
index
ComboTriggerFlag (TRIGFLAG_)
The flags of this trigger.
index
InteractButton (INTBTN_)
Array of 8 buttons that can trigger the combo when pressed (while the player is standing close to and facing the combo)
Used as a minimum (or maximum, if TRIGFLAG_INVERT_MIN_MAX is set) level for any weapon-based triggers.
If set to non-0, represents an item that must be owned (or must NOT be owned, if TRIGFLAG_INVERT_ITEMREQ is set).
If TRIGFLAG_CONSUME_ITEMREQ is set, triggering the combo will consume this item, removing it from the playerโs inventory.
Timer. The combo triggers every this many frames if >0.
The SFX to play when the combo is triggered. If 0, no SFX will be played.
The amount the combo will change by when triggered.
Ex. 1
acts as โ->Nextโ, -1
acts as โ->Prevโ.
If 0
, no change occurs.
The amount the cset will change by when triggered.
The player proximity requirement. If >0, when the combo is triggered, the trigger will be canceled if the player is not within this distance in pixels.
If TRIGFLAG_INVERT_PROXIMITY is set, the trigger will instead be canceled if the player IS within this distance in pixels.
The light beam trigger set that (may) trigger this combo.
0 means any beams, 1-32 mean only matching beams.
Related:
TRIGFLAG_LIGHTON (trigger when hit by matching light)
TRIGFLAG_LIGHTOFF (trigger when NOT hit by matching light)
The counter used by this trigger.
With TRIGFLAG_COUNTER_GE, cancels the trigger if the counter is < the CounterAmount. With TRIGFLAG_COUNTER_LT, cancels the trigger if the counter is >= the CounterAmount. With TRIGFLAG_COUNTER_EAT, consumes the CounterAmount from the counter when triggered. With TRIGFLAG_COUNTER_PERCENT, the CounterAmount is treated as a percentage of the max of this counter. โฆand with TRIGFLAG_COUNTER_NOT_ONLY_TRIG_EAT, the consumed amount consumes even if the combo fails to trigger (ex. via failing a conditional)
The counter amount used by this trigger. See Counter.
The comboโs cooldown between triggers
If > 0, triggering this combo triggers all other triggers with matching Copycat. If TRIGFLAG_NO_COPYCAT_CAUSE is set, this combo will not be triggered by other combos in this manner; but will still trigger other combos.
int SpawnItemPickup ๐ Source
value
ItemPickupBitflags (IP_)
The item pickup bitflags for the spawned item.
Only these bitflags are used: IP_HOLDUP, IP_TIMEOUT, IP_TRIGGERSECRETS, and IP_ALWAYSGRAB.
If > -1, the ExState that the combo is linked to.
If > -1, the direction of ExDoor that the combo is linked to
If TrigExDoorDir
is > -1, the index of that direction of ExDoor that
the combo is linked to.
If > 0, the enemy ID spawned when the combo is triggered.
If > 0, the item ID (or dropset ID) spawned when the combo is triggered.
The LevelState used for the TRIGFLAG_TRIGLEVELSTATE and TRIGFLAG_LEVELSTATE
flags. 0-31, inclusive.
The GlobalState used for the TRIGFLAG_TRIGGLOBALSTATE and TRIGFLAG_GLOBALSTATE
flags. 0-255, inclusive.
If > 0
, the global trigger caused by TRIGFLAG_GLOBALSTATE will set
to the โonโ state with this value as a timer in frames.
If this value is 0, it instead toggles the state as normal.
When triggered, this generic script will be run in the โRunFrozenโ mode.
The Trigger Group used for the TRIGFLAG_TGROUP_CONTRIB,
TRIGFLAG_TGROUP_LESS
, and TRIGFLAG_TGROUP_GREATER flags.
0-255, inclusive.
The value used for the TRIGFLAG_TGROUP_LESS and TRIGFLAG_TGROUP_GREATER flags.
0-65535, inclusive.
โLI_โ flags used by the TRIGFLAG_LITEM_REQUIRE, TRIGFLAG_LITEM_INV_REQUIRE, TRIGFLAG_LITEM_SET, TRIGFLAG_LITEM_UNSET flags.
The โLevelโ used by โTrigLItemsโ.
- -1 represents the โcurrent levelโ, otherwise a valid dmap level indicates
that level.
bool[] ReqLevelState ๐ Source
length
32
Which of the 32 level states for the DMapLvl are required to be ON for this trigger to activate
bool[] UnreqLevelState ๐ Source
length
32
Which of the 32 level states for the DMapLvl are required to be OFF for this trigger to activate
bool[] ReqGlobalState ๐ Source
length
256
Which of the 256 global states are required to be ON for this trigger to activate
bool[] UnreqGlobalState ๐ Source
length
256
Which of the 256 global states are required to be OFF for this trigger to activate
When triggered, the palette is tinted on the red channel by this amount. -255 to 255.
-63 to 63 if compat QR โScripts use 6-bit color (0-63) instead of 8-bit (0-255)โ is enabled.
When triggered, the palette is tinted on the green channel by this amount. -255 to 255.
-63 to 63 if compat QR โScripts use 6-bit color (0-63) instead of 8-bit (0-255)โ is enabled.
When triggered, the palette is tinted on the blue channel by this amount. -255 to 255.
-63 to 63 if compat QR โScripts use 6-bit color (0-63) instead of 8-bit (0-255)โ is enabled.
The level palette to change to when triggered. -1 for none, -2 for โeditor palette of current screenโ
The boss palette to change to when triggered. -1 for none.
The quake timer to set when triggered. -1 for none.
The wavy timer to set when triggered. -1 for none.
The duration to Sword Jinx the Hero for. -2 for none, -1 for โuntil curedโ, 0 to cure.
The duration to Item Jinx the Hero for. -2 for none, -1 for โuntil curedโ, 0 to cure.
The duration to Shield Jinx the Hero for. -2 for none, -1 for โuntil curedโ, 0 to cure.
The duration to Stun the Hero for. -2 for none, -1 for โuntil curedโ, 0 to cure.
The duration to Bunny the Hero for. -2 for none, -1 for โuntil curedโ, 0 to cure.
The duration that the combo must be pushed against for the โPush->โ trigger flag to take effect.
The combo ID to be displayed when in range to trigger a Button[].
The CSet for the PromptCombo.
int FailPromptCombo ๐ Source
The combo ID to be displayed when in range to trigger a Button[], but the trigger conditions fail.
int FailPromptCSet ๐ Source
The CSet for the FailPromptCombo.
The X position for the PromptCombo/FailPromptCombo.
The Y position for the PromptCombo/FailPromptCombo.
The message string to play when the combo is triggered.
The message string to play when the combo is triggered, but the trigger conditions fail.
The Hero->Jump value is set to this value (if non-zero) when triggered.
Add this value to Hero->X. Also used with TRIGFLAG_SET_HERO_X_ABSOLUTE and TRIGFLAG_SET_HERO_X_RELATIVE_CMB.
Add this value to Hero->Y. Also used with TRIGFLAG_SET_HERO_Y_ABSOLUTE and TRIGFLAG_SET_HERO_Y_RELATIVE_CMB.
Add this value to Hero->Z. Also used with TRIGFLAG_SET_HERO_Z_ABSOLUTE.
If > -1, set Hero->Dir to this value.
Only used by TRIGFLAG_HERO_X_GE / TRIGFLAG_HERO_X_LE. Related: TRIGFLAG_HERO_X_RELATIVE
Only used by TRIGFLAG_HERO_Y_GE / TRIGFLAG_HERO_Y_LE. Related: TRIGFLAG_HERO_Y_RELATIVE
Requires that Hero->Z is >= this value to trigger.
If TRIGFLAG_INVERT_HERO_Z is set, requires that Hero->Z is < this instead.
Only used by TRIGFLAG_HERO_JUMP_GE / TRIGFLAG_HERO_JUMP_LE.
index
Direction (DIR_)
If any index is true, the Hero->Dir must match a true index for the combo to trigger.
If >-1, sets Hero->ScriptIceCombo to this value.
Sets Hero->IceVx to this value if TRIGFLAG_HERO_FORCE_VX is set;
Sets Hero->IceVy to this value if TRIGFLAG_HERO_FORCE_VY is set;
Function descriptions#
void GetLabel(char32[] buf) ๐ Source
Gets the label for this trigger.
If the buffer provided is too small, it will *automatically be resized to fit*.
void SetLabel(char32[] str) ๐ Source
Sets the label for this widget.