From 3aacf3d2cedfdeca49ceb57533389870bfc688a9 Mon Sep 17 00:00:00 2001 From: sik Date: Sun, 23 Jul 2017 03:20:35 -0300 Subject: Now with pausing and other niceties --- doc/esf.txt | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'doc/esf.txt') diff --git a/doc/esf.txt b/doc/esf.txt index a96e35d..eb04474 100644 --- a/doc/esf.txt +++ b/doc/esf.txt @@ -367,12 +367,27 @@ $F9rrnn: Set FM register in bank 1 ============================================================================= -$FC: Go to loop [BGM ONLY] -$FD: Set loop point [BGM ONLY] +$FAnn: Set flags - This event are used in BGM streams to loop music. Put event $FD where the + This event will set some of the flags. The value nn is a bitmask that is + OR'd with the current flags. + +$FBnn: Clear flags + + This event will clear some of the flags. The value nn is a bitmask that + is AND'd with the current flags. + +============================================================================= + +$FC: Go to loop +$FD: Set loop point + + This event are used in streams to loop music. Put event $FD where the loop starts, and then end the stream using event $FC (don't use event $FF). This will tell Echo to loop the song instead of stopping playback. + + SFX support for this event was added in 1.5, if you loop a sound effect + you'll have to either stop it manually or play another SFX. $FEnn: Delay ticks -- cgit v1.2.3