Skip to content

New Engine Feature: Repeating effects (Haste/Slow-neutral timing) - #155

Open
4Luke4 wants to merge 1 commit into
Bubb13:develfrom
4Luke4:repeating
Open

4Luke4 wants to merge 1 commit into
Bubb13:develfrom
4Luke4:repeating

Conversation

@4Luke4

@4Luke4 4Luke4 commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Repeating Effects

Warning

Known limitation: the following opcodes's:

  • op25
  • op78
  • op98
  • op232
  • op272

timings are relative to the movement rate of the affected creature(s). op40 (Slow) doubles the timing rate, op16 / op317 (Haste) halves the timing rate.

Tip

New: With param2 BIT16 set, EEex replaces those AI-update clocks with game time, so the effects tick exactly like vanilla does at normal speed whatever the sprite's Haste / Slow state.

  • Vanilla only reads that low word / byte, so the bit is ignored without EEex. Everything else works as in vanilla.

Notes:

param2 BIT16: Haste/Slow-neutral timing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant